1 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4 * Makeconfig (+link): Defined as $(+link-static) if
5 $(build-shared) isn't yes.
6 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14 new chunk size with MALLOC_ALIGN_MASK.
16 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21 (__printf_fphex): Determine rounding using get_rounding_mode and
23 * stdio-common/tst-printf-round.c (struct hex_test): New
25 (hex_tests): New variable.
26 (test_hex_in_one_mode): New function.
27 (do_test): Also run tests for hex float output.
29 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
50 * elf/rtld.c (dl_main): Limit the check for self loading to normal
52 * elf/tst-rtld-load-self.sh: New test.
53 * elf/Makefile: Run it.
55 2012-09-18 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58 (tst-writev-ENV): Remove.
59 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
63 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65 2012-09-17 Joseph Myers <joseph@codesourcery.com>
67 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
79 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
80 * config.make.in (have-cpp-asm-debuginfo): Removed.
81 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
82 * configure: Regenerated.
84 2012-09-14 Joseph Myers <joseph@codesourcery.com>
87 * stdio-common/printf_fp.c: Include <stdbool.h> and
89 (___printf_fp): Determine rounding using get_rounding_mode and
91 * stdio-common/tst-printf-round.c: New file.
92 * stdio-common/Makefile (tests): Add tst-printf-round.
93 (link-libm): New variable.
94 ($(objpfx)tst-printf-round): Depend in $(link-libm).
96 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
99 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
100 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
102 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
105 2012-09-13 Joseph Myers <joseph@codesourcery.com>
107 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
108 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
109 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
110 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
112 2012-09-12 Joseph Myers <joseph@codesourcery.com>
115 * include/rounding-mode.h: New file.
116 * sysdeps/generic/get-rounding-mode.h: Likewise.
117 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
118 * stdlib/strtod_l.c: Include <rounding-mode.h>.
119 (MAX_VALUE): New macro.
120 (MIN_VALUE): Likewise.
121 (overflow_value): New function.
122 (underflow_value): Likewise.
123 (round_and_return): Use overflow_value and underflow_value to
124 determine return values in overflow and underflow cases. Use
125 round_away to determine rounding depending on rounding mode.
126 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
127 determine return values in overflow and underflow cases.
128 * stdlib/tst-strtod-round.c: Include <fenv.h>.
129 (struct test_results): New structure.
130 (struct test): Use struct test_results to store expected results
131 for all rounding modes.
132 (TEST): Include expected results for all rounding modes.
133 (test_in_one_mode): New function.
134 (do_test): Use test_in_one_mode to compute and check results.
135 Check results for all rounding modes.
136 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
139 2012-12-09 Allan McRae <allan@archlinux.org>
141 * sysdeps/i386/fpu/libm-test-ulps: Update
143 2012-09-11 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
146 (_G_int32_t): Likewise.
147 (_G_uint16_t): Likewise.
148 (_G_uint32_t): Likewise.
149 (_G_HAVE_BOOL): Likewise.
150 (_G_HAVE_ATEXIT): Likewise.
151 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
152 (_G_HAVE_IO_FILE_OPEN): Likewise.
153 * sysdeps/gnu/_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/mach/hurd/_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.
170 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
172 * csu/libc-tls.c: Update copyright years.
174 2012-09-10 Joseph Myers <joseph@codesourcery.com>
176 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
177 [!_G_USING_THUNKS]: Remove conditional code.
178 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
179 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
181 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
182 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
183 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
184 (_G_VTABLE_LABEL_PREFIX): Likewise.
185 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
186 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
187 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
188 (_G_VTABLE_LABEL_PREFIX): Likewise.
189 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
190 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
191 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
192 (_G_VTABLE_LABEL_PREFIX): Likewise.
193 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
195 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
197 * libio/Makefile: Include ../Makeconfig before tests.
198 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
199 only if $(build-shared) is yes.
201 * iconv/gconv_db.c: Update copyright years.
203 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
205 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
206 unwind info if defined PIC. Fix special cases description.
207 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
209 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
211 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
213 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
215 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
217 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
220 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
221 (LDLIBS-tst-chk4): This.
222 (LDFLAGS-tst-chk5): Renamed to ...
223 (LDLIBS-tst-chk5): This.
224 (LDFLAGS-tst-chk6): Renamed to ...
225 (LDLIBS-tst-chk6): This.
226 (LDFLAGS-tst-lfschk4): Renamed to ...
227 (LDLIBS-tst-lfschk4): This.
228 (LDFLAGS-tst-lfschk5): Renamed to ...
229 (LDLIBS-tst-lfschk5): This.
230 (LDFLAGS-tst-lfschk6): Renamed to ...
231 (LDLIBS-tst-lfschk6): This.
233 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
234 on $(common-objpfx)soversions.mk.
236 2012-09-07 Joseph Myers <joseph@codesourcery.com>
239 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
242 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
244 * malloc/arena.c (arena_get_retry): New function that gets
245 another arena for the caller to try its request on.
246 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
247 current arena cannot fulfill the request.
248 (__libc_memalign): Likewise.
249 (__libc_memalign): Likewise.
250 (__libc_pvalloc): Likewise.
251 (__libc_calloc): Likewise.
253 2012-09-05 John Tobey <john.tobey@gmail.com>
256 * manual/arith.texi (Operations on Complex): Fix description
259 2012-09-06 Joseph Myers <joseph@codesourcery.com>
262 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
266 * manual/memory.texi (Memory): Make order of menu items match
269 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
271 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
272 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
273 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
275 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
277 * csu/libc-tls.c (static_dtv): Renamed to ...
278 (_dl_static_dtv): This. Make it global.
279 (_dl_initial_dtv): Removed.
280 (__libc_setup_tls): Updated.
281 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
282 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
285 2012-09-06 Petr Machata <pmachata@redhat.com>
287 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
288 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
289 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
290 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
292 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
295 * csu/libc-tls.c (_dl_initial_dtv): New variable.
296 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
299 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
302 * Makeconfig (link-static-before-libc): Replace $(+prector)
304 (link-static-after-libc): Replace $(+postctor) with
306 (link-bounded): Replace $(+prector)/$(+postctor) with
307 $(+prectorT)/$(+postctorT).
308 (+prectorT): New macro.
309 (+postctorT): Likewise.
311 2012-09-06 Joseph Myers <joseph@codesourcery.com>
313 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
314 (round_str): Handle values above the maximum for IBM long double
316 * stdlib/tst-strtod-round.c (tests): Regenerated.
318 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
320 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
322 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
323 zarch_nohighgprs around the zarch optimized routines.
324 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
325 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
329 2012-09-05 David S. Miller <davem@davemloft.net>
331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
333 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
334 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
335 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
336 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
339 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
341 * malloc/arena.c: Fold copyright years.
342 * malloc/mcheck.c, malloc/memusage.c: Likewise.
344 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
346 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
350 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
352 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
354 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
355 change internal state upon failure.
357 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
359 * malloc/mcheck.c (mcheck_check_all): Fix typo.
360 * malloc/memusage.c (mmap): Likewise.
361 (mmap64, mremap): Likewise. Adjust name in comment.
363 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
365 * libio/fileops.c: Fix typos in comments.
366 * libio/oldfileops.c: Likewise.
367 * libio/wfileops.c: Likewise.
369 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
372 * malloc/Makefile (tests): Add tst-malloc-usable test case.
373 (tst-malloc-usable-ENV): Set environment for test case.
374 * malloc/hooks.c (malloc_check_get_size): New function to get
376 * malloc/malloc.c (musable): Use malloc_check_get_size.
377 * malloc/tst-malloc-usable.c: New test case.
379 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
381 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
383 2012-09-05 Allan McRae <allan@archlinux.org>
386 * configure.in (CXX_SYSINCLUDES): Use compiler output to
387 determine header location.
388 * configure: Regenerated.
390 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
392 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
394 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
395 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
399 2012-09-04 David S. Miller <davem@davemloft.net>
401 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
402 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
403 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
405 2012-09-04 Florian Weimer <fweimer@redhat.com>
407 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
410 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
412 2012-09-04 Joseph Myers <joseph@codesourcery.com>
415 * libio/iogetdelim.c: Include <limits.h>.
416 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
417 + len + 1 would overflow.
419 2012-09-03 Andreas Jaeger <aj@suse.de>
421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
424 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
426 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
427 Add s_sinf-sse2, s_conf-sse2.
429 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
430 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
431 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
432 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
434 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
435 for using routine as __sinf_ia32.
436 Use macro for function declaration and weak_alias.
437 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
438 for using routine as __cosf_ia32.
439 Use macro for function declaration and weak_alias.
441 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
442 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
444 * sysdeps/x86_64/fpu/s_sinf.S: New file.
445 * sysdeps/x86_64/fpu/s_cosf.S: New file.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
448 * math/libm-test.inc (cos_test): Add more test cases.
449 (sin_test): Likewise.
450 (sincos_test): Likewise.
452 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
455 (IFUNC_RESOLVE): Make pointers to the specialized implementations
457 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
459 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
462 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
463 first element of the GOT.
464 (elf_machine_load_address): Return the difference between
465 the runtime address of _DYNAMIC and elf_machine_dynamic ().
467 2012-09-01 Allan McRae <allan@archlinux.org>
470 * configure.in (AWK): Require gawk version 3.0 or later.
471 * configure: Regenerated.
473 2012-09-01 Joseph Myers <joseph@codesourcery.com>
475 * sysdeps/unix/sysv/linux/kernel-features.h
476 (__ASSUME_POSIX_CPU_TIMERS): Remove.
477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
478 [__NR_clock_getres]: Make code unconditional.
479 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
480 (clock_getcpuclockid): Remove code left unreachable by removal of
482 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
484 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
485 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
487 Make code unconditional.
488 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
490 * sysdeps/unix/sysv/linux/clock_settime.c
491 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
493 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
494 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
496 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
499 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
500 scripts/test-installation.pl.
502 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
503 and $ld_so_version if it is set.
505 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
509 failure if reading from procfs failed.
510 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
512 2012-08-27 Joseph Myers <joseph@codesourcery.com>
514 * sysdeps/unix/sysv/linux/kernel-features.h
515 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
516 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
517 Remove conditional code.
518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
519 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
520 Remove conditional code.
521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
522 * sysdeps/unix/sysv/linux/i386/fxstat.c
523 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
525 * sysdeps/unix/sysv/linux/i386/fxstatat.c
526 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
528 * sysdeps/unix/sysv/linux/i386/lxstat.c
529 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
531 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
532 Remove conditional code.
533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
534 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
535 Remove conditional code.
536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
537 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
539 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
541 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
542 Remove conditional code.
543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
544 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
547 2012-08-27 Mike Frysinger <vapier@gentoo.org>
550 * NEWS: Add fixed bug number.
552 2012-08-27 Joseph Myers <joseph@codesourcery.com>
555 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
556 underflowing exponent in case of negative sign.
557 * stdlib/tst-strtod-round-data: Add more tests.
558 * stdlib/tst-strtod-round.c (tests): Regenerated.
561 * stdlib/strtod_l.c (NDIG): Remove.
563 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
564 smallest representable value.
565 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
566 lie within an exact representation of 1/2 ulp of the result.
567 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
569 (TENS_P9_IDX): Define unconditionally.
570 (TENS_P9_SIZE): Likewise.
571 (TENS_P10_IDX): Likewise.
572 (TENS_P10_SIZE): Likewise.
573 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
574 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
575 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
576 entries for 10^2^13 and 10^2^14.
577 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
578 (TENS_P13_IDX): Define.
579 (TENS_P13_SIZE): Likewise.
580 (TENS_P14_IDX): Likewise.
581 (TENS_P14_SIZE): Likewise.
582 (_fpioconst_pow10): Change array size to
583 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
585 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
586 1024]: Add entries for 10^2^13 and 10^2^14.
587 [LAST_POW10 > _LAST_POW10]: Remove #error.
588 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
589 (_fpioconst_pow10): Change array size to
590 FPIOCONST_POW10_ARRAY_SIZE.
591 * stdlib/gen-fpioconst.c: New file.
592 * stdlib/gen-tst-strtod-round.c: Likewise.
593 * stdlib/tst-strtod-round-data: Likewise.
594 * stdlib/tst-strtod-round.c: Likewise.
595 * stdlib/Makefile (tests): Add tst-strtod-round.
598 * stdlib/strtod_l.c: Include <stdint.h>.
599 (NDEBUG): Do not define.
600 (round_and_return): Change EXPONENT parameter to type intmax_t.
601 Rearrange calculations to avoid internal overflow possibilities.
602 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
603 Rearrange calculations to avoid internal overflow possibilities.
604 Assert that number fits inside MPNSIZE limbs.
605 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
606 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
607 calculations and add assertions to avoid internal overflow
608 possibilities. Add casts to avoid signed/unsigned operations.
609 * stdlib/tst-strtod-overflow.c: New file.
610 * stdlib/Makefile (tests): Add tst-strtod-overflow.
612 2012-08-25 Marek Polacek <polacek@redhat.com>
614 * time/time.h: Fix some typos in comments.
616 2012-08-23 Roland McGrath <roland@hack.frob.com>
618 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
619 * posix/tst-rfc3484-2.c: Likewise.
620 * posix/tst-rfc3484-3.c: Likewise.
622 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
624 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
625 (EF_ARM_ABI_FLOAT_HARD): Likewise.
627 2012-08-23 Joseph Myers <joseph@codesourcery.com>
629 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
630 #include of fxstatat64.c.
632 2012-08-22 Roland McGrath <roland@hack.frob.com>
634 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
635 * shadow/getspent_r.c: Likewise.
636 * shadow/getspnam.c: Likewise.
637 * shadow/getspnam_r.c: Likewise.
638 * gshadow/getsgent.c: Likewise.
639 * gshadow/getsgent_r.c: Likewise.
640 * gshadow/getsgnam.c: Likewise.
641 * gshadow/getsgnam_r.c: Likewise.
642 * inet/getnetbyad.c: Likewise.
643 * inet/getnetbyad_r.c: Likewise.
644 * inet/getnetbynm.c: Likewise.
645 * inet/getnetbynm_r.c: Likewise.
646 * inet/getnetent.c: Likewise.
647 * inet/getnetent_r.c: Likewise.
648 * inet/getproto.c: Likewise.
649 * inet/getproto_r.c: Likewise.
650 * inet/getprtent.c: Likewise.
651 * inet/getprtent_r.c: Likewise.
652 * inet/getprtname.c: Likewise.
653 * inet/getprtname_r.c: Likewise.
654 * inet/getrpcbyname.c: Likewise.
655 * inet/getrpcbyname_r.c: Likewise.
656 * inet/getrpcbynumber.c: Likewise.
657 * inet/getrpcbynumber_r.c: Likewise.
658 * inet/getrpcent.c: Likewise.
659 * inet/getrpcent_r.c: Likewise.
660 * inet/getaliasent.c: Likewise.
661 * inet/getaliasent_r.c: Likewise.
662 * inet/getaliasname.c: Likewise.
663 * inet/getaliasname_r.c: Likewise.
664 * nscd/getgrgid_r.c: Likewise.
665 * nscd/getgrnam_r.c: Likewise.
666 * nscd/gethstbyad_r.c: Likewise.
667 * nscd/gethstbynm3_r.c: Likewise.
668 * nscd/getpwnam_r.c: Likewise.
669 * nscd/getpwuid_r.c: Likewise.
670 * nscd/getsrvbynm_r.c: Likewise.
671 * nscd/getsrvbypt_r.c: Likewise.
672 * nscd/gai.c: Likewise.
674 * configure.in (build_nscd): New substituted variable, set
675 by --disable-build-nscd and defaults to $use_nscd.
676 * configure: Regenerated.
677 * config.make.in (build-nscd): New substituted variable.
678 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
679 Change conditional to require [$(build-nscd) = yes] as well.
680 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
683 * configure.in (use_nscd): New substituted variable, set by
684 --disable-nscd. If enabled, define USE_NSCD.
685 * configure: Regenerated.
686 * config.h.in: Add USE_NSCD.
687 * config.make.in (use-nscd): New substituted variable.
688 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
689 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
690 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
691 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
692 (CFLAGS-getgrnam_r.c): Likewise.
693 (CFLAGS-initgroups.c): Likewise.
694 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
695 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
697 * inet/getnetgrent_r.c
698 (nscd_setnetgrent): New function, broken out of ...
699 (setnetgrent): ... here. Call it.
700 (innetgr): Conditionalize nscd bits on [USE_NSCD].
701 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
702 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
703 * nscd/Makefile (routines, aux): Move definitions after include of
704 Makeconfig. Conditionalize on [$(use-nscd) != no].
705 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
706 Conditionalize on [USE_NSCD].
707 (is_nscd, nscd_init_cb): Likewise.
708 (nss_load_library): Conditionalize init callback on [USE_NSCD].
709 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
710 * nss/nss_db/db-init.c: Likewise.
711 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
713 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
714 (make_request): Use it.
715 (cache_valid_p): New function.
716 (__check_pf): Use it.
717 * NEWS: Add item for --disable-nscd.
719 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
721 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
722 to support sed >= 4.2.1-20-ga9bf076.
723 * configure: Regenerated.
725 2012-08-22 Roland McGrath <roland@hack.frob.com>
727 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
728 Conditionalize whole body on [IREL].
730 2012-08-22 Jeff Law <law@redhat.com>
733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
734 if the family is PF_UNSPEC.
736 2012-08-22 Mike Frysinger <vapier@gentoo.org>
738 * Makerules (lib-version): Rename from V.
739 (install-lib-nosubdir): Change V to lib-version.
741 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
744 * powerpc32/power6/wcschr.c: New file.
745 * powerpc32/power6/wcscpy.c: New file.
746 * powerpc32/power6/wcsrchr.c: New file.
747 * powerpc64/power6/wcschr.c: New file.
748 * powerpc64/power6/wcscpy.c: New file.
749 * powerpc64/power6/wcsrchr.c: New file.
751 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
753 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
754 (two_way_short_needle): Use it.
755 * string/strstr.c (AVAILABLE1_USES_J): Define.
756 * string/strcasestr.c: Likewise.
758 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
760 * string/strcasestr.c (TOLOWER): Make side-effect safe.
763 * NEWS: Add an entry.
764 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
765 define their defaults.
766 (two_way_short_needle): Detect end-of-string on-the-fly.
767 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
768 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
769 * string/bug-strcasestr1.c: New test.
770 * string/Makefile: Run it.
772 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
775 * string/str-two-way.h (two_way_short_needle): Optimize matching of
778 2012-08-21 Roland McGrath <roland@hack.frob.com>
780 * csu/elf-init.c (__libc_csu_irel): Function removed.
781 * csu/libc-start.c (apply_irel): New function.
782 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
784 2012-08-21 Joseph Myers <joseph@codesourcery.com>
786 * sysdeps/unix/sysv/linux/kernel-features.h
787 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
788 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
790 [__NR_fadvise64_64]: Make code unconditional.
791 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
792 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
793 !__NR_fadvise64_64)]: Likewise.
794 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
795 !__NR_fadvise64_64))]: Likewise.
796 [__NR_fadvise64]: Make code unconditional.
797 [!__NR_fadvise64]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
800 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
802 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
805 not include <kernel-features.h>.
806 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
808 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
810 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
811 include <kernel-features.h>.
812 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
814 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
817 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
819 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
820 slight instruction rearrangements per scrollpipe analysis.
821 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
823 2012-08-20 Roland McGrath <roland@hack.frob.com>
825 * manual/syslog.texi (syslog; vsyslog, closelog):
826 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
827 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
829 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
830 DSOCAPS to match condition on defining it.
832 2012-08-20 Joseph Myers <joseph@codesourcery.com>
834 * sysdeps/unix/sysv/linux/kernel-features.h
835 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
837 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
838 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
840 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
841 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
843 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
844 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
846 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
847 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
849 * sysdeps/unix/sysv/linux/kernel-features.h
850 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
851 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
853 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
854 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
855 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
856 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
858 Make code unconditional.
859 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
860 (__mmap64) [!__NR_mmap2]: Likewise.
861 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
862 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
863 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
864 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
865 [__NR_mmap2]: Make code unconditional.
866 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
867 (__mmap64) [!__NR_mmap2]: Likewise.
869 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
871 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
873 2012-08-18 Andreas Jaeger <aj@suse.de>
875 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
877 2012-08-18 Mike Frysinger <vapier@gentoo.org>
879 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
880 * include/unistd.h (__have_sock_cloexec): Likewise.
881 (__have_pipe2): Likewise.
882 (__have_dup3): Likewise.
884 2012-08-18 Mike Frysinger <vapier@gentoo.org>
887 * include/unistd.h (__have_pipe2): Change define into an extern int.
888 (__have_dup3): Likewise.
889 * socket/have_sock_cloexec.c: Include fcntl.h.
890 (__have_pipe2): New variable.
891 (__have_dup3): Likewise.
893 2012-08-17 Mike Frysinger <vapier@gentoo.org>
895 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
897 2012-08-17 Marek Polacek <polacek@redhat.com>
899 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
900 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
902 2012-08-17 Roland McGrath <roland@hack.frob.com>
904 * configure.in: Add AC_SUBST for sysheaders.
905 * configure: Regenerated.
906 * config.make.in (sysheaders): New substituted variable.
908 * sysdeps/unix/mkfifo.c: Moved ...
909 * sysdeps/posix/mkfifo.c: ... here.
910 * sysdeps/unix/mkfifoat.c: Moved ...
911 * sysdeps/posix/mkfifoat.c: ... here.
913 * sysdeps/unix/utime.c: Moved ...
914 * sysdeps/posix/utime.c: ... here.
916 * sysdeps/unix/time.c: Moved ...
917 * sysdeps/posix/time.c: ... here.
918 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
919 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
921 * sysdeps/unix/nice.c: Moved ...
922 * sysdeps/posix/nice.c: ... here.
924 * sysdeps/unix/alarm.c: Moved ...
925 * sysdeps/posix/alarm.c: ... here.
927 * intl/Makefile ($(codeset_mo)): Depend on the input file.
929 2012-08-17 Jeff Law <law@redhat.com>
931 * intl/Makefile (codeset_mo): New variable.
932 ($(codeset_mo)): New target.
933 (tst-codeset.out): Depend on that. Remove explicit rule.
934 (tst-gettext3.out, tst-gettext5.out): Likewise.
935 (LOCPATH-ENV, tst-codeset-ENV): New variables.
936 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
937 * intl/tst-codeset.sh: Remove.
938 * intl/tst-gettext3.sh: Likewise.
939 * intl/tst-gettext5.sh: Likewise.
941 2012-08-17 Roland McGrath <roland@hack.frob.com>
943 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
944 * sysdeps/unix/syscalls.list: ... here.
946 * sysdeps/posix/getaddrinfo.c
947 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
948 (gaiconf_init, gaiconf_reload): Use them.
950 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
951 Define using time_t rather than struct timespec.
953 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
954 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
956 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
958 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
959 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
963 __libc_cleanup_push argument.
965 * bits/param.h: New file.
966 * misc/sys/param.h: New file.
967 * include/sys/param.h: New file.
968 * misc/Makefile (headers): Add bits/param.h.
969 * sysdeps/generic/sys/param.h: File removed.
970 * sysdeps/unix/sysv/linux/bits/param.h: New file.
971 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
972 * sysdeps/mach/hurd/bits/param.h: New file.
973 * sysdeps/mach/hurd/sys/param.h: New file.
975 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
978 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
980 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
981 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
984 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
985 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
986 rather than -D_IO_MTSAFE_IO conditionally.
987 * stdio-common/Makefile (CPPFLAGS): Likewise.
988 * wcsmbs/Makefile (CPPFLAGS): Likewise.
989 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
991 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
993 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
994 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
995 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
996 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
997 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
998 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
999 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1000 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1001 (CFLAGS-fread_u_chk.c): Likewise.
1002 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1003 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1004 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1005 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1006 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1007 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1008 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1009 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1010 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1012 * libio/Makefile: Test [$(libc-reentrant) = yes]
1013 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1016 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1017 * sysdeps/pthread/configure: File removed.
1018 * sysdeps/pthread/Makeconfig: New file.
1019 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1020 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1022 2012-08-16 Gary Benson <gbenson@redhat.com>
1024 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1025 unmapping the first object in a namespace.
1027 2012-08-16 Roland McGrath <roland@hack.frob.com>
1029 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1030 (__internal_setnetgrent): ... this. Add internal_function to
1031 definition. Add libc_hidden_def.
1032 (setnetgrent): Update caller.
1033 (internal_endnetgrent): Renamed to ...
1034 (__internal_endnetgrent): ... this. Add internal_function to
1035 definition. Add libc_hidden_def.
1036 (endnetgrent): Update caller.
1037 (internal_getnetgrent_r): Renamed to ...
1038 (__internal_getnetgrent_r): ... this. Add internal_function to
1039 definition. Add libc_hidden_def.
1040 (__getnetgrent_r): Update caller.
1041 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1043 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1045 * stdlib/longlong.h: Update from GCC.
1047 2012-08-16 Roland McGrath <roland@hack.frob.com>
1049 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1050 on _QL, which is set by umul_ppmm but never used.
1051 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1052 variables, which are set by GMP macros but never used.
1053 * stdio-common/_itowa.c (_itowa): Likewise.
1054 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1055 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1057 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1059 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1060 struct La_sh_regs is not constant.
1061 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1062 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1063 and struct La_sparc64_regs are not constant.
1065 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1067 * sysdeps/unix/sysv/linux/kernel-features.h
1068 (__ASSUME_POSIX_TIMERS): Remove.
1069 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1071 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1072 Make code unconditional.
1073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1074 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1075 Make code unconditional.
1076 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1077 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1078 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1081 Make code unconditional.
1082 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1083 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1084 (__libc_missing_posix_timers): Remove.
1086 2012-08-15 Roland McGrath <roland@hack.frob.com>
1088 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1089 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1091 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1093 * elf/dl-sym.c: Include <stdlib.h>.
1095 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1096 constants, which avoids warnings in 32-bit builds.
1098 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1099 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1101 * misc/lseek.c: File moved to ...
1102 * io/lseek.c: ... here.
1104 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1106 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1107 shifting LEN more than 31 bits at once.
1109 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1112 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1113 segmentation fault for a case of two empty input strings.
1114 * string/test-strncasecmp.c (check1): Renamed to...
1116 (bz14195): Add new testcase for two empty input strings and N > 0.
1117 (test_main): Call new testcase, adapt for renamed function.
1119 2012-08-15 Andreas Jaeger <aj@suse.de>
1122 * crypt/md5test2.c: New test, based on test supplied by Serge
1123 Belyshev <belyshev@depni.sinp.msu.ru>.
1124 * crypt/Makefile (xtests): Add md5test-giant..
1125 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1127 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1130 * crypt/md5.c (md5_process_block): Don't assume the buffer
1131 length is less than 2**32.
1132 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1133 length is less than 2**64.
1135 2012-08-15 Roland McGrath <roland@hack.frob.com>
1137 * string/str-two-way.h: Include <sys/param.h>.
1138 (MAX): Macro removed.
1140 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1141 Move #define and #undef of memmove to just before and after
1142 including <string.h>.
1144 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1145 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1146 and after including <string.h>. Move declarations of
1147 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1148 to before #include "string/memmove.c".
1150 * include/dirent.h: Declare __getdirentries.
1152 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1153 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1155 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1157 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1158 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1159 * sysdeps/i386/configure: Regenerated.
1160 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1161 STABS_CURRENT_FILE, and STABS_FUN.
1162 (END): Remove call to STABS_FUN_END.
1163 (STABS_CURRENT_FILE1): Delete.
1164 (STABS_CURRENT_FILE): Likewise.
1165 (STABS_FUN): Likewise.
1166 (STABS_FUN_END): Likewise.
1167 (STABS_FUN2): Likewise.
1168 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1169 * sysdeps/x86_64/configure: Regenerated.
1171 2012-08-14 Roland McGrath <roland@hack.frob.com>
1173 * elf/dl-open.c: Include <atomic.h>.
1174 * elf/dl-lookup.c: Likewise.
1176 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1178 * sysdeps/unix/sysv/linux/kernel-features.h
1179 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1180 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1182 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1184 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1185 condition on __ASSUME_CLONE_THREAD_FLAGS.
1187 2012-08-14 Andreas Jaeger <aj@suse.de>
1189 * sysdeps/i386/fpu/libm-test-ulps: Update.
1191 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1193 * include/atomic.h (atomic_exchange_and_add): Split into ...
1194 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1197 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1201 2012-08-13 Jeff Law <law@redhat.com>
1203 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1204 null byte in the output string.
1206 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1208 * sysdeps/unix/sysv/linux/kernel-features.h
1209 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1210 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1211 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1212 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1213 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1214 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1215 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1217 2012-08-09 Jeff Law <law@redhat.com>
1220 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1221 When avoid_arena is set, don't retry in the that arena. Pick the
1222 next one, whatever it might be.
1223 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1224 (arena_lock): Pass in new parameter to arena_get2.
1225 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1227 (__libc_malloc): Unify retrying after main arena failure with
1228 __libc_memalign version.
1229 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1231 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1234 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1235 to __redirect_strstr.
1236 (__strstr_sse42): Use typeof __redirect_strstr.
1237 (__strstr_ia32): Likewise.
1238 (__libc_strstr): New prototype.
1239 (strstr): Renamed to ...
1240 (__libc_strstr): This.
1241 (strstr): New strong alias of __libc_strstr.
1242 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1246 (__libc_time): New prototype.
1247 (time_ifunc): Replace time with __libc_time.
1248 (time): New strong alias and hidden definition of __libc_time.
1249 (__GI_time): Remove strong alias.
1250 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1252 (memmove): Redefined to __redirect_memmove.
1253 (__memmove_sse2): Use typeof __redirect_memmove.
1254 (__memmove_ssse3): Likewise.
1255 (__memmove_ssse3_back): Likewise.
1256 (__libc_memmove): New prototype.
1257 (memmove): Renamed to ...
1258 (__libc_memmove): This.
1259 (memmove): New strong alias of __libc_memmove.
1261 2012-08-08 Mark Salter <msalter@redhat.com>
1264 (R_MN10300_TLS_GD): Define.
1265 (R_MN10300_TLS_LD): Likewise.
1266 (R_MN10300_TLS_LDO): Likewise.
1267 (R_MN10300_TLS_GOTIE): Likewise.
1268 (R_MN10300_TLS_IE): Likewise.
1269 (R_MN10300_TLS_LE): Likewise.
1270 (R_MN10300_TLS_DTPMOD): Likewise.
1271 (R_MN10300_TLS_DTPOFF): Likewise.
1272 (R_MN10300_TLS_TPOFF): Likewise.
1273 (R_MN10300_SYM_DIFF): Likewise.
1274 (R_MN10300_ALIGN): Likewise.
1275 (R_MN10300_NUM): Update.
1277 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1282 2012-08-08 Roland McGrath <roland@hack.frob.com>
1284 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1286 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1287 sysdeps/unix -> sysdeps/posix move.
1288 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1290 2012-08-07 Allan McRae <allan@archlinux.org>
1293 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1294 (SUNOS_CPP): Likewise.
1295 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1297 (open_input): Call CPP using execvp.
1299 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/unix/sysv/linux/kernel-features.h
1302 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1303 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1304 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1305 (__ASSUME_WAITID_SYSCALL): Likewise.
1306 * sysdeps/unix/sysv/linux/dl-execstack.c
1307 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1309 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1311 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1312 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1313 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1315 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1317 [__ASSUME_WAITID_SYSCALL]: Likewise.
1318 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1320 2012-08-07 Roland McGrath <roland@hack.frob.com>
1322 * sysdeps/unix/closedir.c: Renamed to ...
1323 * sysdeps/posix/closedir.c: ... here.
1324 * sysdeps/unix/dirfd.c: Renamed to ...
1325 * sysdeps/posix/dirfd.c: ... here.
1326 * sysdeps/unix/dirstream.h: Renamed to ...
1327 * sysdeps/posix/dirstream.h: ... here.
1328 * sysdeps/unix/fdopendir.c: Renamed to ...
1329 * sysdeps/posix/fdopendir.c: ... here.
1330 * sysdeps/unix/opendir.c: Renamed to ...
1331 * sysdeps/posix/opendir.c: ... here.
1332 * sysdeps/unix/readdir.c: Renamed to ...
1333 * sysdeps/posix/readdir.c: ... here.
1334 * sysdeps/unix/readdir_r.c: Renamed to ...
1335 * sysdeps/posix/readdir_r.c: ... here.
1336 * sysdeps/unix/rewinddir.c: Renamed to ...
1337 * sysdeps/posix/rewinddir.c: ... here.
1338 * sysdeps/unix/seekdir.c: Renamed to ...
1339 * sysdeps/posix/seekdir.c: ... here.
1340 * sysdeps/unix/telldir.c: Renamed to ...
1341 * sysdeps/posix/telldir.c: ... here.
1342 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1343 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1344 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1345 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1347 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1348 * bits/fcntl.h: ... here.
1350 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1352 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1353 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1354 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1355 (struct flock): Move l_start, l_len to the beginning.
1356 Use __pid_t for l_pid.
1357 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1358 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1359 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1360 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1361 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1362 [__USE_LARGEFILE64] (struct flock64): New type.
1363 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1365 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1366 * bits/dirent.h: ... here.
1368 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1369 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1371 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1374 Change from 2.6.0 to 2.6.16.
1375 * sysdeps/unix/sysv/linux/configure: Regenerated.
1376 * sysdeps/unix/sysv/linux/kernel-features.h
1377 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1378 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1380 (__ASSUME_UTIMES): Likewise.
1381 (__ASSUME_CLONE_STOPPED): Remove.
1382 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1383 architectures, not kernel version.
1384 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1385 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1386 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1387 (__ASSUME_WAITID_SYSCALL): Likewise.
1388 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1389 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1390 * README: State 2.6.16 as minimum Linux kernel version. Do not
1391 refer to older versions.
1393 2012-08-06 Roland McGrath <roland@hack.frob.com>
1395 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1396 Define alphasort64 as an alias.
1397 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1398 Define versionsort64 as an alias.
1399 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1400 Define scandir64 as an alias.
1401 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1402 Define scandirat64 as an alias.
1403 * dirent/alphasort64.c (alphasort64):
1404 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1405 * dirent/versionsort64.c: Likewise.
1406 * dirent/scandir64.c: Likewise.
1407 * dirent/scandirat64.c: Likewise.
1408 * sysdeps/wordsize-64/alphasort.c: File removed.
1409 * sysdeps/wordsize-64/alphasort64.c: File removed.
1410 * sysdeps/wordsize-64/scandir.c: File removed.
1411 * sysdeps/wordsize-64/scandir64.c: File removed.
1412 * sysdeps/wordsize-64/scandirat.c: File removed.
1413 * sysdeps/wordsize-64/scandirat64.c: File removed.
1414 * sysdeps/wordsize-64/versionsort.c: File removed.
1415 * sysdeps/wordsize-64/versionsort64.c: File removed.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1425 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1427 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1429 [defined __arch64__ || defined __sparcv9]
1430 (__INO_T_MATCHES_INO64_T): New macro.
1431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1432 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1433 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1434 * sysdeps/unix/sysv/linux/bits/dirent.h
1435 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1436 (_DIRENT_MATCHES_DIRENT64): New macro.
1438 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1439 Define lockf64 as an alias.
1440 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1441 Define fseeko64 as an alias.
1442 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1443 Define ftello64 as an alias.
1444 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1445 Define _IO_fgetpos64 and fgetpos64 as aliases.
1446 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1447 Define _IO_fsetpos64 and fsetpos64 as aliases.
1448 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1449 Conditionalize body on this.
1450 * libio/fseeko64.c: Likewise.
1451 * libio/ftello64.c: Likewise.
1452 * libio/iofgetpos64.c: Likewise.
1453 * libio/iofsetpos64.c: Likewise.
1454 * sysdeps/wordsize-64/lockf.c: File removed.
1455 * sysdeps/wordsize-64/lockf64.c: File removed.
1456 * sysdeps/wordsize-64/fseeko.c: File removed.
1457 * sysdeps/wordsize-64/fseeko64.c: File removed.
1458 * sysdeps/wordsize-64/ftello.c: File removed.
1459 * sysdeps/wordsize-64/ftello64.c: File removed.
1460 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1461 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1462 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1463 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1464 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1467 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1468 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1469 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1470 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1471 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1475 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1477 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1479 [defined __arch64__ || defined __sparcv9]
1480 (__OFF_T_MATCHES_OFF64_T): New macro.
1481 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1482 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1484 (__OFF_T_MATCHES_OFF64_T): New macro.
1486 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1488 * stdlib/secure-getenv.c (__secure_getenv): Replace
1489 GLIBC_2_16 with GLIBC_2_17.
1491 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1493 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1494 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1496 2012-08-03 David S. Miller <davem@davemloft.net>
1498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1500 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1504 (__ASSUME_CORRECT_SI_PID): Likewise.
1505 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1506 (__ASSUME_TMPFS_NAME): Likewise.
1507 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1508 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1509 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1510 (HAVE_AUX_SECURE): Make definition unconditional.
1511 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1512 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1514 2012-08-03 Roland McGrath <roland@hack.frob.com>
1516 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1517 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1518 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1519 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1520 __eloop_threshold instead of SYMLOOP_MAX.
1522 * sysdeps/generic/eloop-threshold.h: New file.
1523 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1525 * elf/chroot_canon.c (chroot_canon): Likewise.
1527 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1531 Change to 2.6.0 everywhere.
1532 * sysdeps/unix/sysv/linux/configure: Regenerated.
1533 * sysdeps/unix/sysv/linux/kernel-features.h
1534 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1535 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1537 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1538 (__ASSUME_FUTEX_REQUEUE): Remove.
1539 (__ASSUME_STATFS64): Define unconditionally.
1540 (__ASSUME_AT_SECURE): Likewise.
1541 (__ASSUME_CORRECT_SI_PID): Likewise.
1542 (__ASSUME_TGKILL): Define without depending on kernel version for
1544 (__ASSUME_UTIMES): Likewise.
1545 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1547 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1548 (__ASSUME_TMPFS_NAME): Likewise.
1549 * README: Update reference to Linux kernel versions.
1551 2012-08-02 Marek Polacek <polacek@redhat.com>
1554 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1555 libc_cv_asm_type_prefix with %.
1556 * configure: Regenerated.
1557 * include/libc-symbols.h: Remove comment about
1558 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1559 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1560 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1561 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1562 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1563 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1564 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1565 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1566 * elf/tst-unique2mod1.c: Likewise.
1567 * elf/tst-unique1mod2.c: Likewise.
1568 * elf/tst-unique1mod1.c: Likewise.
1569 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1570 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1571 Replace ASM_TYPE_DIRECTIVE with .type.
1572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1573 * sysdeps/i386/sysdep.h: Likewise.
1574 * sysdeps/x86_64/sysdep.h: Likewise.
1575 * sysdeps/sh/sysdep.h: Likewise.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1577 Do not define ASM_TYPE_DIRECTIVE.
1578 * sysdeps/powerpc/sysdep.h: Likewise.
1579 * sysdeps/powerpc/powerpc32/sysdep.h:
1580 Replace ASM_TYPE_DIRECTIVE with .type.
1581 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1582 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1583 * sysdeps/i386/fpu/e_powf.S: Likewise.
1584 * sysdeps/i386/fpu/e_expl.S: Likewise.
1585 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1586 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1587 * sysdeps/i386/fpu/e_pow.S: Likewise.
1588 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1589 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1590 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1591 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1592 * sysdeps/i386/fpu/e_log2.S: Likewise.
1593 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1594 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1595 * sysdeps/i386/fpu/e_powl.S: Likewise.
1596 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1597 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1598 * sysdeps/i386/fpu/e_logl.S: Likewise.
1599 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1600 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1601 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1602 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1603 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1604 * sysdeps/i386/fpu/e_log.S: Likewise.
1605 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1606 * sysdeps/i386/fpu/e_logf.S: Likewise.
1607 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1608 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1609 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1610 * sysdeps/i386/fpu/e_log10.S: Likewise.
1611 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1612 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1613 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1614 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1616 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1617 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1618 * sysdeps/i386/i686/strtok.S: Likewise.
1619 * sysdeps/i386/i386-mcount.S: Likewise.
1620 * sysdeps/i386/strtok.S: Likewise.
1621 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1622 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1623 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1624 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1625 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1626 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1627 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1628 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1629 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1630 * sysdeps/x86_64/_mcount.S: Likewise.
1631 * sysdeps/x86_64/strtok.S: Likewise.
1632 * sysdeps/sh/_mcount.S: Likewise.
1634 2012-08-01 Roland McGrath <roland@hack.frob.com>
1636 * libio/iofopen.c: Include <fcntl.h>.
1637 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1638 (_IO_fopen64, fopen64): Define as aliases.
1639 * libio/iofopen64.c: Include <fcntl.h>.
1640 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1641 Conditionalize body on this.
1642 * sysdeps/wordsize-64/iofopen.c: File removed.
1643 * sysdeps/wordsize-64/iofopen64.c: File removed.
1645 2012-08-01 Marek Polacek <polacek@redhat.com>
1647 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1648 Use dlfcn directly instead of a variable.
1649 (binfmt-subdir): Do not define.
1652 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1655 Remove all definitions.
1656 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1657 <kernel-features.h>.
1658 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1659 (miss_F_GETOWN_EX): Remove all definitions.
1660 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1662 [!__ASSUME_FCNTL64]: Remove conditional code.
1663 [__ASSUME_FCNTL64]: Make code unconditional.
1664 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1665 <kernel-features.h>.
1666 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1667 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1668 (lockf64) [__NR_fcntl64]: Make code unconditional.
1669 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1671 * sysdeps/unix/sysv/linux/kernel-features.h
1672 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1673 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1674 Make code unconditional.
1675 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1676 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1678 [__NR_vfork]: Make code unconditional.
1679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1682 [__NR_vfork]: Make code unconditional.
1683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1686 2012-08-01 Roland McGrath <roland@hack.frob.com>
1688 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1689 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1691 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1692 Define mkstemp64 as an alias.
1693 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1694 Define mkstemps64 as an alias.
1695 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1696 Define mkostemp64 as an alias.
1697 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1698 Define mkostemps64 as an alias.
1699 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1700 Conditionalize body on this.
1701 * misc/mkostemp64.c: Likewise.
1702 * misc/mkostemps64.c: Likewise.
1703 * misc/mkstemps64.c: Likewise.
1704 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1705 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1706 * sysdeps/wordsize-64/mkostemp.c: File removed.
1707 * sysdeps/wordsize-64/mkstemp.c: File removed.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1714 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1715 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1716 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1717 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1719 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1720 compat_symbol macros from <shlib-compat.h> rather than the underlying
1721 default_symbol_version and symbol_version macros, so that DEFAULT
1722 lines in shlib-versions are respected.
1723 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1725 2012-08-01 Florian Weimer <fweimer@redhat.com>
1727 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1728 Declare with warn_unused_result.
1729 (setgid, setregid, setegid, setresgid): Likewise.
1730 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1732 * WUR-REPORT: Remove set*id functions.
1734 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1736 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1738 2012-07-31 Roland McGrath <roland@hack.frob.com>
1740 * include/sys/socket.h (__libc_accept, __libc_accept4):
1741 Add attribute_hidden.
1742 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1744 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1746 * inet/getnetgrent_r.c (setup): Likewise.
1748 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1750 2012-07-31 David S. Miller <davem@davemloft.net>
1752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1754 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1757 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1758 value between 1.0 and 2.0 and smaller part has absolute value less
1760 * math/s_clog10.c (__clog10): Likewise.
1761 * math/s_clog10f.c (__clog10f): Likewise.
1762 * math/s_clog10l.c (__clog10l): Likewise.
1763 * math/s_clogf.c (__clogf): Likewise.
1764 * math/s_clogl.c (__clogl): Likewise.
1765 * math/libm-test.inc (clog_test): Add more tests.
1766 (clog10_test): Likewise.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770 2012-07-31 Florian Weimer <fweimer@redhat.com>
1772 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1773 Exit with zero in case no suitable GID is found, and write a
1774 message to standard error.
1776 2012-07-30 Roland McGrath <roland@hack.frob.com>
1778 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1780 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1781 (MAXPATHLEN): Removed.
1782 (NOGROUP, NODEV): New macros.
1783 (setbit, clrbit, isset, isclr): New macros.
1784 (howmany, roundup, powerof2): New macros.
1785 (DEV_BSIZE): New macro.
1787 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1788 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1790 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1791 definition on [!__NO_LONG_DOUBLE_MATH].
1793 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1794 PTR_MANGLE and PTR_DEMANGLE.
1796 * socket/accept4.c (accept4): Rename to __libc_accept4.
1797 Define accept4 as a weak alias.
1799 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1800 on [_DIRENT_HAVE_D_TYPE].
1801 * io/ftw.c (ftw_dir): Likewise.
1803 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1805 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1807 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1808 Use the BSD numbers rather than the arbitrary ones we had.
1809 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1810 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1811 (SIGXCPU, SIGXFSZ): New macros.
1814 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1815 initializer on [_LIBC_REENTRANT].
1817 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1818 definitions inside [_POSIX_MAPPED_FILES].
1820 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1822 * dirent/opendir.c: Include <fcntl.h>.
1824 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1825 (__libc_getspecific): Likewise.
1826 (__libc_key_create): Likewise.
1828 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1829 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1830 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1831 (tmpfile64): Define as alias.
1832 * sysdeps/wordsize-64/tmpfile.c: File removed.
1833 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1837 * stdio-common/vfscanf.c: Include <stdbool.h>.
1838 * nss/makedb.c: Likewise.
1839 * stdio-common/_i18n_number.h: Likewise.
1840 * argp/argp-help.c: Likewise.
1841 * posix/wordexp.c: Likewise.
1842 * sysdeps/posix/spawni.c: Likewise.
1843 * nss/nss_files/files-initgroups.c: Likewise.
1844 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1845 * nss/nss_files/files-initgroups.c: Likewise.
1846 * nss/nss_db/db-netgrp.c: Likewise.
1847 * nss/nss_db/db-initgroups.c: Likewise.
1848 * io/fchmodat.c: Include <sys/stat.h>.
1850 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1851 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1853 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1856 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1857 Add multiple inclusion protection.
1859 2012-07-27 David S. Miller <davem@davemloft.net>
1861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1863 2012-07-27 Gary Benson <gbenson@redhat.com>
1866 * elf/rtld.c: Include <stap-probe.h>.
1867 (dl_main): Added static probes "init_start" and "init_complete".
1868 * elf/dl-load.c: Include <stap-probe.h>.
1869 (lose): Take new parameter "nsid".
1870 Added static probe "map_failed".
1871 (_dl_map_object_from_fd): Pass namespace id to lose.
1872 Added static probe "map_start".
1873 (open_verify): Pass namespace id to lose.
1874 * elf/dl-open.c: Include <stap-probe.h>.
1875 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1876 and "reloc_complete".
1877 * elf/dl-close.c: Include <stap-probe.h>.
1878 (_dl_close_worker): Added static probes "unmap_start" and
1880 * elf/rtld-debugger-interface.txt: New file documenting the above.
1882 2012-07-26 Roland McGrath <roland@hack.frob.com>
1884 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1885 rather than a string variable.
1886 * sunrpc/rpc_main.c (h_output): Likewise.
1887 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1889 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1891 * inet/check_native.c: New file.
1893 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1896 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1897 if larger part has absolute value 1.0.
1898 * math/s_clog10.c (__clog10): Likewise.
1899 * math/s_clog10f.c (__clog10f): Likewise.
1900 * math/s_clog10l.c (__clog10l): Likewise.
1901 * math/s_clogf.c (__clogf): Likewise.
1902 * math/s_clogl.c (__clogl): Likewise.
1903 * math/libm-test.inc (clog_test): Add more tests.
1904 (clog10_test): Likewise.
1905 * sysdeps/i386/fpu/libm-test-ulps: Update.
1906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1908 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1909 (pltexit): Likewise.
1910 (La_regs): Likewise.
1911 (La_retval): Likewise.
1912 (int_retval): Likewise.
1913 Update #error for removed macros to refer only to definitions in
1915 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1917 (pltexit): Likewise.
1918 (La_regs): Likewise.
1919 (La_retval): Likewise.
1920 (int_retval): Likewise.
1921 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1923 (pltexit): Likewise.
1924 (La_regs): Likewise.
1925 (La_retval): Likewise.
1926 (int_retval): Likewise.
1927 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1929 (pltexit): Likewise.
1930 (La_regs): Likewise.
1931 (La_retval): Likewise.
1932 (int_retval): Likewise.
1933 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1935 (pltexit): Likewise.
1936 (La_regs): Likewise.
1937 (La_retval): Likewise.
1938 (int_retval): Likewise.
1939 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1941 (pltexit): Likewise.
1942 (La_regs): Likewise.
1943 (La_retval): Likewise.
1944 (int_retval): Likewise.
1945 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1947 (pltexit): Likewise.
1948 (La_regs): Likewise.
1949 (La_retval): Likewise.
1950 (int_retval): Likewise.
1951 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1952 macro definitions in tst-audit.h.
1953 * sysdeps/i386/tst-audit.h: New file.
1954 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1955 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1956 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1957 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1958 * sysdeps/sh/tst-audit.h: Likewise.
1959 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1960 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1961 * sysdeps/x86_64/tst-audit.h: Likewise.
1963 2012-07-26 Andreas Jaeger <aj@suse.de>
1965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1968 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1969 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1970 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1972 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1973 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1976 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1979 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1981 (si_call_addr, si_syscall, si_arch): Define new macro.
1982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1984 (si_call_addr, si_syscall, si_arch): Define new marcro.
1985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1987 (si_call_addr, si_syscall, si_arch): Define new macro.
1988 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1990 (si_call_addr, si_syscall, si_arch): Define new macro.
1992 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1996 Change to 2.4.21 where previously 2.4.1.
1997 * sysdeps/unix/sysv/linux/configure: Regenerated.
1998 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1999 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2000 Linux kernel version.
2001 (__ASSUME_STD_AUXV): Remove.
2002 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2004 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2005 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2006 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2007 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2008 (__ASSUME_NETLINK_SUPPORT): Likewise.
2009 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2010 (__no_netlink_support): Remove conditional definition.
2011 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2013 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2014 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2016 (if_nameindex_ioctl): Remove.
2017 (if_nameindex_netlink): Do not handle __no_netlink_support.
2018 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2020 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2021 Remove conditional code.
2022 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2024 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2026 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2027 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2028 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2030 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2031 [!__ASSUME_STD_AUXV]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2033 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2034 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2036 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2037 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2039 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2041 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2042 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2044 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2046 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2049 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2052 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2054 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2056 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2058 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2061 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2063 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2066 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2068 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2070 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2072 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2075 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2077 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2079 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2081 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2084 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2086 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2087 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2088 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2089 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2090 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2091 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2093 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2094 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2095 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2096 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2098 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2099 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2100 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2101 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2107 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2110 2012-07-25 Florian Weimer <fweimer@redhat.com>
2112 * Versions.def: Add GLIBC_2.17.
2113 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2114 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2115 Introduce __libc_secure_getenv.
2116 * stdlib/Versions (2.17): Add secure_getenv
2117 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2118 * stdlib/secure-getenv.c: Rename __secure_getenv to
2119 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2120 symbol __secure_getenv for GLIBC_2.0.
2121 * stdlib/tst-secure-getenv.c: New.
2122 * stdlib/Makefile (tests): Add testcase.
2123 * manual/startup.texi (Environment Access): Document
2125 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2126 __libc_secure_getenv.
2127 * inet/ruserpass.c (ruserpass): Likewise.
2128 * malloc/mtrace.c (mtrace): Likewise.
2129 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2130 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2131 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2132 * sysdeps/posix/tempname.c: Likewise. Evaluate
2134 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2135 __secure_getenv to __libc_secure_getenv.
2136 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2149 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2151 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2152 (struct La_i86_retval): Likewise.
2153 (struct La_x86_64_regs): Likewise.
2154 (struct La_x86_64_retval): Likewise.
2155 (struct La_x32_regs): Likewise.
2156 (struct La_x32_retval): Likewise.
2157 (struct La_ppc32_regs): Likewise.
2158 (struct La_ppc32_retval): Likewise.
2159 (struct La_ppc64_regs): Likewise.
2160 (struct La_ppc64_retval): Likewise.
2161 (struct La_sh_regs): Likewise.
2162 (struct La_sh_retval): Likewise.
2163 (struct La_s390_32_regs): Likewise.
2164 (struct La_s390_32_retval): Likewise.
2165 (struct La_s390_64_regs): Likewise.
2166 (struct La_s390_64_retval): Likewise.
2167 (struct La_sparc32_regs): Likewise.
2168 (struct La_sparc32_retval): Likewise.
2169 (struct La_sparc64_regs): Likewise.
2170 (struct La_sparc64_retval): Likewise.
2171 (struct audit_ifaces): Remove architecture-specific pltenter and
2173 * sysdeps/i386/ldsodefs.h: New file.
2174 * sysdeps/powerpc/ldsodefs.h: Likewise.
2175 * sysdeps/s390/ldsodefs.h: Likewise.
2176 * sysdeps/sh/ldsodefs.h: Likewise.
2177 * sysdeps/sparc/ldsodefs.h: Likewise.
2178 * sysdeps/x86_64/ldsodefs.h: Likewise.
2180 2012-07-25 Marek Polacek <polacek@redhat.com>
2183 * math/libm-test.inc (yn_test): Add another test.
2184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2185 to ERANGE when the result is +-Inf.
2186 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2187 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2188 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2191 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2193 * conform/data/time.h-data (NULL): Use macro-constant. Require
2195 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2197 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2199 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2201 * configure.in <sysdeps resolving>: Correct printing
2203 * configure: Regenerate.
2205 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2207 * math/w_ilogb.c: Include <limits.h>.
2208 * math/w_ilogbl.c: Likewise.
2210 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2212 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2213 va_copy. Document allowing for unavailable va_copy only as
2214 pre-C99 compatibility.
2215 * manual/string.texi (Copying and Concatenation): Use va_copy
2216 instead of __va_copy in concat example.
2218 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2220 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2221 (__sendto): Use create_address_port. Initialize APORT and deallocate
2224 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2225 with O_NOLINK passed to __file_name_lookup.
2227 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2228 with O_NOLINK passed to __file_name_lookup.
2230 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2231 negative N or less than NGIDS.
2233 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2234 type to string_t. Set ERANGE as errno and return it if NAME is not big
2235 enough. Use memcpy instead of strncpy.
2237 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2239 * elf/Makefile (check-data): Remove.
2240 (localplt.data): New vpath directive.
2241 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2242 instead of $(check-data).
2243 * scripts/data/localplt-generic.data: Move to ...
2244 * sysdeps/generic/localplt.data: ... here.
2245 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2246 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2247 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2250 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2253 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2256 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2259 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2262 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2266 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2269 PPC32 and PPC64 files.
2270 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2271 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2273 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2275 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2276 __makecontext_ret to ...
2277 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2278 ... here and call exit if uc_link is NULL. New file.
2279 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2280 __makecontext_ret.S.
2281 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2282 __makecontext_ret to ...
2283 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2284 ... here and call exit if uc_link is NULL. New file.
2285 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2286 __makecontext_ret.S.
2288 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2290 * elf/elf.h (R_390_IRELATIVE): New definition.
2291 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2292 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2293 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2295 (elf_machine_lazy_rel): Likewise.
2296 * sysdeps/s390/dl-irel.h: New file.
2297 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2298 * sysdeps/s390/s390-64/memset.S: New asm code.
2299 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2300 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2301 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2302 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2303 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2304 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2305 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2306 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2307 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2308 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2309 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2310 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2311 * sysdeps/s390/s390-32/memset.S: New asm code.
2312 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2314 2012-07-17 Marek Polacek <polacek@redhat.com>
2317 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2318 * sysdeps/s390/s390-64/configure.in: Likewise.
2319 * sysdeps/sparc/configure.in: Likewise.
2320 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2321 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2322 * sysdeps/i386/configure.in: Likewise.
2323 * sysdeps/x86_64/configure.in: Likewise.
2324 * sysdeps/sh/configure.in: Likewise.
2325 * sysdeps/s390/s390-32/configure: Regenerated.
2326 * sysdeps/s390/s390-64/configure: Likewise.
2327 * sysdeps/x86_64/configure: Likewise.
2328 * sysdeps/sh/configure: Likewise.
2329 * sysdeps/powerpc/powerpc64/configure: Likewise.
2330 * sysdeps/powerpc/powerpc32/configure: Likewise.
2331 * sysdeps/sparc/configure: Likwise.
2332 * sysdeps/i386/configure: Likewise.
2334 * elf/dl-open.c: Comment fixes.
2336 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2338 * Makefile [CXX] (check-data): Remove.
2339 [CXX] (c++-types.data): New vpath directive.
2340 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2341 vpath. Do not allow for C++ type data being missing.
2342 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2343 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2344 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2345 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2346 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2347 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2348 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2351 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2354 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2357 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2360 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2363 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2366 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2369 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2372 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2373 definitions to architecture-specific files.
2377 * sysdeps/i386/tls-macros.h: New file.
2378 * sysdeps/powerpc/tls-macros.h: Likewise.
2379 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2380 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2381 * sysdeps/sh/tls-macros.h: Likewise.
2382 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2383 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2384 * sysdeps/x86_64/tls-macros.h: Likewise.
2386 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2389 zero value for regular exit case.
2391 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2392 (__start_context): Preserve zero value for regular exit case.
2394 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2395 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2397 * manual/setjmp.texi (setcontext): Clarify normal process
2398 termination when uc_link is the null pointer.
2399 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2402 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2404 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2405 preprocessor. Test for each exception mask separately.
2407 2012-07-16 Andreas Jaeger <aj@suse.de>
2409 * po/ru.po: Update from translation team.
2411 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2413 * conform/data/string.h-data (NULL): Use macro-constant. Require
2415 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2416 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2417 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2418 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2421 2012-07-13 Andreas Jaeger <aj@suse.de>
2423 * po/fr.po: Update from translation team.
2425 2012-07-12 Marek Polacek <polacek@redhat.com>
2428 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2429 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2432 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2435 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2436 Change to 2.4.1 where previously 2.4.0.
2437 * sysdeps/unix/sysv/linux/configure: Regenerated.
2438 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2439 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2441 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2442 (__ASSUME_AT_CLKTCK): Remove.
2443 (__ASSUME_AT_PAGESIZE): Likewise.
2444 (__ASSUME_AT_XID): Likewise.
2445 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2446 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2447 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2449 (HAVE_AUX_PAGESIZE): Likewise.
2450 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2451 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2452 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2454 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2458 the temporary buffer used to invoke __gethostbyname2_r,
2459 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2460 host_data / struct gaih_addrtuple.
2461 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2462 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2463 header file nss/nsswitch.h.
2464 * nss/nsswitch.h (global scope): Add definition of implementation
2465 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2466 resolv/nss_dns/dns-host.c).
2468 2012-07-11 Andreas Jaeger <aj@suse.de>
2470 * po/fr.po: Update from translation team.
2472 * po/sv.po: Update from translation team
2473 * po/fr.po: Another update from translation team.
2475 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2478 for subnormals or multiply small sinh result by itself.
2479 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2482 2012-07-11 David S. Miller <davem@davemloft.net>
2484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2486 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2489 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2490 (INTERNAL_MARK): Shift it here.
2492 2012-07-10 Marek Polacek <polacek@redhat.com>
2495 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2496 libc_cv_asm_global_directive with .globl.
2497 * configure: Regenerated.
2498 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2500 * sysdeps/i386/configure: Regenerated.
2501 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2503 * sysdeps/x86_64/configure: Regenerated.
2504 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2505 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2506 * elf/tst-unique2mod2.c: Likewise.
2507 * elf/tst-unique2mod1.c: Likewise.
2508 * elf/tst-unique1mod2.c: Likewise.
2509 * elf/tst-unique1mod1.c: Likewise.
2510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2511 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2513 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2514 * sysdeps/mach/sysdep.h: Likewise.
2515 * sysdeps/i386/sysdep.h: Likewise.
2516 * sysdeps/i386/i386-mcount.S: Likewise.
2517 * sysdeps/x86_64/_mcount.S: Likewise.
2518 * sysdeps/x86_64/sysdep.h: Likewise.
2519 * sysdeps/sh/_mcount.S: Likewise.
2520 * sysdeps/sh/sysdep.h: Likewise.
2521 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2524 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2525 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2526 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2528 * locale/localeinfo.h: Likewise.
2529 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2530 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2532 2012-07-09 Roland McGrath <roland@hack.frob.com>
2535 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2537 * manual/message.texi (The Uniforum approach): Likewise.
2538 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2539 (glibc iconv Implementation): Likewise.
2541 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2544 * math/s_clog.c (__clog): Avoid scaling a value down where that
2545 could result in underflow.
2546 * math/s_clog10.c (__clog10): Likewise.
2547 * math/s_clog10f.c (__clog10f): Likewise.
2548 * math/s_clog10l.c (__clog10l): Likewise.
2549 * math/s_clogf.c (__clogf): Likewise.
2550 * math/s_clogl.c (__clogl): Likewise.
2551 * math/libm-test.inc (clog_test): Add more tests.
2552 (clog10_test): Likewise.
2553 * sysdeps/i386/fpu/libm-test-ulps: Update.
2554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2559 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2560 by 7 not 8 to examine high bit of fractional part.
2563 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2564 for call to __mcount_internal.
2565 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2566 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2567 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2569 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2572 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2573 approximation for values within 0x1p-13f of an odd multiple of
2575 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2576 exception. Add more tests.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2581 inputs and return -1 for them. Do not check for +Inf in case not
2583 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2584 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2585 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2586 and return -1 for them. Do not check for +Inf in case not
2588 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2591 and return -1 for them. Do not check for +Inf in case not
2593 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2598 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2600 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2602 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2606 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2607 could result in spurious underflow. Scale down values above
2608 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2609 * math/s_csqrtf.c (__csqrtf): Likewise.
2610 * math/s_csqrtl.c (__csqrtl): Likewise.
2611 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2613 * sysdeps/i386/fpu/libm-test-ulps: Update.
2614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2616 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2618 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2620 * catgets/xopen-msg.awk: New file.
2621 * catgets/xopen-msg.sed: Removed.
2623 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2625 * intl/po2test.awk: New file.
2626 * intl/po2test.sed: Removed.
2628 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2631 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2632 or multiply small sinh result by itself.
2633 * math/s_ctanf.c (__ctanf): Likewise.
2634 * math/s_ctanh.c (__ctanh): Likewise.
2635 * math/s_ctanhf.c (__ctanhf): Likewise.
2636 * math/s_ctanhl.c (__ctanhl): Likewise.
2637 * math/s_ctanl.c (__ctanl): Likewise.
2638 * math/libm-test.inc (ctan_test_tonearest): New function.
2639 (ctan_test_towardzero): Likewise.
2640 (ctan_test_downward): Likewise.
2641 (ctan_test_upward): Likewise.
2642 (ctanh_test_tonearest): Likewise.
2643 (ctanh_test_towardzero): Likewise.
2644 (ctanh_test_downward): Likewise.
2645 (ctanh_test_upward): Likewise.
2646 (main): Call these new functions.
2647 * sysdeps/i386/fpu/libm-test-ulps: Update.
2648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2650 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2652 * .gitignore: Delete /ports entry.
2654 2012-07-03 Andreas Jaeger <aj@suse.de>
2656 * po/bg.po: Update from translation team.
2657 * po/cs.po: Likewise.
2658 * po/de.po: Likewise.
2659 * po/hr.po: Likewise.
2660 * po/nl.pl: Likewise.
2661 * po/pl.po: Likewise.
2662 * po/vi.po: Likewise.
2664 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2666 * Makeconfig [!+link] (+link-before-libc): New variable.
2667 [!+link] (+link-after-libc): Likewise.
2668 [!+link] (+link-tests): Likewise.
2669 [!+link] (+link): Define in terms of $(+link-before-libc) and
2670 $(+link-after-libc).
2671 [!+link-static] (+link-static-before-libc): New variable.
2672 [!+link-static] (+link-static-after-libc): Likewise.
2673 [!+link-static] (+link-static-tests): Likewise.
2674 [!+link-static] (+link-static): Define in terms of
2675 $(+link-static-before-libc) and $(+link-static-after-libc).
2676 [build-shared] (link-libc-before-gnulib): New variable.
2677 [build-shared] (link-libc-tests): Likewise.
2678 [build-shared] (link-libc): Define in terms of
2679 $(link-libc-before-gnulib).
2680 [!build-shared] (link-libc-tests): New variable.
2681 (link-libc-static-tests): New variable.
2682 [!gnulib] (gnulib-arch): New variable.
2683 [!gnulib] (gnulib-tests): Likewise.
2684 [!gnulib] (static-gnulib-arch): Likewise.
2685 [!gnulib] (static-gnulib-tests): Likewise.
2686 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2687 Define with "=" instead of ":=".
2688 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2689 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2690 * Rules (binaries-all-notests): New variable.
2691 (binaries-all-tests): Likewise.
2692 (binaries-static-notests): Likewise.
2693 (binaries-static-tests): Likewise.
2694 (binaries-all): Define using $(binaries-all-notests) and
2695 $(binaries-all-tests).
2696 (binaries-static): Define using $(binaries-static-notests) and
2697 $(binaries-static-tests).
2698 (binaries-shared-tests): New variable.
2699 (binaries-shared-notests): Likewise.
2700 (binaries-shared): Remove variable.
2701 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2702 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2703 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2704 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2705 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2706 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2707 * elf/Makefile (sln-modules): New variable.
2708 (extra-objs): Add $(sln-modules:=.o).
2709 (ldconfig-modules): Add static-stubs.
2710 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2711 * elf/static-stubs.c: New file.
2714 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2715 by 7 not 8 to examine high bit of fractional part. Use volatile
2716 variables when splitting into final array of floats if
2717 __FLT_EVAL_METHOD__ != 0.
2718 * math/libm-test.inc (cos_test): Add another test.
2719 (sin_test): Likewise.
2720 * sysdeps/i386/fpu/libm-test-ulps: Update.
2723 * math/libm-test.inc (cosh_test): Add more tests.
2725 * version.h (RELEASE): Set to "development".
2726 (VERSION): Set to "2.16.90".
2728 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2730 * NEWS: Update copyright. Remove last-updated date.
2731 Mention math library bug fixes and timezone data changes.
2732 * README: Mention GNU/Hurd, x32, and HPPA support status.
2734 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2736 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2738 2012-06-27 Andreas Jaeger <aj@suse.de>
2740 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2742 2012-06-25 Andreas Jaeger <aj@suse.de>
2744 * sysdeps/s390/fpu/libm-test-ulps: Update.
2746 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2747 Thomas Schwinge <thomas@codesourcery.com>
2749 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2750 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2754 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2756 * sysdeps/mach/start.c: Remove file.
2757 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2758 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2759 * sysdeps/sh/init-first.c: Likewise.
2761 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2762 registers for frame unwinding purposes, add CFI directives.
2763 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2765 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2768 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2769 __fortify_fail returning.
2770 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2772 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2773 sysdeps/sh/____longjmp_chk.S.
2774 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2775 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2776 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2777 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2779 * sysdeps/sh/abort-instr.h: New file.
2780 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2781 process in case exit returns.
2783 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2784 initialize the GOT register before use.
2786 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2787 calculation of ARGC > 4.
2789 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2790 meaningful names to some local labels.
2792 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2793 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2795 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2796 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2797 (__arch_compare_and_exchange_val_16_acq): Likewise.
2798 (__arch_compare_and_exchange_val_32_acq): Likewise.
2799 (atomic_exchange_and_add): Fix gUSA sequence.
2800 (atomic_add): Likewise.
2801 (atomic_add_negative): Likewise.
2802 (atomic_add_zero): Likewise.
2803 (atomic_bit_test_set): Likewise.
2805 2012-06-22 Andreas Schwab <schwab@redhat.com>
2808 * include/link.h (struct link_map): Add l_free_initfini.
2809 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2811 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2812 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2813 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2816 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2818 * configure.in: Use AC_LANG_SOURCE.
2819 * configure: Regenerate.
2821 2012-06-22 Roland McGrath <roland@hack.frob.com>
2823 * configure.in (libc_cv_localstatedir): New substituted variable.
2824 * configure: Regenerated.
2825 * config.make.in (localstatedir): New variable, substituted from
2826 libc_cv_localstatedir.
2827 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2828 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2829 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2830 * sysdeps/gnu/configure: Regenerated.
2832 2012-06-21 Jeff Law <law@redhat.com>
2835 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2836 free. Simplify list management for _LIBC case.
2838 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2841 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2842 Clear sign bit of 64-bit integer value before comparing against
2845 * sysdeps/mach/configure: Regenerated.
2847 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2850 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2852 2012-06-21 Jeff Law <law@redhat.com>
2855 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2856 uint16_t for elements in the "seen" array to avoid char overflows.
2857 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2858 * elf/dl-open.c (dl_open_worker): Likewise.
2860 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2862 * scripts/list-sources.sh: Scan PORTS for translations.
2863 * po/libc.pot: Regenerated.
2865 2012-06-21 Andreas Jaeger <aj@suse.de>
2868 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2870 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2871 * bits/byteswap-16.h (__bswap_16): Likewise.
2872 * bits/byteswap.h (__bswap_constant_16): Likewise.
2874 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2877 * sysdeps/i386/fpu_control.h: Removed.
2878 * sysdeps/x86_64/fpu_control.h: Moved to ...
2879 * sysdeps/x86/fpu_control.h: Here.
2881 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2882 (_FPU_SETCW): Likewise.
2884 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2887 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2888 * sysdeps/x86/fpu/bits/mathinline.h: This.
2889 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2893 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2894 functions if __x86_64__ is defined.
2896 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2898 * string/endian.h: Add !__ASSEMBLER__ condition for including
2899 conversion interfaces.
2901 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2905 of ABS(x) in calculating zero to negative powers other than odd
2907 * math/libm-test.inc (pow_test): Add more tests.
2909 2012-06-15 Andreas Jaeger <aj@suse.de>
2911 * manual/contrib.texi (Contributors): Update entry of Liubov
2912 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2915 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2917 * string/string.h: Add __wur to GNU version of strerror_r.
2919 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2922 * string/Makefile (tests): Add tst-strtok_r.
2923 * string/tst-strtok_r.c: New file.
2924 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2925 RAX_LP/RDX_LP on SAVE_PTR.
2927 2012-06-14 Roland McGrath <roland@hack.frob.com>
2929 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2931 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2933 * libm_test.inc (csqrt_test): Allow more spurious underflow
2935 (j0_test): Likewise.
2936 (j1_test): Likewise.
2937 (y0_test): Likewise.
2938 (y1_test): Likewise.
2940 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2942 * po/Makefile (libc.pot): Use UTF-8 charset.
2944 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2947 Suppress sign-conversion warning from FD_SET.
2948 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2949 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2950 not unsigned long int.
2951 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2953 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2957 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2958 __extern_always_inline instead of __extern_inline.
2959 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2960 (__signbit): Likewise.
2961 (__signbitl): Support C++ namespace.
2962 (lrintf): New inline function.
2964 (llrintf): Likewise.
2976 (nearbyint): Likewise.
2977 (nearbyintf): Likewise.
2979 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2981 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2982 non-default versions.
2984 2012-06-11 Roland McGrath <roland@hack.frob.com>
2987 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2989 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2991 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2992 (FE_UPWARD, FE_DOWNWARD): Don't define.
2993 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2994 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2996 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2998 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2999 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3001 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3003 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3005 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3006 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3008 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3011 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3012 * sysdeps/i386/fpu/Implies: New file.
3013 * sysdeps/x86_64/fpu/Implies: Likewise.
3014 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3015 * sysdeps/x86/fpu/bits/fenv.h: This.
3017 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3020 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3023 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3024 character 0xffff that matches the last element of the
3027 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3029 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3032 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3035 values higher than 25.6283.
3037 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3040 subnormal exponent extraction and add some __builtin_expect.
3041 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3042 Fix for subnormal mantissa calculation.
3044 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3046 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3047 cpu2 is -1 and errno is not ENOSYS.
3049 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3052 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3053 * sysdeps/x86/bits/string.h: This.
3054 * sysdeps/x86_64/bits/string.h: Removed.
3056 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3057 if not compiling for x86-64, but compiling for >= i486.
3059 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3060 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3062 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3063 New macro from Linux kernel 3.4.0.
3064 (FP_XSTATE_MAGIC2): Likewise.
3065 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3066 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3067 (struct _fpx_sw_bytes): New struct.
3068 (struct _xsave_hdr): Likewise.
3069 (struct _ymmh_state): Likewise.
3070 (struct _xstate): Likewise.
3072 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3073 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3074 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3075 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3076 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3077 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3079 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3081 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3082 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3083 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3084 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3086 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3089 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3090 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3091 (sysdep_headers): Include sys/platform/ppc.h.
3092 * sysdeps/powerpc/test-gettimebase.c: Test for
3093 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3094 * manual/Makefile (appendices): Include platform.texi.
3095 * manual/contrib.texi (Contributors): Update @node pointers.
3096 * manual/maint.texi (Maintenance): Likewise.
3097 (Platform): New node.
3098 * manual/platform.texi: New file. Document the new features.
3100 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3101 Jakub Jelinek <jakub@redhat.com>
3104 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3105 where __builtin_expect is unavailable.
3107 2012-06-03 David S. Miller <davem@davemloft.net>
3109 * stdlib/longlong.h: Updated from GCC.
3111 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3114 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3115 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3118 (GLIBC_2.16): Likewise.
3120 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3122 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3124 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3127 (default-abi): New variable.
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3129 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3131 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3133 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3138 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3139 definition. Document in comment.
3141 2012-06-01 David S. Miller <davem@davemloft.net>
3143 * stdlib/longlong.h: Updated from GCC.
3145 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3148 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3149 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3150 sys/debugreg.h sys/io.h here.
3151 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3152 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3154 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3155 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3156 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3157 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3158 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3159 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3161 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3162 Define only if __x86_64__ is defined.
3164 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3167 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3168 Use int64_t for variable i.
3169 * math/libm-test.inc (fmod_test): Add more tests.
3171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3172 z computation is not scheduled after fetestexcept.
3173 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3174 Use math_force_eval instead of asm to ensure calculation scheduled
3175 before exception test.
3176 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3177 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3179 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3182 computation is not scheduled after fetestexcept.
3184 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3187 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3188 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3190 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3193 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3195 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3198 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3200 (__WCHAR_MIN): Support __WORDSIZE == 64.
3201 (__WCHAR_MAX): Likewise.
3203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3204 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3207 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3208 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3211 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3214 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3215 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3217 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3218 Defined to 1 if __x86_64__ isn't defined.
3219 (_STAT_VER_LINUX_OLD): New.
3220 (st_atime): Remove duplicate.
3221 (st_mtime): Likewise.
3222 (st_ctime): Likewise.
3224 2012-05-31 David S. Miller <davem@davemloft.net>
3226 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3229 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3231 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3235 * elf/dl-reloc.c: Include <_itoa.h>.
3236 (_dl_reloc_bad_type): Remove use of INTUSE.
3237 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3238 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3239 * stdio-common/psiginfo.c (psiginfo): Likewise.
3240 * stdio-common/psignal.c (psignal): Likewise.
3241 * string/strsignal.c (strsignal): Likewise.
3242 * include/signal.h (_sys_siglist): Declare hidden proto.
3243 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3244 INTVARDEF with libc_hidden_data_def.
3245 * stdio-common/itoa-udigits.c: Likewise.
3246 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3247 (_itoa_lower_digits_internal): Remove declaration.
3248 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3249 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3250 (_sys_sigabbrev_internal): Remove aliases.
3251 (_sys_siglist): Define hidden alias.
3253 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3258 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3261 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3262 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3264 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3265 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3266 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3267 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3269 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3271 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3272 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3273 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3275 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3283 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3285 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3287 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3288 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3289 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3290 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3291 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3292 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3294 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3295 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3297 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3298 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3304 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3305 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3307 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3309 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3310 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3311 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3313 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3315 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3317 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3319 * math/math.h (M_El): Use two more decimal places.
3320 (M_LOG2El): Likewise.
3321 (M_LOG10El): Likewise.
3323 (M_LN10l): Likewise.
3325 (M_PI_2l): Likewise.
3326 (M_PI_4l): Likewise.
3327 (M_1_PIl): Likewise.
3328 (M_2_PIl): Likewise.
3329 (M_2_SQRTPIl): Likewise.
3330 (M_SQRT2l): Likewise.
3331 (M_SQRT1_2l): Likewise.
3333 2012-05-31 David S. Miller <davem@davemloft.net>
3335 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3336 values between float registers.
3337 * sysdeps/sparc/sparc64/memset.S: Likewise.
3338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3340 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3342 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3343 -D_FORTIFY_SOURCE=1.
3344 (CPPFLAGS-tst-longjmp_chk.c): Define.
3345 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3346 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3347 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3348 CFLAGS-tst-wchar-h.c.
3350 2012-05-31 Marek Polacek <polacek@redhat.com>
3353 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3354 __endmntent_internal): Remove declaration.
3355 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3356 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3357 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3359 2012-05-30 David S. Miller <davem@davemloft.net>
3361 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3362 (___Q_simulate_exceptions): Use real FP ops rather than writing
3364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3367 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3371 * sysdeps/x86/bits/xtitypes.h: This.
3373 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3374 * sysdeps/x86/bits/wordsize.h: This.
3376 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3377 * sysdeps/x86/bits/huge_vall.h: This.
3379 * sysdeps/i386/bits/select.h: Removed.
3380 * sysdeps/x86_64/bits/select.h: Renamed to ...
3381 * sysdeps/x86/bits/select.h: This.
3383 * sysdeps/i386/bits/setjmp.h: Removed.
3384 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3385 * sysdeps/x86/bits/setjmp.h: This.
3387 * sysdeps/i386/bits/mathdef.h: Removed.
3388 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3389 * sysdeps/x86/bits/mathdef.h: This.
3391 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3394 * include/sys/socket.h (__connect_internal)
3395 (__libc_sa_len_internal): Remove declaration.
3396 (__connect, __libc_sa_len): Declare hidden_proto.
3397 (SA_LEN): Remove use of INTUSE.
3398 * socket/connect.c: Add libc_hidden_def.
3399 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3400 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3401 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3403 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3404 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3405 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3406 of adding _internal alias.
3408 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3411 * sysdeps/i386/bits/link.h: Removed.
3412 * sysdeps/i386/bits/linkmap.h: Likewise.
3413 * sysdeps/x86_64/bits/link.h: Renamed to ...
3414 * sysdeps/x86/bits/link.h: This.
3415 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3416 * sysdeps/x86/bits/linkmap.h: This.
3418 * sysdeps/i386/bits/endian.h: Removed.
3419 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3420 * sysdeps/x86/bits/endian.h: This.
3422 * sysdeps/i386/bits/byteswap.h: Removed.
3423 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3424 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3425 * sysdeps/x86/bits/byteswap.h: This.
3426 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3427 * sysdeps/x86/bits/byteswap-16.h: This.
3428 * sysdeps/i386/Implies: Add x86.
3429 * sysdeps/x86_64/Implies: Likewise.
3431 2012-05-30 David S. Miller <davem@davemloft.net>
3433 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3434 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3436 (FP_TRAPPING_EXCEPTIONS): Define.
3437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3438 (FP_TRAPPING_EXCEPTIONS): Define.
3439 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3440 subnormals only when inexact has been signalled or underflow
3441 exceptions are enabled.
3442 (_FP_PACK_CANONICAL): Likewise.
3444 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3448 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3450 2012-05-30 Richard Henderson <rth@twiddle.net>
3452 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3453 with #ifndef NOT_IN_libc.
3455 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3456 marked to avoid plt entry.
3458 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3461 * Makeconfig (default-abi): New macro.
3462 (abi-includes): Likewise.
3463 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3464 $(abi-$(default-abi)-lib-soname) for soname if defined.
3465 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3467 * Makefile (installed-stubs): Likewise.
3468 * include/stubs-biarch.h: Removed.
3469 * scripts/lib-names.awk: Only handle one library at a time.
3470 * scripts/soversions.awk: Remove WORDSIZE support.
3471 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3473 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3475 (syscall-list-default-condition): Likewise.
3476 (syscall-list-default-condition): Likewise.
3477 (syscall-list-includes): Likewise.
3478 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3479 syscall-list-* with abi-*. Handle undefined abi-variants.
3480 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3481 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3482 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3483 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3485 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3487 (syscall-list-32-options): Likewise.
3488 (syscall-list-32-condition): Likewise.
3489 (syscall-list-64-options): Likewise.
3490 (syscall-list-64-condition): Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3493 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3496 (abi-64-ld-soname): New macro.
3497 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3501 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3502 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3504 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3506 * sysdeps/unix/sysv/linux/kernel-features.h
3507 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3508 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3509 include <kernel-features.h>.
3510 [!__NR_ftruncate64]: Remove conditional code.
3511 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3512 [__NR_ftruncate64]: Make code unconditional.
3513 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3514 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3515 include <kernel-features.h>.
3516 [!__NR_ftruncate64]: Remove conditional code.
3517 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3518 [__NR_ftruncate64]: Make code unconditional.
3519 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3521 include <kernel-features.h>.
3522 [!__NR_ftruncate64]: Remove conditional code.
3523 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3524 [__NR_ftruncate64]: Make code unconditional.
3525 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3527 include <kernel-features.h>.
3528 [!__NR_ftruncate64]: Remove conditional code.
3529 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3530 [__NR_ftruncate64]: Make code unconditional.
3531 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3533 * configure.in (libc_cv_fpie): Weaken to a compile test using
3535 * configure: Regenerated.
3537 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3552 2012-05-27 David S. Miller <davem@davemloft.net>
3554 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3556 (__Q_simulate_exceptions): Return void. Change to simulate
3557 exceptions by writing into the %fsr.
3558 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3559 (__Qp_handle_exceptions): Likewise.
3561 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3562 __Qp_handle_exceptions.
3563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3564 __Qp_handle_exceptions.
3565 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3566 as unused and give dummy FP_RND_NEAREST initializer.
3567 (FP_INHIBIT_RESULTS): Define.
3568 (___Q_simulate_exceptions): Update declaration.
3569 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3571 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3572 as unused and give dummy FP_RND_NEAREST initializer.
3573 (__Qp_handle_exceptions): Update declaration.
3574 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3577 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3579 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3580 the temporary FPU control word.
3581 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3582 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3583 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3584 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3585 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3586 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3587 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3588 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3589 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3590 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3591 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3593 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3595 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3598 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3600 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3601 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3602 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3603 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3605 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3606 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3609 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3611 * po/h.po: Update from translation team.
3613 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3615 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3617 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3618 handling of denormals.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3620 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3621 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3622 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3628 2012-05-26 Marek Polacek <polacek@redhat.com>
3631 * math/libm-test.inc (fma_test): Don't always expect underflow
3634 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3637 * elf/tst-execstack.c: Include stackinfo.h.
3638 (do_test): Adjust test case to ensure that pthread_getattr_np
3639 behaviour remains the same after marking stack executable.
3641 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3643 * sysdeps/unix/sysv/linux/kernel-features.h
3644 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3645 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3647 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3648 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3649 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3651 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3652 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3654 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3656 * configure.in: Define the default includes to being none.
3657 * configure: Regenerated.
3659 2012-05-25 Roland McGrath <roland@hack.frob.com>
3661 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3662 * sysdeps/x86_64/setjmp.S: Likewise.
3663 * sysdeps/i386/bsd-setjmp.S: Likewise.
3664 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3665 * sysdeps/i386/setjmp.S: Likewise.
3666 * sysdeps/i386/__longjmp.S: Likewise.
3667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3668 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3670 * include/stap-probe.h: New file.
3671 * configure.in: Handle --enable-systemtap.
3672 * configure: Regenerated.
3673 * config.h.in (USE_STAP_PROBE): New #undef.
3674 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3675 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3676 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3678 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3682 to 2.4.0 where earlier.
3683 * sysdeps/unix/sysv/linux/configure: Regenerated.
3684 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3685 <kernel-features.h>.
3686 [__ASSUME_32BITUIDS]: Make code unconditional.
3687 [!__ASSUME_32BITUIDS]: Remove conditional code.
3688 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3689 <kernel-features.h>.
3690 [__ASSUME_32BITUIDS]: Make code unconditional.
3691 [!__ASSUME_32BITUIDS]: Remove conditional code.
3692 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3693 [__ASSUME_32BITUIDS]: Make code unconditional.
3694 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3695 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3696 <kernel-features.h>.
3697 [__ASSUME_32BITUIDS]: Make code unconditional.
3698 [!__ASSUME_32BITUIDS]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3700 <kernel-features.h>.
3701 [__ASSUME_32BITUIDS]: Make code unconditional.
3702 [!__ASSUME_32BITUIDS]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
3736 <kernel-features.h>.
3737 [__NR_setresgid] (__setresgid): Do not declare.
3738 [__ASSUME_32BITUIDS]: Make code unconditional.
3739 [!__ASSUME_32BITUIDS]: Remove conditional code.
3740 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3741 <kernel-features.h>.
3742 [__NR_setresuid] (__setresuid): Do not declare.
3743 [__ASSUME_32BITUIDS]: Make code unconditional.
3744 [!__ASSUME_32BITUIDS]: Remove conditional code.
3745 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3746 <kernel-features.h>.
3747 [__ASSUME_32BITUIDS]: Make code unconditional.
3748 [!__ASSUME_32BITUIDS]: Remove conditional code.
3749 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3750 <kernel-features.h>.
3751 [__ASSUME_32BITUIDS]: Make code unconditional.
3752 [!__ASSUME_32BITUIDS]: Remove conditional code.
3753 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
3786 (__ASSUME_SETRESUID_SYSCALL): Remove.
3787 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3788 (__ASSUME_32BITUIDS): Likewise.
3789 (__ASSUME_LDT_WORKS): Likewise.
3790 (__ASSUME_O_DIRECTORY): Likewise.
3791 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3792 architecture but not kernel version.
3793 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3794 (__ASSUME_MMAP2_SYSCALL): Likewise.
3795 (__ASSUME_STAT64_SYSCALL): Likewise.
3796 (__ASSUME_IPC64): Likewise.
3797 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3798 <kernel-features.h>.
3799 [__ASSUME_32BITUIDS]: Make code unconditional.
3800 [!__ASSUME_32BITUIDS]: Remove conditional code.
3801 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3802 <kernel-features.h>.
3803 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3804 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3805 132096]: Remove conditional code.
3806 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3807 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3808 <kernel-features.h>.
3809 [__ASSUME_32BITUIDS]: Make code unconditional.
3810 [!__ASSUME_32BITUIDS]: Remove conditional code.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3812 <kernel-features.h>.
3813 [__ASSUME_32BITUIDS]: Make code unconditional.
3814 [!__ASSUME_32BITUIDS]: Remove conditional code.
3815 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3816 <kernel-features.h>.
3817 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3819 (__setresgid): Do not declare.
3820 [__ASSUME_32BITUIDS]: Make code unconditional.
3821 [!__ASSUME_32BITUIDS]: Remove conditional code.
3822 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3823 <kernel-features.h>.
3824 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3826 (__setresuid): Do not declare.
3827 [__ASSUME_32BITUIDS]: Make code unconditional.
3828 [!__ASSUME_32BITUIDS]: Remove conditional code.
3829 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3830 <kernel-features.h>.
3831 [__ASSUME_32BITUIDS]: Make code unconditional.
3832 [!__ASSUME_32BITUIDS]: Remove conditional code.
3833 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3834 <kernel-features.h>.
3835 [__ASSUME_32BITUIDS]: Make code unconditional.
3836 [!__ASSUME_32BITUIDS]: Remove conditional code.
3838 2012-05-25 Richard Henderson <rth@twiddle.net>
3840 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3841 dl_hwcap to ifunc resolver.
3842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3844 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3845 dl_hwcap to ifunc resolver.
3846 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3848 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3851 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3852 for |x| <= 2**-26, not 2**-57.
3853 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3856 2012-05-24 Jeff Law <law@redhat.com>
3858 * stdio-common/Makefile (tests): Add bug25.
3859 * stdio-common/bug25.c: New test.
3861 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3864 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3865 multiple of MALLOC_ALIGNMENT in size.
3866 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3868 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3870 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3872 (FILENAME_MAX): Use macro-int-constant.
3873 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3874 (_IOFBF): Use macro-int-constant.
3877 (SEEK_CUR): Likewise.
3878 (SEEK_END): Likewise.
3879 (SEEK_SET): Likewise.
3880 (TMP_MAX): Likewise.
3881 (EOF): Use macro-int-constant. Require < 0.
3882 (NULL): Use macro-constant. Require == 0.
3883 (stdin): Require type to be FILE *.
3886 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3888 (EXIT_SUCCESS): Likewise.
3889 (NULL): Use macro-constant. Require == 0.
3890 (RAND_MAX): Use macro-int-constant.
3891 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3892 [C99-based standards] (strtof): Require function.
3893 [C99-based standards] (strtold): Likewise.
3894 [C99-based standards] (strtoll): Likewise.
3895 [C99-based standards] (strtoull): Likewise.
3896 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3897 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3898 [ISO || ISO99 || ISO11] (math.h): Likewise.
3899 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3900 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3903 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3906 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3907 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3908 * intl/dgettext.c (DCGETTEXT): Likewise.
3909 * intl/gettext.c (DCGETTEXT): Likewise.
3910 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3911 * posix/regex_internal.h (gettext): Likewise.
3912 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3914 * include/argz.h (__argz_count_internal)
3915 (__argz_stringify_internal): Remove declaration.
3916 (__argz_count, __argz_stringify): Declare hidden proto.
3917 * intl/dcgettext.c: Remove use of INTDEF.
3918 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3919 * string/argz-stringify.c: Likewise.
3920 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3921 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3922 Declare hidden proto.
3923 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3924 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3925 Declare hidden proto.
3926 * include/stdio.h (__asprintf_internal): Don't declare.
3927 (__asprintf): Don't define as macro. Declare hidden proto.
3928 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3929 (__fsetlocking): Declare hidden proto.
3930 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3931 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3933 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3934 (_IO_setlinebuf): Remove use of INTUSE.
3935 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3936 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3937 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3939 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3940 (_IO_do_flush): Remove use of INTUSE.
3941 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3942 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3943 (_IO_adjust_column, _IO_least_wmarker)
3944 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3945 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3946 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3947 (_IO_default_doallocate, _IO_wdefault_doallocate)
3948 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3949 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3950 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3951 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3952 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3953 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3954 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3955 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3956 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3957 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3958 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3959 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3960 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3962 (_IO_flush_all_internal, _IO_adjust_column_internal)
3963 (_IO_default_uflow_internal, _IO_default_finish_internal)
3964 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3965 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3966 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3967 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3968 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3969 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3970 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3971 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3972 (_IO_file_close_internal, _IO_file_close_it_internal)
3973 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3974 (_IO_file_init_internal, _IO_file_attach_internal)
3975 (_IO_file_fopen_internal, _IO_file_read_internal)
3976 (_IO_file_sync_internal, _IO_file_seek_internal)
3977 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3978 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3979 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3980 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3981 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3982 (_IO_list_all_internal, _IO_link_in_internal)
3983 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3984 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3985 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3986 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3987 (_IO_do_write_internal, _IO_padn_internal)
3988 (_IO_getline_info_internal, _IO_getline_internal)
3989 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3990 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3991 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3992 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3993 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3994 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3995 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3996 with libc_hidden_ver, remove use of INTUSE.
3997 * libio/genops.c: Likewise.
3998 * libio/freopen.c: Likewise.
3999 * libio/freopen64.c: Likewise.
4000 * libio/iofclose.c: Likewise.
4001 * libio/iofdopen.c: Likewise.
4002 * libio/iofflush.c: Likewise.
4003 * libio/iofflush_u.c: Likewise.
4004 * libio/iofgets.c: Likewise.
4005 * libio/iofgets_u.c: Likewise.
4006 * libio/iofopen.c: Likewise.
4007 * libio/iofopncook.c: Likewise.
4008 * libio/iofread.c: Likewise.
4009 * libio/iofread_u.c: Likewise.
4010 * libio/ioftell.c: Likewise.
4011 * libio/iofwrite.c: Likewise.
4012 * libio/iogetline.c: Likewise.
4013 * libio/iogets.c: Likewise.
4014 * libio/iogetwline.c: Likewise.
4015 * libio/iopadn.c: Likewise.
4016 * libio/iopopen.c: Likewise.
4017 * libio/ioseekoff.c: Likewise.
4018 * libio/ioseekpos.c: Likewise.
4019 * libio/iosetbuffer.c: Likewise.
4020 * libio/iosetvbuf.c: Likewise.
4021 * libio/ioungetc.c: Likewise.
4022 * libio/ioungetwc.c: Likewise.
4023 * libio/iovdprintf.c: Likewise.
4024 * libio/iovsprintf.c: Likewise.
4025 * libio/iovsscanf.c: Likewise.
4026 * libio/memstream.c: Likewise.
4027 * libio/obprintf.c: Likewise.
4028 * libio/oldfileops.c: Likewise.
4029 * libio/oldiofclose.c: Likewise.
4030 * libio/oldiofdopen.c: Likewise.
4031 * libio/oldiofopen.c: Likewise.
4032 * libio/oldiopopen.c: Likewise.
4033 * libio/oldstdfiles.c: Likewise.
4034 * libio/putc.c: Likewise.
4035 * libio/setbuf.c: Likewise.
4036 * libio/setlinebuf.c: Likewise.
4037 * libio/stdfiles.c: Likewise.
4038 * libio/strops.c: Likewise.
4039 * libio/vasprintf.c: Likewise.
4040 * libio/vscanf.c: Likewise.
4041 * libio/vsnprintf.c: Likewise.
4042 * libio/vswprintf.c: Likewise.
4043 * libio/wfiledoalloc.c: Likewise.
4044 * libio/wfileops.c: Likewise.
4045 * libio/wgenops.c: Likewise.
4046 * libio/wmemstream.c: Likewise.
4047 * libio/wstrops.c: Likewise.
4048 * libio/__fpurge.c: Likewise.
4049 * libio/__fsetlocking.c: Likewise.
4050 * assert/assert.c: Likewise.
4051 * debug/fgets_chk.c: Likewise.
4052 * debug/fgets_u_chk.c: Likewise.
4053 * debug/fread_chk.c: Likewise.
4054 * debug/fread_u_chk.c: Likewise.
4055 * debug/gets_chk.c: Likewise.
4056 * debug/obprintf_chk.c: Likewise.
4057 * debug/vasprintf_chk.c: Likewise.
4058 * debug/vdprintf_chk.c: Likewise.
4059 * debug/vsnprintf_chk.c: Likewise.
4060 * debug/vsprintf_chk.c: Likewise.
4061 * malloc/mtrace.c: Likewise.
4062 * misc/error.c: Likewise.
4063 * misc/syslog.c: Likewise.
4064 * stdio-common/asprintf.c: Likewise.
4065 * stdio-common/fxprintf.c: Likewise.
4066 * stdio-common/getw.c: Likewise.
4067 * stdio-common/isoc99_fscanf.c: Likewise.
4068 * stdio-common/isoc99_scanf.c: Likewise.
4069 * stdio-common/isoc99_vfscanf.c: Likewise.
4070 * stdio-common/isoc99_vscanf.c: Likewise.
4071 * stdio-common/isoc99_vsscanf.c: Likewise.
4072 * stdio-common/printf-prs.c: Likewise.
4073 * stdio-common/printf_fp.c: Likewise.
4074 * stdio-common/printf_fphex.c: Likewise.
4075 * stdio-common/printf_size.c: Likewise.
4076 * stdio-common/putw.c: Likewise.
4077 * stdio-common/scanf.c: Likewise.
4078 * stdio-common/sprintf.c: Likewise.
4079 * stdio-common/tmpfile.c: Likewise.
4080 * stdio-common/vfprintf.c: Likewise.
4081 * stdio-common/vfscanf.c: Likewise.
4082 * stdlib/strfmon_l.c: Likewise.
4083 * sunrpc/openchild.c: Likewise.
4084 * sunrpc/xdr_stdio.c: Likewise.
4085 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4086 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4088 2012-05-24 Roland McGrath <roland@hack.frob.com>
4090 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4092 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4093 in the third column, to generate for the shared library an IFUNC
4094 that uses _dl_vdso_vsym.
4095 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4096 * Makeconfig (object-suffixes-noshared): New variable.
4098 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4099 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4100 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4101 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4104 * include/sys/time.h (__gettimeofday): Remove macro.
4105 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4106 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4108 (__gettimeofday): Add libc_hidden_def.
4109 (gettimeofday): Add libc_hidden_weak.
4110 * sysdeps/mach/gettimeofday.c: Likewise.
4111 * sysdeps/posix/gettimeofday.c: Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4113 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4115 (__gettimeofday_internal): Remove strong_alias.
4116 (__gettimeofday): Add libc_hidden_def.
4117 (gettimeofday): Add libc_hidden_weak.
4118 * sysdeps/unix/syscalls.list (gettimeofday):
4119 Remove __gettimeofday_internal alias.
4121 2012-05-24 Daniel Jacobowitz <drow@false.org>
4122 H.J. Lu <hongjiu.lu@intel.com>
4125 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4126 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4127 (largebin_index_32_big): New.
4128 (largebin_index): Use it for 16-byte alignment.
4129 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4130 correction with front_misalign.
4132 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4160 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4161 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4163 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4167 * math/libm-test.inc (exp_test): Add test from bug 14036.
4168 (pow_test): Add test from bug 10846.
4170 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4172 (special_function): Do not include flags in test name.
4173 (parse_args): Likewise.
4174 * sysdeps/i386/fpu/libm-test-ulps: Update.
4175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4180 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4182 * math/libm-test.inc ("Philosophy"): Update comment about
4184 (UNDERFLOW_EXCEPTION): New macro.
4185 (UNDERFLOW_EXCEPTION_OK): Likewise.
4186 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4187 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4188 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4189 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4190 (INVALID_EXCEPTION_OK): Update value.
4191 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4192 (OVERFLOW_EXCEPTION_OK): Likewise.
4193 (IGNORE_ZERO_INF_SIGN): Likewise.
4194 (test_exceptions): Handle underflow exceptions.
4195 (acos_test): Update for underflow exception expectations.
4196 (cexp_test): Likewise.
4197 (clog_test): Likewise.
4198 (clog10_test): Likewise.
4199 (csqrt_test): Likewise.
4200 (ctan_test): Likewise.
4201 (ctanh_test): Likewise.
4202 (exp_test): Likewise.
4203 (exp10_test): Likewise.
4204 (exp2_test): Likewise.
4205 (expm1_test): Likewise.
4206 (fma_test): Likewise.
4207 (j0_test): Likewise.
4208 (jn_test): Likewise.
4209 (nexttoward_test): Likewise.
4210 (pow_test): Likewise.
4211 (scalbn_test): Likewise.
4212 (scalbln_test): Likewise.
4213 (tan_test): Likewise.
4214 (y1_test): Likewise.
4215 * sysdeps/i386/fpu/libm-test-ulps: Update.
4216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4218 2012-05-23 David S. Miller <davem@davemloft.net>
4220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4221 (__libc_sigaction): Remove unused local variables.
4223 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4225 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4227 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4229 mktime: avoid signed integer overflow
4230 * time/mktime.c (__mktime_internal): Do not mishandle the case
4231 where diff == INT_MIN.
4233 mktime: simplify computation of average
4234 * time/mktime.c (ranged_convert): Use new time_t_avg function
4235 instead of rolling our own (probably-slower) code.
4237 mktime: do not assume signed right shift propagates sign bit
4238 * time/mktime.c (isdst_differ): New static function.
4239 (__mktime_internal): No need to normalize tm_isdst now.
4240 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4243 mktime: merge another wrapv change from gnulib
4244 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4245 from some compilers.
4247 mktime: remove incorrect attempt at unusual arithmetics
4248 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4249 The code didn't really work on such machines anyway.
4250 (TYPE_MINIMUM): Assume two's complement.
4251 (twos_complement_arithmetic): Verify that long_int and time_t
4252 are two's complement (or unsigned, in the latter case).
4254 mktime: check signed shifts on long_int and time_t, too
4255 * time/mktime.c (SHR): Check that shifts work as desired
4256 on the types long_int and time_t too, as SHR is used on
4259 mktime: do not assume 'long' is wide enough
4260 * time/mktime.c (verify): Move decl up.
4261 (long_int): New type.
4262 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4263 to remove assumption in the code that 'long' is wide enough to
4264 store year values. This assumption is not true on x32 and on
4265 some non-glibc platforms.
4267 mktime: merge wrapv change from gnulib
4268 * time/mktime.c (WRAPV): New macro.
4269 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4270 (guess_time_tm, __mktime_internal): Do not assume that signed
4271 integer overflow wraps around; modern compilers generate code
4272 where this assumption is no longer valid.
4274 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4276 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4277 Replace "jmp L(pseudo_end)" with "ret".
4278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4281 2012-05-23 Andreas Jaeger <aj@suse.de>
4283 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4284 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4286 2012-05-23 Andreas Jaeger <aj@suse.de>
4287 Maximilian Attems <max@stro.at>
4289 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4292 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4294 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4295 code so that pseudo_end is just ret and the stack pointer is
4296 correct also for static library in error case.
4298 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4300 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4301 move to syscalls.list.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4307 * manual/install.texi (Running make install): Do not mention Linux
4308 kernel version for which pt_chown is not needed.
4309 (Linux): Do not mention problems with nscd with 2.0 kernels.
4310 * INSTALL: Regenerated.
4312 2012-05-23 Andreas Jaeger <aj@suse.de>
4314 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4315 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4317 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4318 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4319 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4320 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4321 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4322 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4324 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4327 * sysdeps/unix/sysv/linux/bits/in.h
4328 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4330 2012-05-22 Roland McGrath <roland@hack.frob.com>
4332 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4333 (PREPARE_VERSION): Just use assert instead, it will be elided
4334 under [NDEBUG] anyway.
4336 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4338 * sysdeps/unix/sysv/linux/Makefile: Include
4339 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4340 (sysdep_routines): Remove sysctl.
4341 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4342 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4343 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4344 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4345 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4347 2012-05-22 Andreas Jaeger <aj@suse.de>
4349 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4350 that pseudo_end is just ret and the stack pointer is correct also
4351 for static library in error case.
4353 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4356 * nss/nsswitch.c (defconfig_entries): New variable.
4357 (__nss_database_lookup): Don't leak defconfig entries.
4358 (nss_parse_service_list): Don't leak on error paths.
4359 (free_database_entries): New function.
4360 (free_defconfig): New function.
4361 (free_mem): Move common code to free_database_entries.
4363 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4365 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4367 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4369 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4370 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4373 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4374 (INTERNAL_SYSCALL_TYPES): Likewise.
4375 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4376 (LOAD_REGS_TYPES_[1-6]): Likewise.
4377 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4378 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4380 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4382 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4383 copysignl for GLIBC_2_0.
4384 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4385 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4387 logbl for GLIBC_2_0.
4388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4391 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4394 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4396 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4399 * time/mktime.c: Update copyright years.
4401 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4403 mktime: merge comment-quoting-style change from gnulib
4404 * time/mktime.c: Quote 'like this' in comments.
4405 The GNU coding standards suggest that we no longer quote `like this',
4406 as "`" and "'" are typically rendered asymmetrically nowadays.
4407 The typical gnulib style is to quote 'like this' when quoting
4408 code, and "like this" when quoting English.
4410 * time/mktime.c (compile-command): Add "-I.".
4412 mktime: merge mktime-internal.h change from gnulib
4413 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4415 mktime: merge time_r change from gnulib
4416 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4418 mktime: merge DEBUG change from gnulib
4419 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4420 case system <time.h> has a #define.
4422 mktime: merge <sys/types.h> change from gnulib
4423 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4424 since <time.t> is now guaranteed to define time_t.
4426 mktime: merge HAVE_CONFIG_H change from gnulib
4427 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4429 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4434 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4436 (struct rusage): Use anonymous union to pad each field to
4439 2012-05-21 David S. Miller <davem@davemloft.net>
4441 * Makefules (o-iterator): Remove .s cases.
4442 (compile-command.s): Delete.
4443 (COMPILE.s): Delete.
4444 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4446 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4448 * configure.in (libc_cv_predef_stack_protector): Only consider
4449 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4450 * configure: Regenerated.
4452 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4455 New macro. Use R*LP on int and pointer.
4456 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4457 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4459 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4461 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4462 [__WORDSIZE_TIME64_COMPAT32] instead of
4463 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4464 (struct utmp): Likewise.
4465 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4466 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4468 (__WORDSIZE_TIME64_COMPAT32): This.
4469 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4470 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4471 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4472 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4473 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4474 (__WORDSIZE_TIME64_COMPAT32): New macro.
4476 2012-05-21 Andreas Jaeger <aj@suse.de>
4478 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4479 only if [SHARED]. Add prototype for __wcschr_ia32.
4481 2012-05-21 Roland McGrath <roland@hack.frob.com>
4483 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4484 of %rbp unmolested in the jmp_buf while mangling the low bits.
4485 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4486 unmolested high bits of %rbp while demangling the low bits.
4487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4489 2012-05-21 Andreas Jaeger <aj@suse.de>
4491 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4492 * sunrpc/svc_simple.c: Use it for registerrpc.
4493 * sunrpc/xcrypt.c: Use it for passwd2des.
4495 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4497 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4499 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4500 Don't define if [__SYSCALL_WORDSIZE != 32].
4501 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4504 2012-05-21 Bruno Haible <bruno@clisp.org>
4505 Andreas Jaeger <aj@suse.de>
4507 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4508 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4509 inptr and inend for must_buffer_ch.
4510 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4511 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4512 * stdio-common/Makefile (tests): Remove bug15.
4513 (bug15-ENV): Remove macro.
4514 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4517 2012-05-19 Andreas Jaeger <aj@suse.de>
4518 Roland McGrath <roland@hack.frob.com>
4520 * manual/contrib.texi: Completely rewritten. It contains now an
4521 alphabetical list of contributors and their contributions.
4523 2012-05-21 Richard Henderson <rth@twiddle.net>
4525 * misc/getauxval.c (__getauxval): Use unsigned long int.
4526 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4527 (getauxval): Use unsigned long int.
4529 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4531 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4533 2012-05-21 Roland McGrath <roland@hack.frob.com>
4535 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4536 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4537 __alignof__ (long double).
4539 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4543 2012-05-20 Richard Henderson <rth@twiddle.net>
4545 * misc/getauxval.c: New file.
4546 * misc/sys/auxv.h: New file.
4547 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4548 (routines): Add getauxval.
4549 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4550 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4551 * elf/dl-sysdep.c (_dl_auxv): Remove.
4552 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4553 * elf/dl-support.c (_dl_auxv): New variable.
4554 (_dl_aux_init): Initialize it.
4555 * manual/startup.texi (Auxiliary Vector): New node.
4556 * sysdeps/generic/bits/hwcap.h: New file.
4557 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4558 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4559 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4560 * sysdeps/sparc/sysdep.h: ... here. Include it.
4561 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4574 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4578 2012-05-19 David S. Miller <davem@davemloft.net>
4580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4582 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4585 * math/s_ccosh.c: Include <float.h>
4586 (__ccosh): Avoid internal overflow calculating sinh and cosh
4587 values before multiplying by sin and cos values.
4588 * math/s_ccoshf.c: Likewise.
4589 * math/s_ccoshl.c: Likewise.
4590 * math/s_csin.c: Likewise.
4591 * math/s_csinf.c: Likewise.
4592 * math/s_csinl.c: Likewise.
4593 * math/s_csinh.c: Likewise.
4594 * math/s_csinhf.c: Likewise.
4595 * math/s_csinhl.c: Likewise.
4596 * math/libm-test.inc (ccos_test): Add more tests.
4597 (ccosh_test): Likewise.
4598 (csin_test): Likewise.
4599 (csinh_test): Likewise.
4600 * sysdeps/i386/fpu/libm-test-ulps: Update.
4601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4603 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4605 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4606 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4608 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4610 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4613 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4614 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4615 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4616 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4617 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4618 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4619 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4620 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4621 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4622 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4623 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4624 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4625 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4626 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4627 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4628 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4629 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4630 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4631 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4632 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4633 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4634 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4635 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4636 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4637 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4638 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4639 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4640 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4641 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4642 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4644 2012-05-18 Andreas Jaeger <aj@suse.de>
4646 * csu/.gitignore: Delete.
4648 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4650 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4651 (timex): Use __syscall_slong_t.
4653 2012-05-18 Andreas Jaeger <aj@suse.de>
4654 Carlos O'Donell <carlos_odonell@mentor.com>
4656 * manual/install.texi (Configuring and compiling): Update
4657 description about files modified in the source directory.
4658 * INSTALL: Regenerated.
4660 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4662 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4663 value. Use "or" to set return value to -1.
4664 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4665 negate return value.
4667 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4669 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4670 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4671 failure if the compiler has Graphite support disabled.
4672 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4674 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4675 CFLAGS-memmove.c): Likewise.
4676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4679 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4681 * sysdeps/x86_64/x32/_itoa.h: New file.
4683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4684 getdents system call only if kernel and user dirents have the
4685 same d_ino and d_off.
4687 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4688 LLONG_MAX != LONG_MAX.
4689 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4690 (_fitoa_word): Likewise.
4692 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4694 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4699 include <bits/wordsize.h>. Check __x86_64__ instead of
4701 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4702 if __x86_64__ is defined. Use anonymous union on fpstate.
4704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4707 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4709 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4710 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4711 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4712 Refer to _rtld_local_ro instead of _rtld_global_ro.
4713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4715 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4717 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4719 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4720 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4721 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4723 * sysdeps/powerpc/powerpc32/dl-machine.c
4724 (__elf_machine_runtime_setup) [PROF]: Don't reference
4727 2012-05-18 Andreas Jaeger <aj@suse.de>
4729 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4730 function only available for GCCs before 3.4 since GCC 3.4
4731 introduced a builtin.
4733 (llrintf): Likewise.
4741 (nearbyint): Likewise.
4742 (nearbyintf): Likewise.
4748 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4750 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4751 on both fields and cast pointer to __syscall_ulong_t.
4753 * bits/types.h (__fsword_t): New type.
4754 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4755 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4757 (__FSWORD_T_TYPE): Likewise.
4758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4759 (__FSWORD_T_TYPE): Likewise.
4760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4761 (__FSWORD_T_TYPE): Likewise.
4762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4763 (__FSWORD_T_TYPE): Likewise.
4764 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4765 __SWORD_TYPE with __fsword_t.
4766 (statfs64): Likewise.
4768 2012-05-17 David S. Miller <davem@davemloft.net>
4770 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4772 2012-05-17 Andreas Jaeger <aj@suse.de>
4774 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4777 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4779 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4781 2012-05-17 Andreas Jaeger <aj@suse.de>
4783 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4786 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4788 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4790 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4792 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4793 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4795 2012-05-17 Andreas Jaeger <aj@suse.de>
4796 Carlos O'Donell <carlos_odonell@mentor.com>
4799 * sysdeps/x86_64/multiarch/init-arch.h
4800 (bit_YMM_Usable): Rename to...
4801 (bit_AVX_Usable): ... this.
4802 (bit_FMA4_Usable): New macro.
4803 (bit_XMM_state): New macro.
4804 (bit_YMM_state): New macro.
4805 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4806 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4807 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4808 (CPUID_OSXSAVE): New macro.
4809 (CPUID_AVX): New macro.
4810 (CPUID_FMA4): New macro.
4811 (index_YMM_Usable): Rename to...
4812 (index_AVX_Usable): ... this.
4813 (HAS_AVX): Use HAS_ARCH_FEATURE.
4814 (HAS_FMA4): Likewise.
4815 (HAS_YMM_USABLE): Remove.
4816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4817 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4819 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4820 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4821 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4822 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4823 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4825 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4827 * math/libm-test.c: Support platforms without multiple rounding modes.
4828 * math/bug-nextafter.c: Support platforms without FP exceptions.
4829 * math/bug-nexttoward.c: Likewise.
4830 * math/test-fenv.c: Likewise.
4831 * math/test-misc.c: Likewise.
4832 * stdlib/bug-getcontext.c: Likewise.
4834 2012-05-17 Andreas Jaeger <aj@suse.de>
4836 * manual/examples/search.c (critter_cmp): Change signature to
4838 * manual/string.texi (Collation Functions): Likewise.
4840 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4842 * bits/types.h: Fold copyright years.
4843 * bits/typesizes.h: Likewise.
4844 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4848 * time/time.h: Likewise.
4850 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4853 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4854 in instead of returning them. Return void.
4855 (__libc_mallinfo): Accumulate over all arenas.
4856 (__malloc_stats): Adjust for change in int_mallinfo interface.
4858 2012-05-16 Roland McGrath <roland@hack.frob.com>
4861 * configure.in (NM): Add AC_CHECK_TOOL for it.
4862 (libc_extra_cflags): New substituted variable.
4863 Check for -fstack-protector being used implicitly.
4864 * configure: Regenerated.
4865 * config.make.in (config-extra-cflags): New variable,
4866 gets @libc_extra_cflags@.
4867 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4870 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4871 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4872 * configure: Regenerated.
4873 * config.make.in (CPPUNDEFS): New substituted variable.
4874 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4875 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4876 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4878 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4880 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4881 (mq_attr): Use __syscall_slong_t.
4883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4886 Check __x86_64__ instead of __WORDSIZE.
4887 (_STAT_VER_LINUX): Likewise.
4888 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4889 __syscall_ulong_t and __syscall_slong_t.
4892 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4896 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4898 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4900 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4902 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4905 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4906 include <bits/wordsize.h>. Check __x86_64__ instead of
4908 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4910 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4912 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4913 include <bits/wordsize.h>. Check __x86_64__ instead of
4915 (user_regs_struct): Use "__extension__ unsigned long long"
4916 instead of "unsigned long" if __x86_64__ is defined.
4917 (user): Likewise. Pad after pointer field if __ILP32__ is
4920 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4922 * configure.in (makeinfo): Require version 4.5 or later. Allow
4924 * configure: Regenerated.
4925 * manual/install.texi (texinfo): Increase version requirement to
4927 * INSTALL: Regenerated.
4929 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4931 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4933 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4935 * sysdeps/x86_64/x32/ffs.c: New file.
4937 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4939 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4940 defined. Use __syscall_ulong_t.
4941 (shminfo): Use __syscall_ulong_t.
4942 (shm_info): Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4947 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4949 (msgqnum_t): Use __syscall_ulong_t.
4950 (msglen_t): Likewise.
4951 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4954 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4955 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4957 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4959 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4960 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4962 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4965 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4966 include <bits/wordsize.h>. Check __x86_64__ instead of
4969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4970 "unsigned long long int" if __x86_64__ is defined.
4971 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4973 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4974 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4975 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4977 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4979 (GET_PC): Cast to uintptr_t first.
4980 (GET_FRAME): Likewise.
4981 (GET_STACK): Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4984 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4986 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4988 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4990 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4992 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5000 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5003 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5013 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5015 * Makerules (+depfiles): Also collect depfiles from .oS in
5017 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5018 .oS, $(libnldbl-routines)).
5020 * Makerules (native-compile-mkdep-flags): Define.
5021 * sunrpc/Makefile (extra-objs): Add $(addprefix
5022 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5023 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5024 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5025 calling $(make-target-directory).
5027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5029 * bits/types.h (__snseconds_t): Removed.
5030 * time/time.h (struct timespec): Replace __snseconds_t with
5032 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5033 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5036 (__SNSECONDS_T_TYPE): Likewise.
5037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5038 (__SNSECONDS_T_TYPE): Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5040 (__SNSECONDS_T_TYPE): Likewise.
5042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5044 * sysdeps/mach/hurd/bits/typesizes.h
5045 (__SYSCALL_SLONG_TYPE): New macro.
5046 (__SYSCALL_ULONG_TYPE): Likewise.
5048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5050 * bits/types.h (__syscall_slong_t): New type.
5051 (__syscall_ulong_t): Likewise.
5053 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5054 (__SYSCALL_ULONG_TYPE): Likewise.
5055 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5056 (__SYSCALL_SLONG_TYPE): Likewise.
5057 (__SYSCALL_ULONG_TYPE): Likewise.
5058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5059 (__SYSCALL_SLONG_TYPE): Likewise.
5060 (__SYSCALL_ULONG_TYPE): Likewise.
5061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5062 (__SYSCALL_SLONG_TYPE): Likewise.
5063 (__SYSCALL_ULONG_TYPE): Likewise.
5065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5067 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5068 Add sigaltstack-offsets.sym.
5069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5070 <sigaltstack-offsets.h>.
5071 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5072 longjmp_msg pointer.
5073 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5074 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5076 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5078 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5080 * elf/stackguard-macros.h: Remove file.
5081 * sysdeps/generic/stackguard-macros.h: New file.
5082 * sysdeps/i386/stackguard-macros.h: Likewise.
5083 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5084 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5085 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5086 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5087 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5088 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5089 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5090 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5091 <elf/stackguard-macros.h>.
5094 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5095 __aligned__ in attribute.
5096 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5097 (gregset_t): Likewise.
5099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5101 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5102 * sysdeps/x86_64/64/Implies-after: Here. New file.
5103 * sysdeps/x86_64/x32/Implies-after: New file.
5105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5107 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5108 and access return value for _dl_profile_fixup. Use R10_LP to
5111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5113 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5117 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5118 * sysdeps/x86_64/x32/sysdep.h: New file.
5120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5122 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5123 * sysdeps/x86_64/setjmp.S: Likewise.
5125 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5129 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5130 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5131 remove unused global constant.
5133 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5135 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5136 include of <not-cancel.h>.
5138 2012-05-15 Roland McGrath <roland@hack.frob.com>
5140 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5142 2012-05-15 Jeff Law <law@redhat.com>
5143 Andreas Jaeger <aj@suse.de>
5146 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5148 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5149 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5150 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5151 code changing __hst_map_handle.map.
5153 2012-05-15 Roland McGrath <roland@hack.frob.com>
5155 * configure.in (sysnames): Look for Implies-before and Implies-after
5157 * configure: Regenerated.
5159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5161 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5162 8-byte data alignment with LP_SIZE alignment.
5164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5171 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5176 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5177 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5179 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5183 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5184 (stackinfo_sub_sp): Likewise.
5186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5198 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5203 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5207 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5208 into R11_LP and load __x86_64_shared_cache_size_half into
5211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5213 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5216 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5224 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5225 powerpc32/power7/fpu/s_logb.c via #include.
5226 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5227 powerpc32/power7/fpu/s_logbf.c via #include.
5228 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5229 powerpc32/power7/fpu/s_logbl.c via #include.
5231 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5233 * README.libm: Remove file.
5235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5237 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5238 count for x32. Use R*_LP and omit operand-size suffix.
5240 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5242 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5243 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5244 * sysdeps/x86_64/x32/shlib-versions: New file.
5246 2012-05-14 Roland McGrath <roland@hack.frob.com>
5248 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5249 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5250 Use _dl_fatal_printf instead.
5252 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5254 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5255 set if not set by the user. Do not allow for being unset.
5256 * sysdeps/unix/sysv/linux/configure: Regenerated.
5258 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5260 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5261 the `q' suffix from lea and replace .quad with ASM_ADDR.
5263 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5266 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5268 (PTR_DEMANGLE): Likewise.
5270 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5272 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5274 (ASM_ADDR): Likewise.
5292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5294 * sysdeps/x86_64/x32/dl-machine.h: New file.
5296 2012-05-14 Andreas Jaeger <aj@suse.de>
5298 * manual/Makefile (subdir): Remove export of subdir.
5299 (all): Remove target.
5300 (.PHONY): Remove all from list.
5301 (mkinstalldirs): Remove.
5302 (.PHONY): Remove installdirs from list.
5303 ($(inst_infodir)/libc.info): Use make-target-directory.
5304 (installdirs): Remove.
5306 (glibc-targets): Remove.
5309 ($(objpfx)stubs ../po/manual.pot): Remove.
5310 ($(objpfx)stamp%): Remove.
5311 (make-target-directory): Remove.
5312 (subdir_install): Remove.
5320 * manual/.gitignore: Remove, it's not needed anymore.
5321 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5323 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5325 (texis): Renamed to $(objpfx)texis.
5326 (texis-path): New, contains path to generated files.
5327 (chapters.%): Use texis-path for complete path, add extra argument
5329 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5330 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5331 (summary,texi, stamp-summary): Use complete path of
5332 files. Generate files in build dir.
5333 (dir-add.texi): Build in build dir.
5334 (libm-err.texi,stamp-libm-err): Likewise.
5335 (version.texi, stamp-version): Likewise.
5336 (.%c.texi): Likewise.
5337 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5338 (mostlyclean): Remove target.
5339 (realclean): Remove target.
5340 (generated): Add new variable with contents from mostlyclean and
5341 realclean, remove entries duplicated in common-mostlyclean, add
5342 stamp-libm-err and stamp-version.
5343 (generated-dirs): Add libc directory.
5344 ($(inst_infodir)/libc.info): Install files from build dir.
5346 * manual/install.texi (Configuring and compiling): Adjust since
5347 the info files are not part of the tar ball anymore.
5349 2012-05-14 Andreas Jaeger <aj@suse.de>
5351 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5354 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5358 to 2.2.0 where earlier.
5359 * sysdeps/unix/sysv/linux/configure: Regenerated.
5360 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5361 Remove conditional code.
5362 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5363 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5364 Remove conditional code.
5365 [!__NR_lchown]: Likewise.
5366 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5367 [__NR_lchown]: Likewise.
5368 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5369 comment referencing __ASSUME_LCHOWN_SYSCALL.
5370 * sysdeps/unix/sysv/linux/i386/sigaction.c
5371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5373 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5374 Remove conditional code.
5375 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5376 (__protocol_available): Remove #if 0 code.
5377 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5379 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5380 * sysdeps/unix/sysv/linux/kernel-features.h
5381 (__ASSUME_GETCWD_SYSCALL): Don't define.
5382 (__ASSUME_REALTIME_SIGNALS): Likewise.
5383 (__ASSUME_PREAD_SYSCALL): Likewise.
5384 (__ASSUME_PWRITE_SYSCALL): Likewise.
5385 (__ASSUME_POLL_SYSCALL): Likewise.
5386 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5387 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5389 (__ASSUME_SIOCGIFNAME): Don't define.
5390 (__ASSUME_MSG_NOSIGNAL): Likewise.
5391 (__ASSUME_SENDFILE): Define unconditionally.
5392 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5393 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5395 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5396 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5397 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5398 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5399 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5400 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5401 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5403 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5406 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5409 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5412 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5418 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5426 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5427 Remove conditional code.
5428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5429 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5430 Remove conditional code.
5431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5432 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5433 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5435 Remove conditional code.
5436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5437 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5438 Remove conditional code.
5439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5440 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5441 Remove conditional code.
5442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5443 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5444 Remove conditional code.
5445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5446 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5447 Remove conditional code.
5448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5449 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5452 * sysdeps/unix/sysv/linux/sigaction.c
5453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5455 * sysdeps/unix/sysv/linux/sigpending.c
5456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5458 * sysdeps/unix/sysv/linux/sigprocmask.c
5459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5461 * sysdeps/unix/sysv/linux/sigsuspend.c
5462 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5463 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5465 (__libc_missing_rt_sigs): Remove.
5466 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5467 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5468 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5469 Remove conditional code.
5470 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5471 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5473 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5474 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5476 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5478 2012-05-14 Andreas Jaeger <aj@suse.de>
5480 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5481 it's not used in glibc.
5482 (__coshm1): Likewise.
5483 (__acosh1p): Likewise.
5486 * manual/string.texi (Copying and Concatenation): Add missing
5487 variable in concat example.
5488 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5494 __builtin_clzl with __builtin_clzll.
5496 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5499 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5502 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5504 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5505 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5506 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5509 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5511 * NEWS: Update ia64 info.
5513 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5515 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5518 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5520 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5521 * sysdeps/unix/syscalls.list (dup3): Likewise.
5522 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5523 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5525 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5527 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5528 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5530 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5532 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5534 (TLS_IE): Use mov/add instead of movq/addq to load thread
5536 (TLS_GD_PREFIX): New.
5539 2012-05-11 David S. Miller <davem@davemloft.net>
5541 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5542 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5543 (_FPU_SETCW): Likewise.
5545 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5547 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5550 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5553 * iconvdata/gb18030.c: Update tables.
5554 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5555 characters specially.
5556 (BODY for TO_LOOP): Add encoding of missing ranges.
5558 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5561 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5562 * sysdeps/mach/hurd/dup3.c: Likewise.
5563 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5564 * sysdeps/powerpc/memmove.c:: Likewise.
5566 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5569 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5571 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5573 * elf/elf.h (R_X86_64_RELATIVE64): New.
5574 (R_X86_64_NUM): Updated.
5575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5576 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5577 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5578 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5579 tst-quad1pie tst-quad2pie
5580 (modules-names): Add tst-quadmod1 tst-quadmod2.
5581 ($(objpfx)tst-quad1): New dependency.
5582 ($(objpfx)tst-quad2): Likewise.
5583 ($(objpfx)tst-quad1pie): Likewise.
5584 ($(objpfx)tst-quad2pie): Likewise.
5585 * sysdeps/x86_64/tst-quad1.c: New file.
5586 * sysdeps/x86_64/tst-quad1pie.c: New file.
5587 * sysdeps/x86_64/tst-quad2.c: Likewise.
5588 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5589 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5590 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5591 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5592 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5594 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5596 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5597 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5598 * streams/stropts.h (t_scalar_t): Define type.
5600 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5601 (_PATH_PRESERVE): Set to "/var/lib".
5602 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5604 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5607 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5608 if __dir_mkfile succeeded.
5610 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5611 checking for _hurd_dtablesize. Unlock it right after having
5612 finished _hurd_dtable allocation.
5614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5616 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5617 * sysdeps/mach/hurd/configure: Regenerated.
5618 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5619 special-casing to...
5620 * sysdeps/gnu/configure.in: ... this new file.
5621 * sysdeps/unix/sysv/linux/configure: Regenerated.
5622 * sysdeps/gnu/configure: New generated file.
5624 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5625 for Linux: use nsec instead of usec, as well as:
5626 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5627 members of type struct timespec.
5628 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5630 (struct stat64): Likewise.
5631 (_STATBUF_ST_NSEC): New macro.
5632 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5634 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5635 __strtoul_internal rather than strtoul.
5637 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5639 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5644 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5645 which preserves existing values.
5646 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5648 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5650 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5651 TIMEOUT values. Return EINVAL for NFDS values either negative or
5652 greater than FD_SETSIZE.
5654 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5656 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5657 allocated, call __vm_protect to finish enabling the existing space, and
5658 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5659 allocate the remainder.
5661 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5663 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5664 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5668 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5669 sysdeps/mach/hurd/readlink.c.
5671 * posix/tst-sysconf.c (posix_options): Only use
5672 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5673 _POSIX_SYNCHRONIZED_IO when they are defined
5674 * sysdeps/mach/hurd/bits/posix_opt.h:
5675 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5676 (_XOPEN_REALTIME): Undefine macro.
5677 (_XOPEN_REALTIME_THREADS): Undefine macro.
5678 (_XOPEN_SHM): Undefine macro.
5679 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5681 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5683 (_POSIX_ASYNC_IO): Undefine macro.
5684 (_POSIX_PRIORITIZED_IO): Undefine macro.
5685 (_POSIX_SPIN_LOCKS): Define macro to -1.
5687 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5688 SA_NODEFER, SA_RESETHAND.
5689 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5690 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5695 * elf/Makefile (pldd-modules): Define unconditionally.
5697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5699 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5703 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5704 Return ENOENT when name is empty.
5705 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5707 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5709 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5711 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5715 Fix mlock in all cases except non-readable pages.
5716 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5717 instead of VM_PROT_ALL as parameter to __vm_wire function.
5719 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5720 (__mkdir): When path is `/', just fail with EEXIST.
5721 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5725 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5726 <sys/uio.h> (for writev).
5727 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5728 and <sys/param.h> (for MIN).
5730 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5732 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5733 REQUESTED_TIME. Properly set the remaining time and return EINTR
5736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5738 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5739 Depend on against $(link-rpcuserlibs).
5741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5743 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5744 (__libc_stack_end): Do not use attribute_relro.
5745 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5746 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5747 to libthread-provided value.
5748 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5754 * bits/libc-lock.h (__libc_once_get): New macro.
5755 * sysdeps/mach/bits/libc-lock.h: Likewise.
5756 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5757 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5758 instead of using implementation details.
5760 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5761 * libio/freopen.c: Likewise.
5762 * libio/freopen64.c: Likewise.
5763 * misc/syslog.c: Likewise.
5764 * nscd/connections.c: Likewise.
5765 * nscd/netgroupcache.c: Likewise.
5766 * sysdeps/posix/getcwd.c: Likewise.
5768 2012-05-10 Roland McGrath <roland@hack.frob.com>
5770 * math/w_ilogbf.c: Add #include <limits.h>.
5772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5774 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5775 path instead of returning without unlocking.
5777 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5778 immediate-write ioctls.
5779 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5781 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5783 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5784 __builtin_frame_address instead of making assumptions about the
5785 location of the return address relative to DATA. Force early load of
5787 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5788 __builtin_frame_address.
5791 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5792 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5793 implement dup3 and do some further code clean-ups.
5794 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5795 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5799 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5801 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5802 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5803 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5804 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5805 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5808 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5809 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5810 when handler == SIG_ERR, not when handler != SIG_ERR.
5812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5814 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5815 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5818 accept4 for GNU Hurd.
5819 * include/sys/socket.h (__libc_accept4): New prototype.
5820 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5821 to implement __libc_accept4.
5822 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5824 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5826 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5827 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5828 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5833 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5837 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5838 assertion on O_CLOEXEC flag.
5839 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5840 * hurd/intern-fd.c: Likewise.
5841 * hurd/port2fd.c: Likewise.
5843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5846 * bits/in.h (IPV6_PKTINFO): Define new macro.
5847 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5849 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5854 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5855 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5856 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5857 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5859 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5860 * math/libm-test.inc (logb_test) : Additional logb tests.
5862 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5863 Andreas Jaeger <aj@suse.de>
5865 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5866 * configure: Regenerated.
5867 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5868 * config.make.in (link-obsolete-rpc): New substituted variable.
5869 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5870 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5871 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5872 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5873 so that libc.a contains the symbols.
5874 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5875 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5876 * sunrpc/auth_none.c: Likewise.
5877 * sunrpc/auth_unix.c: Likewise.
5878 * sunrpc/authdes_prot.c: Likewise.
5879 * sunrpc/authuxprot.c: Likewise.
5880 * sunrpc/clnt_gen.c: Likewise.
5881 * sunrpc/clnt_perr.c: Likewise.
5882 * sunrpc/clnt_raw.c: Likewise.
5883 * sunrpc/clnt_simp.c: Likewise.
5884 * sunrpc/clnt_tcp.c: Likewise.
5885 * sunrpc/clnt_udp.c: Likewise.
5886 * sunrpc/clnt_unix.c: Likewise.
5887 * sunrpc/des_crypt.c: Likewise.
5888 * sunrpc/des_soft.c: Likewise.
5889 * sunrpc/get_myaddr.c: Likewise.
5890 * sunrpc/key_call.c: Likewise.
5891 * sunrpc/key_prot.c: Likewise.
5892 * sunrpc/netname.c: Likewise.
5893 * sunrpc/pm_getmaps.c: Likewise.
5894 * sunrpc/pm_getport.c: Likewise.
5895 * sunrpc/pmap_clnt.c: Likewise.
5896 * sunrpc/pmap_prot.c: Likewise.
5897 * sunrpc/pmap_prot2.c: Likewise.
5898 * sunrpc/pmap_rmt.c: Likewise.
5899 * sunrpc/publickey.c: Likewise.
5900 * sunrpc/rpc_cmsg.c: Likewise.
5901 * sunrpc/rpc_common.c: Likewise.
5902 * sunrpc/rpc_dtable.c: Likewise.
5903 * sunrpc/rpc_prot.c: Likewise.
5904 * sunrpc/rpc_thread.c: Likewise.
5905 * sunrpc/rtime.c: Likewise.
5906 * sunrpc/svc.c: Likewise.
5907 * sunrpc/svc_auth.c: Likewise.
5908 * sunrpc/svc_raw.c: Likewise.
5909 * sunrpc/svc_run.c: Likewise.
5910 * sunrpc/svc_tcp.c: Likewise.
5911 * sunrpc/svc_udp.c: Likewise.
5912 * sunrpc/svc_unix.c: Likewise.
5913 * sunrpc/svcauth_des.c: Likewise.
5914 * sunrpc/xcrypt.c: Likewise.
5915 * sunrpc/xdr.c: Likewise.
5916 * sunrpc/xdr_array.c: Likewise.
5917 * sunrpc/xdr_float.c: Likewise.
5918 * sunrpc/xdr_intXX_t.c: Likewise.
5919 * sunrpc/xdr_mem.c: Likewise.
5920 * sunrpc/xdr_rec.c: Likewise.
5921 * sunrpc/xdr_ref.c: Likewise.
5922 * sunrpc/xdr_sizeof.c: Likewise.
5923 * sunrpc/xdr_stdio.c: Likewise.
5925 2012-05-10 Roland McGrath <roland@hack.frob.com>
5927 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5928 change. Update copyright years.
5930 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5932 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5934 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5935 Joseph Myers <joseph@codesourcery.com>
5936 Paul Pluzhnikov <ppluzhnikov@google.com>
5939 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5941 [cross-compiling] (extra-libs): Likewise.
5942 [cross-compiling] (extra-libs-others): Likewise.
5943 [cross-compiling] (librpcsvc-routines): Likewise.
5944 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5945 [cross-compiling] (omit-deps): Likewise.
5946 (sunrpc-CPPFLAGS): New variable.
5947 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5948 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5949 (cross-rpcgen-objs): New variable.
5950 (extra-objs): Append $(cross-rpcgen-objs).
5951 ($(cross-rpcgen-objs)): New rule.
5952 ($(objpfx)cross-rpcgen): Likewise.
5953 (rpcgen-cmd): Define to use $(built-program-file). Expand
5955 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5956 ($(objpfx)x%.stmp): Likewise.
5957 * sunrpc/proto.h [IS_IN_build] (_): Define.
5958 [IS_IN_build] (_libc_intl_domainname): Likewise.
5960 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5963 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5964 and R_X86_64_TPOFF64.
5966 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5968 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5969 sysdeps/unix/sysv/syscalls.list.
5972 * sysdeps/unix/sysv/syscalls.list: Remove file.
5974 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5977 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5978 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5979 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5980 (__LC_IDENTIFICATION): Make these macros useful in #if
5981 expressions, as required by C99.
5983 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5985 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5986 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5989 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5991 * stdlib/longlong.h: Updated from GCC.
5993 2012-05-09 Andreas Jaeger <aj@suse.de>
5995 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5996 default is first entry.
5997 (run_mode): Set type.
5998 (main): Remove informal message about syslog.
5999 (options): Fix typo.
6002 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6005 (llrintf): Likewise.
6009 (nearbyint): Likewise.
6010 (nearbyintf): Likewise.
6012 2012-05-09 Andreas Jaeger <aj@suse.de>
6013 Pedro Alves <palves@redhat.com>
6015 * nscd/nscd.c (run_mode): Use enum.
6016 (main): Cleanup coding style issue.
6018 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6019 Andreas Jaeger <aj@suse.de>
6021 * nscd/nscd.c (go_background): Replaced with...
6022 (run_mode): ... this.
6023 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6024 (options): Add -F --foreground.
6025 (main): Implement it.
6026 (parse_opt): Parse it.
6028 2012-05-09 Andreas Jaeger <aj@suse.de>
6031 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6032 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6033 -Wconversion warning.
6034 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6037 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6039 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6041 (LC_ALL): Use macro-int-constant.
6042 (LC_COLLATE): Likewise.
6043 (LC_CTYPE): Likewise.
6044 (LC_MESSAGES): Likewise.
6045 (LC_MONETARY): Likewise.
6046 (LC_NUMERIC): Likewise.
6047 (LC_TIME): Likewise.
6048 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6049 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6051 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6053 [C99-based standards] (float_t): Expect type.
6054 [C99-based standards] (double_t): Expect type.
6055 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6057 [C99-based standards] (HUGE_VALL): Likewise.
6058 [C99-based standards] (INFINITY): Likewise.
6059 [C99-based standards] (NAN): Likewise.
6060 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6061 [C99-based standards] (FP_NAN): Likewise.
6062 [C99-based standards] (FP_NORMAL): Likewise.
6063 [C99-based standards] (FP_SUBNORMAL): Likewise.
6064 [C99-based standards] (FP_ZERO): Likewise.
6065 [C99-based standards] (FP_FAST_FMA): Use
6066 optional-macro-int-constant. Specify type. Require == 1.
6067 [C99-based standards] (FP_FAST_FMAF): Likewise.
6068 [C99-based standards] (FP_FAST_FMAL): Likewise.
6069 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6070 [C99-based standards] (FP_ILOGBNAN): Likewise.
6071 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6073 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6074 [C99-based standards] (math_errhandling): Specify type.
6075 [ISO99 || ISO11] (signgam): Do not allow.
6076 [non-C99-based standards] (copysignf): Do not allow.
6077 [non-C99-based standards] (exp2f): Likewise.
6078 [non-C99-based standards] (log2f): Likewise.
6079 [non-C99-based standards] (modff): Allow.
6080 [non-C99-based standards] (erff): Do not allow.
6081 [non-C99-based standards] (erfcf): Likewise.
6082 [non-C99-based standards] (gammaf): Likewise.
6083 [non-C99-based standards] (hypotf): Likewise.
6084 [non-C99-based standards] (j0f): Likewise.
6085 [non-C99-based standards] (j1f): Likewise.
6086 [non-C99-based standards] (jnf): Likewise.
6087 [non-C99-based standards] (lgammaf): Likewise.
6088 [non-C99-based standards] (tgammaf): Likewise.
6089 [non-C99-based standards] (y0f): Likewise.
6090 [non-C99-based standards] (y1f): Likewise.
6091 [non-C99-based standards] (ynf): Likewise.
6092 [non-C99-based standards] (isnanf): Likewise.
6093 [non-C99-based standards] (acoshf): Likewise.
6094 [non-C99-based standards] (asinhf): Likewise.
6095 [non-C99-based standards] (atanhf): Likewise.
6096 [non-C99-based standards] (cbrtf): Likewise.
6097 [non-C99-based standards] (expm1f): Likewise.
6098 [non-C99-based standards] (ilogbf): Likewise.
6099 [non-C99-based standards] (log1pf): Likewise.
6100 [non-C99-based standards] (logbf): Likewise.
6101 [non-C99-based standards] (nextafterf): Likewise.
6102 [non-C99-based standards] (remainderf): Likewise.
6103 [non-C99-based standards] (rintf): Likewise.
6104 [non-C99-based standards] (scalbf): Likewise.
6105 [non-C99-based standards] (copysignl): Likewise.
6106 [non-C99-based standards] (exp2l): Likewise.
6107 [non-C99-based standards] (log2l): Likewise.
6108 [non-C99-based standards] (modfl): Allow.
6109 [non-C99-based standards] (erfl): Do not allow.
6110 [non-C99-based standards] (erfcl): Likewise.
6111 [non-C99-based standards] (gammal): Likewise.
6112 [non-C99-based standards] (hypotl): Likewise.
6113 [non-C99-based standards] (j0l): Likewise.
6114 [non-C99-based standards] (j1l): Likewise.
6115 [non-C99-based standards] (jnl): Likewise.
6116 [non-C99-based standards] (lgammal): Likewise.
6117 [non-C99-based standards] (tgammal): Likewise.
6118 [non-C99-based standards] (y0l): Likewise.
6119 [non-C99-based standards] (y1l): Likewise.
6120 [non-C99-based standards] (ynl): Likewise.
6121 [non-C99-based standards] (isnanl): Likewise.
6122 [non-C99-based standards] (acoshl): Likewise.
6123 [non-C99-based standards] (asinhl): Likewise.
6124 [non-C99-based standards] (atanhl): Likewise.
6125 [non-C99-based standards] (cbrtl): Likewise.
6126 [non-C99-based standards] (expm1l): Likewise.
6127 [non-C99-based standards] (ilogbl): Likewise.
6128 [non-C99-based standards] (log1pl): Likewise.
6129 [non-C99-based standards] (logbl): Likewise.
6130 [non-C99-based standards] (nextafterl): Likewise.
6131 [non-C99-based standards] (remainderl): Likewise.
6132 [non-C99-based standards] (rintl): Likewise.
6133 [non-C99-based standards] (scalbl): Likewise.
6134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6135 [non-C99-based standards] (FP_*): Do not allow.
6136 [C99-based standards] (FP_*): Change to
6137 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6138 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6140 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6141 (SIG_ERR): Likewise.
6142 [X/Open-based standards] (SIG_HOLD): Likewise.
6143 (SIG_IGN): Likewise.
6144 (SIGABRT): Use macro-int-constant. Specify type. Require
6149 (SIGSEGV): Likewise.
6151 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6152 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6153 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6154 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6155 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6156 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6157 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6158 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6169 [X/Open-based standards] (SIGTRAP): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6174 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6177 2012-05-08 Ian Wienand <ianw@vmware.com>
6180 * time/tzset.c (__tzset_parse_tz): Update default rules for
6181 daylight time changes in the Energy Policy Act of 2005.
6183 2012-05-09 Andreas Jaeger <aj@suse.de>
6186 * elf/ldconfig.c (parse_conf): Change string to make clear that
6187 ldconfig only issued a warning if ld.so.conf does not exist.
6189 2012-05-08 David S. Miller <davem@davemloft.net>
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6192 movxtod instead of popping the value on the stack.
6194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6196 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6198 * config.h.in: Add HAVE_ARM_PCS_VFP.
6200 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6203 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6204 checking but the checks are disabled for any reason.
6206 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6208 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6209 and ELF64_R_TYPE with ELFW(R_TYPE).
6211 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6213 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6216 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6217 (settimeofday): Likewise.
6219 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6221 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6222 a struct th_u2 inside the union, and move tu_block/tu_code into
6223 a new th_u3 union of tu_block/tu_code inside of that. Move
6224 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6225 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6226 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6227 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6228 (th_stuff): Change to th_u1.tu_stuff.
6230 (th_msg): Change to th_u1.th_u2.tu_data.
6232 2012-05-07 David S. Miller <davem@davemloft.net>
6234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6237 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6238 (SETUP_PIC_REG): Use it.
6239 (SETUP_PIC_REG_LEAF): Use it.
6241 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6245 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6247 (EXPL_FINITE): Likewise.
6249 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6250 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6254 (EXPL_FINITE): Likewise.
6256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6257 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6259 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6260 test of -max_value argument for long double.
6261 * sysdeps/i386/fpu/libm-test-ulps: Update.
6262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6264 2012-05-06 David S. Miller <davem@davemloft.net>
6266 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6267 quad soft-float symbols whose references which are compiler
6269 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6271 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6275 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6277 (EXPL_FINITE): Likewise.
6281 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6282 Adjust comments for base varying.
6283 (__expl_finite): Change alias to EXPL_FINITE.
6284 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6286 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6287 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6289 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6290 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6292 (EXPL_FINITE): Likewise.
6296 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6297 Adjust comments for base varying.
6298 (__expl_finite): Change alias to EXPL_FINITE.
6299 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6304 * math/libm-test.inc (check_float_internal): Correct ulp
6305 calculation for subnormal expected results.
6307 2012-05-06 Andreas Jaeger <aj@suse.de>
6309 * Makeconfig (+math-flags): New, set to -frounding-math.
6310 (+cflags): Add +math-flags so that all of glibc gets compiled with
6313 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6315 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6317 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6323 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6324 (__ieee754_expl): Allow for and saturate large arguments.
6325 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6326 (u_threshold): Likewise.
6327 (__exp): Call __ieee754_exp before checking for overflow and
6329 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6330 (u_threshold): Likewise.
6331 (__expf): Call __ieee754_expf before checking for overflow and
6333 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6334 (u_threshold): Likewise.
6335 (__expl): Call __ieee754_expl before checking for overflow and
6337 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6338 (__ieee754_expl): Allow for and saturate large arguments.
6339 * math/libm-test.inc (exp_test): Add another test. Do not allow
6340 missing overflow exception on overflow.
6341 (expm1_test): Do not allow missing overflow exception on overflow.
6343 * sysdeps/i386/fpu/e_expl.c: Move to ...
6344 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6345 rather than using inline asm.
6346 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6347 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6348 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6350 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6357 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6359 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6360 sysdeps/unix/common/syscalls.list.
6363 (ftruncate): Likewise.
6364 (getrusage): Likewise.
6365 (gettimeofday): Likewise.
6366 (setpgid): Likewise.
6367 (setregid): Likewise.
6368 (setreuid): Likewise.
6369 (sigaction): Likewise.
6370 (truncate): Likewise.
6371 (vhangup): Likewise.
6372 * sysdeps/unix/common/syscalls.list: Remove file.
6373 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6374 * sysdeps/unix/sysv/linux/Implies: Likewise.
6376 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6378 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6380 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6384 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6387 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6390 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6393 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6396 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6399 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6402 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6406 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6410 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6413 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6417 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6421 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6423 * sysdeps/unix/common/bits/dirent.h: Remove file.
6424 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6426 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6427 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6428 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6429 * sysdeps/unix/bsd/isatty.c: Likewise.
6430 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6431 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6432 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6434 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6438 long double comparison inaccuracies.
6439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6442 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6444 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6445 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6447 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6451 nonzero digits before rounding a hex value.
6452 * stdlib/tst-strtod.c (tests): Add another test.
6454 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6456 * sysdeps/s390/fpu/libm-test-ulps: Update.
6458 2012-05-03 Andreas Jaeger <aj@suse.de>
6460 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6461 does not get optimized out.
6462 (malloc_opt_barrier): New.
6464 2012-05-03 Andreas Jaeger <aj@suse.de>
6465 Roland McGrath <roland@hack.frob.com>
6467 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6468 intermediate file deletion.
6469 (generated): Add .symlist files.
6471 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6474 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6475 Redirect under this condition.
6476 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6477 [__USE_GNU] (__dprintf_chk): Not under this condition.
6478 [__USE_GNU] (__vdprintf_chk): Likewise.
6479 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6480 under this condition.
6481 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6482 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6483 [__USE_XOPEN2K8] (vdprintf): Likewise.
6484 [__USE_GNU] (__dprintf_chk): Not under this condition.
6485 [__USE_GNU] (__vdprintf_chk): Likewise.
6486 [__USE_GNU] (dprintf): Likewise.
6487 [__USE_GNU] (vdprintf): Likewise.
6489 2012-05-03 Roland McGrath <roland@hack.frob.com>
6491 * elf/Makefile (common-generated): Set this instead of generated for
6492 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6493 $(all-built-dso)-derived lists.
6495 2012-05-03 Andreas Jaeger <aj@suse.de>
6497 * sysdeps/i386/fpu/libm-test-ulps: Update.
6501 * scripts/gen-FAQ.pl: Likewise.
6502 * manual/install.texi (Installation): Point to online location of
6504 * Makefile (files-for-dist): Remove FAQ.
6507 2012-05-02 Allan McRae <allan@archlinux.org>
6509 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6510 (LDFLAGS-reldepmod5.so): Likewise.
6511 (LDFLAGS-reldep6mod1.so): Likewise.
6512 (LDFLAGS-reldep6mod4.so): Likewise.
6513 (LDFLAGS-reldep8mod3.so): Likewise.
6514 (LDFLAGS-unload4mod1.so): Likewise.
6515 (LDFLAGS-unload4mod2.so): Likewise.
6516 (LDFLAGS-tst-initorder): Likewise.
6517 (LDFLAGS-tst-initordera2.so): Likewise.
6518 (LDFLAGS-tst-initordera3.so): Likewise.
6519 (LDFLAGS-tst-initordera4.so): Likewise.
6520 (LDFLAGS-tst-initorderb2.so): Likewise.
6521 (LDFLAGS-noload): Likewise.
6522 (LDFLAGS-next): Likewise.
6523 (LDFLAGS-order2mod1.so): Likewise.
6524 (LDFLAGS-order2mod2.so): Likewise.
6525 (LDFLAGS-tst-initorder2): Likewise.
6526 (LDFLAGS-tst-initorder2a.so): Likewise.
6527 (LDFLAGS-tst-initorder2b.so): Likewise.
6528 (LDFLAGS-tst-initorder2c.so): Likewise.
6529 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6531 2012-05-02 David S. Miller <davem@davemloft.net>
6533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6535 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6538 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6540 2012-05-02 Andreas Jaeger <aj@suse.de>
6542 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6543 since we manipulate rounding mode.
6544 (CPPFLAGS-test-idouble.c): Likewise.
6545 (CPPFLAGS-test-ifloat.c): Likewise.
6546 (CFLAGS-test-ldouble.c): Likewise.
6547 (CFLAGS-test-double.c): Likewise.
6548 (CFLAGS-test-float.c): Likewise.
6549 (CFLAGS-test-misc.c): Likewise.
6550 (CFLAGS-test-test-fenv.c): Likewise.
6552 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6557 comparisons to determine direction to adjust input.
6559 2012-05-01 Roland McGrath <roland@hack.frob.com>
6561 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6562 output to the target.
6564 * scripts/localplt.awk: New file.
6565 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6566 (check-localplt-CFLAGS): Variable removed.
6567 ($(all-built-dso:=.jmprel)): New static pattern rule.
6568 (generated): Add those targets.
6569 (localplt-built-dso): New variable.
6570 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6572 * elf/check-localplt.c: File removed.
6574 * scripts/check-execstack.awk: New file.
6575 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6576 (check-execstack-CFLAGS): Variable removed.
6577 ($(objpfx)check-execstack.h): Target removed.
6578 ($(objpfx)execstack-default): New target.
6579 (generated): Add that instead of check-execstack.h.
6580 ($(all-built-dso:=.phdr)): New static pattern rule.
6581 (generated): Add those targets.
6582 * elf/check-execstack.c: File removed.
6584 * scripts/check-textrel.awk: New file.
6585 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6586 (check-textrel-CFLAGS): Variable removed.
6587 (all-built-dso): Use := to define.o
6588 ($(all-built-dso:=.dyn)): New static pattern rule.
6589 (generated): Add those targets.
6590 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6591 * config.make.in (READELF): New substituted variable.
6592 * elf/check-textrel.c: File removed.
6594 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6596 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6598 * conform/data/ctype.h-data [C99-based standards] (isblank):
6600 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6601 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6603 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6604 Specify type. Require positive value.
6607 [ISO || POSIX] (EILSEQ): Do not expect.
6608 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6609 Specify type. Require positive value.
6610 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6638 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6639 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6641 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6642 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6643 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6644 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6650 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6651 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6656 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6657 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6658 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6659 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6663 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6664 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6665 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6666 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6668 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6669 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6670 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6671 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6672 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6673 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6674 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6675 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6676 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6677 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6678 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6679 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6680 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6681 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6682 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6683 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6684 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6685 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6686 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6688 (FLT_ROUNDS): Expect as macro, not constant.
6689 (FLT_MANT_DIG): Use macro-int-constant.
6690 (DBL_MANT_DIG): Likewise.
6691 (LDBL_MANT_DIG): Likewise.
6692 (FLT_DIG): Likewise.
6693 (DBL_DIG): Likewise.
6694 (LDBL_DIG): Likewise.
6695 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6696 (DBL_MIN_EXP): Likewise.
6697 (LDBL_MIN_EXP): Likewise.
6698 (FLT_MAX_EXP): Use macro-int-constant.
6699 (DBL_MAX_EXP): Likewise.
6700 (LDBL_MAX_EXP): Likewise.
6701 (FLT_MAX_10_EXP): Likewise.
6702 (DBL_MAX_10_EXP): Likewise.
6703 (LDBL_MAX_10_EXP): Likewise.
6704 (FLT_MAX): Use macro-constant.
6705 (DBL_MAX): Likewise.
6706 (LDBL_MAX): Likewise.
6707 (FLT_EPSILON): Use macro-constant. Give upper bound.
6708 (DBL_EPSILON): Likewise.
6709 (LDBL_EPSILON): Likewise.
6710 (FLT_MIN): Likewise.
6711 (DBL_MIN): Likewise.
6712 (LDBL_MIN): Likewise.
6713 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6714 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6715 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6716 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6717 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6718 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6719 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6720 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6721 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6722 [ISO11] (FLT_TRUE_MIN): Likewise.
6723 [ISO11] (LDBL_TRUE_MIN): Likewise.
6724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6725 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6726 (SCHAR_MIN): Use macro-int-constant. Specify type.
6727 (SCHAR_MAX): Likewise.
6728 (UCHAR_MAX): Likewise.
6729 (CHAR_MIN): Likewise.
6730 (CHAR_MAX): Likewise.
6731 (MB_LEN_MAX): Use macro-int-constant.
6732 (SHRT_MIN): Use macro-int-constant. Specify type.
6733 (SHRT_MAX): Likewise.
6734 (USHRT_MAX): Likewise.
6735 (INT_MAX): Likewise.
6736 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6738 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6740 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6742 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6743 bound negative. Suffix upper bound with "L".
6744 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6746 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6748 [C99-based standards] (LLONG_MAX): Likewise.
6749 [C99-based standards] (ULLONG_MAX): Likewise.
6750 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6752 [ISO11] (max_align_t): Require type.
6753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6755 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6756 from $CFLAGS, without defining away __attribute__ calls.
6757 (checknamespace): Use $CFLAGS_namespace.
6759 * conform/conformtest.pl (@keywords): Only include C99 keywords
6760 for standards based on C99 or C11.
6762 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6764 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6767 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6768 usability of symbols in #if.
6770 * conform/conformtest.pl: If macro or constant types start
6771 "promoted:", expect the symbol to be of the following type
6772 promoted by the integer promotions.
6774 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6775 in one place. Also handle "macro-constant".
6777 * conform/conformtest.pl: Only accept expected macro values with
6778 "==". Parse all "macro" lines in one place.
6779 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6781 * conform/conformtest.pl: Handle braced types on "constant" lines
6782 instead of handling "typed-constant".
6783 * conform/data/signal.h-data: Use "constant" instead of
6786 * conform/conformtest.pl: Handle "optional-" at start of lines in
6787 one place rather than duplicating several cases. Handle each
6788 format of "macro" line with initial "optional-".
6790 * conform/conformtest.pl: Only accept expected constant or
6791 optional-constant values with "==". Parse all "constant" lines in
6792 one place. Parse all "optional-constant" lines in one place.
6793 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6794 * conform/data/fmtmsg.h-data: Likewise.
6795 * conform/data/netinet/in.h-data: Likewise.
6796 * conform/data/tar.h-data: Likewise.
6797 * conform/data/limits.h-data: Use "==" form on "constant" and
6798 "optional-constant" lines.
6800 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6801 Use -std=c99 for XOPEN2K.
6802 (@knownproblems): Remove.
6803 (newtoken): Don't check %isknown.
6805 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6806 Do not expect macro.
6807 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6819 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6820 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6837 [XPG3] (acosh): Likewise.
6838 [XPG3] (asinh): Likewise.
6839 [XPG3] (atanh): Likewise.
6840 [XPG3] (cbrt): Likewise.
6841 [XPG3] (expm1): Likewise.
6842 [XPG3] (ilogb): Likewise.
6843 [XPG3] (log1p): Likewise.
6844 [XPG3] (logb): Likewise.
6845 [XPG3] (nextafter): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6848 [XPG3] (remainder): Likewise.
6849 [XPG3] (rint): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6853 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6856 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6857 [UNIX98 || XOPEN2K] (scalb): Expect.
6858 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6859 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6945 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6946 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6947 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6949 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6950 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6951 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6952 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6953 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6954 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6955 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6956 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6957 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6958 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6959 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6960 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6961 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6962 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6963 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6964 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6965 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6967 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6969 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6970 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6971 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6972 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6973 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6974 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6976 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6977 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6978 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6979 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6980 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6981 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6982 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6983 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6984 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6985 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6987 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6988 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6989 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6990 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6991 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6992 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6993 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6994 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6996 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6997 _XOPEN_SOURCE_EXTENDED for XPG4.
6999 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7001 * Makeconfig (localtime): Remove variable.
7002 (inst_localtime-file): Likewise.
7004 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7025 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7029 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7030 comparisons to determine direction to adjust input.
7031 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7032 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7035 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7039 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7042 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7044 * math/libm-test.inc (nexttoward_test): Add more tests.
7046 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7050 in version GLIBC_2.1, not GLIBC_2.0.
7051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7054 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7057 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7059 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7060 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7061 * math/libm-test.inc (acos_test): Add more tests.
7062 (asin_test): Likewise.
7063 * sysdeps/i386/fpu/libm-test-ulps: Update.
7064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7067 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7069 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7070 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7071 * math/libm-test.inc (acos_test_tonearest): New function.
7072 (acos_test_towardzero): Likewise.
7073 (acos_test_downward): Likewise.
7074 (acos_test_upward): Likewise.
7075 (asin_test_tonearest): Likewise.
7076 (asin_test_towardzero): Likewise.
7077 (asin_test_downward): Likewise.
7078 (asin_test_upward): Likewise.
7079 (main): Call the new functions.
7080 * sysdeps/i386/fpu/libm-test-ulps: Update.
7081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7085 * math/e_exp10.c: Include <float.h>.
7086 (__ieee754_exp10): Handle underflow here rather than multiplying
7087 large negative argument by M_LN10.
7088 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7090 * math/e_exp10l.c: Include <float.h>.
7091 (__ieee754_exp10l): Handle underflow here rather than multiplying
7092 large negative argument by M_LN10l.
7093 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7094 spurious overflow exception on underflow.
7096 2012-04-29 Marek Polacek <polacek@redhat.com>
7098 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7099 (__fortify_function): New macro.
7100 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7101 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7102 __extern_always_inline.
7103 * libio/bits/stdio2.h: Likewise.
7104 * libio/bits/stdio.h: Likewise.
7105 * string/string.h: Likewise.
7106 * string/bits/string3.h: Likewise.
7107 * include/stdio.h: Likewise.
7108 * stdlib/bits/stdlib.h: Likewise.
7109 * stdlib/stdlib.h: Likewise.
7110 * rt/bits/mqueue2.h: Likewise.
7111 * rt/mqueue.h: Likewise.
7112 * posix/bits/unistd.h: Likewise.
7113 * posix/unistd.h: Likewise.
7114 * io/bits/poll2.h: Likewise.
7115 * io/bits/fcntl2.h: Likewise.
7116 * io/fcntl.h: Likewise.
7117 * io/sys/poll.h: Likewise.
7118 * misc/bits/syslog.h: Likewise.
7119 * misc/bits/syslog-ldbl.h: Likewise.
7120 * misc/sys/syslog.h: Likewise.
7121 * socket/bits/socket2.h: Likewise.
7122 * socket/sys/socket.h: Likewise.
7123 * debug/tst-chk1.c: Likewise.
7124 * wcsmbs/bits/wchar2.h: Likewise.
7125 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7126 * wcsmbs/wchar.h: Likewise.
7128 2012-04-29 Andreas Jaeger <aj@suse.de>
7130 * Makerules (tests): Remove enable-check-abi protection.
7131 (check-abi-warn): Remove.
7132 (check-abi-%): Remove check-abi-warn usage.
7134 * configure.in: Remove check-abi configure option.
7135 * configure: Regenerated.
7136 * config.make.in (enable-check-abi): Remove.
7138 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7141 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7142 double functions to double *_finite functions.
7145 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7146 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7148 * stdio-common/Makefile (tests): Add tst-sprintf3.
7149 * stdio-common/tst-sprintf3.c: New file.
7151 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7152 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7154 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7156 * conform/conformtest.pl: Remove duplicate typed-constant
7159 2012-04-28 David S. Miller <davem@davemloft.net>
7161 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7162 (check-abi-%): Remove AWK script prerequisite and explicit
7164 (check-abi): Rewrite to just diff the symlist with the abilist.
7165 (config-tls, config-abi-config): Delete, no longer used.
7166 (update-abi-%): Remove AWK script and explicit abilist directory.
7167 (update-abi): Rewrite to simply compare and conditionally copy the
7168 symlist and the sysdep abilist file. Remove update-abi-config
7170 * abilist/ld.abilist: Remove.
7171 * abilist/libBrokenLocale.abilist: Remove.
7172 * abilist/libanl.abilist: Remove.
7173 * abilist/libcrypt.abilist: Remove.
7174 * abilist/libdl.abilist: Remove.
7175 * abilist/librt.abilist: Remove.
7176 * abilist/libthread_db.abilist: Remove.
7177 * abilist/libutil.abilist: Remove.
7178 * scripts/extract-abilist.awk: Remove.
7179 * scripts/merge-abilist.awk: Remove.
7180 * sysdeps/generic/libcidn.abilist: New file.
7181 * sysdeps/generic/libnss_compat.abilist: New file.
7182 * sysdeps/generic/libnss_db.abilist: New file.
7183 * sysdeps/generic/libnss_dns.abilist: New file.
7184 * sysdeps/generic/libnss_files.abilist: New file.
7185 * sysdeps/generic/libnss_hesiod.abilist: New file.
7186 * sysdeps/generic/libnss_nis.abilist: New file.
7187 * sysdeps/generic/libnss_nisplus.abilist: New file.
7188 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7189 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7190 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7193 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7194 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7195 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7196 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7197 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7198 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7199 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7200 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7202 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7203 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7204 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7205 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7207 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7208 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7209 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7211 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7214 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7215 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7216 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7218 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7321 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7322 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7323 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7325 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7326 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7327 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7328 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7329 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7330 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7331 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7332 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7333 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7334 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7386 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7388 * conform/conformtest.pl: Fix typo in handling typed-constant from
7391 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7393 * README: Cut down references to pre-2.6 Linux kernels and
7394 Linuxthreads. Update lists of configurations in libc and ports
7395 and sort alphabetically. Say "or newer" with Linux kernel version
7398 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7400 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7403 * math/libm-test.inc (logb_test_downward): New test to expose
7404 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7407 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7410 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7412 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7413 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7415 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/unix/i386/brk.S: Remove file.
7418 * sysdeps/unix/i386/dl-brk.S: Likewise.
7419 * sysdeps/unix/i386/pipe.S: Likewise.
7420 * sysdeps/unix/i386/sigreturn.S: Likewise.
7421 * sysdeps/unix/i386/syscall.S: Likewise.
7422 * sysdeps/unix/i386/vfork.S: Likewise.
7423 * sysdeps/unix/i386/wait.S: Likewise.
7425 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7426 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7428 * configure.in (arm*-none*): Do not allow without
7429 --enable-hacker-mode.
7430 (netbsd*): Remove case setting base_os.
7431 (386bsd*): Likewise.
7432 (freebsd*): Likewise.
7436 (ultrix*): Likewise.
7437 (newsos*): Likewise.
7447 (solaris[2-9]*): Likewise.
7449 * configure: Regenerated.
7451 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7455 overflow or cancellation in calculating denominator.
7456 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7458 down expression to avoid unexpected rounding in newer GCCs.
7459 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7461 2012-04-26 David S. Miller <davem@davemloft.net>
7463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7464 long-double compat symbols.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7479 2012-04-25 David S. Miller <davem@davemloft.net>
7481 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7482 HWCAP_* values only after the memory barriers have been defined.
7483 (atomic_full_barrier): Define.
7484 (atomic_read_barrier): Define.
7485 (atomic_write_barrier): Define.
7487 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7489 * shlib-versions: Add libgcc_s version information.
7490 * sysdeps/generic/libgcc_s.h: Remove.
7491 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7493 * sysdeps/gnu/unwind-resume.c: Likewise.
7494 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7496 2012-04-25 David S. Miller <davem@davemloft.net>
7498 * sysdeps/unix/sparc/brk.S: Delete.
7499 * sysdeps/unix/sparc/dl-brk.S: Delete.
7500 * sysdeps/unix/sparc/pipe.S: Delete.
7501 * sysdeps/unix/sparc/sysdep.S: Delete.
7502 * sysdeps/unix/sparc/sysdep.h: Delete.
7503 * sysdeps/unix/sparc/vfork.S: Delete.
7504 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7505 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7507 ret_ERRVAL, r0, r1, MOVE): Define.
7508 (JUMPTARGET): Remove.
7509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7510 sysdeps/unix/sparc/sysdep.h
7511 (ENTRY, END): Remove.
7512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7514 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7516 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7517 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7520 * timezone/README: Update upstream location and email address for
7522 * timezone/zdump.c: Update from tzcode 2012b.
7523 * timezone/zic.c: Likewise.
7525 * configure.in (libc_cv_as_needed): Remove test.
7526 * configure: Regenerated.
7527 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7528 conditional definition.
7529 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7530 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7531 * config.make.in (have-as-needed): Remove variable.
7533 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7534 Paul Pluzhnikov <ppluzhnikov@google.com>
7536 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7539 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7541 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7542 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7543 * sysdeps/sh/strlen.S: Likewise.
7545 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7547 * sysdeps/unix/fork.S: Remove file.
7548 * sysdeps/unix/i386/fork.S: Likewise.
7549 * sysdeps/unix/sparc/fork.S: Likewise.
7551 * sysdeps/unix/system.c: Remove file.
7552 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7554 * sysdeps/unix/getegid.S: Remove file.
7555 * sysdeps/unix/geteuid.S: Likewise.
7557 2012-04-24 Roland McGrath <roland@hack.frob.com>
7559 * scripts/check-localplt.awk: New file.
7560 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7562 * scripts/data/localplt-generic.data: Add a comment.
7564 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7565 NODE when __dir_mkfile failed.
7566 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7567 Reported by Ludovic Courtès <ludo@gnu.org>.
7569 2012-04-24 Andreas Jaeger <aj@suse.de>
7571 * Makerules (common-clean): Also remove gen-as-const-headers
7574 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7576 * Makerules (native-compile): Do not change working directory for
7577 build. Use $(OUTPUT_OPTION) in command.
7578 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7580 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7583 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7584 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7585 * math/libm-test.inc (floor_test): Add more tests.
7586 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7588 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/unix/getdents.c: Remove file.
7591 * sysdeps/unix/sysv/getdents.c: Likewise.
7592 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7594 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7595 sysdeps/unix/mman/syscalls.list.
7597 (mprotect): Likewise.
7600 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7601 * sysdeps/unix/mman/syscalls.list: Remove.
7602 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7604 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7605 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7606 * configure: Regenerated.
7607 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7609 * config.make.in (libgcc_s_suffix): Remove variable.
7611 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7613 * sysdeps/unix/sysv/gethostname.c: Move to ...
7614 * sysdeps/posix/gethostname.c: ... here.
7616 * sysdeps/unix/execve.S: Remove file.
7618 * sysdeps/unix/_exit.S: Remove file.
7620 2012-04-23 Andreas Jaeger <aj@suse.de>
7623 * manual/Makefile: Remove make dist support, there's no
7624 need for a stand-alone documentation tar ball.
7625 (TEXI2DVI): Define always, it's not in Makeconfig.
7629 (glibc-doc-$(edition).tar): Removed
7633 (ETAGS): Remove, it's in Makeconfig.
7634 (move-if-change): Remove, it's in Makeconfig.
7636 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7639 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7640 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7641 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7642 (strtod_l, strtof_l, strtold_l): Remove __wur.
7643 It is not necessarily an error to ignore strtol's return value.
7644 One can reliably look at the stored endptr to decide whether
7645 the number had valid syntax.
7647 2012-04-21 Andreas Jaeger <aj@suse.de>
7650 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7652 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7654 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7655 * sysdeps/unix/sysv/Versions: Remove file.
7657 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7662 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7666 version from __vm86.
7668 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7670 * sysdeps/unix/common/lxstat.c: Remove file.
7671 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7673 * sysdeps/unix/sysv/Makefile: Remove file.
7675 * sysdeps/unix/sysv/direct.h: Remove file.
7677 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7678 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7679 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7680 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7681 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7682 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7683 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7685 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7687 * sysdeps/unix/xmknod.c: Remove file.
7688 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7690 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7692 * sysdeps/unix/sysv/i386/time.S: Remove file.
7694 * sysdeps/unix/fxstat.c: Remove file.
7695 * sysdeps/unix/xstat.c: Likewise.
7696 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7698 * sysdeps/unix/sysv/sigaction.c: Remove file.
7700 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7701 (sysdep_headers): Remove variable.
7702 [termio.h not in sysdep_headers] (generated): Likewise.
7703 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7704 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7705 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7706 * sysdeps/unix/sysv/tcflow.c: Likewise.
7707 * sysdeps/unix/sysv/tcflush.c: Likewise.
7708 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7709 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7710 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7711 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7712 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7714 * sysdeps/unix/siglist.c: Remove file.
7716 * sysdeps/unix/getppid.S: Remove file.
7718 * sysdeps/unix/mkdir.c: Remove file.
7719 * sysdeps/unix/rmdir.c: Likewise.
7721 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7723 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7725 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7726 errlist-compat value.
7728 2012-04-18 David S. Miller <davem@davemloft.net>
7730 * sysdeps/generic/memcopy.h (reg_char): Delete.
7731 * debug/strcat_chk.c: Use char, not reg_char.
7732 * debug/strcpy_chk.c: Likewise.
7733 * debug/strncat_chk.c: Likewise.
7734 * debug/strncpy_chk.c: Likewise.
7735 * string/memchr.c: Likewise.
7736 * string/memrchr.c: Likewise.
7737 * string/rawmemchr.c: Likewise.
7738 * string/strcat.c: Likewise.
7739 * string/strchr.c: Likewise.
7740 * string/strchrnul.c: Likewise.
7741 * string/strcmp.c: Likewise.
7742 * string/strcpy.c: Likewise.
7743 * string/strncat.c: Likewise.
7744 * string/strncmp.c: Likewise.
7745 * string/strncpy.c: Likewise.
7747 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7749 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7750 __builtin_memcopy is called when src and dest ranges are known to not
7753 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7756 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7757 fwd_align_merge macro call.
7758 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7759 bwd_align_merge macro call.
7760 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7762 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7764 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7765 bwd_align_merge macros.
7766 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7767 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7770 2012-04-18 David S. Miller <davem@davemloft.net>
7772 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7774 2012-04-18 Andreas Jaeger <aj@suse.de>
7777 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7778 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7779 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7782 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7783 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7785 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7786 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7787 Adjust for changed ldbl-128 files.
7789 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7790 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7793 2012-04-17 David S. Miller <davem@davemloft.net>
7795 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7797 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7799 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7800 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7801 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7802 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7803 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7804 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7806 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7810 * math/libm-test.inc: Add ilogb errno and exception tests.
7811 * math/w_ilogb.c: New file: ilogb wrapper.
7812 * math/w_ilogbf.c: New file: ilogbf wrapper.
7813 * math/w_ilogbl.c: New file: ilogbl wrapper.
7814 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7815 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7816 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7817 exception being thrown with 0.0 as argument.
7818 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7819 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7820 exception being thrown with 0.0 as argument.
7821 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7822 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7823 exception being thrown with 0.0 as argument.
7824 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7825 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7826 exception being thrown with 0.0 as argument.
7827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7828 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7829 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7830 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7831 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7832 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7833 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7834 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7835 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7837 2012-04-17 Petr Baudis <pasky@ucw.cz>
7839 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7842 2012-04-16 Marek Polacek <polacek@redhat.com>
7844 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7846 2012-04-16 Marek Polacek <polacek@redhat.com>
7848 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7849 operands of fdivp instruction.
7851 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7853 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7854 * elf/tst-auditmod3b.c: Likewise.
7855 * elf/tst-auditmod4b.c: Likewise.
7856 * elf/tst-auditmod5b.c: Likewise.
7857 * elf/tst-auditmod6b.c: Likewise.
7858 * elf/tst-auditmod6c.c: Likewise.
7859 * elf/tst-auditmod7b.c: Likewise.
7860 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7861 * sysdeps/x86_64/preconfigure.in: Likewise.
7862 * sysdeps/x86_64/preconfigure: Regenerated.
7864 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7866 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7869 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7872 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7874 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7877 * locale/iso-639.def: Fix gl language name. Spotted by
7880 2012-04-12 Roland McGrath <roland@hack.frob.com>
7883 * libio/libio.h (__io_write_fn): Update comment.
7885 2012-04-12 Petr Baudis <pasky@ucw.cz>
7888 * stdio.texi (Hook Functions): The user provided writer function
7889 is not allowed to return -1.
7891 2012-04-11 David S. Miller <davem@davemloft.net>
7893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7895 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7897 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7898 Add a leading slash to rtkaio.
7900 2012-04-11 Jim Meyering <meyering@redhat.com>
7903 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7904 It is not necessarily an error to ignore fwrite's return
7905 value. One can reliably use ferror to test for errors after
7908 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7910 * bits/types.h (__snseconds_t): New type.
7911 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7913 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7915 (__SNSECONDS_T_TYPE): Likewise.
7916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7917 (__SNSECONDS_T_TYPE): Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7919 (__SNSECONDS_T_TYPE): Likewise.
7921 2012-04-10 Andreas Jaeger <aj@suse.de>
7924 * manual/time.texi (Processor Time): Return type of times is
7925 elapsed real time since an arbitrary point in the past.
7926 (CPU Time): Move CLK_TCK from here...
7927 (Processor Time): ...to here. Correct description.
7928 * manual/conf.texi (Constants for Sysconf): Correct description of
7931 2012-04-10 David S. Miller <davem@davemloft.net>
7934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7935 where the is a gap between DT_REL(A) and DT_JMPREL.
7937 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7939 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7940 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7941 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7943 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7945 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7946 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7947 (dl_main): Handle --inhibit-cache.
7948 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7950 * elf/dl-load.c (_dl_map_object): Use it.
7951 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7953 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7956 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7957 (__ieee754_powl): Saturate large exponents rather than testing for
7958 overflow of y*log2(x).
7959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7960 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7964 * math/s_ctan.c: Include <float.h>.
7965 (__ctan): Avoid internal overflow or cancellation in calculating
7967 * math/s_ctanf.c: Likewise.
7968 * math/s_ctanl.c: Likewise.
7969 * math/s_ctanh.c: Likewise.
7970 * math/s_ctanhf.c: Likewise.
7971 * math/s_ctanhl.c: Likewise.
7972 * math/libm-test.inc (ctan_test): Add more tests.
7973 (ctanh_test): Likewise.
7974 * sysdeps/i386/fpu/libm-test-ulps: Update.
7975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7977 2012-04-09 Andreas Jaeger <aj@suse.de>
7980 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7981 is an optional BSD extension.
7984 * manual/stdio.texi (Opening Streams): Document additional fopen
7987 2012-04-09 Roland McGrath <roland@hack.frob.com>
7989 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7990 %eax without telling the compiler.
7992 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7995 * manual/install.texi: Use sourceware.org.
7997 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8000 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8001 (__ieee754_pow): Generate overflow and underflow using huge*huge
8002 and tiny*tiny rather than just returning constant infinity or zero
8003 for large exponents.
8004 * math/libm-test.inc (pow_test): Require overflow exceptions for
8005 applicable cases of large exponents.
8008 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8009 (__ieee754_pow): Use iterative multiplication algorithm only for
8010 integer exponents with absolute value below 1024. Check for odd
8011 integer exponents when using algorithm for real exponents.
8012 * math/libm-test.inc (pow_test): Add more tests.
8013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8015 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8018 * math/libm-test.inc (exp_test): Do not allow overflow exception
8021 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8024 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8025 instead of __kernel_standard_f.
8027 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8029 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8030 * sysdeps/x86_64/memset_chk.S: Likewise.
8032 2012-04-08 Andreas Jaeger <aj@suse.de>
8035 * manual/startup.texi (Environment Access): Describe return value
8036 for putenv and setenv.
8039 * manual/filesys.texi (Directory Entries): Add description for
8043 * manual/filesys.texi (Directory Entries): Clarify that it's file
8044 system not operating system in the description of DT_UNKNOWN.
8047 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8049 2012-04-08 Stephen Compall <s11@member.fsf.org>
8052 * manual/llio.texi (Opening and Closing Files): Add cross
8053 reference to explain mode argument.
8055 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8057 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8058 * sysdeps/x86_64/memset_chk.S: Likewise.
8060 2012-04-07 David S. Miller <davem@davemloft.net>
8062 * elf/elf.h (R_SPARC_WDISP10): Define.
8063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8066 R_SPARC_SIZE64 and R_SPARC_H34.
8068 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8071 conditions and remove no longer applicable assertion.
8073 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8075 * bits/byteswap.h: Include <features.h>.
8076 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8077 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8079 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8081 * bits/byteswap.h (__bswap_16): Removed.
8082 Include <bits/byteswap-16.h> to get __bswap_16.
8083 * sysdeps/i386/bits/byteswap.h: Likewise.
8084 * sysdeps/s390/bits/byteswap.h: Likewise.
8085 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8086 * bits/byteswap-16.h: New file.
8087 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8088 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8089 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8090 * string/Makefile (headers): Add bits/byteswap-16.h.
8092 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8095 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8097 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8098 * nss/tst-nss-static.c: New.
8100 2012-04-06 Robert Millan <rmh@gnu.org>
8103 * manual/llio.texi (File Position Primitive): lseek
8104 refers to WHENCE when it really means OFFSET.
8106 2012-04-06 Andreas Jaeger <aj@suse.de>
8108 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8109 strncmp declarations.
8111 * abilist/libc.abilist: Add __poll and __ppoll.
8113 2012-04-05 David S. Miller <davem@davemloft.net>
8115 * scripts/check-local-headers.sh: Accept a host triplet in the
8116 path matched by the exclude regexp.
8118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8120 * sysdeps/powerpc/powerpc32/dl-machine.h
8121 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8122 * sysdeps/s390/s390-32/dl-machine.h
8123 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8124 * sysdeps/sparc/sparc32/dl-machine.h
8125 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8126 * sysdeps/sparc/sparc64/dl-machine.h
8127 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8129 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8131 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8132 undefined symbol errors.
8134 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8137 2012-04-05 Michael Matz <matz@suse.de>
8140 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8142 2012-04-05 Andreas Jaeger <aj@suse.de>
8145 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8148 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8150 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8151 which ROUND is no valid rounding mode.
8153 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8155 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8157 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8159 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8161 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8162 an exception using FPU order intentionally.
8164 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8166 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8167 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8168 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8169 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8171 2012-04-05 Simon Josefsson <simon@josefsson.org>
8174 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8175 EINVAL when BUFLEN is too smal.
8177 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8180 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8181 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8183 2012-04-03 Andreas Jaeger <aj@suse.de>
8186 * manual/setjmp.texi (System V contexts): Fix sentence.
8189 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8190 New macro for this case.
8191 [!__GNUC__] (__bswap_64): New inline function for this case.
8192 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8193 * bits/byteswap.h: Likewise.
8194 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8195 ull, guard with __GLIBC_HAVE_LONG_LONG.
8197 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8198 __GLIBC_HAVE_LONG_LONG.
8200 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8201 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8203 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8206 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8207 inptr and inend, rather than using last_ch.
8209 2012-04-02 David S. Miller <davem@davemloft.net>
8211 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8212 * stdio-common/printf-parse.h (read_int): Change return type to
8213 'int', return -1 on INT_MAX overflow.
8214 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8215 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8216 overflows INT_MAX. Check for overflow of in-format-string precision
8217 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8218 SIZE_MAX not INT_MAX for integer overflow test.
8219 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8220 skip the construct in the format string but do not record anything.
8221 * stdio-common/bug22.c: Adjust to test both width/prevision
8222 INT_MAX overflow as well as total length INT_MAX overflow. Check
8223 explicitly for proper errno values.
8225 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8227 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8229 * string/test-strcmp.c [! WIDE]: Likewise.
8230 * time/tst-mktime2.c: Likewise for INT_MAX.
8231 * string/test-string.h: #include <sys/param.h> for MIN.
8233 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8234 * sysdeps/i386/init-first.c (init): Likewise.
8235 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8236 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8237 * sysdeps/sh/init-first.c (init): Likewise.
8239 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8241 * po/ru.po: Update from translation team.
8242 * po/vi.po: Likewise.
8244 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8246 * resolv/nss_dns/dns-host.c: Merge copyright years.
8248 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8251 Optimize memcpy with prefetch if
8252 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8253 src, dst pointers have unequal 16 byte alignments.
8255 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8258 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8259 from a CNAME entry and return the minimum ttl for the query.
8260 (gaih_getanswer_slice): Likewise.
8262 2012-03-30 Jeff Law <law@redhat.com>
8264 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8266 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8267 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8269 * resolv/nss_dns/dns-host.c: Update copyright year.
8271 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8273 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8274 requests to save a system call. Fix check that all bytes are sent.
8276 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8277 comments for sendmmsg.
8279 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8282 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8283 with only 1 character between 0x0041 and 0x01b0.
8284 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8285 * wcsmbs/tst-mbsnrtowcs.c: New file.
8287 2012-03-29 David S. Miller <davem@davemloft.net>
8289 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8290 small copies by hand.
8292 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8295 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8296 _nss_compat_initgroups_dyn): Fall back to malloc/free
8297 for large group memberships.
8299 2012-03-28 David S. Miller <davem@davemloft.net>
8301 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8302 that branches into memcpy.
8303 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8304 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8305 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8306 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8309 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8311 * sysdeps/sparc/mempcpy.S: New file.
8313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8314 the IFUNC routine in the libc case.
8315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8317 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8318 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8320 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8321 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8322 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8323 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8324 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8326 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8327 loop to 256 bytes instead of 64 bytes and fix test signedness.
8329 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8330 * sysdeps/sparc/sparc32/Makefile: rather than here...
8331 * sysdeps/sparc/sparc64/Makefile: and here.
8333 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8335 * malloc/mallocbug.c: Avoid warnings about unused variables.
8337 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8340 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8341 in the right place. Discard and retry query if response is
8342 larger than input buffer size.
8344 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8349 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8350 x for large integer exponent.
8351 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8352 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8353 sign of result as needed afterwards.
8354 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8355 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8356 result for underflowing pow the same as for overflow.
8357 (__kernel_standard_l): Handle powl overflow and underflow here
8358 rather than calling __kernel_standard.
8359 * math/libm-test.inc (pow_test): Add more tests.
8374 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8375 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8376 (__kernel_standard_l): New function.
8377 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8379 * math/w_acosl.c (__acosl): Likewise.
8380 * math/w_asinl.c (__asinl): Likewise.
8381 * math/w_atan2l.c (__atan2l): Likewise.
8382 * math/w_atanhl.c (__atanhl): Likewise.
8383 * math/w_coshl.c (__coshl): Likewise.
8384 * math/w_exp10l.c (__exp10l): Likewise.
8385 * math/w_exp2l.c (__exp2l): Likewise.
8386 * math/w_fmodl.c (__fmodl): Likewise.
8387 * math/w_hypotl.c (__hypotl): Likewise.
8388 * math/w_j0l.c (__j0l, __y0l): Likewise.
8389 * math/w_j1l.c (__j1l, __y1l): Likewise.
8390 * math/w_jnl.c (__jnl, __ynl): Likewise.
8391 * math/w_lgammal.c (__lgammal): Likewise.
8392 * math/w_log10l.c (__log10l): Likewise.
8393 * math/w_log2l.c (__log2l): Likewise.
8394 * math/w_logl.c (__logl): Likewise.
8395 * math/w_powl.c (__powl): Likewise.
8396 * math/w_remainderl.c (__remainderl): Likewise.
8397 * math/w_scalbl.c (sysv_scalbl): Likewise.
8398 * math/w_sinhl.c (__sinhl): Likewise.
8399 * math/w_sqrtl.c (__sqrtl): Likewise.
8400 * math/w_tgammal.c (__tgammal): Likewise.
8401 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8402 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8403 * math/libm-test.inc (acos_test): Add more tests.
8404 (acosh_test): Likewise.
8405 (asin_test): Likewise.
8406 (atanh_test): Likewise.
8407 (exp_test): Likewise.
8408 (exp10_test): Likewise.
8409 (exp2_test): Likewise.
8410 (expm1_test): Likewise.
8411 (lgamma_test): Likewise.
8412 (log_test): Likewise.
8413 (log10_test): Likewise.
8414 (log1p_test): Likewise.
8415 (log2_test): Likewise.
8416 (pow_test): Do not allow some spurious overflow exceptions.
8417 (sqrt_test): Add more tests.
8418 (tgamma_test): Likewise.
8419 (y0_test): Likewise.
8420 (y1_test): Likewise.
8421 (yn_test): Likewise.
8423 2012-03-27 Anton Blanchard <anton@samba.org>
8425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8427 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8428 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8431 2012-03-27 David S. Miller <davem@davemloft.net>
8433 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8435 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8438 2012-03-27 Andreas Jaeger <aj@suse.de>
8440 * sysdeps/x86_64/elf/configure.in: Moved to ...
8441 * sysdeps/x86_64/configure.in: ... here.
8442 * sysdeps/x86_64/elf/start.S: Moved to ...
8443 * sysdeps/x86_64/start.S: ... here.
8444 * sysdeps/x86_64/elf/configure: Delete.
8446 * sysdeps/x86_64/configure.in: Merge contents from
8447 sysdeps/i386/configure.in (without i686 check).
8449 * sysdeps/i386/elf/Versions: Merge into ...
8450 * sysdeps/i386/Versions: ... this.
8451 * sysdeps/i386/elf/Versions: Delete file.
8452 * sysdeps/i386/elf/start.S: Moved to ...
8453 * sysdeps/i386/start.S: ...here.
8454 * sysdeps/i386/elf/configure.in: Merge into...
8455 * sysdeps/i386/configure.in: ...here.
8456 * sysdeps/i386/elf/configure.in: Delete file.
8457 * sysdeps/i386/elf/configure: Delete file.
8459 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8460 * debug/backtracesyms.c: ... here.
8461 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8462 * debug/backtracesymsfd.c: ... here.
8463 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8464 * sysdeps/generic/ifunc-sel.h: ... here.
8466 * sysdeps/unix/i386/start.c: Delete file.
8467 * sysdeps/unix/sparc/start.c: Delete file.
8468 * sysdeps/unix/start.c: Delete file.
8470 * sysdeps/sh/elf/configure.in: Moved to ...
8471 * sysdeps/sh/configure.in: ... here.
8472 * sysdeps/sh/elf/start.S: Moved to ...
8473 * sysdeps/sh/start.S: ... here.
8474 * sysdeps/sh/elf/configure: Delete file.
8476 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8477 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8478 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8479 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8480 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8481 * sysdeps/powerpc/powerpc64/start.S: here.
8482 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8483 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8484 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8485 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8486 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8488 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8489 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8490 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8491 * sysdeps/powerpc/powerpc32/start.S: ... here.
8492 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8493 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8494 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8496 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8497 * sysdeps/powerpc/ifunc-sel.h: ... here.
8498 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8499 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8501 * sysdeps/sparc/elf/configure.in: Moved to ...
8502 * sysdeps/sparc/configure.in: ... here.
8503 * sysdeps/sparc/elf/configure: Delete file.
8504 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8505 * sysdeps/sparc/sparc32/start.S: ... here.
8506 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8507 * sysdeps/sparc/sparc64/start.S: ... here.
8508 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8509 * sysdeps/sparc/sparc32/Makefile: ... this.
8510 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8511 * sysdeps/sparc/sparc64/Makefile: ... this.
8513 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8514 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8515 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8516 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8517 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8518 * sysdeps/s390/s390-32/setjmp.S: ... here.
8519 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8520 * sysdeps/s390/s390-32/configure.in: ... here.
8521 * sysdeps/s390/s390-32/elf/configure: Delete file.
8522 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8523 * sysdeps/s390/s390-32/start.S: ... here.
8525 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8526 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8527 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8528 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8529 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8530 * sysdeps/s390/s390-64/setjmp.S: ... here.
8531 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8532 * sysdeps/s390/s390-64/configure.in: ... here
8533 * sysdeps/s390/s390-64/elf/configure: Delete file.
8534 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8535 * sysdeps/s390/s390-64/start.S: ... here.
8536 * sysdeps/s390/s390-64/elf/configure: Delete.
8538 * configure.in: Remove support for elf directories in sysdeps.
8540 * configure: Regenerated.
8541 * sysdeps/i386/configure: Regenerated.
8542 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8543 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8544 * sysdeps/s390/s390-32/configure: Regenerated.
8545 * sysdeps/s390/s390-64/configure: Regenerated.
8546 * sysdeps/sh/configure: Regenerated.
8547 * sysdeps/sparc/configure: Regenerated.
8548 * sysdeps/x86_64/configure: Regenerated.
8550 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8554 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8555 denormal result into account.
8557 2012-03-25 Roland McGrath <roland@hack.frob.com>
8559 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8560 Reported by Allan McRae <allan@archlinux.org>.
8562 2012-03-23 Jeff Law <law@redhat.com>
8564 * nss/getnssent.c (__nss_getent): Fix typo.
8566 2012-03-23 David S. Miller <davem@davemloft.net>
8568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8570 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8572 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8573 to pad to uint64_t for each field.
8574 (dl_tls_index): Replace unsigned long with uint64_t.
8576 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8577 Paul Pluzhnikov <ppluzhnikov@google.com>
8580 * grp/Makefile (otherlibs): Don't set it.
8581 * inet/Makefile (otherlibs): Likewise.
8582 * login/Makefile (otherlibs): Likewise.
8583 * nscd/Makefile (otherlibs): Likewise.
8584 * posix/Makefile (otherlibs): Likewise.
8585 * pwd/Makefile (otherlibs): Likewise.
8586 * rt/Makefile (otherlibs): Likewise.
8587 * sunrpc/Makefile (otherlibs): Likewise.
8588 * nss/Makefile (otherlibs): Likewise.
8589 Add libnss_files to routines and static-only-routines.
8590 ($(objpfx)getent): Remove rule.
8591 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8592 static-only-routines.
8594 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8597 * math/s_cexp.c: Include <float.h>.
8598 (__cexp): Handle exp result overflowing not necessarily
8599 overflowing both real and imaginary parts of result.
8600 * math/s_cexpf.c: Likewise.
8601 * math/s_cexpl.c: Likewise.
8602 * math/libm-test.inc (cexp_test): Add more tests.
8603 * sysdeps/i386/fpu/libm-test-ulps: Update.
8604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8606 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8608 * include/link.h (ELFW): New macro.
8609 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8610 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8612 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8614 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8617 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8619 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8621 (struct La_x32_retval): Likewise.
8623 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8625 * sysdeps/x86_64/preconfigure.in: New file.
8626 * sysdeps/x86_64/preconfigure: New generated file.
8628 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8631 * math/e_exp2l.c: Include <float.h>.
8632 (__ieee754_exp2l): Handle overflow and underflow cases
8633 separately. Only pass fractional part of argument to
8635 * math/libm-test.inc (exp2_test): Add more tests.
8637 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8638 negating x to take absolute value.
8639 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8641 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8642 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8644 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8645 computing low part if x was negated.
8646 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8650 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8652 (pltexit): Cast int_retval to ptrdiff_t.
8653 * elf/tst-auditmod3b.c: Likewise.
8654 * elf/tst-auditmod4b.c: Likewise.
8655 * elf/tst-auditmod5b.c: Likewise.
8656 * elf/tst-auditmod6b.c: Likewise.
8657 * elf/tst-auditmod6c.c: Likewise.
8658 * elf/tst-auditmod7b.c: Likewise.
8660 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8661 and x32_gnu_pltexit.
8663 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8665 (La_x32_regs): New macro.
8666 (La_x32_retval): Likewise.
8667 (la_x32_gnu_pltenter): New function prototype.
8668 (la_x32_gnu_pltexit): Likewise.
8670 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8672 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8677 * configure.in (libc_cv_cc_nofma): Check for option to disable
8678 generation of FMA instructions.
8679 * configure: Regenerate.
8680 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8681 * sysdeps/ieee754/dbl-64/Makefile: New file.
8682 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8683 Remove brandred-fma4.
8684 (CFLAGS-brandred-fma4.c): Remove.
8685 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8686 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8688 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8691 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8693 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8694 LLONG_MAX != LONG_MAX.
8695 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8696 (_fitoa_word): Likewise.
8697 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8698 LLONG_MAX != LONG_MAX.
8699 * stdio-common/_itowa.h: Include <_itoa.h>.
8700 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8701 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8702 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8703 only if not defined.
8704 (_ITOA_WORD_TYPE): Likewise.
8705 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8706 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8708 2012-03-21 David S. Miller <davem@davemloft.net>
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8712 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8714 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8715 of x86_64 when setting libc_cv_slibdir, libdir and
8717 * sysdeps/unix/sysv/linux/configure: Regenerated.
8719 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8721 * manual/lang.texi (Old Varargs): Remove section.
8722 (How Variadic): Update menu.
8723 (va_start): Do not mention varargs.h.
8725 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8726 Joseph Myers <joseph@codesourcery.com>
8728 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8730 * configure: Regenerated.
8732 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8734 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8735 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8738 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8741 * Makefile (files-for-dist): Remove NOTES.
8742 (NOTES): Remove rule.
8743 * README: Don't refer to NOTES.
8744 * manual/creature.texi: Don't include macros.texi.
8745 * manual/intro.texi (creature.texi): Remove comment referring to
8748 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8749 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8750 * configure: Regenerated.
8751 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8753 (libc_cv_as_i686): Likewise.
8754 (libc_cv_cc_avx): Likewise.
8755 (libc_cv_cc_sse2avx): Likewise.
8756 (libc_cv_cc_fma4): Likewise.
8757 (libc_cv_cc_novzeroupper): Likewise.
8758 * sysdeps/i386/configure: Regenerated.
8761 * sysdeps/i386/fpu/s_cexp.S: Remove.
8762 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8763 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8764 * math/libm-test.inc (cexp_test): Add more tests.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8768 2012-03-21 Allan McRae <allan@archlinux.org>
8770 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8772 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8775 * math/w_exp2.c: Do not include <float.h>.
8776 (o_threshold, u_threshold): Remove.
8777 (__exp2): Calculate result before checking finiteness and calling
8779 * math/w_exp2f.c: Likewise.
8780 * math/w_exp2l.c: Likewise.
8781 * math/libm-test.inc (exp2_test): Require overflow exception for
8785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8786 range of signed 64-bit integers before using fistpll. Remove
8787 checks for whether integers fit in mantissa bits.
8788 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8789 the range of signed 32-bit integers before using fistpl. Remove
8790 checks for whether integers fit in mantissa bits.
8791 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8792 (__ieee754_powl): Test for y outside the range of signed 64-bit
8793 integers before using fistpll. Reduce 64-bit values to 63-bit
8795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8796 divide-by-zero is raised for zero to large negative powers.
8797 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8798 (__ieee754_powl): Test for y outside the range of signed 64-bit
8799 integers before using fistpll. Reduce 64-bit values to 63-bit
8801 * math/libm-test.inc (pow_test): Add more tests.
8803 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8805 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8806 <stdio-common/_itoa.h>.
8807 * debug/segfault.c: Likewise.
8808 * elf/dl-cache.c: Likewise.
8809 * elf/dl-minimal.c: Likewise.
8810 * elf/dl-misc.c: Likewise.
8811 * elf/dl-sysdep.c: Likewise.
8812 * elf/dl-version.c: Likewise.
8813 * elf/rtld.c: Likewise.
8814 * hurd/hurdsock.c: Likewise.
8815 * hurd/lookup-retry.c: Likewise.
8816 * malloc/malloc.c: Likewise.
8817 * malloc/mtrace.c: Likewise.
8818 * nscd/nscd_getgr_r.c: Likewise.
8819 * nscd/nscd_getpw_r.c: Likewise.
8820 * nscd/nscd_getserv_r.c: Likewise.
8821 * posix/getopt_init.c: Likewise.
8822 * posix/wordexp.c: Likewise.
8823 * stdio-common/_itoa.c: Likewise.
8824 * stdio-common/printf_fphex.c: Likewise.
8825 * stdio-common/vfprintf.c: Likewise.
8826 * string/_strerror.c: Likewise.
8827 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8828 * sysdeps/i386/i686/hp-timing.h: Likewise.
8829 * sysdeps/mach/_strerror.c: Likewise.
8830 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8831 * sysdeps/mach/hurd/sethostid.c: Likewise.
8832 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8833 * sysdeps/mach/xpg-strerror.c: Likewise.
8834 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8835 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8836 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8837 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8838 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8839 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8840 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8841 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8842 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8843 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8844 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8845 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8846 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8847 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8848 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8849 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8851 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8852 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8853 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8856 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8858 * stdio-common/_itoa.h: Moved to ...
8859 * sysdeps/generic/_itoa.h: Here.
8861 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8863 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8864 instead of "_itoa.h" and "_itowa.h".
8865 * stdio-common/vfprintf.: Likewise.
8867 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8869 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8871 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8872 (__signbit): Likwise.
8876 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8878 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8881 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8883 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8884 OVERFLOW_EXCEPTION_OK.
8885 * math/libm-test.inc ("Philosophy"): Update comment about
8887 (OVERFLOW_EXCEPTION): Define.
8888 (OVERFLOW_EXCEPTION_OK): Likewise.
8889 (INVALID_EXCEPTION_OK): Renumber.
8890 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8891 (IGNORE_ZERO_INF_SIGN): Likewise.
8892 (test_exceptions): Handle FE_OVERFLOW.
8893 (exp10_test): Expect overflow exceptions.
8894 (exp2_test): Likewise.
8895 (expm1_test): Likewise.
8896 (nextafter_test): Likewise.
8897 (pow_test): Likewise.
8898 (scalbn_test): Likewise.
8899 (scalbln_test): Likewise.
8901 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8903 * sysdeps/x86_64/bits/atomic.h
8904 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8906 (atomic_exchange_acq): Likewise.
8907 (__arch_exchange_and_add_body): Likewise.
8908 (__arch_add_body): Likewise.
8909 (atomic_add_negative): Likewise.
8910 (atomic_add_zero): Likewise.
8912 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8914 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8915 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8917 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8919 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8920 Check __x86_64__ instead of __WORDSIZE.
8922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8924 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8926 2012-03-19 David S. Miller <davem@davemloft.net>
8928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8930 * sysdeps/sparc/fpu/fenv_private.h: New file.
8931 * sysdeps/sparc/fpu/math_private.h: Use it.
8932 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8934 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8935 (libc_feholdexcept_setroundl): Remove.
8936 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8938 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8939 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8941 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8943 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8944 int64_t instead of long int.
8945 (INSERT_WORDS64): Likwise.
8947 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8949 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8950 _Unwind_GetCFA return to _Unwind_Ptr first.
8952 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8955 * math/s_clog.c: Include <float.h>.
8956 (__clog): Scale large or subnormal inputs.
8957 * math/s_clogf.c: Likewise.
8958 * math/s_clogl.c: Likewise.
8959 * math/s_clog10.c: Include <float.h>.
8960 (M_LOG10_2): Define.
8961 (__clog10): Scale large or subnormal inputs.
8962 * math/s_clog10f.c: Likewise.
8963 * math/s_clog10l.c: Likewise.
8964 * math/libm-test.inc (clog_test): Add more tests.
8965 (clog10_test): Likewise.
8966 * sysdeps/i386/fpu/libm-test-ulps: Update.
8967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8972 * math/libm-test.inc (atan2_test): Add another test.
8974 * Makerules (common-objdir-compile): Remove.
8975 * sysdeps/unix/Makefile (config-generated): Do not add
8976 $(unix-generated) to variable.
8977 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8978 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8980 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8982 [generic bits/local_lim.h] (before-compile): Do not append to
8984 [generic bits/local_lim.h] (common-generated): Likewise.
8985 [generic sys/param.h] (before-compile): Do not append to variable.
8986 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8987 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8988 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8989 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8991 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8992 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8993 [generic sys/param.h] ($(addprefix
8994 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8995 [generic sys/param.h] (common-generated): Do not append to
8997 [generic sys/param.h] (sysdep_headers): Likewise.
8998 [generic bits/errno.h] (before-compile): Do not append to
9000 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9002 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9003 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9004 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9005 [generic bits/errno.h] (common-generated): Do not append to
9007 [generic bits/ioctls.h] (before-compile): Do not append to
9009 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9011 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9012 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9013 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9015 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9016 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9017 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9018 [generic bits/ioctls.h] (common-generated): Do not append to
9020 [generic sys/syscall.h] (syscall.h): Remove variable.
9021 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9023 [generic sys/syscall.h] (before-compile): Do not append to
9025 [generic sys/syscall.h] (common-generated): Likewise.
9026 * sysdeps/unix/errnos-tmpl.c: Remove file.
9027 * sysdeps/unix/errnos.awk: Likewise.
9028 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9029 * sysdeps/unix/ioctls.awk: Likewise.
9030 * sysdeps/unix/mk-local_lim.c: Likewise.
9031 * sysdeps/unix/snarf-ioctls: Likewise.
9033 2012-03-19 Richard Henderson <rth@twiddle.net>
9035 * sysdeps/i386/fpu/fenv_private.h: New file.
9036 * sysdeps/i386/fpu/math_private.h: Use it.
9037 (math_opt_barrier, math_force_eval): Remove.
9038 (libc_feholdexcept_setround_53bit): Remove.
9039 (libc_feupdateenv_53bit): Remove.
9040 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9041 (math_opt_barrier, math_force_eval): Remove.
9042 (libc_feholdexcept): Remove.
9043 (libc_feholdexcept_setround): Remove.
9044 (libc_fetestexcept, libc_fesetenv): Remove.
9045 (libc_feupdateenv_test): Remove.
9046 (libc_feupdateenv, libc_feholdsetround): Remove.
9047 (libc_feresetround): Remove.
9049 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9050 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9052 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9053 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9054 (libc_feupdateenv_testl): New.
9055 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9056 (libc_feupdateenv_testf): New.
9057 (libc_feupdateenv): Use libc_feupdateenv_test.
9058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9061 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9062 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9063 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9064 (libc_feresetround_noex): New.
9065 (libc_feresetround_noexf): New.
9066 (libc_feresetround_noexl): New.
9067 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9068 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9069 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9070 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9072 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9075 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9077 SET_RESTORE_ROUND_NOEX.
9078 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9079 SET_RESTORE_ROUND_NOEXF.
9080 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9081 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9082 (libc_feholdsetroundf): New.
9083 (libc_feresetround, libc_feresetroundf): New.
9085 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9086 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9087 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9089 * sysdeps/generic/math_private.h: Include <fenv.h>.
9090 (default_libc_feholdexcept): New.
9091 (default_libc_feholdexcept_setround): New.
9092 (default_libc_fesetenv, default_libc_feupdateenv): New.
9093 (libc_feholdexcept): Only define if undefined.
9094 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9095 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9096 (libc_feholdexcept_setroundl): Likewise.
9097 (libc_feholdexcept_setround_53bit): Likewise.
9098 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9099 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9100 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9101 (libc_feupdateenv_53bit): Likewise.
9102 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9103 (libc_feholdexcept): Convert from macro to inline function.
9104 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9105 (libc_fesetenv, libc_feupdateenv): Likewise.
9107 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9108 not previously defined.
9109 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9110 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9111 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9112 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9113 * sysdeps/ieee754/flt-32/math_private.h: New file.
9114 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9115 math_private.h below SET_FLOAT_WORD.
9116 (__isnan, __isinf_ns, __finite): Remove.
9117 (__isnanf, __isinf_nsf, __finitef): Remove.
9119 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9123 2012-03-17 David S. Miller <davem@davemloft.net>
9126 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9129 2012-03-16 David S. Miller <davem@davemloft.net>
9131 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9135 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9137 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9138 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9139 sysdep_routines when subdir is sysvipc.
9140 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9143 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9145 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9147 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9153 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9154 (__lround): Renamed to ...
9155 (__llround): This. Replace long int with long long int.
9156 Define lround functions as aliases of llround functions.
9157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9159 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9161 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9162 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9163 adresses to uintptr_t. Replace "long int" and "unsigned long
9164 int" with "greg_t" on va_arg.
9166 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9168 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9169 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9171 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9172 Move e_machine check before EI_CLASS check. Handle x32
9173 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9174 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9175 SKIP_EM_IA_64 and include
9176 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9178 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9179 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9180 (add_system_dir): New macro.
9182 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9183 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9185 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9196 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9198 * math/w_j0f.c (j0f): Likewise.
9200 * math/w_j0l.c (__j0l): Likewise.
9202 * math/w_j1.c (j1): Likewise.
9204 * math/w_j1f.c (j1f): Likewise.
9206 * math/w_j1l.c (__j1l): Likewise.
9208 * math/w_jn.c (jn): Likewise.
9210 * math/w_jnf.c (jnf): Likewise.
9212 * math/w_jnl.c (__jnl): Likewise.
9214 * math/libm-test.inc (j0_test): Add more tests.
9215 (j1_test): Likewise.
9216 (jn_test): Likewise. Add trailing semicolon to existing test.
9217 (y0_test): Likewise.
9218 (y1_test): Likewise.
9219 * sysdeps/i386/fpu/libm-test-ulps: Update.
9220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9224 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9225 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9226 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9227 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9228 (__tanl): Set errno for infinite argument.
9229 * sysdeps/i386/fpu/mptan.c: Remove.
9230 * sysdeps/i386/fpu/s_tan.S: Likewise.
9231 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9232 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9233 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9234 * math/libm-test.inc (tan_test): Add more tests and enable more
9235 tests for double and long double.
9236 * sysdeps/i386/fpu/libm-test-ulps: Update.
9237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9239 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9241 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9242 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9244 2012-03-16 Roland McGrath <roland@hack.frob.com>
9246 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9247 * configure.in: Use it for both main tree and add-ons.
9248 * configure: Regenerated.
9250 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9252 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9254 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9256 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9260 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9261 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9266 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9269 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9270 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9271 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9272 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9273 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9274 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9275 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9276 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9277 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9278 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9279 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9280 * math/libm-test.inc (cos_test): Add more tests and enable more
9281 tests for long double.
9282 (sin_test): Likewise.
9283 (sincos_test): Likewise.
9284 * sysdeps/i386/fpu/libm-test-ulps: Update.
9285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9287 2012-03-16 David S. Miller <davem@davemloft.net>
9289 * sysdeps/sparc/fpu/math_private.h: New file.
9291 2012-03-15 David S. Miller <davem@davemloft.net>
9293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9307 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9308 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9310 * sysdeps/sparc/sparc-ifunc.h: New file.
9311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9356 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9358 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9362 2012-03-15 Andreas Jaeger <aj@suse.de>
9365 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9366 ieee754/flt-32 implementation for sin, cos and sincos.
9367 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9368 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9369 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9370 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9371 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9372 ieee754/flt-32 implementation for tan.
9374 * math/libm-test.inc (cos_test): Enable some large input tests for
9376 (sin_test): Likewise.
9377 (sincos_test): Likewise.
9378 (tan_test): Add tests for large input.
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382 2012-03-15 Andreas Jaeger <aj@suse.de>
9385 * math/libm-test.inc (cos_test): Add more test cases.
9386 (sin_test): Likewise.
9387 (sincos_test): Likewise.
9389 2012-03-15 Andreas Jaeger <aj@suse.de>
9392 * math/libm-test.inc (cos_test): Add a test case for large input
9394 (sin_test): Likewise.
9395 (sincos_test): Likewise.
9397 2012-03-15 Andreas Jaeger <aj@suse.de>,
9398 Joseph Myers <joseph@codesourcery.com>
9401 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9402 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9403 * sysdeps/i386/fpu/branred.c: Likewise.
9404 * sysdeps/i386/fpu/dosincos.c: Likewise.
9405 * sysdeps/i386/fpu/mpa.c: Likewise.
9406 * sysdeps/i386/fpu/s_cos.S: Likewise.
9407 * sysdeps/i386/fpu/s_sin.S: Likewise.
9408 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9409 * sysdeps/i386/fpu/sincos32.c: Likewise.
9411 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9413 (libc_feupdateenv_53bit): Define.
9414 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9416 (libc_feupdateenv_53bit): Define.
9418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9419 53 bit (without extend i386 double precision).
9421 * math/libm-test.inc (sincos_test): Add tests for large input.
9425 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9427 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9431 2012-03-15 David S. Miller <davem@davemloft.net>
9433 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9434 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9435 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9436 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9460 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9461 fmin/fmax sysdep routines.
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9464 2012-03-14 David S. Miller <davem@davemloft.net>
9466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9487 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9543 * sysdeps/sparc/configure.in: New file.
9544 * sysdeps/sparc/configure: Generate.
9545 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9546 * configure: Regenerate.
9547 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9548 * config.make.in (have-as-vis3): New.
9549 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9550 available use -Av9d instead of -Av9a.
9551 * sysdeps/sparc/sparc64/Makefile: Likewise.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9563 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9564 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9565 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9567 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9568 fzeros/fnegs to load 0x80000000 into a float register instead of
9570 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9572 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9576 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9577 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9578 ($(inst_includedir)/bits/syscall.h): Remove rule.
9579 ($(objpfx)bits/syscall.d): Include instead of
9580 $(objpfx)syscall-list.d.
9581 (generated): Change syscall-list.h and syscall-list.d to
9582 bits/syscall.h and bits/syscall.d.
9584 2012-03-14 Roland McGrath <roland@hack.frob.com>
9587 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9589 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9592 * math/s_csqrt.c: Include <float.h>.
9593 (__csqrt): Scale large or subnormal inputs.
9594 * math/s_csqrtf.c: Likewise.
9595 * math/s_csqrtl.c: Likewise.
9596 * math/libm-test.inc (csqrt_test): Add more tests.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9601 * math/libm-test.inc (hypot_test): Add more tests.
9603 2012-03-13 David S. Miller <davem@davemloft.net>
9606 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9607 double-precision for the calculation instead of scaling.
9609 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9611 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9612 manipulate bits before adding and subtracting TWO52[sx].
9613 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9618 2012-03-13 David S. Miller <davem@davemloft.net>
9620 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9621 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9623 rtld-global-offsets.h
9624 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9629 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9631 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9632 'err' in the ifdef scope in which it is actually used.
9634 * nss/nss_db/db-init.c: Include string.h
9636 2012-03-12 David S. Miller <davem@davemloft.net>
9638 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9639 masking out of the most significant byte of random value used.
9640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9641 Fix coding style in previous change.
9643 * sysdeps/unix/sysv/linux/kernel-features.h
9644 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9645 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9647 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9650 2012-03-11 David S. Miller <davem@davemloft.net>
9652 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9653 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9655 for 'resultvar' otherwise things get truncated on 64-bit.
9657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9658 Fix masking out of the most significant byte of random value used.
9660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9662 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9666 2012-03-09 David S. Miller <davem@davemloft.net>
9668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9669 variables with appropriate CPP guards.
9670 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9671 frame pointer, not the stack pointer. Correct layout comments. Fix test
9672 on resulting framesize and the management of the outregs buffer for pltexit.
9673 Preserve floating point return values across _dl_call_pltexit call.
9674 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9675 framesize and the management of the outregs buffer for pltexit.
9676 Preserve floating point return values across _dl_call_pltexit
9678 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9679 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9680 (print_exit): Fix format string for return register value.
9682 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9684 * sunrpc/Makefile (others): Add rpcgen.
9685 ($(objpfx)rpcgen): Remove special build rule and dependency on
9687 * sunrpc/rpcgen.c: New file.
9689 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9692 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9693 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9694 * sysdeps/i386/crti.S: Likewise.
9695 * sysdeps/i386/crtn.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9697 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9698 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9700 * sysdeps/sh/crti.S: Likewise.
9701 * sysdeps/sh/crtn.S: Likewise.
9702 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9705 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9707 * locale/programs/locfile-kw.gperf: Likewise.
9708 * locale/programs/charmap-kw.h: Regenerated.
9709 * locale/programs/locfile-kw.h: Likewise.
9712 * intl/plural.y: Replace FSF snail mail address with URL.
9713 * intl/plural.c: Regenerated.
9715 2012-03-09 Richard Henderson <rth@twiddle.net>
9717 * include/math_private.h: Remove file.
9718 * math/math_private.h: Move file ...
9719 * sysdeps/generic/math_private.h: ... here.
9721 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9722 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9723 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9725 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9726 and <math_private.h>.
9727 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9728 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9729 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9730 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9731 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9770 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9771 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9772 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9773 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9774 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9775 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9776 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9778 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9779 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9780 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9781 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9784 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9815 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9818 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9820 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9822 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9824 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9825 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9827 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9828 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9832 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9837 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9842 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9845 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9846 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9849 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9850 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9851 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9852 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9853 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9854 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9855 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9856 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9857 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9858 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9859 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9860 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9861 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9862 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9863 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9864 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9865 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9866 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9867 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9868 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9869 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9870 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9871 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9872 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9873 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9874 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9875 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9876 * sysdeps/ieee754/k_standard.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9992 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9996 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9999 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10025 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10026 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10027 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10037 * sysdeps/ieee754/s_lib_version.c: Likewise.
10038 * sysdeps/ieee754/s_matherr.c: Likewise.
10039 * sysdeps/ieee754/s_signgam.c: Likewise.
10040 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10041 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10042 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10043 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10044 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10045 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10046 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10047 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10048 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10049 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10050 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10051 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10052 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10053 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10054 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10055 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10056 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10057 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10058 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10062 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10064 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10065 * sunrpc/rpc_main.c: Likewise.
10066 * sunrpc/rpc_svcout.c: Likewise.
10068 2012-03-09 David S. Miller <davem@davemloft.net>
10070 * include/math_private.h: New file.
10072 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10074 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10075 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10076 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10077 from <bits/socket_type.h>.
10078 (enum __socket_type): Don't define here.
10079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10081 bits/socket_type.h.
10084 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10085 checking __USE_GNU.
10087 * Makerules ($(inst_includedir)/%.h): New rule.
10088 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10089 (install-others): Remove variable setting.
10090 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10092 2012-03-08 Richard Henderson <rth@twiddle.net>
10094 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10095 from macro to inline function; merge with the
10096 !__LIBC_INTERNAL_MATH_INLINES version.
10097 (__ieee754_sqrtf): Likewise.
10099 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10100 to inline function.
10101 (__rintf, __floor, __floorf): Likewise.
10103 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10104 macro to inline function.
10105 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10107 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10108 not <math/math_private.h>.
10110 2012-03-08 David S. Miller <davem@davemloft.net>
10112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10114 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10116 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10118 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10120 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10121 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10123 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10125 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10126 be defined individually, they must be defined as a block. Define
10127 S for printing a string instead of hidint the different by using a
10128 macro for adding the 'l'.
10129 * stdio-common/tst-fphex-wide.c: Adjust.
10131 2012-03-07 Marek Polacek <polacek@redhat.com>
10133 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10135 2012-03-08 Marek Polacek <polacek@redhat.com>
10138 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10139 * stdio-common/tst-fphex.c: Define a few macros to make the
10140 test reusable. Use them.
10141 * stdio-common/tst-fphex-wide.c: New file.
10143 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10146 * manual/macros.texi (gnusystems): New macro.
10147 (nongnusystems): Likewise.
10148 (gnulinuxhurdsystems): Likewise.
10149 (gnuhurdsystems): Likewise..
10150 (gnulinuxsystems): Likewise.
10151 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10152 variants of the GNU system, not "GNU system".
10153 * manual/conf.texi: Likewise.
10154 * manual/errno.texi: Likewise. Update example of errno macro
10156 * manual/filesys.texi: Likewise.
10157 (getumask): Document as specific to GNU/Hurd.
10158 * manual/install.texi: Likewise. Reword some references to
10160 * manual/intro.texi: Likewise.
10161 * manual/io.texi: Likewise.
10162 (File Name Portability): Detail which constraints are inapplicable
10163 to all GNU systems and which are only inapplicable to GNU/Hurd.
10164 * manual/job.texi: Likewise.
10165 * manual/llio.texi: Likewise.
10166 (O_NOCTTY): Document as present on GNU/Linux.
10167 * manual/maint.texi: Likewise.
10168 * manual/memory.texi: Likewise.
10169 * manual/pattern.texi: Likewise.
10170 * manual/pipe.texi: Likewise.
10171 * manual/process.texi: Likewise.
10172 * manual/resource.texi: Likewise.
10173 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10175 * manual/setjmp.texi: Likewise.
10176 * manual/signal.texi: Likewise.
10177 * manual/startup.texi: Likewise.
10178 * manual/stdio.texi: Likewise.
10179 * manual/terminal.texi: Likewise.
10180 (ONLCR): Document as POSIX.
10181 (OXTABS): Document availability on GNU/Linux as XTABS.
10182 (ONOEOT): Document availability separately from other bits.
10183 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10184 * manual/time.texi: Likewise.
10185 * manual/users.texi: Likewise.
10186 * INSTALL: Regenerated.
10187 * sysdeps/gnu/errlist.c: Regenerated.
10189 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10190 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10191 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10193 * configure: Regenerated.
10195 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10197 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10198 default includes instead of AC_HEADER_CHECK.
10199 * sysdeps/i386/configure: Regenerated.
10202 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10203 * math/s_cacoshf.c (__cacoshf): Likewise.
10204 * math/s_cacoshl.c (__cacoshl): Likewise.
10205 * math/s_casinh.c (__casinh): Set signs of result from argument.
10206 * math/s_casinhf.c (__casinhf): Likewise.
10207 * math/s_casinhl.c (__casinhl): Likewise.
10208 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10209 (casinh_test): Add more tests.
10210 * sysdeps/i386/fpu/libm-test-ulps: Update.
10211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10213 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10215 * po/zh_TW.po: Update from translation team.
10217 * login/Makefile (distribute): Remove variable.
10218 * catgets/Makefile: Likewise.
10219 * mach/Makefile: Likewise.
10220 * malloc/Makefile: Likewise.
10221 * misc/Makefile: Likewise.
10222 * iconv/Makefile: Likewise.
10223 * nscd/Makefile: Likewise.
10224 * hurd/Makefile: Likewise.
10225 * manual/Makefile: Likewise.
10226 * locale/Makefile: Likewise.
10227 * intl/Makefile: Likewise.
10228 * conform/Makefile: Likewise.
10229 * nss/Makefile: Likewise.
10230 * time/Makefile: Likewise.
10231 * soft-fp/Makefile: Likewise.
10232 * dirent/Makefile: Likewise.
10233 * gmon/Makefile: Likewise.
10234 * po/Makefile: Likewise.
10235 * rt/Makefile: Likewise.
10236 * socket/Makefile: Likewise.
10237 * math/Makefile: Likewise.
10238 * signal/Makefile: Likewise.
10239 * debug/Makefile: Likewise.
10240 * elf/Makefile: Likewise.
10241 * timezone/Makefile: Likewise.
10242 * stdlib/Makefile: Likewise.
10243 * iconvdata/Makefile: Likewise.
10244 * sunrpc/Makefile: Likewise.
10245 * io/Makefile: Likewise.
10246 * argp/Makefile: Likewise.
10247 * inet/Makefile: Likewise.
10248 * hesiod/Makefile: Likewise.
10249 * grp/Makefile: Likewise.
10250 * csu/Makefile: Likewise.
10251 * wctype/Makefile: Likewise.
10252 * crypt/Makefile: Likewise.
10253 * libio/Makefile: Likewise.
10254 * string/Makefile: Likewise.
10255 * nis/Makefile: Likewise.
10256 * resolv/Makefile: Likewise.
10257 * stdio-common/Makefile: Likewise.
10258 * wcsmbs/Makefile: Likewise.
10259 * dlfcn/Makefile: Likewise.
10260 * posix/Makefile: Likewise.
10263 * timezone/Makefile: Don't install timezone files, just the programs
10266 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10268 * nss/databases.def: Add missing gshadow entry.
10270 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10272 2012-03-06 Marek Polacek <polacek@redhat.com>
10275 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10276 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10277 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10278 * stdio-common/tst-long-dbl-fphex.c: New file.
10280 2012-03-06 David S. Miller <davem@davemloft.net>
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10283 (set_obp_int): New function.
10284 (get_obp_int): New function.
10285 (__get_clockfreq_via_dev_openprom): Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10287 Avoid unused variable warnings on 'val' and use builtin_expect.
10288 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10290 (INLINE_CLONE_SYSCALL): Likewise.
10292 2012-03-05 David S. Miller <davem@davemloft.net>
10294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10296 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10301 only for |x| >= 40.
10302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10304 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10307 Replace gettimeofday with __vdso_gettimeofday.
10309 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10310 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10311 __vdso_clock_gettime and __vdso_getcpu.
10313 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10314 time with __vdso_time.
10316 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10318 * manual/lang.texi (size_t): Note types to which size_t may be
10319 equivalent with the GNU C Library, but do not describe when
10320 differences between them are significant.
10322 2012-03-05 Andreas Jaeger <aj@suse.de>
10324 * sysdeps/i386/fpu/libm-test-ulps: Update.
10326 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10329 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10330 (__ieee754_pow): Save and restore rounding mode and use
10331 round-to-nearest for main computations.
10332 * math/libm-test.inc (pow_test_tonearest): New function.
10333 (pow_test_towardzero): Likewise.
10334 (pow_test_downward): Likewise.
10335 (pow_test_upward): Likewise.
10336 (main): Call the new functions.
10337 * sysdeps/i386/fpu/libm-test-ulps: Update.
10338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10341 * math/libm-test.inc (cosh_test_tonearest): New function.
10342 (cosh_test_towardzero): Likewise.
10343 (cosh_test_downward): Likewise.
10344 (cosh_test_upward): Likewise.
10345 (sinh_test_tonearest): Likewise.
10346 (sinh_test_towardzero): Likewise.
10347 (sinh_test_downward): Likewise.
10348 (sinh_test_upward): Likewise.
10349 (main): Call the new functions.
10350 * sysdeps/i386/fpu/libm-test-ulps: Update.
10351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10353 2012-03-05 Tom de Vries <tom@codesourcery.com>
10355 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10356 default stack guard is set in last bytes.
10357 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10359 2012-03-05 Kees Cook <keescook@chromium.org>
10361 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10364 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10365 possibly allocate from heap instead of stack.
10366 * stdio-common/bug-vfprintf-nargs.c: New file.
10367 * stdio-common/Makefile (tests): Add nargs overflow test.
10369 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10373 2012-03-03 Marek Polacek <polacek@redhat.com>
10375 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10376 * math/math_private.h: Likewise.
10377 * stdlib/tst-strtod.c: Likewise.
10378 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10379 * sysdeps/x86_64/bits/atomic.h: Likewise.
10381 2012-03-02 David S. Miller <davem@davemloft.net>
10383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10387 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10388 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10389 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10390 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10392 2012-03-02 Roland McGrath <roland@hack.frob.com>
10395 * manual/examples/README: New file, says the example source files
10396 can be used under GPL>=2.
10397 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10398 line containing just "*/".
10399 * manual/examples/add.c: Add copyright header (GPL>=2).
10400 * manual/examples/argp-ex1.c: Likewise.
10401 * manual/examples/argp-ex2.c: Likewise.
10402 * manual/examples/argp-ex3.c: Likewise.
10403 * manual/examples/argp-ex4.c: Likewise.
10404 * manual/examples/atexit.c: Likewise.
10405 * manual/examples/db.c: Likewise.
10406 * manual/examples/dir.c: Likewise.
10407 * manual/examples/dir2.c: Likewise.
10408 * manual/examples/execinfo.c: Likewise.
10409 * manual/examples/filecli.c: Likewise.
10410 * manual/examples/filesrv.c: Likewise.
10411 * manual/examples/fmtmsgexpl.c: Likewise.
10412 * manual/examples/genpass.c: Likewise.
10413 * manual/examples/inetcli.c: Likewise.
10414 * manual/examples/inetsrv.c: Likewise.
10415 * manual/examples/isockad.c: Likewise.
10416 * manual/examples/longopt.c: Likewise.
10417 * manual/examples/memopen.c: Likewise.
10418 * manual/examples/memstrm.c: Likewise.
10419 * manual/examples/mkfsock.c: Likewise.
10420 * manual/examples/mkisock.c: Likewise.
10421 * manual/examples/mygetpass.c: Likewise.
10422 * manual/examples/pipe.c: Likewise.
10423 * manual/examples/popen.c: Likewise.
10424 * manual/examples/rprintf.c: Likewise.
10425 * manual/examples/search.c: Likewise.
10426 * manual/examples/select.c: Likewise.
10427 * manual/examples/setjmp.c: Likewise.
10428 * manual/examples/sigh1.c: Likewise.
10429 * manual/examples/sigusr.c: Likewise.
10430 * manual/examples/stpcpy.c: Likewise.
10431 * manual/examples/strdupa.c: Likewise.
10432 * manual/examples/strftim.c: Likewise.
10433 * manual/examples/strncat.c: Likewise.
10434 * manual/examples/subopt.c: Likewise.
10435 * manual/examples/swapcontext.c: Likewise.
10436 * manual/examples/termios.c: Likewise.
10437 * manual/examples/testopt.c: Likewise.
10438 * manual/examples/testpass.c: Likewise.
10439 * manual/examples/timeval_subtract.c: Likewise.
10442 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10444 * manual/timeval_subtract.c.texi: ... here, new file.
10446 2012-03-02 David S. Miller <davem@davemloft.net>
10448 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10450 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10453 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10454 (__sin): Save and restore rounding mode and use round-to-nearest
10455 for all computations.
10456 (__cos): Save and restore rounding mode and use round-to-nearest
10457 for all computations.
10458 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10460 (tan): Save and restore rounding mode and use round-to-nearest for
10462 * math/libm-test.inc (cos_test_tonearest): New function.
10463 (cos_test_towardzero): Likewise.
10464 (cos_test_downward): Likewise.
10465 (cos_test_upward): Likewise.
10466 (sin_test_tonearest): Likewise.
10467 (sin_test_towardzero): Likewise.
10468 (sin_test_downward): Likewise.
10469 (sin_test_upward): Likewise.
10470 (tan_test_tonearest): Likewise.
10471 (tan_test_towardzero): Likewise.
10472 (tan_test_downward): Likewise.
10473 (tan_test_upward): Likewise.
10474 (main): Call the new functions.
10475 * sysdeps/i386/fpu/libm-test-ulps: Update.
10476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10479 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10480 small n, then large n, before computing and testing k+n.
10481 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10486 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10487 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10488 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10489 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10492 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10493 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10494 * math/libm-test.inc (scalbn_test): Add more tests.
10495 (scalbln_test): Likewise.
10497 * manual/filesys.texi (mode_t): Describe constraints on size and
10498 signedness, not exact equivalence to a particular type.
10500 (ino64_t): Likewise.
10502 (nlink_t): Likewise.
10503 (blkcnt_t): Likewise.
10504 (blkcnt64_t): Likewise.
10505 * manual/llio.texi (off_t): Likewise.
10508 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10509 (__ieee754_exp): Save and restore rounding mode and use
10510 round-to-nearest for all computations.
10511 * math/libm-test.inc (exp_test_tonearest): New function.
10512 (exp_test_towardzero): Likewise.
10513 (exp_test_downward): Likewise.
10514 (exp_test_upward): Likewise.
10515 (main): Call the new functions.
10516 * sysdeps/i386/fpu/libm-test-ulps: Update.
10517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10519 2012-03-01 Chris Demetriou <cgd@google.com>
10521 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10522 have predictable order.
10524 2012-03-01 David S. Miller <davem@davemloft.net>
10526 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10528 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10529 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10530 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10531 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10533 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10534 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10535 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10537 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10538 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10539 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10540 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10541 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10545 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10546 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10547 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10549 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10550 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10551 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10552 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10553 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10556 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10557 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10558 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10559 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10560 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10563 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10565 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10566 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10567 * sysdeps/sparc/elf/configure: Regenerated.
10569 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10571 * configure.in (AS, LD): Require binutils 2.20 or later.
10572 * configure: Regenerated.
10573 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10574 as required minimum version.
10575 * INSTALL: Regenerated.
10579 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10580 before squaring exponent.
10581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10582 bottom long double and 27 bits of top long double before squaring
10584 * math/libm-test.inc (erfc_test): Add more tests.
10585 * sysdeps/i386/fpu/libm-test-ulps: Update.
10586 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10589 2012-03-01 Kai Tietz <ktietz@redhat.com>
10591 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10592 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10593 containing bit-fields.
10594 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10595 * soft-fp/single.h (_FP_UNION_S): Likewise.
10596 * soft-fp/double.h (_FP_UNION_D): Likewise.
10598 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10601 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10602 not include ../strcmp.S.
10603 [USE_AS_STRNCASECMP_L]: Likewise.
10604 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10605 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10606 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10607 (__strncasecmp_l_ia32): Define as alias to
10608 __strncasecmp_l_nonascii.
10611 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10612 * sysdeps/i386/fpu/libm-test-ulps: Update.
10613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10615 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10618 2012-02-29 Jeff Law <law@redhat.com>
10620 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10621 out of bounds read.
10623 2012-02-29 Marek Polacek <polacek@redhat.com>
10626 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10627 * elf/Makefile: Add rules to run tst-unused-dep.out.
10629 2012-02-28 David S. Miller <davem@davemloft.net>
10631 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10632 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10638 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10640 * math/libm-test.inc (llround_test): Move one test from
10641 lround_test. Use TEST_f_L in moved test.
10642 (lround_test): Move misplaced test to llround_test. Add testcase
10645 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10647 * sysdeps/x86_64/fpu/e_expf.S: New file.
10648 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10650 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10653 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10654 of remain_len that may cause incomplete multi-byte character and
10656 * posix/bug-regex33.c: New file.
10657 * posix/Makefile (tests): Add bug-regex33.
10659 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10661 * manual/macros.texi: New file.
10662 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10663 * manual/libc.texinfo: Include macros.texi.
10664 * manual/creatute.texi: Likewise.
10665 * manual/install.texi: Likewise.
10666 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10667 @glibcadj{} in references to the GNU C Library.
10668 * manual/charset.texi: Likewise.
10669 * manual/conf.texi: Likewise.
10670 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10671 when not using those macros.
10672 * manual/creature.texi: Likewise.
10673 * manual/crypt.texi: Likewise.
10674 * manual/errno.texi: Likewise.
10675 * manual/filesys.texi: Likewise.
10676 * manual/header.texi: Likewise.
10677 * manual/install.texi: Likewise.
10678 * manual/intro.texi: Likewise.
10679 * manual/io.texi: Likewise.
10680 * manual/job.texi: Likewise.
10681 * manual/lang.texi: Likewise.
10682 * manual/libc.texiinfo: Likewise.
10683 * manual/llio.texi: Likewise.
10684 * manual/locale.texi: Likewise.
10685 * manual/maint.texi: Likewise.
10686 * manual/math.texi: Likewise.
10687 * manual/memory.texi: Likewise.
10688 * manual/message.texi: Likewise.
10689 * manual/nss.texi: Likewise.
10690 * manual/pattern.texi: Likewise.
10691 * manual/process.texi: Likewise.
10692 * manual/resource.texi: Likewise.
10693 * manual/search.texi: Likewise.
10694 * manual/setjmp.texi: Likewise.
10695 * manual/signal.texi: Likewise.
10696 * manual/socket.texi: Likewise.
10697 * manual/startup.texi: Likewise.
10698 * manual/stdio.texi: Likewise.
10699 * manual/string.texi: Likewise.
10700 * manual/sysinfo.texi: Likewise.
10701 * manual/syslog.texi: Likewise.
10702 * manual/terminal.texi: Likewise.
10703 * manual/time.texi: Likewise.
10704 * manual/users.texi: Likewise.
10705 * INSTALL: Regenerated.
10706 * NOTES: Regenerated.
10707 * sysdeps/gnu/errlist.c: Regenerated.
10709 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10711 * include/dirent.h: Include <dirstream.h> before
10714 2012-02-28 David S. Miller <davem@davemloft.net>
10716 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10717 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10718 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10719 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10721 2012-02-27 David S. Miller <davem@davemloft.net>
10723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10725 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10726 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10729 frame pointer instead of stack pointer relative arg slot.
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10731 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10732 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10734 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10737 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10739 2012-02-27 David S. Miller <davem@davemloft.net>
10741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10745 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10746 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10747 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10748 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10750 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10752 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10753 later. Allow versions 5-9.
10754 * configure: Regenerated.
10755 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10756 required minimum version and 4.6 as recommended version. Do not
10757 mention bugs in GCC 2.7 and 2.8.
10758 * INSTALL: Regenerated.
10760 2012-02-27 David S. Miller <davem@davemloft.net>
10762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10766 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10767 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10768 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10769 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10772 manipulate bits before adding and subtracting TWO112[sx].
10773 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10775 2012-02-27 Roland McGrath <roland@hack.frob.com>
10778 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10779 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10780 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10781 being in POSIX, because they are in 1003.1-2008.
10783 * rt/tst-aio.c: Include <fcntl.h>.
10784 * rt/tst-aio7.c: Likewise.
10785 * rt/tst-aio64.c: Likewise.
10787 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10789 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10791 * manual/install.texi (--with-headers): Describe headers as
10792 interface headers, not private headers.
10793 (Specific advice for GNU/Linux systems): Describe use of headers
10794 from "make headers_install", not private headers from older
10796 * INSTALL: Regenerated.
10797 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10799 * sysdeps/unix/sysv/linux/configure: Regenerated.
10801 * manual/llio.texi (fclean): Remove documentation.
10803 * manual/Makefile (libc-texi-generated): New variable. Include
10805 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10806 $(libc-texi-generated), not duplicated list of files.
10807 (version.texi, stamp-version): New rules.
10808 (realclean): Remove $(libc-texi-generated), not individual files
10809 from that list. Do not remove dir-add.texinfo.
10810 * manual/libc.texinfo: Comment out uses of edition numbers and
10811 references to printed manual. Remove last-updated dates.
10812 (EDITION): Comment out.
10814 (VERSION, UPDATED): Remove.
10815 (version.texi): Include.
10817 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10819 * sysdeps/posix/spawni.c: Include <signal.h>.
10820 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10821 * sysdeps/pthread/aio_fsync.c: Likewise.
10823 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10825 * conform/Makefile (tests): Run only when not cross-compiling and
10826 when fast-check is not defined.
10828 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10829 * conform/data/limits.h-data: Fixes for POSIX2008.
10830 * conform/run-conformtest.sh: Run all tests.
10831 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10833 * include/bits/dlfcn.h: Likewise.
10834 * include/langinfo.h: Likewise.
10835 * include/monetary.h: Likewise.
10836 * include/sys/poll.h: Likewise.
10838 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10840 * posix/spawn.h: Define __need_sigset_t.
10841 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10842 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10843 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10844 to get sigevent_t only.
10845 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10846 only for __USE_GNU.
10847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10848 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10849 process_vm_writev only for __USE_GNU.
10850 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10852 * conform/Makefile: For now ignore errors from run-conformtest.
10853 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10854 POSIX to avoid namespace pollution. Don't prepend headers.
10855 * conform/data/aio.h-data: Fixes for POSIX testing.
10856 * conform/data/fcntl.h-data: Likewise.
10857 * conform/data/glob.h-data: Likewise.
10858 * conform/data/grp.h-data: Likewise.
10859 * conform/data/pthread.h-data: Likewise.
10860 * conform/data/pwd.h-data: Likewise.
10861 * conform/data/signal.h-data: Likewise.
10862 * conform/data/spawn.h-data: Likewise.
10863 * conform/data/stdio.h-data: Likewise.
10864 * conform/data/stdlib.h-data: Likewise.
10865 * conform/data/stropts.h-data: Likewise.
10866 * conform/data/sys/mman.h-data: Likewise.
10867 * conform/data/sys/stat.h-data: Likewise.
10868 * conform/data/sys/types.h-data: Likewise.
10869 * conform/data/sys/wait.h-data: Likewise.
10870 * conform/data/time.h-data: Likewise.
10871 * conform/data/unistd.h-data: Likewise.
10872 * conform/data/utime.h-data: Likewise.
10874 * io/sys/stat.h: fchmod was always in POSIX.
10875 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10876 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10877 * rt/aio.h: Define __need_timespec before including <time.h>.
10878 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10879 struct. Add forward declaration of pthread_attr_t and use it in
10881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10883 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10884 always remove CLK_TCK definition.
10886 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10888 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10890 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10892 * conform/run-conformtest.sh: New file.
10893 * conform/Makefile: Run run-conformtest for tests.
10894 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10897 * conform/data/uchar.h-data: New file.
10898 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10899 * conform/data/arpa/inet.h-data: Likewise.
10900 * conform/data/assert.h-data: Likewise.
10901 * conform/data/complex.h-data: Likewise.
10902 * conform/data/cpio.h-data: Likewise.
10903 * conform/data/ctype.h-data: Likewise.
10904 * conform/data/dirent.h-data: Likewise.
10905 * conform/data/dlfcn.h-data: Likewise.
10906 * conform/data/errno.h-data: Likewise.
10907 * conform/data/fcntl.h-data: Likewise.
10908 * conform/data/float.h-data: Likewise.
10909 * conform/data/fmtmsg.h-data: Likewise.
10910 * conform/data/fnmatch.h-data: Likewise.
10911 * conform/data/ftw.h-data: Likewise.
10912 * conform/data/glob.h-data: Likewise.
10913 * conform/data/grp.h-data: Likewise.
10914 * conform/data/iconv.h-data: Likewise.
10915 * conform/data/inttypes.h-data: Likewise.
10916 * conform/data/langinfo.h-data: Likewise.
10917 * conform/data/libgen.h-data: Likewise.
10918 * conform/data/limits.h-data: Likewise.
10919 * conform/data/locale.h-data: Likewise.
10920 * conform/data/math.h-data: Likewise.
10921 * conform/data/monetary.h-data: Likewise.
10922 * conform/data/mqueue.h-data: Likewise.
10923 * conform/data/ndbm.h-data: Likewise.
10924 * conform/data/net/if.h-data: Likewise.
10925 * conform/data/netdb.h-data: Likewise.
10926 * conform/data/netinet/in.h-data: Likewise.
10927 * conform/data/nl_types.h-data: Likewise.
10928 * conform/data/poll.h-data: Likewise.
10929 * conform/data/pthread.h-data: Likewise.
10930 * conform/data/pwd.h-data: Likewise.
10931 * conform/data/regex.h-data: Likewise.
10932 * conform/data/sched.h-data: Likewise.
10933 * conform/data/search.h-data: Likewise.
10934 * conform/data/semaphore.h-data: Likewise.
10935 * conform/data/setjmp.h-data: Likewise.
10936 * conform/data/signal.h-data: Likewise.
10937 * conform/data/spawn.h-data: Likewise.
10938 * conform/data/stdarg.h-data: Likewise.
10939 * conform/data/stdio.h-data: Likewise.
10940 * conform/data/stdlib.h-data: Likewise.
10941 * conform/data/string.h-data: Likewise.
10942 * conform/data/strings.h-data: Likewise.
10943 * conform/data/stropts.h-data: Likewise.
10944 * conform/data/sys/ipc.h-data: Likewise.
10945 * conform/data/sys/mman.h-data: Likewise.
10946 * conform/data/sys/msg.h-data: Likewise.
10947 * conform/data/sys/resource.h-data: Likewise.
10948 * conform/data/sys/select.h-data: Likewise.
10949 * conform/data/sys/sem.h-data: Likewise.
10950 * conform/data/sys/shm.h-data: Likewise.
10951 * conform/data/sys/socket.h-data: Likewise.
10952 * conform/data/sys/stat.h-data: Likewise.
10953 * conform/data/sys/statvfs.h-data: Likewise.
10954 * conform/data/sys/time.h-data: Likewise.
10955 * conform/data/sys/timeb.h-data: Likewise.
10956 * conform/data/sys/times.h-data: Likewise.
10957 * conform/data/sys/types.h-data: Likewise.
10958 * conform/data/sys/uio.h-data: Likewise.
10959 * conform/data/sys/un.h-data: Likewise.
10960 * conform/data/sys/utsname.h-data: Likewise.
10961 * conform/data/sys/wait.h-data: Likewise.
10962 * conform/data/syslog.h-data: Likewise.
10963 * conform/data/tar.h-data: Likewise.
10964 * conform/data/termios.h-data: Likewise.
10965 * conform/data/utime.h-data: Likewise.
10966 * conform/data/utmpx.h-data: Likewise.
10967 * conform/data/varargs.h-data: Likewise.
10968 * conform/data/wchar.h-data: Likewise.
10969 * conform/data/wctype.h-data: Likewise.
10970 * conform/data/wordexp.h-data: Likewise.
10972 * include/stropts.h: New file.
10973 * include/uchar.h: New file.
10974 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10975 * include/assert.h: Likewise.
10976 * include/ctype.h: Likewise.
10977 * include/dirent.h: Likewise.
10978 * include/dlfcn.h: Likewise.
10979 * include/fcntl.h: Likewise.
10980 * include/fnmatch.h: Likewise.
10981 * include/glob.h: Likewise.
10982 * include/grp.h: Likewise.
10983 * include/libio.h: Likewise.
10984 * include/locale.h: Likewise.
10985 * include/math.h: Likewise.
10986 * include/net/if.h: Likewise.
10987 * include/netdb.h: Likewise.
10988 * include/netinet/in.h: Likewise.
10989 * include/pthread.h: Likewise.
10990 * include/pwd.h: Likewise.
10991 * include/regex.h: Likewise.
10992 * include/sched.h: Likewise.
10993 * include/search.h: Likewise.
10994 * include/setjmp.h: Likewise.
10995 * include/signal.h: Likewise.
10996 * include/stdio.h: Likewise.
10997 * include/stdlib.h: Likewise.
10998 * include/string.h: Likewise.
10999 * include/sys/cdefs.h: Likewise.
11000 * include/sys/mman.h: Likewise.
11001 * include/sys/msg.h: Likewise.
11002 * include/sys/resource.h: Likewise.
11003 * include/sys/select.h: Likewise.
11004 * include/sys/socket.h: Likewise.
11005 * include/sys/stat.h: Likewise.
11006 * include/sys/statvfs.h: Likewise.
11007 * include/sys/time.h: Likewise.
11008 * include/sys/times.h: Likewise.
11009 * include/sys/uio.h: Likewise.
11010 * include/sys/utsname.h: Likewise.
11011 * include/sys/wait.h: Likewise.
11012 * include/termios.h: Likewise.
11013 * include/time.h: Likewise.
11014 * include/ulimit.h: Likewise.
11015 * include/unistd.h: Likewise.
11016 * include/utime.h: Likewise.
11017 * include/wchar.h: Likewise.
11018 * include/wctype.h: Likewise.
11019 * include/wordexp.h: Likewise.
11021 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11023 * time/time.h: TIME_UTC must be a macro.
11024 Make timespec_get available for ISO C11 only as well.
11026 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11028 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11029 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11031 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11033 * configure.in: Use -o not -a in test for unsupported multi-arch.
11035 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11037 * manual/texinfo.tex: Update to version 2012-01-19.16.
11039 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11041 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11043 2012-02-24 Roland McGrath <roland@hack.frob.com>
11046 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11047 * manual/fdl-1.3.texi: New file.
11048 * manual/fdl-1.1.texi: File removed.
11051 * manual/libc.texinfo (FDL_VERSION): New @set.
11052 Use it for mention of FDL in cover text.
11053 (Documentation License): Use it in @include file name.
11055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11056 Roland McGrath <roland@hack.frob.com>
11059 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11060 not LONG_LONG_MAX and LONG_LONG_MIN.
11061 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11062 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11064 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11066 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11070 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11071 manipulate bits before adding and subtracting TWO23[sx].
11072 * math/libm-test.inc (nearbyint_test): Add more tests.
11074 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11077 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11078 bits before adding and subtracting TWO23[sx].
11079 * math/libm-test.inc (rint_test): Add more tests.
11080 (rint_test_tonearest): Likewise.
11081 (rint_test_towardzero): Likewise.
11082 (rint_test_downward): Likewise.
11083 (rint_test_upward: Likewise.
11085 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11088 * include/stdc-predef.h: New file. Extracted from features.h.
11089 * include/features.h: Include stdc-predef.h.
11090 * Makefile (headers): Add stdc-predef.h.
11091 * CONFORMANCE (Compiler limitations): Update.
11093 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11095 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11097 2012-02-21 David S. Miller <davem@davemloft.net>
11099 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11100 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11102 2012-02-20 David S. Miller <davem@davemloft.net>
11104 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11105 using a normal save/restore sequence, rather than allocating a
11106 dummy stack frame just to store a frame pointer and restore.
11107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11109 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11111 * manual/install.texi: Fix stray word in line-wrapped comment.
11113 2012-02-20 David S. Miller <davem@davemloft.net>
11115 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11116 both binutils and gcc support GOTDATA.
11118 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11119 "rd %pc" in the PIC register setup sequences.
11121 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11122 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11123 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11124 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11125 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11128 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11130 (SYSCALL_ERROR_HANDLER): Likewise.
11131 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11134 (SYSCALL_ERROR_HANDLER): Likewise.
11136 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11137 (HAVE_GCC_GOTDATA): New.
11138 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11139 relocation support in both binutils and gcc.
11140 * sysdeps/sparc/elf/configure: Regenerate.
11142 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11143 * sysdeps/sparc/sparc32/elf/configure: Delete.
11144 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11145 * sysdeps/sparc/sparc64/elf/configure: Delete.
11146 * sysdeps/sparc/elf/configure.in: New file.
11147 * sysdeps/sparc/elf/configure: Generate.
11149 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11150 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11151 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11152 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11153 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11155 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11157 * manual/install.texi: Do not mention specific glibc version
11159 * manual/libc.texinfo (VERSION, UPDATED): Update.
11160 (@copying): Use @copyright{} and range of years.
11162 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11165 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11166 [crti.S not in sysdirs] (generated): Do not append.
11167 [crti.S not in sysdirs] (omit-deps): Likewise.
11168 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11169 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11170 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11171 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11172 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11174 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11175 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11176 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11177 * csu/defs.awk: Remove file.
11178 * sysdeps/generic/initfini.c: Likewise.
11179 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11181 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11184 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11186 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11187 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11190 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11191 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11193 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11194 (__EPOLL_PACKED): Define to empty if not defined by
11196 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11200 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11202 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11203 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11204 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11205 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11207 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11211 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11213 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11216 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11217 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11220 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11222 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11223 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11225 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11227 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11228 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11230 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11232 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11235 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11237 * math/w_acos.c: Use non-signaling floating-point comparisons.
11238 * math/w_acosf.c: Likewise.
11239 * math/w_acosh.c: Likewise.
11240 * math/w_acoshf.c: Likewise.
11241 * math/w_acoshl.c: Likewise.
11242 * math/w_acosl.c: Likewise.
11243 * math/w_asin.c: Likewise.
11244 * math/w_asinf.c: Likewise.
11245 * math/w_asinl.c: Likewise.
11246 * math/w_atanh.c: Likewise.
11247 * math/w_atanhf.c: Likewise.
11248 * math/w_atanhl.c: Likewise.
11249 * math/w_exp2.c: Likewise.
11250 * math/w_exp2f.c: Likewise.
11251 * math/w_exp2l.c: Likewise.
11252 * math/w_j0.c: Likewise.
11253 * math/w_j0f.c: Likewise.
11254 * math/w_j0l.c: Likewise.
11255 * math/w_j1.c: Likewise.
11256 * math/w_j1f.c: Likewise.
11257 * math/w_j1l.c: Likewise.
11258 * math/w_jn.c: Likewise.
11259 * math/w_jnf.c: Likewise.
11260 * math/w_log.c: Likewise.
11261 * math/w_log10.c: Likewise.
11262 * math/w_log10f.c: Likewise.
11263 * math/w_log10l.c: Likewise.
11264 * math/w_log2.c: Likewise.
11265 * math/w_log2f.c: Likewise.
11266 * math/w_log2l.c: Likewise.
11267 * math/w_logf.c: Likewise.
11268 * math/w_logl.c: Likewise.
11269 * math/w_sqrt.c: Likewise.
11270 * math/w_sqrtf.c: Likewise.
11271 * math/w_sqrtl.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11275 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11276 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11278 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11281 * manual/string.texi (strnlen): Use correct parameter name in
11282 equivalent expression.
11284 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11287 * manual/users.texi (seteuid): Consistently use neweuid for
11290 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11293 * manual/nss.texi (Services in the NSS configuration): Correct
11294 list of services in example configuration file.
11296 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11299 * manual/arith.texi: Remove statements about negative zero
11300 behaving identically to zero.
11302 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11305 * manual/install.texi: Do not document upgrading from libc5.
11307 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11310 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11312 2012-02-18 David S. Miller <davem@davemloft.net>
11314 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11315 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11316 %o7 across the call.
11317 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11320 SETUP_PIC_REG_LEAF.
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11322 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11323 * sysdeps/sparc/crtn.S: Likewise.
11325 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11327 * aout/Makefile: Remove.
11329 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11332 * manual/examples/argp-ex1.c (main): Format definition in GNU
11334 * manual/examples/argp-ex2.c (main): Likewise.
11335 * manual/examples/argp-ex3.c (main): Likewise.
11336 * manual/examples/argp-ex4.c (main): Likewise.
11337 * manual/examples/longopt.c (main): Use new-style prototype
11339 * manual/examples/strncat.c (main): Specify return type and use
11340 (void) for arguments.
11341 * manual/examples/subopt.c (main): Use char **argv argument.
11343 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11346 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11349 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11352 * manual/string.texi (strchr): Change when strchrnul is
11355 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11358 * manual/locale.texi (setlocale): Document LOCPATH.
11360 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11363 * manual/process.texi (execle): Move @dots{} before last argument.
11365 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11368 * manual/charset.texi (Generic Charset Conversion): Fix typo
11369 (LC_TYPE -> LC_CTYPE).
11371 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11374 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11375 (scalbnf): Likewise.
11376 (scalbnl): Likewise.
11377 (scalbln): Likewise.
11378 (scalblnf): Likewise.
11379 (scalblnl): Likewise.
11380 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11381 (vwarnx): Likewise.
11384 * manual/filesys.texi (telldir): Use braces around return type.
11385 * manual/llio.texi (mmap): Add space after comma.
11386 (mmap64): Likewise.
11387 * manual/math.texi (jn): Use @var{} on parameter names.
11393 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11395 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11397 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11398 (sched_get_priority_max): Likewise.
11399 * manual/signal.texi (sigvec): Add space after comma.
11400 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11402 (if_indextoname): Likewise.
11403 (if_freenameindex): Likewise.
11404 (sendto): Use ',' instead of '.' in prototype.
11405 * manual/startup.texi (syscall): Use @dots{} instead of literal
11407 * manual/stdio.texi (__fpending): Separate initial words of
11408 paragraph from @deftypefun line.
11409 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11411 (vsyslog): Use @var{} on parameter names.
11412 * manual/terminal.texi (stty): Use @var{} on parameter names.
11413 * manual/users.texi (getutmp): Use @var{} on parameter names.
11414 (getutmpx): Likewise.
11416 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11419 * manual/stdio.texi (fopen): Fix typos in description of
11422 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11425 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11426 get clock_id definition.
11428 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11431 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11432 (madvise): Cast every argument to void on its own.
11434 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11437 * manual/startup.texi (Exit Status): Fix typo.
11439 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11442 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11443 * manual/examples/argp-ex2.c: Likewise.
11444 * manual/examples/argp-ex3.c: Likewise.
11446 2012-02-16 Richard Henderson <rth@redhat.com>
11448 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11449 * sysdeps/s390/s390-32/initfini.c: Remove.
11450 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11451 * sysdeps/s390/s390-64/initfini.c: Remove.
11453 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11455 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11456 compiler output for sysdeps/generic/initfini.c.
11457 * sysdeps/sh/elf/initfini.c: Remove file.
11459 2012-02-16 David S. Miller <davem@davemloft.net>
11462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11464 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11465 * sysdeps/sparc/crti.S: New file.
11466 * sysdeps/sparc/crtn.S: New file.
11467 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11468 * sysdeps/sparc/sparc64/Makefile: Likewise.
11470 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11473 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11475 2012-02-15 Roland McGrath <roland@hack.frob.com>
11478 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11480 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11481 (write, read, close): Likewise.
11482 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11484 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11486 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11487 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11488 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11489 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11491 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11495 2012-02-14 Marek Polacek <polacek@redhat.com>
11497 * sysdeps/x86_64/crti.S: New file.
11498 * sysdeps/x86_64/crtn.S: New file.
11499 * sysdeps/x86_64/elf/initfini.c: Remove file.
11501 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11503 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11504 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11505 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11506 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11508 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11512 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11514 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11515 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11516 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11517 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11519 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11523 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11525 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11526 __feraiseexcept instead of feraiseexcept.
11528 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11529 nanosleep invocations.
11530 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11531 strings, and add error checking for a nanosleep invocations.
11533 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11535 Replace FSF snail mail address with URLs, as per GNU coding standards.
11536 Most of the snail mail addresses were wrong anyway, and omitting
11537 them makes the source code easier to maintain. Almost all of the
11538 changes are to license notices and to locale LC_IDENTIFICATION
11539 addresses, except for this one:
11540 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11541 not its snail mail address.
11543 2012-02-09 Richard Henderson <rth@twiddle.net>
11545 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11546 of kernel-features.h.
11548 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11550 2012-02-08 Marek Polacek <polacek@redhat.com>
11552 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11553 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11554 * sysdeps/gnu/_G_config.h: Likewise.
11555 * sysdeps/generic/_G_config.h: Likewise.
11557 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11559 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11563 * sysdeps/powerpc/powerpc32/crti.S: New file.
11564 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11565 * sysdeps/powerpc/powerpc64/crti.S: New file.
11566 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11568 * Makeconfig (have-initfini): Don't set.
11569 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11570 * configure.in (nopic_initfini): Don't substitute.
11571 * config.h.in (HAVE_INITFINI): Don't #undef.
11572 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11573 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11575 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11577 Support crti.S and crtn.S provided directly by architectures.
11578 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11579 [crti.S in sysdirs] (omit-deps): Likewise.
11580 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11581 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11582 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11583 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11584 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11585 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11586 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11587 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11588 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11589 compiler output for sysdeps/generic/initfini.c.
11590 * sysdeps/i386/elf/Makefile: Remove file.
11591 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11593 2012-02-07 Marek Polacek <polacek@redhat.com>
11595 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11596 * sysdeps/gnu/_G_config.h: Likewise.
11597 * sysdeps/mach/hurd/_G_config.h: Likewise.
11599 2012-02-07 Marek Polacek <polacek@redhat.com>
11601 * math/Makefile (tests): Add tst-CMPLX2.
11602 * math/tst-CMPLX2.c: New file.
11604 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11608 * math/libm-test.inc (jn_test): Add missing L suffix.
11610 2012-02-06 Marek Polacek <polacek@redhat.com>
11612 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11613 * sysdeps/i386/fpu/e_powf.S: Likewise.
11614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11615 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11616 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11617 * sysdeps/i386/fpu/e_pow.S: Likewise.
11618 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11620 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11621 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11622 * sysdeps/i386/fpu/e_log2.S: Likewise.
11623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11624 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11625 * sysdeps/i386/fpu/e_powl.S: Likewise.
11626 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11627 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11628 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11629 * sysdeps/i386/fpu/e_logl.S: Likewise.
11630 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11631 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11632 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11633 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11634 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11635 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11636 * sysdeps/i386/fpu/e_log.S: Likewise.
11637 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11638 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11639 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11640 * sysdeps/i386/fpu/e_logf.S: Likewise.
11641 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11642 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11643 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11644 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11645 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11646 * sysdeps/i386/fpu/e_log10.S: Likewise.
11647 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11649 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11650 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11651 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11652 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11653 * sysdeps/i386/asm-syntax.h: Likewise.
11654 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11656 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11657 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11658 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11659 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11660 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11661 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11662 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11663 * sysdeps/powerpc/sysdep.h: Likewise.
11664 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11665 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11667 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11670 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11672 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11674 * sysdeps/i386/sysdep.h: Include <features.h>.
11675 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11678 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11680 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11682 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11685 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11687 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11688 (SETUP_PIC_REG): Use GET_PC_THUNK.
11689 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11694 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11695 for non-PIC compilation.
11696 (SETUP_PIC_REG): Add .p2align directive.
11697 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11698 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11699 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11700 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11701 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11702 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11703 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11704 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11705 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11706 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11707 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11708 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11709 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11710 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11711 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11712 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11713 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11714 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11715 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11716 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11717 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11719 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11720 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11723 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11724 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11725 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11726 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11727 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11728 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11729 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11730 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11731 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11732 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11733 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11734 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11735 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11736 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11737 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11739 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11741 * math/tst-CMPLX.c: Include <stdio.h>.
11743 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11745 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11747 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11748 * sysdeps/sparc/bits/mathdef.h: Likewise.
11750 2012-01-31 Marek Polacek <polacek@redhat.com>
11752 * libio/libio.h: Don't define _PARAMS.
11753 * locale/programs/config.h: Don't define PARAMS.
11754 * stdlib/strtol_l.c: Likewise.
11755 (__strtol_l): Remove PARAMS from the prototype.
11757 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11759 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11760 names. Just use the correct names. Remove unnecessary wrapper
11762 * malloc/arena.c: Likewise.
11763 * malloc/hooks.c: Likewise.
11765 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11766 ARENA_TEST says not to. Simplify test for creation of a new arena.
11767 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11769 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11771 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11773 (update_get_addr): New function.
11774 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11775 GET_ADDR_MODULE parameter.
11777 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11779 * crypt/cert.c: Remove __STDC__ conditionals.
11780 * crypt/crypt-entry.c: Likewise.
11781 * crypt/crypt_util.c: Likewise.
11782 * libio/filedoalloc.c: Likewise.
11783 * libio/fileops.c: Likewise.
11784 * libio/genops.c: Likewise.
11785 * libio/iofclose.c: Likewise.
11786 * libio/iofdopen.c: Likewise.
11787 * libio/iofopen.c: Likewise.
11788 * libio/iofopen64.c: Likewise.
11789 * libio/iogetdelim.c: Likewise.
11790 * libio/iopopen.c: Likewise.
11791 * libio/obprintf.c: Likewise.
11792 * libio/oldfileops.c: Likewise.
11793 * libio/oldiofclose.c: Likewise.
11794 * libio/oldiofdopen.c: Likewise.
11795 * libio/oldiofopen.c: Likewise.
11796 * libio/oldiopopen.c: Likewise.
11797 * libio/wfiledoalloc.c: Likewise.
11798 * libio/wgenops.c: Likewise.
11799 * locale/programs/xmalloc.c: Likewise.
11800 * misc/syslog.c: Likewise.
11801 * stdio-common/xbug.c: Likewise.
11802 * string/memchr.c: Likewise.
11803 * string/memcmp.c: Likewise.
11804 * string/memrchr.c: Likewise.
11805 * string/rawmemchr.c: Likewise.
11806 * sysdeps/posix/getcwd.c: Likewise.
11807 * time/strftime_l.c: Likewise.
11809 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11811 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11812 * config.make.in (config-cflags-sse2avx): Define.
11813 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11816 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11818 * scripts/config.guess: Update from upstream config git repository.
11819 * scripts/config.sub: Likewise.
11821 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11823 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11825 (R_TILEPRO_*, R_TILEGX_*): New macros.
11827 * scripts/firstversions.awk: Fix bug in version range handling.
11829 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11831 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11833 * include/sys/epoll.h: New file.
11834 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11837 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11839 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11840 Avoid unnecessary __WORDSIZE == 64 test.
11841 (fmaxf): Use VEX format if possible.
11846 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11847 * math/math_private.h: Remove libc_fegetround* and
11849 * sysdeps/i386/configure.in: Check for -msse2avx.
11850 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11851 also if SSE2AVX is defined.
11852 Remove libc_fegetround* and libc_fesetround*.
11853 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11854 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11855 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11863 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11865 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11867 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11871 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11874 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11876 * Makeconfig (libm): Define.
11877 * elf/Makefile: Add rules to build and run tst-relsort1.
11878 * elf/tst-relsort1.c: New file.
11879 * elf/tst-relsort1mod1.c: New file.
11880 * elf/tst-relsort1mod2.c: New file.
11882 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11884 * math/s_ldexp.c: Remove __STDC__ conditionals.
11885 * math/s_ldexpf.c: Likewise.
11886 * math/s_ldexpl.c: Likewise.
11887 * math/s_nextafter.c: Likewise.
11888 * math/s_nexttowardf.c: Likewise.
11889 * math/s_significand.c: Likewise.
11890 * math/s_significandf.c: Likewise.
11891 * math/s_significandl.c: Likewise.
11892 * math/w_jnl.c: Likewise.
11893 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11894 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11895 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11896 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11897 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11905 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11906 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11912 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11913 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11914 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11915 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11917 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11918 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11920 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11921 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11922 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11923 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11924 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11925 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11926 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11928 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11929 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11931 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11932 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11933 * sysdeps/ieee754/k_standard.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12000 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12003 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12004 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12009 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12011 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12013 * sysdeps/ieee754/s_matherr.c: Likewise.
12014 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12015 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12019 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12021 * crypt/md5.h: Remove __STDC__ conditionals.
12022 * libio/libioP.h: Likewise.
12023 * locale/programs/config.h: Likewise.
12024 * sysdeps/generic/sysdep.h: Likewise.
12025 * sysdeps/i386/asm-syntax.h: Likewise.
12026 * sysdeps/s390/asm-syntax.h: Likewise.
12027 * sysdeps/unix/sysdep.h: Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12031 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12033 * libio/libio.h: Remove __STDC__ conditionals.
12034 * malloc/obstack.h: Likewise.
12035 * math/complex.h: Likewise.
12036 * math/math.h: Likewise.
12037 * sysdeps/generic/_G_config.h: Likewise.
12038 * sysdeps/gnu/_G_config.h: Likewise.
12039 * sysdeps/mach/hurd/_G_config.h: Likewise.
12040 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12041 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12042 * sysdeps/sparc/bits/mathdef.h: Likewise.
12044 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12047 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12048 Clean up HAS_* macros.
12049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12050 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12052 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12054 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12055 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12058 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12060 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12062 * elf/tst-unique3.cc (gets): Remove declaration.
12063 * elf/tst-unique3lib.cc (gets): Likewise.
12064 * elf/tst-unique3lib2.cc (gets): Likewise.
12065 * elf/tst-unique4.cc (gets): Likewise.
12067 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12069 * include/stdio.h: Add C++ protection. Add gets declarations and
12071 * debug/tst-chk1.c: Don't declare gets here.
12072 * stdio-common/tst-gets.c: Likewise.
12074 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12076 * posix/glob: Remove directory.
12078 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12080 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12082 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12084 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12085 of the non-standard EPFNOSUPPORT.
12087 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12089 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12090 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12091 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12093 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12095 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12097 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12099 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12101 * nscd/grpcache.c (cache_addgr): Likewise.
12102 * nscd/hstcache.c (cache_addhst): Likewise.
12103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12104 * nscd/pwdcache.c (cache_addpw): Likewise.
12105 * nscd/servicescache.c (cache_addserv): Likewise.
12107 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12109 * malloc/malloc.c: Various cleanups.
12110 * malloc/hooks.c: Likewise.
12112 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12113 * stdlib/bug-fmtmsg1.c: New file.
12115 * stdlib/fmtmsg.c (init): Add missing unlock.
12116 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12118 2012-01-12 Marek Polacek <polacek@redhat.com>
12120 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12123 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12125 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12126 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12127 macro to ensure uniqueness of label name.
12128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12131 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12133 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12135 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12136 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12140 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12142 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12144 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12145 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12146 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12148 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12150 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12151 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12152 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12155 * math/bits/math-finite.h: Add ldexp support.
12157 2012-01-10 Marek Polacek <polacek@redhat.com>
12159 * locale/programs/localedef.h (show_archive_content): Add noreturn
12162 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12164 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12166 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12168 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12170 * io/Makefile (headers): Add bits/poll2.h.
12172 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12175 typo #include statement.
12177 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12179 * include/sys/cdefs.h: Define __attribute_alloc_size.
12180 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12181 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12182 * elf/pldd.c: Likewise.
12183 * iconv/iconv_charmap.c: Likewise.
12184 * iconv/iconvconfig.c: Likewise.
12185 * iconv/strtab.c: Likewise.
12186 * locale/programs/locale.c: Likewise.
12187 * locale/programs/localedef.h: Likewise.
12188 * locale/programs/simple-hash.c: Likewise.
12189 * nscd/nscd.h: Likewise.
12190 * nss/makedb.c: Likewise.
12191 * sysdeps/generic/ldconfig.h: Likewise.
12192 * locale/programs/localedef.c: Remove xmalloc prototype.
12193 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12195 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12197 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12200 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12202 * math/Makefile (tests): Add tst-CMPLX.
12203 * math/tst-CMPLX.c: New file.
12205 * math/complex.h (CMPLXL): Fix typo.
12207 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12208 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12210 * debug/tst-chk1.c: Add poll and ppoll tests.
12211 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12212 * include/sys/poll.h: Add hidden proto for ppoll.
12213 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12214 * sysdeps/mach/hurd/ppoll.c: Likewise.
12215 * io/ppoll.c: Likewise.
12216 * debug/poll_chk.c: New file.
12217 * debug/ppoll_chk.c: New file.
12218 * include/bits/poll2.h: New file.
12219 * io/bits/poll2.h: New file.
12222 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12224 * configure.in: static is always set to yes. Remove.
12225 * config.make.in: Don't set build-static.
12226 * Makeconfig: Remove use of build-static.
12227 * dlfcn/Makefile: Likewise.
12228 * elf/Makefile: Likewise.
12229 * math/Makefile: Likewise.
12230 * misc/Makefile: Likewise.
12231 * nptl/Makefile: Likewise.
12232 * sysdeps/mach/hurd/Makefile: Likewise.
12234 * configure.in: PWD_P is not used anymore.
12235 * config.make.in: Remove PWD_P entry.
12237 * configure.in: Remove last remnants of RANLIB.
12238 No need to check for signed size_t anymore.
12239 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12241 Remove __builtin_expect test because we require at least gcc 3.4.
12242 * aclocal.m4: Likewise.
12244 * wcsmbs/mbrtoc16.c: Implement using towc function.
12245 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12246 * wcsmbs/wcsmbsload.c: Likewise.
12247 * iconv/gconv_simple.c: Likewise.
12248 * iconv/gconv_int.h: Likewise.
12249 * iconv/gconv_builtin.h: Likewise.
12250 * iconv/iconv_prog.c: Remove CHAR16 handling.
12252 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12254 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12256 * configure.in: Remove --with-elf and --enable-bounded options.
12257 Dont set base_machine for ia64. More non-ELF conditions removed.
12258 Remove testing and setting of leading underscore information.
12259 * config.make.in (build-bounded): Set to no.
12260 * config.h.in: Remove NO_UNDERSCORES entry.
12261 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12263 * csu/start.c: Remove !NO_UNDERSCORE code.
12264 * locale/localeinfo.h: Likewise.
12265 * sysdeps/generic/machine-gmon.h: Likewise.
12266 * sysdeps/generic/sysdep.h: Likewise.
12267 * sysdeps/i386/sysdep.h: Likewise.
12268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12269 * sysdeps/mach/sysdep.h: Likewise.
12270 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12272 * sysdeps/sh/sysdep.h: Likewise.
12273 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12274 * sysdeps/unix/i386/sysdep.S: Likewise.
12275 * sysdeps/unix/sparc/start.c: Likewise.
12276 * sysdeps/unix/sparc/sysdep.S: Likewise.
12277 * sysdeps/unix/sparc/sysdep.h: Likewise.
12278 * sysdeps/unix/start.c: Likewise.
12279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12280 * sysdeps/x86_64/sysdep.h: Likewise.
12282 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12285 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12287 * argp/argp-fmtstream.h: Use const instead __const.
12288 * argp/argp.h: Likewise.
12289 * assert/assert.h: Likewise.
12290 * bits/fenv.h: Likewise.
12291 * bits/sched.h: Likewise.
12292 * bits/sigset.h: Likewise.
12293 * bits/sigthread.h: Likewise.
12294 * catgets/nl_types.h: Likewise.
12295 * conform/data/pthread.h-data: Likewise.
12296 * crypt/crypt-private.h: Likewise.
12297 * crypt/crypt.h: Likewise.
12298 * crypt/crypt_util.c: Likewise.
12299 * ctype/ctype.h: Likewise.
12300 * debug/execinfo.h: Likewise.
12301 * debug/mbsnrtowcs_chk.c: Likewise.
12302 * debug/mbsrtowcs_chk.c: Likewise.
12303 * debug/wcsnrtombs_chk.c: Likewise.
12304 * debug/wcsrtombs_chk.c: Likewise.
12305 * debug/wcstombs_chk.c: Likewise.
12306 * dirent/dirent.h: Likewise.
12307 * dlfcn/dlfcn.h: Likewise.
12308 * elf/neededtest4.c: Likewise.
12309 * grp/grp.h: Likewise.
12310 * gshadow/gshadow.h: Likewise.
12311 * iconv/gconv.h: Likewise.
12312 * iconv/gconv_int.h: Likewise.
12313 * iconv/gconv_simple.c: Likewise.
12314 * iconv/iconv.h: Likewise.
12315 * iconv/loop.c: Likewise.
12316 * iconv/skeleton.c: Likewise.
12317 * include/aio.h: Likewise.
12318 * include/aliases.h: Likewise.
12319 * include/argz.h: Likewise.
12320 * include/arpa/inet.h: Likewise.
12321 * include/assert.h: Likewise.
12322 * include/dirent.h: Likewise.
12323 * include/dlfcn.h: Likewise.
12324 * include/execinfo.h: Likewise.
12325 * include/fcntl.h: Likewise.
12326 * include/fenv.h: Likewise.
12327 * include/glob.h: Likewise.
12328 * include/grp.h: Likewise.
12329 * include/libintl.h: Likewise.
12330 * include/mntent.h: Likewise.
12331 * include/netdb.h: Likewise.
12332 * include/pwd.h: Likewise.
12333 * include/rpc/netdb.h: Likewise.
12334 * include/sched.h: Likewise.
12335 * include/search.h: Likewise.
12336 * include/shadow.h: Likewise.
12337 * include/signal.h: Likewise.
12338 * include/stdio.h: Likewise.
12339 * include/stdlib.h: Likewise.
12340 * include/string.h: Likewise.
12341 * include/sys/socket.h: Likewise.
12342 * include/sys/stat.h: Likewise.
12343 * include/sys/statfs.h: Likewise.
12344 * include/sys/statvfs.h: Likewise.
12345 * include/sys/syslog.h: Likewise.
12346 * include/sys/time.h: Likewise.
12347 * include/sys/uio.h: Likewise.
12348 * include/time.h: Likewise.
12349 * include/unistd.h: Likewise.
12350 * include/utmp.h: Likewise.
12351 * include/wchar.h: Likewise.
12352 * include/wctype.h: Likewise.
12353 * inet/aliases.h: Likewise.
12354 * inet/arpa/inet.h: Likewise.
12355 * inet/netinet/ether.h: Likewise.
12356 * inet/netinet/in.h: Likewise.
12357 * intl/libintl.h: Likewise.
12358 * io/bits/fcntl2.h: Likewise.
12359 * io/fcntl.h: Likewise.
12360 * io/ftw.h: Likewise.
12361 * io/sys/poll.h: Likewise.
12362 * io/sys/stat.h: Likewise.
12363 * io/sys/statfs.h: Likewise.
12364 * io/sys/statvfs.h: Likewise.
12365 * io/utime.h: Likewise.
12366 * libio/bits/stdio.h: Likewise.
12367 * libio/bits/stdio2.h: Likewise.
12368 * libio/libio.h: Likewise.
12369 * libio/libioP.h: Likewise.
12370 * libio/stdio.h: Likewise.
12371 * locale/lc-ctype.c: Likewise.
12372 * locale/locale.h: Likewise.
12373 * login/utmp.h: Likewise.
12374 * malloc/arena.c: Likewise.
12375 * malloc/malloc.c: Likewise.
12376 * malloc/malloc.h: Likewise.
12377 * malloc/mcheck.c: Likewise.
12378 * malloc/mtrace.c: Likewise.
12379 * math/bits/mathcalls.h: Likewise.
12380 * math/fenv.h: Likewise.
12381 * math/math_private.h: Likewise.
12382 * misc/bits/error.h: Likewise.
12383 * misc/bits/syslog.h: Likewise.
12384 * misc/err.h: Likewise.
12385 * misc/error.h: Likewise.
12386 * misc/fstab.h: Likewise.
12387 * misc/mntent.h: Likewise.
12388 * misc/regexp.h: Likewise.
12389 * misc/search.h: Likewise.
12390 * misc/sgtty.h: Likewise.
12391 * misc/sys/mman.h: Likewise.
12392 * misc/sys/syslog.h: Likewise.
12393 * misc/sys/uio.h: Likewise.
12394 * misc/sys/xattr.h: Likewise.
12395 * misc/ttyent.h: Likewise.
12396 * nis/rpcsvc/ypclnt.h: Likewise.
12397 * nss/nss.h: Likewise.
12398 * posix/bits/unistd.h: Likewise.
12399 * posix/fnmatch.h: Likewise.
12400 * posix/glob.h: Likewise.
12401 * posix/sched.h: Likewise.
12402 * posix/spawn.h: Likewise.
12403 * posix/sys/wait.h: Likewise.
12404 * posix/unistd.h: Likewise.
12405 * posix/wordexp.h: Likewise.
12406 * pwd/pwd.h: Likewise.
12407 * resolv/netdb.h: Likewise.
12408 * resource/sys/resource.h: Likewise.
12409 * rt/aio.h: Likewise.
12410 * rt/bits/mqueue2.h: Likewise.
12411 * rt/mqueue.h: Likewise.
12412 * shadow/shadow.h: Likewise.
12413 * signal/signal.h: Likewise.
12414 * socket/send.c: Likewise.
12415 * socket/sendto.c: Likewise.
12416 * socket/sys/socket.h: Likewise.
12417 * stdio-common/printf.h: Likewise.
12418 * stdlib/bits/stdlib.h: Likewise.
12419 * stdlib/fmtmsg.h: Likewise.
12420 * stdlib/monetary.h: Likewise.
12421 * stdlib/stdlib.h: Likewise.
12422 * stdlib/ucontext.h: Likewise.
12423 * streams/stropts.h: Likewise.
12424 * string/argz.h: Likewise.
12425 * string/bits/string2.h: Likewise.
12426 * string/string.h: Likewise.
12427 * string/strings.h: Likewise.
12428 * sunrpc/rpc/auth.h: Likewise.
12429 * sunrpc/rpc/auth_des.h: Likewise.
12430 * sunrpc/rpc/clnt.h: Likewise.
12431 * sunrpc/rpc/netdb.h: Likewise.
12432 * sunrpc/rpc/pmap_clnt.h: Likewise.
12433 * sunrpc/rpc/xdr.h: Likewise.
12434 * sysdeps/generic/inttypes.h: Likewise.
12435 * sysdeps/generic/net/if.h: Likewise.
12436 * sysdeps/generic/sys/swap.h: Likewise.
12437 * sysdeps/gnu/net/if.h: Likewise.
12438 * sysdeps/gnu/utmpx.h: Likewise.
12439 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12440 * sysdeps/i386/i486/bits/string.h: Likewise.
12441 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12442 * sysdeps/s390/bits/string.h: Likewise.
12443 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12444 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12445 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12446 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12447 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12448 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12449 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12450 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12451 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12452 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12453 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12454 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12455 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12456 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12457 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12458 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12459 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12463 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12464 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12465 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12466 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12467 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12468 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12471 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12472 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12473 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12474 * sysvipc/sys/ipc.h: Likewise.
12475 * sysvipc/sys/msg.h: Likewise.
12476 * sysvipc/sys/sem.h: Likewise.
12477 * sysvipc/sys/shm.h: Likewise.
12478 * termios/termios.h: Likewise.
12479 * time/sys/time.h: Likewise.
12480 * time/time.h: Likewise.
12481 * wcsmbs/bits/wchar2.h: Likewise.
12482 * wcsmbs/uchar.h: Likewise.
12483 * wcsmbs/wchar.h: Likewise.
12484 * wctype/wctype.h: Likewise.
12487 * Makeconfig: Remove all but ELF support including AIX support.
12488 * Makerules: Likewise.
12489 * config.h.in: Likewise.
12490 * config.make.in: Likewise.
12491 * configure: Likewise.
12492 * configure.in: Likewise.
12493 * csu/Makefile: Likewise.
12494 * csu/version.c: Likewise.
12495 * debug/Makefile: Likewise.
12496 * dlfcn/Makefile: Likewise.
12497 * elf/Makefile: Likewise.
12498 * extra-lib.mk: Likewise.
12499 * iconv/Makefile: Likewise.
12500 * include/libc-symbols.h: Likewise.
12501 * include/shlib-compat.h: Likewise.
12502 * resolv/Makefile: Likewise.
12503 * resolv/res_libc.c: Likewise.
12504 * rt/Makefile: Likewise.
12505 * sysdeps/i386/asm-syntax.h: Likewise.
12506 * sysdeps/i386/sysdep.h: Likewise.
12507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12508 * sysdeps/mach/sysdep.h: Likewise.
12509 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12510 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12511 * sysdeps/s390/asm-syntax.h: Likewise.
12512 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12513 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12514 * sysdeps/sh/sysdep.h: Likewise.
12515 * sysdeps/unix/sparc/sysdep.h: Likewise.
12516 * sysdeps/wordsize-32/divdi3.c: Likewise.
12517 * sysdeps/x86_64/sysdep.h: Likewise.
12519 * argp/Versions: Remove _argp_unlock_xxx.
12522 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12523 * abilist/libBrokenLocale.abilist: Likewise.
12524 * abilist/libanl.abilist: Likewise.
12525 * abilist/libc.abilist: Likewise.
12526 * abilist/libcrypt.abilist: Likewise.
12527 * abilist/libdl.abilist: Likewise.
12528 * abilist/libm.abilist: Likewise.
12529 * abilist/libnsl.abilist: Likewise.
12530 * abilist/libpthread.abilist: Likewise.
12531 * abilist/libresolv.abilist: Likewise.
12532 * abilist/librt.abilist: Likewise.
12533 * abilist/libthread_db.abilist: Likewise.
12534 * abilist/libutil.abilist: Likewise.
12535 * abilist/libnss_db.abilist: New file.
12537 * scripts/abilist.awk: Add support for indirect functions.
12539 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12541 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12543 * shlib-versions: Remove entries for ports architectures.
12545 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12547 * elf/stackguard-macros.h: Remove support for IA-64.
12548 * elf/tst-auditmod1.c: Likewise.
12549 * sysdeps/generic/ldsodefs.h: Likewise.
12551 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12552 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12556 * configure.in: Remove --enable-omitfp support.
12558 * config.make.in: Likewise.
12559 * Makeconfig: Likewise.
12560 * manual/install.texi: Likewise.
12562 In case anyone cares, the IA-64 architecture could move to ports.
12563 * sysdeps/ia64/*: Removed.
12564 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12565 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12568 * configure.in: Remove entries for unsupported architectures.
12571 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12572 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12574 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12575 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12576 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12577 fall back to using wcrtomb.
12578 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12579 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12581 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12582 * wcsmbs/tst-c16c32-1.c: New file.
12584 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12587 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12589 * elf/tst-unique3.cc: Add explicit declaration of gets.
12590 * elf/tst-unique3lib.cc: Likewise.
12591 * elf/tst-unique3lib2.cc: Likewise.
12592 * elf/tst-unique4.cc: Likewise.
12594 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12596 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12599 * assert/assert.h (static_assert): Don't define for C++.
12600 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12601 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12603 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12605 * iconv/loop.c (single loop): Fix assertion in storing of
12608 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12610 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12612 * posix/getconf.c: Update copyright year.
12613 * nss/getent.c: Likewise.
12614 * nss/makedb.c: Likewise.
12615 * iconv/iconvconfig.c: Likewise.
12616 * iconv/iconv_prog.c: Likewise.
12617 * elf/ldconfig.c: Likewise.
12618 * elf/pldd.c: Likewise.
12619 * elf/sotruss.ksh: Likewise.
12620 * catgets/gencat.c: Likewise.
12621 * csu/version.c: Likewise.
12622 * elf/ldd.bash.in: Likewise.
12623 * elf/sprof.c (print_version): Likewise.
12624 * locale/programs/locale.c: Likewise.
12625 * locale/programs/localedef.c: Likewise.
12626 * login/programs/pt_chown.c: Likewise.
12627 * nscd/nscd.c (print_version): Likewise.
12628 * debug/xtrace.sh: Likewise.
12629 * malloc/memusage.sh: Likewise.
12630 * malloc/mtrace.pl: Likewise.
12631 * debug/catchsegv.sh: Likewise.
12633 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12635 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12638 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12641 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12642 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12644 * iconv/gconv_int.h: Likewise.
12645 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12646 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12647 from libc for GLIBC_2.16.
12648 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12649 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12650 * wcsmbs/uchar.h: Really define mbstate_t.
12651 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12652 * wcsmbs/c16rtomb.c: New file.
12653 * wcsmbs/mbrtoc16.c: New file.
12654 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12655 for C/POSIX locale.
12656 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12657 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12659 * wcsmbs/wchar.h: Add missing __restrict.
12661 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12664 * time/Makefile (routines): Add timespec_get.
12665 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12666 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12667 timespec for ISO C11.
12668 * time/timespec_get.c: New file.
12669 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12670 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12673 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12674 * stdlib/stdlib.h: Declare aligned_alloc.
12675 * Versions.def: Add GLIBC_2.16 for libc.
12676 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12679 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12682 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12686 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12689 * assert/assert.h (static_assert): Define.
12691 * version.h: Update for 2.16 development version.
12694 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12697 * version.h (RELEASE): Bump for 2.15 release.
12698 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12700 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12701 Patch by Marek Polacek <mpolacek@redhat.com>.
12703 * bits/byteswap.h: Protect long long constants with __extension__.
12704 * sysdeps/i386/bits/byteswap.h: Likewise.
12705 * sysdeps/ia64/bits/byteswap.h: Likewise.
12706 * sysdeps/s390/bits/byteswap.h: Likewise.
12707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12709 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12712 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12713 destination buffer.
12714 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12716 2011-12-23 Marek Polacek <polacek@redhat.com>
12718 * elf/dl-addr.c (determine_info): Add inline keyword.
12719 * elf/tst-auditmod4b.c (check_avx): Likewise.
12720 * elf/tst-auditmod6b.c (check_avx): Likewise.
12721 * elf/tst-auditmod6c.c (check_avx): Likewise.
12722 * elf/tst-auditmod7b.c (check_avx): Likewise.
12724 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12726 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12729 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12732 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12733 processing for last bytes.
12735 2011-08-06 Bruno Haible <bruno@clisp.org>
12738 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12739 U+0385, not to U+1FEE.
12742 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12743 entry for U+00A5 U+0301.
12745 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12748 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12749 buffer for the output is too small.
12751 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12755 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12756 SSE flags if possible.
12758 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12762 processing for last bytes.
12764 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12766 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12767 (syscall-list-default-options, syscall-list-default-condition)
12768 (syscall-list-includes): Define.
12769 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12770 list of ABIs and options and #if conditions for each ABI. Do not
12771 handle common syscalls between ABIs specially.
12772 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12774 (syscall-list-variants, syscall-list-32bit-options)
12775 (syscall-list-32bit-condition, syscall-list-64bit-options)
12776 (syscall-list-64bit-condition): Define.
12777 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12778 (syscall-list-variants, syscall-list-32bit-options)
12779 (syscall-list-32bit-condition, syscall-list-64bit-options)
12780 (syscall-list-64bit-condition): Define.
12781 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12783 (syscall-list-variants, syscall-list-32bit-options)
12784 (syscall-list-32bit-condition, syscall-list-64bit-options)
12785 (syscall-list-64bit-condition): Define.
12786 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12788 (syscall-list-variants, syscall-list-32bit-options)
12789 (syscall-list-32bit-condition, syscall-list-64bit-options)
12790 (syscall-list-64bit-condition): Define.
12792 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12794 * locale/iso-639.def: Add brx entry.
12797 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12798 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12800 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12801 __feraiseexcept_renamed.
12803 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12806 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12807 EPOLLET with unsigned values.
12808 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12809 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12811 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12812 to large cancellation.
12813 * math/s_cacoshf.c: Likewise.
12814 * math/s_cacoshl.c: Likewise.
12816 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12820 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12821 * math/s_cacoshf.c: Likewise.
12822 * math/s_cacoshl.c: Likewise.
12824 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12827 * iconv/gconv.h: Define __GCONV_SWAP.
12828 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12829 * iconvdata/utf-16.c: Likewise.
12830 * iconvdata/utf-32.c: Likewise.
12832 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12836 numerator after shifting it by one limb.
12838 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12840 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12841 under [__USE_EXTERN_INLINES].
12843 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12846 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12848 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12850 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12851 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12853 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12854 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12855 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12856 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12857 for strncasecmp/strncasecmp_l compilation.
12858 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12859 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12861 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12864 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12867 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12870 * time/tzfile.c (__tzfile_read): Check values from file header.
12872 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12874 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12875 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12876 * powerpc/powerpc32/dl-start.S: Likewise.
12877 * powerpc/powerpc32/elf/start.S: Likewise.
12878 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12879 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12880 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12881 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12882 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12883 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12884 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12885 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12886 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12887 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12888 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12889 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12890 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12891 * powerpc/powerpc32/memset.S: Likewise.
12892 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12893 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12894 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12895 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12896 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12897 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12898 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12899 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12900 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12901 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12902 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12903 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12904 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12906 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12908 * math/libm-test.inc: Added more nearbyint tests.
12909 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12910 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12911 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12914 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12916 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12919 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12921 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12922 Add wcscpy-ssse3 wcscpy-c.
12923 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12924 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12925 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12926 * sysdeps/x86_64/wcschr.S: New file.
12927 * sysdeps/x86_64/wcsrchr.S: New file.
12928 * string/test-strcmp.c: Remove checking of wcscmp function for
12930 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12931 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12932 wcsrchr-sse2 wcsrchr-c.
12933 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12934 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12935 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12936 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12937 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12938 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12939 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12940 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12941 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12942 * wcsmbc/wcschr.c (WCSCHR): New macro.
12944 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12946 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12947 * wcsmbs/test-wcsrchr.c: New file.
12948 * string/test-strrchr.c: Add wcsrchr support.
12950 * wcsmbs/test-wcscpy.c: New file.
12951 * string/test-strcpy.c: Add wcscpy support.
12954 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12956 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12959 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12962 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12964 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12966 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12967 Minor optimizations.
12969 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12970 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12971 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12973 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12975 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12976 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12977 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12978 for gcc to avoid warnings.
12979 * inet/Makefile (tests): Add tst-checks.
12980 * inet/tst-checks.c: New file.
12982 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12985 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12988 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12989 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12991 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12993 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12995 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12998 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13000 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13002 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13003 conditional on GCC version.
13004 (__arch_compare_and_exchange_val_8_acq)
13005 (__arch_compare_and_exchange_val_16_acq)
13006 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13007 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13008 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13010 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13012 * sysdeps/sh/backtrace.c: New file.
13014 2011-12-02 Andreas Schwab <schwab@redhat.com>
13016 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13019 2011-12-01 Andreas Schwab <schwab@redhat.com>
13021 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13022 falling back to utime.
13024 2011-11-30 Andreas Schwab <schwab@redhat.com>
13026 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13027 expectations for float.
13029 2011-11-29 Andreas Schwab <schwab@redhat.com>
13031 * locale/weight.h (findidx): Add parameter len.
13032 * locale/weightwc.h (findidx): Likewise.
13033 * posix/fnmatch_loop.c (FCT): Adjust caller.
13034 * posix/regcomp.c (build_equiv_class): Likewise.
13035 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13036 * posix/regexec.c (check_node_accept_bytes): Likewise.
13037 * string/strcoll_l.c (STRCOLL): Likewise.
13038 * string/strxfrm_l.c (STRXFRM): Likewise.
13040 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13042 * Makefile.in: Remove CVSOPT handling.
13043 * configure.in: Remove use of AC_REVISION.
13044 * iconvdata/Makefile (distribute): No need to filter out CVS.
13045 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13048 2011-11-16 Andreas Schwab <schwab@redhat.com>
13050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13051 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13052 [USE_AS_STRNCASECMP_L]: Likewise.
13053 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13054 NO_TLS_DIRECT_SEG_REFS.
13055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13056 Fix argument offsets for non-PIC.
13057 [USE_AS_STRNCASECMP_L]: Likewise.
13058 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13059 NO_TLS_DIRECT_SEG_REFS.
13061 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13063 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13065 * locale/loadlocale.c (_nl_load_locale): Likewise.
13067 2011-11-15 Andreas Schwab <schwab@redhat.com>
13069 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13070 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13071 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13072 (SYSCALL_GETTIME): Set errno on error.
13074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13075 count references to noai6ai_cached.
13077 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13079 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13081 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13082 FD_CLOEXEC for /proc/self/maps.
13084 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13085 FD_CLOEXEC for /proc/meminfo.
13087 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13090 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13091 FD_CLOEXEC for given file.
13093 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13095 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13096 FD_CLOEXEC for /etc/hosts.
13097 (_gethtent): Likewise.
13099 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13101 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13102 cancellation and set FD_CLOEXEC for /etc/netgroup.
13104 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13105 reading /etc/publickey.
13107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13108 allow cancellation when reading /etc/group.
13110 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13112 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13114 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13115 when using data file.
13117 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13119 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13120 (write_nis_obj): Use "c" and "e" in fopen.
13122 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13124 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13126 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13128 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13130 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13133 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13135 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13137 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13139 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13140 file parsing and set FD_CLOEXEC.
13142 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13144 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13146 2011-11-14 Andreas Schwab <schwab@redhat.com>
13148 * malloc/arena.c (arena_get2): Don't call reused_arena when
13149 _int_new_arena failed.
13151 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13153 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13154 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13158 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13159 to compile strcasecmp and strncasecmp.
13160 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13161 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13165 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13167 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13168 locale-defines.sym to gen-as-const-headers.
13169 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13170 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13172 to compile strcasecmp and strncasecmp.
13173 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13174 strcasecmp_l and strncasecmp_l.
13175 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13176 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13177 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13178 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13179 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13180 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13181 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13182 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13183 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13184 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13185 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13187 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13189 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13190 result of SYSDEP_GETTIME_CPU to retval.
13191 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13192 parameter list to macro. Remove trailing semicolon. Adjust users.
13194 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13197 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13199 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13201 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13202 from unused variable.
13204 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13206 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13209 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13212 * sunrpc/rpc_prot.c (rejected): Fix case value.
13214 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13215 unsigned long long int to avoid warnings in shift.
13217 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13219 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13222 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13223 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13224 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13226 * nis/nis_table.c (nis_list): Use variable of correct type for
13227 result of __follow_path call.
13229 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13231 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13232 of math functions ceil, trunc, floor, round, and sqrt, when
13233 avaliable on the platform.
13234 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13236 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13237 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13238 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13240 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13242 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13245 2011-11-11 Roland McGrath <roland@hack.frob.com>
13247 * include/unistd.h: Fix __readlink return type.
13248 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13250 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13252 * stdlib/ucontext.h: Undo last change for makecontext.
13254 2011-11-11 Andreas Schwab <schwab@redhat.com>
13256 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13258 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13259 * setjmp/setjmp.h: Mark functions as non-leaf.
13260 * setjmp/bits/setjmp2.h: Likewise.
13261 * stdlib/ucontext.h: Likewise.
13263 2011-11-10 Andreas Schwab <schwab@redhat.com>
13265 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13266 (reused_arena): Don't check arena limit.
13267 (arena_get2): Atomically check arena limit.
13269 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13271 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13272 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13277 2011-11-07 Andreas Schwab <schwab@redhat.com>
13279 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13280 handler when locking.
13282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13283 Fix size of allocated buffer.
13285 2011-11-04 Andreas Schwab <schwab@redhat.com>
13288 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13289 declarations for long double functions.
13290 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13292 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13294 2011-11-03 Andreas Schwab <schwab@redhat.com>
13296 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13299 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13302 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13304 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13306 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13308 * include/alloca.h (stackinfo_alloca_round): Define.
13309 (extend_alloca): Use it.
13310 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13311 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13314 * scripts/check-local-headers.sh: Ignore libaudit.h.
13316 * nscd/Makefile (extra-objs): Make recursively expanded.
13318 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13320 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13323 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13324 * posix/tst-rfc3484-2.c: Likewise.
13325 * posix/tst-rfc3484-3.c: Likewise.
13327 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13329 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13331 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13332 process_vm_writev from libc using GLIBC_2.15 version.
13334 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13336 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13338 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13341 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13344 * nss/getent.c (initgroups_keys): Show error message in case no group
13347 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13348 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13349 __bump_nl_timestamp.
13350 * nscd/connections (nscd_init): When host database is served open
13351 netlink socket and request notification about configuration changes.
13352 (main_loop_poll): Track netlink file descriptor and bump timestamp
13353 in case data becomes available.
13354 (main_loop_epoll): Likewise.
13355 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13356 (database_pers_head): Add extra_data fileds.
13357 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13358 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13359 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13362 in6ai data, call __free_in6ai.
13363 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13364 Add -DHAVE_NETLINK.
13365 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13366 interface information. Reuse previous data if netlink timestamp
13368 (__bump_nl_timestamp): New function.
13369 (__free_in6ai): New function.
13371 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13373 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13374 close_not_cancel_no_status here.
13375 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13377 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13380 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13383 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13384 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13385 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13387 2011-07-03 Andreas Jaeger <aj@suse.de>
13390 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13391 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13392 * math/libm-test.inc (sin_test): Add test case.
13394 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13397 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13398 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13400 * elf/chroot_canon.c (chroot_canon): Cleanups.
13402 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13405 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13406 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13408 * string/test-strchr.c: Make usable for strchrnul testing.
13409 * string/test-strchrnul.c: New file.
13410 * string/Makefile (strop-tests): Add strchrnul.
13412 * po/it.po: Update from translation team.
13413 * po/es.po: Likewise.
13415 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13418 the three constants needed as parameters. Drop the others.
13419 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13420 __m128i_strloadu_tolower.
13421 Create and initialize variable zero and use it in all the places
13422 where _mm_setzero_si128 was used.
13424 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13425 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13426 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13427 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13429 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13432 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13433 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13434 __mpranred, __mptan.
13435 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13436 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13437 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13438 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13439 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13440 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13441 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13442 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13443 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13445 2011-10-28 Andreas Schwab <schwab@redhat.com>
13447 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13448 redefine if SHARED.
13449 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13452 wide char related routines to wcsmbs subdir.
13454 2011-10-27 Andreas Schwab <schwab@redhat.com>
13457 * misc/sys/cdefs.h (__THROWNL): Define.
13458 * posix/unistd.h: Use __THREADNL instead of __THREAD
13459 for memory synchronization functions.
13461 2011-10-26 Roland McGrath <roland@hack.frob.com>
13464 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13466 * manual/stdio.texi (Obstack Streams): Node removed.
13468 2011-10-26 Andreas Schwab <schwab@redhat.com>
13470 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13471 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13472 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13474 * math/math_private.h (math_force_eval): Allow non-addressable
13476 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13478 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13480 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13481 file is not needed.
13483 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13486 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13488 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13489 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13490 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13496 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13497 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13498 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13499 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13502 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13503 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13504 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13505 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13506 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13507 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13508 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13509 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13510 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13512 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13513 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13516 place. Use VEX encoding when compiling for AVX.
13518 2011-10-25 Andreas Schwab <schwab@redhat.com>
13520 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13521 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13523 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13525 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13527 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13528 useless if() expression.
13529 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13539 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13540 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13541 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13542 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13549 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13551 2011-10-25 Andreas Schwab <schwab@redhat.com>
13553 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13557 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13559 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13560 .text section. Avoid duplicate constants.
13561 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13571 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13573 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13578 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13584 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13585 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13586 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13587 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13588 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13589 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13590 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13591 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13592 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13593 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13594 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13595 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13596 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13597 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13598 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13599 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13600 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13602 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13607 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13609 * sysdeps/x86_64/dla.h: Move to ...
13610 * sysdeps/x86_64/fpu/dla.h: ...here.
13611 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13612 situations. Use __builtin_fma only for gcc 4.6 and up.
13614 * config.make.in: Add have-mfma4 entry.
13615 * configure.in: Substitute libc_cv_cc_fma4.
13616 * math/Makefile (dbl-only-routines): Add sincostab.
13617 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13618 Use __sincostab not sincos.
13619 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13626 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13627 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13628 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13629 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13631 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13632 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13634 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13635 define aliases when function name is a macro.
13636 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13637 sysdeps/ieee754/dbl-64/sincos.tbl.
13638 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13639 fma4-enabled routines.
13640 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13641 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13642 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13643 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13646 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13649 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13650 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13651 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13652 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13662 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13663 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13664 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13665 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13667 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13668 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13669 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13671 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13682 2011-10-24 Andreas Schwab <schwab@redhat.com>
13684 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13686 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13690 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13692 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13694 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13695 Remove unused variable magic_bits.
13696 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13698 * string/strnlen.c: Define and use STRNLEN macro.
13699 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13700 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13702 * wcsmbs/wcslen.c: Define and use WCSLEN.
13703 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13704 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13705 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13706 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13707 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13708 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13709 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13711 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13714 strnlen-sse2-no-bsf.
13715 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13717 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13718 Add strnlen support.
13719 (USE_AS_STRNLEN): New macro.
13720 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13722 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13723 * sysdeps/x86_64/wcslen.S: New file.
13725 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13728 XMM-moves are used for copying on small sizes.
13730 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13732 * wcsmbs/Makefile (strop-tests): Add wcschr.
13733 * wcsmbs/test-wcschr.c: New file.
13734 * string/test-strchr.c: Update.
13735 Add wcschr support.
13738 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13740 * wcsmbs/Makefile (strop-tests): Add wcslen.
13741 * wcsmbs/test-wcslen.c: New file.
13742 * string/test-strlen.c: Update.
13743 Add wcslen support.
13746 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13748 * po/it.po: Update from translation team.
13750 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13752 * sysdeps/x86_64/wcscmp.S: Update.
13753 Fix wrong comparison semantics.
13754 wcscmp shall use signed comparison not unsigned.
13755 Don't use substraction to avoid overflow bug.
13756 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13757 * wcsmbc/wcscmp.c: Likewise.
13758 * string/test-strcmp.c: Likewise.
13759 Add new tests to check cases with negative values.
13761 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13763 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13764 * sysdeps/x86_64/dla.h: ...here. New file.
13765 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13775 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13778 __ynl_finite aliases.
13780 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13784 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13786 [DLA_FMA] (EMULV): Use DLA_FMA.
13787 [DLA_FMA] (MUL12): Use EMULV.
13788 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13789 that are not needed.
13790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13798 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13800 * math/s_nan.c: Undef __nan.
13801 * math/s_nanf.c: Undef __nanf.
13802 * math/s_nanl.c: Undef __nanl.
13803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13806 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13808 * math/s_catan.c: Add branch predictions.
13809 * math/s_catanf.c: Likewise.
13810 * math/s_catanh.c: Likewise.
13811 * math/s_catanhf.c: Likewise.
13812 * math/s_catanhl.c: Likewise.
13813 * math/s_catanl.c: Likewise.
13814 * math/s_cexp.c: Likewise.
13815 * math/s_cexpf.c: Likewise.
13816 * math/s_cexpl.c: Likewise.
13817 * math/s_clog.c: Likewise.
13818 * math/s_clog10.c: Likewise.
13819 * math/s_clog10f.c: Likewise.
13820 * math/s_clog10l.c: Likewise.
13821 * math/s_clogf.c: Likewise.
13822 * math/s_clogl.c: Likewise.
13823 * math/s_csqrt.c: Likewise.
13824 * math/s_csqrtf.c: Likewise.
13825 * math/s_csqrtl.c: Likewise.
13826 * math/s_ctanf.c: Likewise.
13827 * math/s_ctanh.c: Likewise.
13828 * math/s_ctanhf.c: Likewise.
13829 * math/s_ctanhl.c: Likewise.
13830 * math/s_ctanl.c: Likewise.
13832 * math/math_private.h: Define __nan, __nanf, __nanl.
13833 * math/s_cacosh.c: Include <math_private.h>.
13834 * math/s_cacoshl.c: Likewise.
13835 * math/s_casinh.c: Likewise.
13836 * math/s_casinhf.c: Likewise.
13837 * math/s_casinhl.c: Likewise.
13838 * math/s_ccos.c: Rely entire on ccosh.
13839 * math/s_ccosf.c: Rely entire on ccoshf.
13840 * math/s_ccosl.c: Rely entirely on ccoshl.
13841 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13842 Remove tests for FE_INVALID.
13843 * math/s_ccoshf.c: Likewise.
13844 * math/s_ccoshl.c: Likewise.
13845 * math/s_csin.c: Likewise.
13846 * math/s_csinf.c: Likewise.
13847 * math/s_csinh.c Likewise.
13848 * math/s_csinhf.c: Likewise.
13849 * math/s_csinhl.c: Likewise.
13850 * math/s_csinl.c: Likewise.
13851 * math/s_ctan.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13853 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13854 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13856 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13859 compilation problems.
13861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13864 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13866 * sysdeps/i386/configure.in: Test for -mfma4 option.
13867 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13868 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13869 COMMON_CPUID_INDEX_80000001.
13870 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13871 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13872 use it if FMA3 is not supported.
13873 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13875 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13876 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13878 2011-10-20 Andreas Schwab <schwab@redhat.com>
13881 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13882 it would create a cycle with a link time dependency.
13884 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13886 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13888 * string/Makefile (strop-tests): Add rawmemchr.
13889 * string/test-rawmemchr.c: New file.
13891 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13893 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13894 when compiling str{,n}casecmp and when AVX is available. Hook up
13895 new optimized code in initializers.
13897 2011-10-19 Andreas Schwab <schwab@redhat.com>
13899 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13900 __feraiseexcept instead of feraiseexcept.
13902 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13904 * math/math_private.h: Define defaults for libc_fetestexcept and
13906 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13907 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13908 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13909 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13910 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13911 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13912 libc_fetestexcept and libc_feupdateenv.
13914 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13915 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13916 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13917 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13918 libc_feholdexcept_setround.
13920 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13921 Add s_nearbyint-c and s_nearbyintf-c.
13922 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13923 nearbyintf inlines.
13924 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13926 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13927 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13929 * math/math_private.h: Define defaults for libc_fegetround,
13930 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13931 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13932 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13934 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13935 standard functions.
13936 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13937 Remove comments and hacks for old compiler versions.
13938 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13939 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13940 libc_feholdexceptl.
13942 2011-10-18 Andreas Schwab <schwab@redhat.com>
13944 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13945 (__feraiseexcept_renamed): Add __NTH.
13946 (feraiseexcept): Add __NTH. Rename local variables to fix
13947 namespace violations.
13949 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13951 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13953 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13955 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13956 recently added interfaces.
13957 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13959 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13960 about macro parameter expansion.
13962 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13963 __NO_MATH_INLINES is defined. Cleanups.
13965 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13966 and __floorf is target has SSE4.1.
13967 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13968 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13969 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13970 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13972 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13974 (floorf): Likewise.
13976 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13978 2011-10-17 Andreas Schwab <schwab@redhat.com>
13980 * misc/sys/cdefs.h: Fix last change.
13982 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13985 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13987 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13989 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13990 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13995 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13997 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13998 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13999 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14000 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14001 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14002 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14003 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14004 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14005 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14006 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14007 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14009 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14012 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14013 ceil, ceilf, floor, floorf.
14015 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14016 Perform IRELATIVE relocations last.
14018 * elf/do-rel.h: Add another parameter nrelative, replacing the
14019 local variable with the same name. Change name of the function
14020 to end in Rel or Rela (uppercase).
14021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14022 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14023 elf_dynamic_do_##reloc function.
14025 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14027 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14028 is sufficient, at least on modern CPUs.
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14032 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14035 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14037 * math/bits/math-finite.h: Add entries for exp.
14038 * math/e_expl.c: Add __*_finite alias.
14039 * sysdeps/i386/fpu/e_exp.S: Likewise.
14040 * sysdeps/i386/fpu/e_expf.S: Likewise.
14041 * sysdeps/i386/fpu/e_expl.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14043 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14047 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14048 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14050 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14051 is sufficient, at least on modern CPUs.
14053 * ctype/ctype-info.c (__ctype_init): Define.
14054 * include/ctype.h (__ctype_init): Declare.
14055 (__ctype_b_loc): The variable is always initialized.
14056 (__ctype_toupper_loc): Likewise.
14057 (__ctype_tolower_loc): Likewise.
14058 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14059 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14061 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14063 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14065 * configure.in: Also look in $cxxmachine/include for C++ system
14068 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14070 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14071 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14072 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14073 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14074 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14075 (USE_AS_WMEMCMP): New macro.
14077 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14078 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14079 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14080 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14082 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14083 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14084 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14085 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14086 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14087 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14088 (USE_AS_WMEMCMP): New macro.
14089 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14090 * sysdeps/string/test-memcmp.c: Update.
14091 Fix simple_wmemcmp.
14093 * wcsmbs/wmemcmp.c: Update.
14094 (WMEMCMP): New macro.
14097 2011-10-12 Andreas Jaeger <aj@suse.de>
14100 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14102 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14104 * libio/iofwide.c (do_length): Avoid warning.
14106 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14108 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14110 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14112 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14113 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14114 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14115 * sysdeps/i386/i686/fpu/e_log.S: New file.
14116 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14117 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14119 * ctype/ctype.h: Add support for inlined isXXX functions when
14120 compiling C++ code.
14122 2011-10-14 Andreas Schwab <schwab@redhat.com>
14124 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14126 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14128 2011-10-13 Roland McGrath <roland@hack.frob.com>
14131 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14133 2011-10-13 Andreas Schwab <schwab@redhat.com>
14135 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14136 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14139 * sysdeps/x86_64/memrchr.S: Check for zero size.
14141 * string/stratcliff.c: Add memrchr tests.
14143 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14146 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14147 rawmemchr-sse2 rawmemchr-sse2-bsf.
14148 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14149 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14150 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14151 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14152 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14153 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14154 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14155 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14156 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14157 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14158 * string/memrchr.c (MEMRCHR): New macro.
14160 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14162 Add integration with gcc's -ffinite-math-only and optimize wrapper
14164 * Versions.def: Define GLIBC_2.15 version for libm.
14165 * math/Makefile (headers): Add bits/math-finite.h.
14166 * math/bits/math-finite.h: New file.
14167 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14168 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14169 * math/e_acoshl.c: Add __*_finite alias.
14170 * math/e_acosl.c: Likewise.
14171 * math/e_asinl.c: Likewise.
14172 * math/e_atan2l.c: Likewise.
14173 * math/e_atanhl.c: Likewise.
14174 * math/e_coshl.c: Likewise.
14175 * math/e_exp10.c: Likewise.
14176 * math/e_exp10f.c: Likewise.
14177 * math/e_exp10l.c: Likewise.
14178 * math/e_exp2l.c: Likewise.
14179 * math/e_fmodl.c: Likewise.
14180 * math/e_gammal_r.c: Likewise.
14181 * math/e_hypotl.c: Likewise.
14182 * math/e_j0l.c: Likewise.
14183 * math/e_j1l.c: Likewise.
14184 * math/e_jnl.c: Likewise.
14185 * math/e_lgammal_r.c: Likewise.
14186 * math/e_log10l.c: Likewise.
14187 * math/e_log2l.c: Likewise.
14188 * math/e_logl.c: Likewise.
14189 * math/e_powl.c: Likewise.
14190 * math/e_sinhl.c: Likewise.
14191 * math/e_sqrtl.c: Likewise.
14192 * math/e_scalb.c: Completely rewritten and optimized.
14193 * math/e_scalbf.c: Likewise.
14194 * math/e_scalbl.c: Likewise.
14195 * math/w_acos.c: Likewise.
14196 * math/w_acosf.c: Likewise.
14197 * math/w_acosl.c: Likewise.
14198 * math/w_acosh.c: Likewise.
14199 * math/w_acoshf.c: Likewise.
14200 * math/w_acoshl.c: Likewise.
14201 * math/w_asin.c: Likewise.
14202 * math/w_asinf.c: Likewise.
14203 * math/w_asinl.c: Likewise.
14204 * math/w_atan2.c: Likewise.
14205 * math/w_atan2f.c: Likewise.
14206 * math/w_atan2l.c: Likewise.
14207 * math/w_atanh.c: Likewise.
14208 * math/w_atanhf.c: Likewise.
14209 * math/w_atanhl.c: Likewise.
14210 * math/w_exp10.c: Likewise.
14211 * math/w_exp10f.c: Likewise.
14212 * math/w_exp10l.c: Likewise.
14213 * math/w_fmod.c: Likewise.
14214 * math/w_fmodf.c: Likewise.
14215 * math/w_fmodl.c: Likewise.
14216 * math/w_j0.c: Likewise.
14217 * math/w_j0f.c: Likewise.
14218 * math/w_j0l.c: Likewise.
14219 * math/w_j1.c: Likewise.
14220 * math/w_j1f.c: Likewise.
14221 * math/w_j1l.c: Likewise.
14222 * math/w_jn.c: Likewise.
14223 * math/w_jnf.c: Likewise.
14224 * math/w_log.c: Likewise.
14225 * math/w_logf.c: Likewise.
14226 * math/w_logl.c: Likewise.
14227 * math/w_log10.c: Likewise.
14228 * math/w_log10f.c: Likewise.
14229 * math/w_log10l.c: Likewise.
14230 * math/w_log2.c: Likewise.
14231 * math/w_log2f.c: Likewise.
14232 * math/w_log2l.c: Likewise.
14233 * math/w_pow.c: Likewise.
14234 * math/w_powf.c: Likewise.
14235 * math/w_powl.c: Likewise.
14236 * math/w_remainder.c: Likewise.
14237 * math/w_remainderf.c: Likewise.
14238 * math/w_remainderl.c: Likewise.
14239 * math/w_scalb.c: Likewise.
14240 * math/w_scalbf.c: Likewise.
14241 * math/w_scalbl.c: Likewise.
14242 * math/w_sqrt.c: Likewise.
14243 * math/w_sqrtf.c: Likewise.
14244 * math/w_sqrtl.c: Likewise.
14245 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14246 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14248 * math/math_private.h: Declare __kernel_standard_f.
14249 * math/w_cosh.c: Remove cruft and optimize a bit.
14250 * math/w_coshf.c: Likewise.
14251 * math/w_coshl.c: Likewise.
14252 * math/w_exp2.c: Likewise.
14253 * math/w_exp2f.c: Likewise.
14254 * math/w_exp2l.c: Likewise.
14255 * math/w_hypot.c: Likewise.
14256 * math/w_hypotf.c: Likewise.
14257 * math/w_hypotl.c: Likewise.
14258 * math/w_lgamma.c: Likewise.
14259 * math/w_lgamma_r.c: Likewise.
14260 * math/w_lgammaf.c: Likewise.
14261 * math/w_lgammaf_r.c: Likewise.
14262 * math/w_lgammal.c: Likewise.
14263 * math/w_lgammal_r.c: Likewise.
14264 * math/w_sinh.c: Likewise.
14265 * math/w_sinhf.c: Likewise.
14266 * math/w_sinhl.c: Likewise.
14267 * math/w_tgamma.c: Likewise.
14268 * math/w_tgammaf.c: Likewise.
14269 * math/w_tgammal.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14272 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14273 Minor optimizations. Pretty printing. Remove cruft.
14274 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14275 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14276 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14278 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14279 * sysdeps/i386/fpu/e_asin.S: Likewise.
14280 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14281 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14282 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14283 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14284 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14285 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14286 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14287 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14288 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14289 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14290 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14291 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14292 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14293 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14294 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14295 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14296 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14297 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14298 * sysdeps/i386/fpu/e_log.S: Likewise.
14299 * sysdeps/i386/fpu/e_log10.S: Likewise.
14300 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14301 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14302 * sysdeps/i386/fpu/e_log2.S: Likewise.
14303 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14304 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14305 * sysdeps/i386/fpu/e_logf.S: Likewise.
14306 * sysdeps/i386/fpu/e_logl.S: Likewise.
14307 * sysdeps/i386/fpu/e_pow.S: Likewise.
14308 * sysdeps/i386/fpu/e_powf.S: Likewise.
14309 * sysdeps/i386/fpu/e_powl.S: Likewise.
14310 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14311 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14312 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14314 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14315 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14316 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14317 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14318 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14340 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14343 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14344 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14345 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14346 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14347 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14348 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14350 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14352 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14353 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14354 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14355 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14356 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14357 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14358 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14359 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14360 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14402 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14404 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14406 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14407 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14410 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14411 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14412 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14413 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14414 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14415 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14416 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14417 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14418 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14419 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14420 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14421 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14422 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14423 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14424 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14425 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14426 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14427 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14428 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14429 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14430 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14431 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14432 (__isnanf): Likewise.
14433 (__isinf_ns): Likewise.
14434 (__isinf_nsf): Likewise.
14435 (__finite): Likewise.
14436 (__finitef): Likewise.
14437 (__ieee754_sqrt): Define as macro.
14438 (__ieee754_sqrtf): Define as macro.
14439 (__ieee754_sqrtl): Define as macro.
14440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14442 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14443 __FINITE_MATH_ONLY__ consistent.
14444 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14446 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14448 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14451 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14453 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14455 * po/ja.po: Update from translation team.
14457 2011-10-08 Roland McGrath <roland@hack.frob.com>
14459 * locale/programs/locarchive.c (prepare_address_space): New function.
14460 (create_archive, enlarge_archive, open_archive): Use it.
14462 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14463 inside [SHARED], where it is used.
14465 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14467 * nss/getent.c (netgroup_keys): Remove unused variable.
14468 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14470 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14472 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14473 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14476 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14477 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14478 * math/Makefile (libm-calls): Add s_isinf_ns.
14479 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14480 * math/multc3.c: Likewise.
14481 * math/s_casin.c: Likewise.
14482 * math/s_casinf.c: Likewise.
14483 * math/s_casinl.c: Likewise.
14484 * math/s_ccos.c: Likewise.
14485 * math/s_ccosf.c: Likewise.
14486 * math/s_ccosl.c: Likewise.
14487 * math/s_ctan.c: Likewise.
14488 * math/s_ctanf.c: Likewise.
14489 * math/s_ctanh.c: Likewise.
14490 * math/s_ctanhf.c: Likewise.
14491 * math/s_ctanhl.c: Likewise.
14492 * math/s_ctanl.c: Likewise.
14493 * math/w_fmod.c: Likewise.
14494 * math/w_fmodf.c: Likewise.
14495 * math/w_fmodl.c: Likewise.
14496 * math/w_remainder.c: Likewise.
14497 * math/w_remainderf.c: Likewise.
14498 * math/w_remainderl.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14500 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14501 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14503 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14504 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14505 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14506 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14508 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14510 * stdio-common/printf_fphex.c: Likewise.
14511 * stdio-common/printf_size.c: Likewise.
14513 * math/e_exp10.c: Include math_private.h using <...> not "...".
14514 * math/e_exp10f.c: Likewise.
14515 * math/e_exp10l.c: Likewise.
14516 * math/e_exp2l.c: Likewise.
14517 * math/e_j0l.c: Likewise.
14518 * math/e_j1l.c: Likewise.
14519 * math/e_jnl.c: Likewise.
14520 * math/e_lgammal_r.c: Likewise.
14521 * math/e_rem_pio2l.c: Likewise.
14522 * math/e_scalb.c: Likewise.
14523 * math/e_scalbf.c: Likewise.
14524 * math/e_scalbl.c: Likewise.
14525 * math/k_cosl.c: Likewise.
14526 * math/k_sinl.c: Likewise.
14527 * math/k_tanl.c: Likewise.
14528 * math/s_cacoshf.c: Likewise.
14529 * math/s_catan.c: Likewise.
14530 * math/s_catanf.c: Likewise.
14531 * math/s_catanh.c: Likewise.
14532 * math/s_catanhf.c: Likewise.
14533 * math/s_catanhl.c: Likewise.
14534 * math/s_catanl.c: Likewise.
14535 * math/s_ccosh.c: Likewise.
14536 * math/s_ccoshf.c: Likewise.
14537 * math/s_ccoshl.c: Likewise.
14538 * math/s_cexp.c: Likewise.
14539 * math/s_cexpf.c: Likewise.
14540 * math/s_cexpl.c: Likewise.
14541 * math/s_clog.c: Likewise.
14542 * math/s_clog10.c: Likewise.
14543 * math/s_clog10f.c: Likewise.
14544 * math/s_clog10l.c: Likewise.
14545 * math/s_clogf.c: Likewise.
14546 * math/s_clogl.c: Likewise.
14547 * math/s_csin.c: Likewise.
14548 * math/s_csinf.c: Likewise.
14549 * math/s_csinh.c: Likewise.
14550 * math/s_csinhf.c: Likewise.
14551 * math/s_csinhl.c: Likewise.
14552 * math/s_csinl.c: Likewise.
14553 * math/s_csqrt.c: Likewise.
14554 * math/s_csqrtf.c: Likewise.
14555 * math/s_csqrtl.c: Likewise.
14556 * math/s_ctan.c: Likewise.
14557 * math/s_ctanf.c: Likewise.
14558 * math/s_ctanh.c: Likewise.
14559 * math/s_ctanhf.c: Likewise.
14560 * math/s_ctanhl.c: Likewise.
14561 * math/s_ctanl.c: Likewise.
14562 * math/s_ldexp.c: Likewise.
14563 * math/s_ldexpf.c: Likewise.
14564 * math/s_ldexpl.c: Likewise.
14565 * math/s_significand.c: Likewise.
14566 * math/s_significandf.c: Likewise.
14567 * math/s_significandl.c: Likewise.
14568 * math/w_acos.c: Likewise.
14569 * math/w_acosf.c: Likewise.
14570 * math/w_acosh.c: Likewise.
14571 * math/w_acoshf.c: Likewise.
14572 * math/w_acoshl.c: Likewise.
14573 * math/w_acosl.c: Likewise.
14574 * math/w_asin.c: Likewise.
14575 * math/w_asinf.c: Likewise.
14576 * math/w_asinl.c: Likewise.
14577 * math/w_atan2.c: Likewise.
14578 * math/w_atan2f.c: Likewise.
14579 * math/w_atan2l.c: Likewise.
14580 * math/w_atanh.c: Likewise.
14581 * math/w_atanhf.c: Likewise.
14582 * math/w_atanhl.c: Likewise.
14583 * math/w_cosh.c: Likewise.
14584 * math/w_coshf.c: Likewise.
14585 * math/w_coshl.c: Likewise.
14586 * math/w_dremf.c: Likewise.
14587 * math/w_exp10.c: Likewise.
14588 * math/w_exp10f.c: Likewise.
14589 * math/w_exp10l.c: Likewise.
14590 * math/w_exp2.c: Likewise.
14591 * math/w_exp2f.c: Likewise.
14592 * math/w_fmod.c: Likewise.
14593 * math/w_fmodf.c: Likewise.
14594 * math/w_fmodl.c: Likewise.
14595 * math/w_hypot.c: Likewise.
14596 * math/w_hypotf.c: Likewise.
14597 * math/w_hypotl.c: Likewise.
14598 * math/w_j0.c: Likewise.
14599 * math/w_j0f.c: Likewise.
14600 * math/w_j0l.c: Likewise.
14601 * math/w_j1.c: Likewise.
14602 * math/w_j1f.c: Likewise.
14603 * math/w_j1l.c: Likewise.
14604 * math/w_jn.c: Likewise.
14605 * math/w_jnf.c: Likewise.
14606 * math/w_jnl.c: Likewise.
14607 * math/w_lgamma.c: Likewise.
14608 * math/w_lgamma_r.c: Likewise.
14609 * math/w_lgammaf.c: Likewise.
14610 * math/w_lgammaf_r.c: Likewise.
14611 * math/w_lgammal.c: Likewise.
14612 * math/w_lgammal_r.c: Likewise.
14613 * math/w_log.c: Likewise.
14614 * math/w_log10.c: Likewise.
14615 * math/w_log10f.c: Likewise.
14616 * math/w_log10l.c: Likewise.
14617 * math/w_log2.c: Likewise.
14618 * math/w_log2f.c: Likewise.
14619 * math/w_log2l.c: Likewise.
14620 * math/w_logf.c: Likewise.
14621 * math/w_logl.c: Likewise.
14622 * math/w_pow.c: Likewise.
14623 * math/w_powf.c: Likewise.
14624 * math/w_powl.c: Likewise.
14625 * math/w_remainder.c: Likewise.
14626 * math/w_remainderf.c: Likewise.
14627 * math/w_remainderl.c: Likewise.
14628 * math/w_scalb.c: Likewise.
14629 * math/w_scalbf.c: Likewise.
14630 * math/w_scalbl.c: Likewise.
14631 * math/w_sinh.c: Likewise.
14632 * math/w_sinhf.c: Likewise.
14633 * math/w_sinhl.c: Likewise.
14634 * math/w_sqrt.c: Likewise.
14635 * math/w_sqrtf.c: Likewise.
14636 * math/w_sqrtl.c: Likewise.
14637 * math/w_tgamma.c: Likewise.
14638 * math/w_tgammaf.c: Likewise.
14639 * math/w_tgammal.c: Likewise.
14641 * po/ja.po: Update from translation team.
14643 2011-09-29 Andreas Jaeger <aj@suse.de>
14646 * sunrpc/netname.c (netname2host): Fix logic.
14650 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14652 * math/w_remainder.c (__remainder): Likewise.
14653 * math/w_remainderf.c (__remainderf): Likewise.
14654 * math/libm-test.inc (remainder_test): Add test cases.
14656 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14658 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14661 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14663 * string/test-memcmp.c: Avoid unncessary #defines.
14664 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14666 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14668 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14669 Use new sse2 version for core i3 - i7 as it's faster
14670 than sse42 version.
14671 (bit_Prefer_PMINUB_for_stringop): New.
14672 * sysdeps/x86_64/rawmemchr.S: Update.
14673 Replace with faster SSE2 version.
14674 * sysdeps/x86_64/memrchr.S: New file.
14675 * sysdeps/x86_64/memchr.S: Update.
14676 Replace with faster SSE2 version.
14678 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14680 * elf/dl-load.c (lose): Add cast to avoid warning.
14682 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14684 * po/ca.po: Update from translation team.
14686 * inet/getnetgrent_r.c: Hook up nscd.
14687 * nscd/Makefile (routines): Add nscd_netgroup.
14688 (nscd-modules): Add netgroupcache.
14689 (CFLAGS-netgroupcache.c): Define.
14690 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14691 (cache_search): Add const to second parameter.
14692 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14694 (dbs): Add netgrdb entry.
14695 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14696 (verify_persistent_db): Handle netgrdb.
14697 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14698 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14700 (netgroup_response_header): Define.
14701 (innetgroup_response_header): Define.
14702 (datahead): Add netgroup_response_header and innetgroup_response_header
14704 * nscd/nscd.conf: Add entries for netgroup cache.
14705 * nscd/nscd.h (dbtype): Add netgrdb.
14706 (_PATH_NSCD_NETGROUP_DB): Define.
14707 (netgroup_iov_disabled): Declare.
14708 (xmalloc, xcalloc, xrealloc): Move declarations here.
14709 (cache_search): Adjust prototype.
14710 Add netgroup-related prototypes.
14711 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14712 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14713 (__nscd_innetgr): Declare.
14714 * nscd/selinux.c (perms): Use access_vector_t as element type and
14715 add netgroup-related initializers.
14716 * nscd/netgroupcache.c: New file.
14717 * nscd/nscd_netgroup.c: New file.
14718 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14719 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14720 For four parameters use innetgr.
14721 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14722 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14723 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14724 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14726 * nscd/connections.c (register_traced_file): Don't register file
14727 for disabled databases.
14729 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14731 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14733 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14734 from tree and freeing node.
14736 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14738 * nss/nsswitch.c (__nss_database_lookup): Handle
14739 nss_parse_service_list out of memory case.
14741 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14743 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14744 out of memory case.
14746 2011-10-04 Andreas Schwab <schwab@redhat.com>
14748 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14749 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14751 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14752 elf_machine_rela, elf_machine_lazy_rel.
14753 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14754 (ELF_DYNAMIC_DO_REL): Likewise.
14755 (ELF_DYNAMIC_DO_RELA): Likewise.
14756 (ELF_DYNAMIC_RELOCATE): Likewise.
14757 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14758 to ELF_DYNAMIC_DO_REL.
14759 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14760 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14761 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14763 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14764 skip_ifunc, don't call ifunc function if non-zero.
14765 (elf_machine_rela): Likewise.
14766 (elf_machine_lazy_rel): Likewise.
14767 (elf_machine_lazy_rela): Likewise.
14768 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14769 (elf_machine_lazy_rel): Likewise.
14770 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14772 (elf_machine_lazy_rel): Likewise.
14773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14775 (elf_machine_lazy_rel): Likewise.
14776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14777 (elf_machine_lazy_rel): Likewise.
14778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14779 (elf_machine_lazy_rel): Likewise.
14780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14781 (elf_machine_lazy_rel): Likewise.
14782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14783 (elf_machine_lazy_rel): Likewise.
14784 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14785 (elf_machine_lazy_rel): Likewise.
14786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14787 (elf_machine_lazy_rel): Likewise.
14789 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14791 * nss/nss_files/files-init.c (_nss_files_init): Use static
14792 initialization for all the *_traced_file variables.
14794 2011-09-28 Andreas Schwab <schwab@redhat.com>
14796 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14798 2011-09-27 Roland McGrath <roland@hack.frob.com>
14801 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14803 2011-09-27 Andreas Schwab <schwab@redhat.com>
14805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14806 Reread the line before reparsing it.
14808 2011-09-26 Andreas Schwab <schwab@redhat.com>
14810 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14812 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14813 Maxim Kuvyrkov <maxim@codesourcery.com>
14814 Joseph Myers <joseph@codesourcery.com>
14816 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14817 if needed for __stack_chk_guard.
14819 2011-09-19 Roland McGrath <roland@hack.frob.com>
14821 * sysdeps/posix/spawni.c (script_execute): Always define it.
14822 It will be optimized away if unused.
14823 (maybe_script_execute): New function.
14824 (__spawni): Call it.
14826 * Makerules: Don't include tls.make.
14827 (config-tls): Always set to thread.
14828 * tls.make.c: File removed.
14830 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14832 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14833 * config.make.in (CPPFLAGS-config): New substituted variable.
14835 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14837 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14840 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14841 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14843 2011-09-15 Roland McGrath <roland@hack.frob.com>
14845 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14846 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14848 (CALL_FAIL): Likewise.
14849 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14850 (CALL_FAIL): Macro removed.
14851 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14853 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14855 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14856 for __FINITE_MATH_ONLY__ == 1.
14858 2011-09-15 Andreas Schwab <schwab@redhat.com>
14860 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14861 __ieee754_sqrt instead of sqrt.
14862 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14863 __ieee754_sqrtf instead of sqrtf.
14864 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14865 __floorf instead of floorf.
14866 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14867 __floorf, __truncf instead of floorf, truncf.
14869 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14871 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14873 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14874 __extern_always_inline.
14875 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14878 2011-09-14 Andreas Schwab <schwab@redhat.com>
14880 * elf/rtld.c (dl_main): Also relocate in dependency order when
14881 doing symbol dependency testing.
14883 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14886 Always define `refsym'.
14888 2011-09-13 Andreas Schwab <schwab@redhat.com>
14890 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14891 (__FD_ELT): Renamed from __FDELT.
14892 * misc/bits/select2.h (__FD_ELT): Likewise.
14893 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14894 __FD_MASK instead of __FDELT, __FDMASK.
14895 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14897 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14900 * elf/Makefile (gen-ldd): Fix pattern.
14902 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14903 (init_tls): Likewise.
14905 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14909 2011-09-12 Andreas Schwab <schwab@redhat.com>
14911 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14912 `struct cmsghdr *' instead of `void *'.
14913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14916 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14918 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14920 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14921 ldd_rewrite_script.
14923 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14925 * configure.in: Remove --with-tls option.
14926 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14927 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14928 out in case it is missing.
14929 * sysdeps/ia64/elf/configure.in: Likewise.
14930 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14931 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14932 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14933 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14934 * sysdeps/sh/elf/configure.in: Likewise.
14935 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14937 * sysdeps/x86_64/elf/configure.in: Likewise.
14938 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14939 * sysdeps/mach/hurd/tls.h: Likewise.
14942 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14945 * configure.in: Fix use of AC_INIT.
14947 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14949 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14951 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14953 * malloc/hooks.c: Likewise.
14956 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14957 variables statically.
14958 (narenas): Initialize.
14959 (list_lock): Initialize.
14960 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14961 initializtion of main_arena and list_lock. Small cleanups.
14962 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14963 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14964 Add initializers to main_arena and mp_.
14965 (malloc_state): Remove pagesize member. Change all users to use
14968 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14969 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14970 is always initialized.
14972 * malloc/malloc.c: Removed unused configurations and dead code.
14973 * malloc/arena.c: Likewise.
14974 * malloc/hooks.c: Likewise.
14975 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14977 * include/tls.h: Removed. USE___THREAD must always be defined.
14978 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14979 * elf/dl-libc.c: Likewise.
14980 * elf/dl-tsd.c: Likewise.
14981 * include/errno.h: Likewise.
14982 * include/netdb.h: Likewise.
14983 * include/resolv.h: Likewise.
14984 * inet/herrno-loc.c: Likewise.
14985 * inet/herrno.c: Likewise.
14986 * malloc/arena.c: Likewise.
14987 * malloc/hooks.c: Likewise.
14988 * malloc/malloc.c: Likewise.
14989 * resolv/res-state.c: Likewise.
14990 * resolv/res_libc.c: Likewise.
14991 * sysdeps/i386/dl-machine.h: Likewise.
14992 * sysdeps/ia64/dl-machine.h: Likewise.
14993 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14994 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14995 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14996 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14997 * sysdeps/sh/dl-machine.h: Likewise.
14998 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14999 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15000 * sysdeps/unix/i386/sysdep.S: Likewise.
15001 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15002 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15004 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15005 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15007 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15011 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15012 * sysdeps/x86_64/dl-machine.h: Likewise.
15013 * tls.make.c: Likewise.
15015 * configure.in: Remove --with-__thread option. Make tests for
15016 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15017 tls_model attribute fail if no support is available. Remove
15019 * Makeconfig: Adjust for dropped configure option. All features are
15021 * Makerules: Likewise.
15022 * Versions.def: Likewise.
15023 * argp/argp-fmtstream.c: Likewise.
15024 * argp/argp-fmtstream.h: Likewise.
15025 * argp/argp-help.c: Likewise.
15026 * assert/assert.c: Likewise.
15027 * config.h.in: Likewise.
15028 * config.make.in: Likewise.
15029 * configure: Likewise.
15030 * configure.in: Likewise.
15031 * csu/Versions: Likewise.
15032 * csu/init.c: Likewise.
15033 * elf/tst-audit2.c: Likewise.
15034 * elf/tst-tls10.c: Likewise.
15035 * elf/tst-tls10.h: Likewise.
15036 * elf/tst-tls11.c: Likewise.
15037 * elf/tst-tls12.c: Likewise.
15038 * elf/tst-tls14.c: Likewise.
15039 * elf/tst-tlsmod11.c: Likewise.
15040 * elf/tst-tlsmod12.c: Likewise.
15041 * elf/tst-tlsmod13.c: Likewise.
15042 * elf/tst-tlsmod13a.c: Likewise.
15043 * elf/tst-tlsmod14a.c: Likewise.
15044 * elf/tst-tlsmod15b.c: Likewise.
15045 * elf/tst-tlsmod16a.c: Likewise.
15046 * elf/tst-tlsmod16b.c: Likewise.
15047 * elf/tst-tlsmod7.c: Likewise.
15048 * elf/tst-tlsmod8.c: Likewise.
15049 * elf/tst-tlsmod9.c: Likewise.
15050 * gmon/gmon.c: Likewise.
15051 * grp/fgetgrent_r.c: Likewise.
15052 * grp/putgrent.c: Likewise.
15053 * hurd/fopenport.c: Likewise.
15054 * include/libc-symbols.h: Likewise.
15055 * include/tls.h: Likewise.
15056 * intl/gettextP.h: Likewise.
15057 * intl/loadinfo.h: Likewise.
15058 * locale/global-locale.c: Likewise.
15059 * locale/localeinfo.h: Likewise.
15060 * mach/devstream.c: Likewise.
15061 * malloc/arena.c: Likewise.
15062 * malloc/set-freeres.c: Likewise.
15063 * misc/err.c: Likewise.
15064 * misc/getttyent.c: Likewise.
15065 * misc/mntent_r.c: Likewise.
15066 * posix/getopt.c: Likewise.
15067 * posix/wordexp.c: Likewise.
15068 * pwd/fgetpwent_r.c: Likewise.
15069 * resolv/Versions: Likewise.
15070 * resolv/res_hconf.c: Likewise.
15071 * shadow/fgetspent_r.c: Likewise.
15072 * shadow/putspent.c: Likewise.
15073 * stdio-common/printf_fphex.c: Likewise.
15074 * stdio-common/tmpfile.c: Likewise.
15075 * stdlib/abort.c: Likewise.
15076 * stdlib/fmtmsg.c: Likewise.
15077 * sunrpc/auth_unix.c: Likewise.
15078 * sunrpc/clnt_perr.c: Likewise.
15079 * sunrpc/clnt_tcp.c: Likewise.
15080 * sunrpc/clnt_udp.c: Likewise.
15081 * sunrpc/clnt_unix.c: Likewise.
15082 * sunrpc/openchild.c: Likewise.
15083 * sunrpc/svc_simple.c: Likewise.
15084 * sunrpc/svc_tcp.c: Likewise.
15085 * sunrpc/svc_udp.c: Likewise.
15086 * sunrpc/svc_unix.c: Likewise.
15087 * sunrpc/xdr.c: Likewise.
15088 * sunrpc/xdr_array.c: Likewise.
15089 * sunrpc/xdr_rec.c: Likewise.
15090 * sunrpc/xdr_ref.c: Likewise.
15091 * sunrpc/xdr_stdio.c: Likewise.
15093 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15095 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15097 2011-07-03 Andreas Jaeger <aj@suse.de>
15099 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15100 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15101 regenerate with gen-libm-tests.pl.
15103 2010-05-12 Petr Baudis <pasky@suse.cz>
15106 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15107 around j0() zero points by switching to j1().
15108 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15109 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15113 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15115 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15117 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15120 Patch in part by Pavel Roskin <proski@gnu.org>.
15123 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15125 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15126 Free memory block if necessary.
15129 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15130 be NULL. Don't lock in this case.
15132 2011-09-09 Roland McGrath <roland@hack.frob.com>
15134 * elf/elf.h (ELFOSABI_GNU): New macro.
15135 (ELFOSABI_LINUX): Define to that.
15137 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15139 * string/strncat.c (strncat): Undef the symbol in case it has been
15140 defined in bits/string.h.
15142 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15144 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15146 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15149 2011-08-17 Andreas Jaeger <aj@suse.de>
15151 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15153 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15154 Ian Lance Taylor <iant@google.com>
15156 * math/libm-test.inc (lround_test): New testcase.
15157 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15159 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15161 * Makefile: Remove support for automatic cvs check-ins.
15162 * Makerules: Likewise.
15163 * config.make.in: Likewise.
15164 * configure.in: Likewise.
15165 * intl/Makefile: Likewise.
15166 * locale/Makefile: Likewise.
15167 * po/Makefile: Likewise.
15168 * posix/Makefile: Likewise.
15169 * sysdeps/gnu/Makefile: Likewise.
15170 * sysdeps/mach/hurd/Makefile: Likewise.
15171 * sysdeps/sparc/sparc32/Makefile: Likewise.
15174 * posix/Makefile (bug-regex32-ENV): Define.
15175 Patch by John Stanley <jpsinthemix@verizon.net>.
15177 * misc/Makefile (headers): Add bits/select2.h.
15178 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15179 * misc/bits/select2.h: New file.
15180 * include/bits/select2.h: New file.
15181 * debug/Makefile (routines): Add fdelt_chk.
15182 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15183 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15185 * debug/fdelt_chk.c: New file.
15187 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15188 * wcsmbs/test-wmemcmp.c: Likewise.
15189 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15190 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15192 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15194 * string/Makefile (strop-tests): Add memcmp.
15195 * string/test-wmemcmp.c: New file.
15196 * string/test-memcmp.c: Add wmemcmp support.
15198 2011-09-08 Roland McGrath <roland@hack.frob.com>
15201 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15204 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15205 garbage value in a __mach_port_mod_refs call in the cases of the
15206 task-self and thread-self ports.
15208 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15210 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15212 2011-09-08 Andreas Schwab <schwab@redhat.com>
15214 * elf/dl-load.c (lose): Check for non-null L.
15216 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15218 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15220 * elf/dl-libc.c (dlerror_run): Pass back error code from
15224 * elf/dl-load.c (lose): Free l_origin if it is valid.
15226 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15228 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15230 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15231 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15232 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15233 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15235 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15237 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15238 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15239 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15240 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15241 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15242 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15243 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15244 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15245 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15246 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15248 2011-08-15 Alan Modra <amodra@gmail.com>
15251 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15252 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15253 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15254 ppc_mcount to static-only-routines.
15255 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15257 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15258 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15260 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15262 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15263 for finite and infinity parameters.
15265 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15267 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15268 and add nop instructions for throughput optimization.
15269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15271 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15274 aligned copy for power7 with vector-scalar instructions.
15275 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15277 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15282 2011-09-07 Andreas Schwab <schwab@redhat.com>
15285 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15288 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15290 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15291 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15292 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15296 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15298 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15299 Forgot to demangle the pointer.
15301 * sysdeps/i386/sysdep.h: Define atom_text_section.
15302 * sysdeps/x86_64/sysdep.h: Likewise.
15303 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15304 section with atom_text_section.
15305 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15307 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15309 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15311 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15313 already be defined. Change to take two parameters and don't assign
15314 result to variable. Adjust all users.
15315 Define INTERNAL_GETTIME if not already defined.
15316 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15319 HAVE_CLOCK_GETTIME_VSYSCALL.
15320 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15323 gettimeofday vsyscall, just use time.
15325 2011-09-06 Andreas Schwab <schwab@redhat.com>
15327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15330 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15332 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15336 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15337 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15338 syscall if possible.
15340 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15342 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15343 e_ident. Don't pass to find_mapsXX.
15344 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15346 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15349 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15350 * sysdeps/x86_64/multiarch/strchr.S: Update.
15351 Check bit_slow_BSF bit.
15352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15353 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15354 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15356 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15359 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15361 (tryshell): Define.
15362 (__spawni): Change last parameter to be flag. Test
15363 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15364 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15365 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15366 * posix/spawni.c: Likewise.
15367 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15368 * posix/spawnp.c: Likewise. Change normal version to use
15369 SPAWN_XFLAGS_USE_PATH.
15370 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15371 SPAWN_XFLAGS_TRY_SHELL.
15374 * posix/glob.h: Remove gcc 1.x support.
15377 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15379 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15382 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15384 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15385 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15386 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15387 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15388 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15389 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15391 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15393 * sysdeps/x86_64/wcscmp.S: New file.
15395 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15396 wcscmp-c wcscmp-sse2
15397 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15398 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15399 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15400 * wcsmbs/wcscmp.c: Allow renaming.
15402 2011-09-05 David S. Miller <davem@davemloft.net>
15404 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15405 stack slot, rather than the struct return pointer slot.
15406 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15407 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15411 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15413 * po/ja.po: Update from translation team.
15416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15417 kernel in 64-bit binaries.
15419 2011-09-01 David S. Miller <davem@davemloft.net>
15421 * elf/elf.h (HWCAP_SPARC_*): Move to..
15422 * sysdeps/sparc/sysdep.h: this new file and add new values.
15423 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15424 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15425 _DL_HWCAP_COUNT to 24.
15426 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15428 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15429 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15430 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15432 instead of magic constants.
15433 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15435 2011-08-31 David S. Miller <davem@davemloft.net>
15437 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15439 Reimplement to do errno handling inline.
15440 (SYSCALL_ERROR_HANDLER): New macro.
15441 (__SYSCALL_STRING): Do not do errno handling in asm.
15442 (__CLONE_SYSCALL_STRING): Delete.
15443 (__INTERNAL_SYSCALL_STRING): Delete.
15444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15445 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15446 (PSEUDO): Reimplement to do errno handling inline.
15447 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
15453 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15455 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15456 (inline_syscall*): Add 'err' argument.
15457 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15458 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15459 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15460 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15462 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15463 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15465 2011-08-30 Andreas Schwab <schwab@redhat.com>
15467 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15469 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15471 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15474 2011-08-24 David S. Miller <davem@davemloft.net>
15476 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15478 2011-08-24 Andreas Schwab <schwab@redhat.com>
15480 * elf/Makefile: Add rules to build and run unload8 test.
15481 * elf/unload8.c: New file.
15482 * elf/unload8mod1.c: New file.
15483 * elf/unload8mod1x.c: New file.
15484 * elf/unload8mod2.c: New file.
15485 * elf/unload8mod3.c: New file.
15487 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15490 2011-08-23 David S. Miller <davem@davemloft.net>
15492 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15493 subtract stack bias.
15494 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15495 %sp not %fp in calculations.
15496 (_JMPBUF_UNWINDS_ADJ): Likewise.
15498 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15499 (aio_suspend): Call it to force an exception region around the
15500 AIO_MISC_WAIT() invocation.
15502 2011-08-23 Andreas Schwab <schwab@redhat.com>
15504 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15507 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15509 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15511 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15512 and <dl-machine.h>.
15513 (Elf64_FuncDesc): Remove.
15515 2011-08-22 David S. Miller <davem@davemloft.net>
15517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15518 sigaltstack check, add missing cfi directives.
15519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15520 missing cfi directives, and sigaltstack handling.
15522 2011-08-16 Andreas Schwab <schwab@redhat.com>
15525 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15526 object is seen twice.
15527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15529 * elf/Makefile (distribute): Add tst-initorder2.c.
15530 (tests): Add tst-initorder2.
15531 (modules-names): Add tst-initorder2a tst-initorder2b
15532 tst-initorder2c tst-initorder2d. Add rules to build them.
15533 ($(objpfx)tst-initorder2.out): New rule.
15534 * elf/tst-initorder2.c: New file.
15535 * elf/tst-initorder2.exp: New file.
15537 2011-08-22 Andreas Schwab <schwab@redhat.com>
15539 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15541 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15542 dependencies back to end of function.
15544 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15545 $(elfobjdir)/ld.so.
15547 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15550 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15552 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15553 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15554 of __vdso_gettimeofday.
15555 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15556 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15558 (_libc_vdso_platform_setup): Remove initialization of
15559 __vdso_gettimeofday and __vdso_time.
15561 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15563 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15564 and fgetc_unlocked.
15565 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15568 * elf/dl-open.c (add_to_global): Report additions to the global scope
15569 for LD_DEBUG=scopes.
15570 (dl_open_worker): Also print scope of newly loaded dependencies.
15571 (_dl_show_scope): Indicate if there is no scope.
15574 * stdio-common/Makefile (tests): Add bug24.
15575 * stdio-common/bug24.c: New file.
15577 2011-08-19 Andreas Jaeger <aj@suse.de>
15580 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15581 non-existant file when using close-on-exec mode.
15583 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15586 the very first instruction.
15588 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15589 the CFI state in the end.
15590 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15591 inclusion of dl-trampoline.h.
15592 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15594 2011-08-19 Andreas Schwab <schwab@redhat.com>
15596 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15597 expectations for long double.
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15600 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15602 2011-08-14 David S. Miller <davem@davemloft.net>
15604 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15605 artificual limit depends upon the system page size.
15607 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15609 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15610 * resolv/Makefile: Define CFLAGS-libresolv.
15612 2011-08-17 Andreas Schwab <schwab@redhat.com>
15614 * nss/makedb.c (compute_tables): Make variables used in nested
15617 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15619 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15620 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15621 if buffer was too small.
15623 * elf/pldd.c (main): Attach to all threads in the process.
15624 Rewrite /proc handling to use *at functions.
15626 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15628 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15629 specifies first scope to show.
15630 (dl_open_worker): Update callers. Move printing scope of new
15631 object to before the relocation.
15632 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15633 * sysdeps/generic/ldsodefs.h: Update declaration.
15635 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15636 string for the scope number.
15638 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15640 * nscd/servicescache.c (cache_addserv): Make sure written is always
15643 2011-08-14 Roland McGrath <roland@hack.frob.com>
15645 * sysdeps/i386/i486/bits/atomic.h
15646 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15647 statement expression, so as to suppress "set but not used" warning.
15648 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15650 * string/strncat.c (STRNCAT): Use prototype definition.
15652 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15653 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15655 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15656 (localedef-modules): Add localedef.
15657 (locale-modules): Add locale.
15659 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15660 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15661 to avoid a warning.
15663 2011-08-14 David S. Miller <davem@davemloft.net>
15665 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15666 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15668 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15670 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15671 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15672 * elf/rtld.c (dl_main): Set l_name of vDSO.
15673 Call _dl_show_scope when DL_DEBUG_SCOPES.
15674 (process_dl_debug): Recognize scopes flag and also set it for all.
15675 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15676 Declare _dl_show_scope.
15678 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15679 (do_dlopen): Pass caller_dlopen to dl_open.
15680 (__libc_dlopen_mode): Initialize caller_dlopen.
15682 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15683 of libc. Make tolower call locale-independent. Optimize a bit by
15684 using isdigit instead of isalnum.
15685 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15687 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15689 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15690 was a dependency or dynamically loaded.
15692 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15694 * intl/l10nflist.c: Allow architecture-specific pop function.
15695 * sysdeps/x86_64/l10nflist.c: New file.
15697 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15700 2011-08-10 Andreas Schwab <schwab@redhat.com>
15702 * include/dirent.h: Add libc_hidden_proto for scandirat and
15703 scandirat64. Don't declare __scandirat64.
15704 * dirent/scandirat.c: Add libc_hidden_def.
15705 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15706 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15708 2011-08-10 David S. Miller <davem@davemloft.net>
15710 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15716 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15718 * Versions.def [libc]: Add GLIBC_2.15.
15719 * dirent/Makefile (routines): Add scandirat and scandirat64.
15720 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15722 * dirent/dirent.h: Declare scandirat and scandirat64.
15723 * dirent/scandirat.c: New file.
15724 * dirent/scandirat64.c: New file.
15725 * sysdeps/wordsize-64/scandirat.c: New file.
15726 * sysdeps/wordsize-64/scandirat64.c: New file.
15727 * dirent/opendir.c: Define opendirat.
15728 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15730 * dirent/scandir64.c: Adjust for scandir.c change.
15731 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15732 __scandirat64, and __scandir_cancel_handler.
15733 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15734 additional parameter and use openat instead of open (outside of ld.so).
15735 Add new __opendir as wrapper around __opendirat.
15736 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15737 here without requiring old scandirat implementation.
15739 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15741 * dirent/scandir.c (cancel_handler): Renamed to
15742 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15743 defined. Adjust users.
15744 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15745 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15747 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15749 * string/test-string.h (IMPL): Use __STRING to expand name and then
15752 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15755 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15757 * string/Makefile: Update.
15758 (strop-tests): Append strncat.
15759 * string/test-wcscmp.c: New file.
15760 New comprehensive test for wcscmp.
15761 * string/test-strcmp.c: Update.
15762 (WIDE): New define.
15764 2011-07-22 Andreas Schwab <schwab@redhat.com>
15766 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15769 2011-07-26 Andreas Schwab <schwab@redhat.com>
15771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15772 encoding to ACE if AI_IDN.
15774 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15776 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15777 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15779 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15781 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15782 Fix overflow bug in strncat.
15783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15785 * string/test-strncat.c: Update.
15786 Add new tests for checking overflow bugs.
15788 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15791 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15792 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15793 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15795 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15796 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15797 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15798 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15801 (USE_AS_STRCAT): Define.
15802 Add strcat and strncat support.
15803 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15805 2011-07-25 Andreas Schwab <schwab@redhat.com>
15807 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15808 __n bigger than INT_MAX+1.
15809 (__strncmp_g): Likewise.
15811 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15813 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15814 * libio/stido.h: Likewise.
15816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15821 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15822 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15823 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15824 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15828 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15831 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15833 (_dl_x86_64_save_sse): Likewise.
15835 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15837 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15839 (_dl_x86_64_save_sse): Likewise.
15841 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15843 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15845 2011-07-21 Andreas Schwab <schwab@redhat.com>
15847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15849 (_dl_x86_64_save_sse): Use correct AVX check.
15851 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15853 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15854 bug in strncpy/strncat.
15855 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15857 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15859 * string/tester.c (test_strcat): Add tests for different alignments
15860 of source and destination.
15861 (test_strncat): Likewise.
15863 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15866 * posix/glob.c (glob): Check passed in values before using them in
15867 expressions to avoid some overflows.
15868 (glob_in_dir): Likewise.
15871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15872 check for AVX enablement so that we don't crash with old kernels and
15874 * elf/tst-audit4.c: Add same checks here.
15875 * elf/tst-audit6.c: Likewise.
15877 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15879 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15881 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15883 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15885 * po/cs.po: Update from translation team.
15886 * po/bg.po: Likewise.
15888 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15890 * misc/sys/cdefs.h: Add support for const attribute.
15891 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15892 to gnu_dev_{major,minor,makedev} functions.
15894 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15896 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15898 2011-07-20 Andreas Schwab <schwab@redhat.com>
15900 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15903 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15906 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15907 register in order to avoid conflicts with the soft frame pointer
15908 being held in r11 when necessary.
15909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15910 (INTERNAL_VSYSCALL_NCS): Likewise.
15912 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15914 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15915 * elf/dl-fini.c (_dl_fini): Adjust caller.
15916 * elf/dl-close.c (_dl_close_worker): Likewise.
15917 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15919 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15921 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15922 "aux_cache->nlibs < 0".
15924 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15925 in the reload-count case.
15927 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15930 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15931 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15932 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15933 * sysdeps/x86_64/multiarch/strcat.S: New file.
15934 * sysdeps/x86_64/multiarch/strncat.S: New file.
15935 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15936 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15937 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15938 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15940 (USE_AS_STRCAT): Define.
15941 Add strcat and strncat support.
15942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15943 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15944 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15945 * string/strncat.c: Update.
15946 (USE_AS_STRNCAT): Define.
15947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15948 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15950 * sysdeps/x86_64/multiarch/init-arch.h
15951 (bit_Prefer_PMINUB_for_stringop): New.
15952 (index_Prefer_PMINUB_for_stringop): Likewise.
15953 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15954 bit_Prefer_PMINUB_for_stringop.
15956 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15958 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15960 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15961 of casting of buffer.
15962 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15963 buffer32 and buffer64.
15964 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15965 writes instead of casting of buffer.
15966 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15968 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15971 2011-07-19 Andreas Schwab <schwab@redhat.com>
15973 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15975 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15977 * nscd/nscd.c (termination_handler): Don't do anything for a database
15978 if it has not yet been initialized.
15980 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15982 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15984 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15986 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15988 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15990 * po/nl.po: Update from translation team.
15991 * po/sv.po: Likewise.
15993 2011-07-16 Roland McGrath <roland@hack.frob.com>
15995 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15996 now disallowed by GCC.
15998 * configure.in (use-default-link): Default to yes if a test -shared
15999 link meets our qualifications.
16000 * configure: Regenerated.
16002 * config.make.in (output-format): New variable.
16003 * configure.in: Check for ld --print-output-format support.
16004 * configure: Regenerated.
16005 * Makerules ($(common-objpfx)format.lds)
16006 [$(output-format) != unknown]: Just use $(output-format),
16007 instead of the linker-script munging.
16009 2011-07-14 Roland McGrath <roland@hack.frob.com>
16011 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16012 of $(common-objpfx)shlib.lds.
16013 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16015 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16016 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16018 * configure.in (-z relro check): Adjust test code to add a large
16019 writable data section after it.
16020 * configure: Regenerated.
16022 2011-07-11 Roland McGrath <roland@hack.frob.com>
16024 * configure.in (-z relro check): Fix test code to make the variable
16026 * configure: Regenerated.
16028 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16030 * nscd/nscd.h (struct traced_file): Define.
16031 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16032 elements. Add traced_files.
16033 (inotify_fd): Declare.
16034 (register_traced_file): Declare.
16035 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16036 (inotify_fd): Export.
16037 (resolv_conf_descr): Remove.
16038 (nscd_init): Move inotify descriptor creation to main.
16039 Don't register files for notification here.
16040 (register_traced_file): New function.
16041 (invalidate_cache): Don't use reset_res to determine whether to call
16042 res_init, go through the list of registered files.
16043 (main_loop_poll): The inotify descriptors are now stored in the
16044 structures for the traced files.
16045 (main_loop_epoll): Likewise
16046 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16047 to __nss_disable_nscd.
16048 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16049 for a database anymore. Check the records for all the registered
16051 * nss/Makefile (libnss_files-routines): Add files-init.
16052 (libnss_db-routines): Add db-init.
16053 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16054 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16055 * nss/nss_db/db-init.c: New file.
16056 * nss/nss_files/files-init.c: New file.
16057 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16058 __nss_lookup_function.
16059 (__nss_lookup_function): Call nss_load_library.
16060 (nss_load_all_libraries): New function.
16061 (__nss_disable_nscd): Take parameter with callback function for files
16062 to register. Set is_nscd. Load all the DSOs for the NSS modules
16063 used for the cached services.
16064 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16065 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16066 options for features to all the files in nscd.
16068 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16070 2011-07-10 Roland McGrath <roland@hack.frob.com>
16072 * csu/elf-init.c (__libc_csu_init): Comment typo.
16074 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16076 * po/pl.po: Update from translation team.
16077 * po/ja.po: Likewise.
16078 * po/ru.po: Likewise.
16079 * po/ko.po: Likewise.
16080 * po/fr.po: Likewise.
16082 2011-07-09 Roland McGrath <roland@hack.frob.com>
16084 * configure.in (.ctors/.dtors header and trailer check):
16085 Use an empirical test on a built program.
16086 * configure: Regenerated.
16088 * configure.in (-z relro check): Use an empirical test on a built DSO.
16089 Detect, but do not require, on ia64.
16090 * configure: Regenerated.
16092 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16093 Update tests that use readelf to use $READELF instead.
16094 * configure: Regenerated.
16096 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16098 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16099 if the result is not used.
16101 2011-07-05 Andreas Jaeger <aj@suse.de>
16104 * stdlib/tst-strtod.c: Add testcase.
16106 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16108 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16109 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16110 The latter has a higher limit. Take additional parameter to pass to
16112 (__pathconf): Pass file to __statfs_link_max.
16113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16115 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16119 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16120 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16122 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16123 (__statfs_filesize_max): Likewise.
16124 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16126 2011-07-05 Andreas Jaeger <aj@suse.de>
16128 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16130 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16132 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16134 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16137 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16139 * Makefile (strop-tests): Add strncat.
16140 * string/test-strncat.c: New file.
16142 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16144 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16146 2011-06-21 Andreas Jaeger <aj@suse.de>
16148 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16149 Copy rule from iconvdata/Makefile.
16151 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16154 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16155 but no long options are defined, just return 'W'.
16157 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16160 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16162 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16164 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16166 (innetgr): Likewise.
16168 2011-07-05 Roland McGrath <roland@hack.frob.com>
16170 * config.make.in (install_root): Default to $(DESTDIR).
16172 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16176 2011-07-02 Roland McGrath <roland@hack.frob.com>
16178 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16180 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16181 containing directory rather than embedding absolute directory names.
16183 * scripts/check-local-headers.sh: Rewritten using awk.
16184 Match by word, not by line. Print error messages for matches.
16185 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16187 * Makerules [shlib-lds-flags empty]:
16188 ($(common-objpfx)libc_pic.opts): New target.
16189 ($(common-objpfx)libc_pic.os.clean): New target.
16190 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16192 * config.make.in (OBJCOPY): New variable.
16193 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16194 * configure: Regenerated.
16196 * config.make.in (use-default-link): New variable.
16197 * configure.in (use_default_link): Grok --with-default-link to set it.
16198 * configure: Regenerated.
16199 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16200 (shlib-lds, shlib-lds-flags): Define to empty.
16202 * Makerules (shlib-lds): New variable.
16203 (shlib-lds-flags): New variable.
16204 (build-shlib, build-moduile, build-module-asneeded): Use it.
16205 ($(common-objpfx)libc.so): Use $(shlib-lds).
16206 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16207 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16209 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16210 DT_FLAGS/DT_FLAGS_1 with zero flags.
16212 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16213 linker script munging.
16215 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16217 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16219 * crypt/sha512.c (sha512_process_block): Perform total addition using
16220 128-bit if possible.
16221 (__sha512_finish_ctx): Likewise.
16222 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16224 * crypt/sha256.c (SWAP64): Define.
16225 (sha256_process_block): Perform total addition using 64-bit if
16227 (__sha256_finish_ctx): Likewise.
16229 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16231 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16233 * nscd/hstcache.c (cache_addhst): Likewise.
16234 * nscd/grpcache.c (cache_addgr): Likewise.
16235 * nscd/aicache.c (addhstaiX): Likewise
16236 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16238 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16240 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16242 * nscd/hstcache.c (cache_addhst): Likewise.
16243 * nscd/grpcache.c (cache_addgr): Likewise.
16244 * nscd/aicache.c (addhstaiX): Likewise
16246 2011-07-01 Andreas Schwab <schwab@redhat.com>
16248 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16249 domain only when needed.
16251 2011-06-30 Andreas Schwab <schwab@redhat.com>
16253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16254 is always restored.
16256 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16258 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16259 are re-adding the entry.
16260 * nscd/servicescache.c (cache_addserv): Likewise.
16262 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16264 * sysdeps/generic/dl-irel.h: fix protection against multiple
16266 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16268 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16271 * malloc/memusage.sh: Fix quoting in message.
16272 * debug/xtrace.sh: Likewise.
16274 * configure.in: Remove support for --experimental-malloc option, make
16276 * config.make.in: Likewise.
16277 * malloc/Makefile: Likewise.
16279 2011-06-27 Andreas Schwab <schwab@redhat.com>
16281 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16282 two-byte characters.
16284 2011-06-27 Roland McGrath <roland@hack.frob.com>
16286 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16287 AC_CACHE_CHECK invocation.
16288 * configure: Regenerated.
16290 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16292 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16295 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16296 bit from old_res_options.
16298 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16300 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16301 value type for setfct.
16303 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16306 __gettimeofday instead of gettimeofday.
16308 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16310 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16312 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16319 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16322 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16323 strcpy-sse2-unaligned strncpy-sse2-unaligned
16324 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16325 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16326 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16327 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16328 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16329 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16330 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16331 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16332 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16333 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16334 (STRCPY): Support SSE2 and SSSE3 versions.
16336 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16339 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16340 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16341 kernels which artificially limit size of requests.
16343 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16346 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16347 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16348 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16349 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16350 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16351 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16352 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16354 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16355 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16356 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16357 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16358 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16359 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16361 Enable unaligned load optimization for Intel Core i3, i5 and i7
16363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16365 (index_Fast_Unaligned_Load): Define.
16366 (HAS_FAST_UNALIGNED_LOAD): Define.
16368 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16370 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16372 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16376 until it is clear that the information is realy needed.
16377 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16379 2011-06-22 Andreas Schwab <schwab@redhat.com>
16381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16383 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16386 /sys/devices/system/cpu/online if it is usable.
16388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16389 reading the information from the /proc filesystem to once a second.
16391 2011-06-21 Andreas Jaeger <aj@suse.de>
16393 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16394 NULL after inclusion of kernel headers.
16396 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16398 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16399 calls to internal_setent.
16402 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16403 addresses using gethostbyname4_r ignore IPv4 addresses.
16405 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16406 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16408 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16410 2011-06-20 David S. Miller <davem@davemloft.net>
16412 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16414 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16416 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16417 (elf_irel): Use it.
16418 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16419 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16420 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16421 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16422 * sysdeps/x86_64/dl-irel.h: Likewise.
16424 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16425 * elf/dl-sym.c: Likewise.
16427 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16429 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16430 need to dereference resplen2.
16432 2011-06-14 Andreas Schwab <schwab@redhat.com>
16434 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16436 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16438 * Makeconfig: Define vardbdir and inst_vardbdir.
16439 * nss/Makefile: Add rules to install db-Makefile.
16441 * nss/nss_db/db-XXX.c: Cleanup.
16443 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16444 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16446 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16447 * nss/makedb.c: Implement -g option to specify that value strings
16448 are generated and should not be added to table iterated over for
16450 * nss/nss_db/db-initgroups.c: New file.
16452 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16455 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16456 (internal_getgrouplist): Adjust to name change.
16457 Update use_initgroups_entry if this is not the first call.
16458 * nss/databases.def: Add initgroups entry.
16460 * nss/makedb.c (compute_tables): Check result of multiple hash table
16461 sizes to minimize maximum chain length.
16463 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16465 * Versions.def: Add entry for libnss_db.
16466 * shlib-versions: Likewise.
16467 * nss/Makefile: Add rules to build libnss_db.
16468 * nss/Versions: Add libnss_db information. Organize libnss_files
16470 * nss/db-Makefile: Add gshadow support. Change rules for the new
16471 makedb progra. Some minor improvements to generate smaller files.
16472 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16474 * nss/makedb.c: ...here.
16475 Improve database format to be smaller and require less memory at
16477 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16479 * nss/nss_db/db-netgrp.c: Likewise.
16480 * nss/nss_db/db-open.c: Likewise.
16481 * nss/nss_files/flies-XXX.x: Adjust comments.
16482 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16483 * nss/nss_files/files-grp.c: Likewise.
16484 * nss/nss_files/files-hosts.c: Likewise.
16485 * nss/nss_files/files-network.c: Likewise.
16486 * nss/nss_files/files-proto.c: Likewise.
16487 * nss/nss_files/files-pwd.c: Likewise.
16488 * nss/nss_files/files-rpc.c: Likewise.
16489 * nss/nss_files/files-service.c: Likewise.
16490 * nss/nss_files/files-sgrp.c: Likewise.
16491 * nss/nss_files/files-spwd.c: Likewise.
16492 * nss/nss_db/db-alias.c: Removed.
16493 * nss/nss_db/dummy-db.h: Removed.
16495 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16497 * nss/makedb.c: Rewritten to not use database library.
16498 * nss/Makefile: Update to build new makedb program.
16500 2011-06-14 Andreas Jaeger <aj@suse.de>
16502 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16503 memset declaration.
16505 2011-06-10 Andreas Schwab <schwab@redhat.com>
16507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16510 2011-06-10 Roland McGrath <roland@hack.frob.com>
16512 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16513 * elf/Makefile ($(objpfx)ld.so): Likewise.
16515 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16516 Don't list ld.so twice in dependencies.
16518 * posix/bug-regex31.c: Include <stdlib.h>.
16520 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16522 * nis/nss_compat/compat-spwd.c
16523 (getspent_next_nss_netgr): Remove unused variable.
16524 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16526 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16527 nonmembers" output to use the right array.
16529 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16531 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16533 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16534 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16535 * catgets/gencat.c (read_input_file): Likewise.
16536 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16538 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16539 variable definition inside #if's controlling its use.
16541 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16543 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16545 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16547 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16550 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16552 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16553 * configure: Regenerated.
16555 * Makerules: Revert last change.
16556 * elf/Makefile: Likewise.
16558 2011-06-09 Roland McGrath <roland@hack.frob.com>
16560 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16561 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16562 (reloc-link): Likewise.
16564 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16566 * elf/Makefile: Add rules to build pldd.
16567 * elf/pldd.c: New file.
16568 * elf/pldd-xx.c: New file.
16570 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16572 * version.h: Update for 2.15 development version.
16574 2011-06-07 David S. Miller <davem@davemloft.net>
16576 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16579 elf_machine_lazy_rel): Likewise.
16580 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16582 elf_machine_lazy_rel): Likewise.
16583 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16584 dl_hwcap via passed in argument.
16585 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16588 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16590 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16592 2011-06-06 Roland McGrath <roland@hack.frob.com>
16595 * manual/fdl-1.1.texi: New file, verbatim from:
16596 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16597 * manual/lgpl-2.1.texi: New file, verbatim from:
16598 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16599 * manual/Makefile (licenses): New variable, list those new file names.
16601 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16603 * manual/fdl.texi: File removed.
16604 * manual/lesser.texi: File removed.
16605 * manual/libc.texinfo (Copying, Documentation License):
16606 Use new @include file names, put @appendix directive before @include.
16608 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16611 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16612 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16613 (mq_open): Add __NTH.
16615 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16618 Assume Intel Core i3/i5/i7 processor if AVX is available.
16620 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16625 2011-05-31 Andreas Schwab <schwab@redhat.com>
16627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16628 memory. Use alloca_account. Fix memory leak when retrying.
16630 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16632 * version.h (RELEASE): Bump for 2.14 release.
16633 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16635 * config.make.in (RANLIB): Remove entry.
16637 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16639 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16640 (libc.pot): Work around missing support for .ksh extension in xgettext.
16643 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16644 if both request failed.
16645 (send_dg): In case of server errors clear resplen or *resplen2.
16648 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16649 when there are multiple maps.
16650 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16651 (_dl_fini): Remove test here.
16653 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16655 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16658 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16659 bit from old_res_options.
16660 (gaih_inet): Likewise.
16663 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16666 * resolv/res_init.c (res_setoptions): Make the code more compact.
16669 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16673 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16675 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16678 * malloc/malloc.h: Declare malloc hook variables as volatile.
16680 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16684 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16685 raise in the comment.
16686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16688 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16690 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16693 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16694 grow the buffers more if it already has to be sufficient.
16695 (build_wcs_upper_buffer): Likewise.
16696 * posix/regexec.c (check_matching): Likewise.
16697 (clean_state_log_if_needed): Likewise.
16698 (extend_buffers): Don't enlarge buffers beyond size of the input
16700 Patches mostly by Emil Wojak <emil@wojak.eu>.
16701 * posix/bug-regex32.c: New file.
16702 * posix/Makefile (tests): Add bug-regex32.
16704 * locale/findlocale.c (_nl_find_locale): Return right away if
16705 _nl_explode_name failed.
16706 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16708 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16710 * debug/xtrace.sh: Unify messages.
16711 * malloc/memusage.sh: Likewise.
16714 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16715 time symbol from vDSO. Substitute with vsyscall if not available.
16716 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16719 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16720 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16721 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16722 Add sendmmsg and internal_sendmmsg.
16723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16724 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16725 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16727 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16728 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16729 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16731 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16734 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16735 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16741 * iconvdata/Makefile (tests): Add bug-iconv9.
16742 * iconvdata/bug-iconv9.c: New file.
16744 2011-05-27 Andreas Schwab <schwab@redhat.com>
16747 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16749 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16752 (struct user_regs_struct): Change intcs field back to cs.
16754 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16756 * po/ja.po: Update from translation team.
16758 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16761 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16762 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16764 2011-05-20 Andreas Schwab <schwab@redhat.com>
16766 * stdlib/longlong.h: Update from GCC.
16768 2011-05-23 Andreas Schwab <schwab@redhat.com>
16770 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16772 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16773 Add parameter name.
16774 (__sysconf): Pass it down.
16776 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16779 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16781 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16782 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16783 add in in __libc_use_alloca calls. Adjust callers.
16784 (glob): Use malloc in some situations.
16786 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16787 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16790 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16792 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16793 and CLOCK_BOOTTIME_ALARM.
16796 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16799 * string/_strerror.c (__strerror_r): Print negative errors as signed
16803 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16804 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16805 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16807 * configure.in: Fix typo in redirection and correct removal of test
16808 files in two cases.
16811 * locale/setlocale.c (new_composite_name): Fix test to check for
16812 identical name of all categories.
16815 * libio/filedoalloc.c (local_isatty): New function.
16816 (_IO_file_doallocate): Use local_isatty.
16817 * stdio-common/perror.c (perror): In case a new stream is used
16818 forward the stream error.
16819 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16822 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16827 * include/alloca.h (extend_alloca_account): Define.
16830 * posix/regex.h: Fix comments with documentation of user-accessible
16831 fields after compilation and describe correct free'ing of pattern
16832 after re_compile_pattern.
16833 Patch by Reuben Thomas <rrt@sc3d.org>.
16835 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16837 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16838 and -mno-altivec to prevent the compiler from using Altivec and/or
16839 VSX instructions when the corresponding registers are not available.
16841 2011-05-19 Andreas Schwab <schwab@redhat.com>
16843 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16845 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16847 * libio/freopen.c (freopen): Use __dup2, not dup2.
16848 * libio/freopen64.c (freopen64): Likewise.
16850 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16853 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16854 * math/Makefile (tests): Add test-powl.
16855 (CFLAGS-test-powl.c): Define.
16856 * math/test-powl.c: New file.
16858 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16860 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16862 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16865 * iconvdata/gb18030.c: Update to GB18020-2005.
16867 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16869 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16870 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16871 Patch by Aharon Robbins <arnold@skeeve.com>.
16874 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16878 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16879 through underflows.
16882 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16883 point to strings before performing equality test for error_one_per_line
16887 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16891 (struct user_fpregs_struct): Avoid __uint*_t types.
16894 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16895 symbol info. Use it instead of calling _dl_addr locally.
16896 (lock_and_info): New function.
16897 (tr_freehook): Call lock_and_info and pass symbol info as additional
16898 parameter to tr_where.
16899 (tr_mallochook): Likewise.
16900 (tr_reallochook): Likewise.
16901 (tr_memalignhook): Likewise.
16903 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16904 used and couldn't be at all thread-safe.
16906 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16908 * libio/freopen.c (freopen): Don't close old file descriptor
16909 before the new one is opened. Instead dup the new file descriptor
16910 to the old one after the new stream is created.
16911 * libio/freopen64.c (freopen64): Likewise.
16912 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16913 * libio/fileops.c (_IO_new_file_close_it): Handle new
16914 _IO_FLAGS2_NOCLOSE flag.
16915 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16916 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16917 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16918 _IO_FLAGS2_NOCLOSE flag.
16919 * include/unistd.h: Add hidden_proto for dup3.
16920 Define __have_dup3.
16921 * io/dup3.c: Define hidden symbol.
16922 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16925 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16926 when an incomplete long option is used.
16927 * posix/tst-getopt_long1.c: New file.
16928 * posix/Makefile (tests): Add tst-getopt_long1.
16931 * scripts/config.guess: Update from autoconf-2.68.
16932 * scripts/config.sub: Likewise.
16935 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16937 (has_cpuclock): ...this. New function.
16938 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16939 macro here based on has_cpuclock code.
16942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16943 First byte (not low byte) is now always NUL.
16944 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16947 Use non-cancelable interfaces.
16950 * locale/iso-639.def: Add entry for Sorani.
16953 * include/stdlib.h: Move include protection to the right place.
16954 Define abort_msg_s. Declare __abort_msg with it.
16955 * stdlib/abort.c (__abort_msg): Adjust type.
16956 * assert/assert.c (__assert_fail_base): New function. Majority
16957 of code from __assert_fail. Allocate memory for __abort_msg with
16959 (__assert_fail): Now call __assert_fail_base.
16960 * assert/assert-perr.c: Remove bulk of implementation. Use
16961 __assert_fail_base.
16962 * include/assert.hL Declare __assert_fail_base.
16963 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16965 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16967 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16971 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16972 until all modules are registered in the DTV.
16973 * elf/Makefile: Add rules to build and run tst-tls19.
16974 * elf/tst-tls19.c: New file.
16975 * elf/tst-tls19mod1.c: New file.
16976 * elf/tst-tls19mod2.c: New file.
16977 * elf/tst-tls19mod3.c: New file.
16978 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16981 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16985 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16986 two-byte sequence errors.
16987 * iconvdata/Makefile (tests): Add bug-iconv8.
16988 * iconvdata/bug-iconv8.c: New file.
16991 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16994 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16997 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16998 (dummy_getcfa): New function.
16999 (init): Get _Unwind_GetCFA address, use dummy if not found.
17000 (backtrace_helper): In recursion check, also check whether CFA changes.
17001 (__backtrace): Completely initialize arg.
17003 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17004 storing incomplete byte sequence in state object. Avoid testing for
17005 guaranteed too small input if we know there is enough data available.
17007 2011-05-11 Andreas Schwab <schwab@redhat.com>
17009 * Makeconfig (+link-pie): Indent.
17010 * Rules (binaries-pie): Define if $(have-fpie) and
17012 (binaries-shared): Also filter out $(binaries-pie).
17013 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17014 * nscd/Makefile (others-pie): Add nscd.
17015 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17016 ($(objpfx)nscd): Remove command override.
17017 * login/Makefile (others-pie): Add pt_chown.
17018 ($(objpfx)pt_chown): Remove command override.
17019 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17020 remove command overrides.
17022 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17024 * libio/tst_putwc.c: Fix error messages.
17027 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17028 currently writing and seek to current position when not.
17029 * libio/Makefile (tests): Add bug-fclose1.
17030 * libio/bug-fclose1.c: New file.
17032 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17035 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17036 don't set DF_1_NODELETE here.
17037 (do_lookup_x): When entering new entry test for copy relocation
17038 and if necessary set DF_1_NODELETE flag.
17039 * elf/tst-unique4.cc: New file.
17040 * elf/tst-unique4.h: New file.
17041 * elf/tst-unique4lib.cc: New file.
17042 * elf/Makefile: Add rules to build and run tst-unique4.
17043 Patch by Piotr Bury <pbury@goahead.com>.
17045 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17048 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17051 * misc/mntent_r.c (addmntent): Flush the stream after the output
17054 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17055 (is_trusted_path_normalize): Skip initial colon. Append slash
17056 to empty buffer. Duplicate is_trusted_path code but allow
17057 constructed patch to be prefix.
17058 (is_dst): Allow $ORIGIN followed by /.
17059 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17060 Correct testing of result of is_trusted_path_normalize
17061 (decompose_rpath): Fix warning.
17063 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17066 * grp/initgroups.c (internal_getgrouplist): When we found the service
17067 list through the initgroups entry in nsswitch.conf do not always
17068 continue on a successful lookup. Don't always use the
17069 __nss_group_database value if it is set.
17070 * nss/nsswitch.conf (initgroups): Change action for successful db
17071 lookup to continue for compatibility.
17073 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17076 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17078 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17080 * iconvdata/tst-tables.sh: Likewise.
17081 * iconvdata/cp770.c: New file.
17082 * iconvdata/cp771.c: New file.
17083 * iconvdata/cp772.c: New file.
17084 * iconvdata/cp773.c: New file.
17085 * iconvdata/cp774.c: New file.
17086 * iconvdata/testdata/CP770: New file.
17087 * iconvdata/testdata/CP770..UTF8: New file.
17088 * iconvdata/testdata/CP771: New file.
17089 * iconvdata/testdata/CP771..UTF8: New file.
17090 * iconvdata/testdata/CP772: New file.
17091 * iconvdata/testdata/CP772..UTF8: New file.
17092 * iconvdata/testdata/CP773: New file.
17093 * iconvdata/testdata/CP773..UTF8: New file.
17094 * iconvdata/testdata/CP774: New file.
17095 * iconvdata/testdata/CP774..UTF8: New file.
17097 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17099 * iconvdata/gen-8bit-gap.sh: Likewise.
17100 * iconvdata/gen-8bit.sh: Likewise.
17102 * locale/iso-639.def: Add ary entry.
17105 * locale/C-translit.h.in: Add U20A1 transliteration.
17108 * locale/iso-639.def: Add wae entry.
17109 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17112 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17116 * locale/C-translit.h.in: Add entry for U20B9.
17117 Patch by pravin.d.s@gmail.com.
17119 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17122 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17123 ENAMETOOLONG use generic getcwd.
17124 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17125 in rtld. Use *stat64.
17126 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17127 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17128 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17129 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17130 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17131 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17132 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17133 __fstatat64 macros.
17134 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17135 * dirent/rewinddir.c: Add libc_hidden_def.
17136 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17137 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17139 * include/dirent.h (__alloc_dir): Add flags parameter.
17140 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17141 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17143 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17144 from fdopendir if O_CLOEXEC is already set.
17146 2011-03-15 Alan Modra <amodra@gmail.com>
17148 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17149 l_tls_firstbyte_offset non-zero. Save padding offset in
17150 l_tls_firstbyte_offset for later use.
17151 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17152 freeing static tls block.
17154 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17156 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17157 where #ifdef was intended. The intent is to prevent ARG_MAX from
17158 being defined by the kernel headers.
17160 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17163 * resolv/resolv.h: Define RES_NOTLDQUERY.
17164 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17165 no-tld-query and set RES_NOTLDQUERY.
17166 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17167 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17168 modern BIND to search name as TLD unless forbidden.
17170 2011-05-07 Petr Baudis <pasky@suse.cz>
17171 Ulrich Drepper <drepper@gmail.com>
17174 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17175 (is_trusted_path): ...to here.
17176 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17177 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17178 using is_trusted_path_normalize() in setuid scripts.
17180 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17182 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17183 __BEGIN/__END_DECLS.
17185 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17187 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17188 NSS_STATUS_NOTFOUND if no record was found.
17190 2011-05-05 Andreas Schwab <schwab@redhat.com>
17192 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17193 (headers-not-in-tirpc): Remove rpc/netdb.h
17194 * resolv/netdb.h: Revert last change.
17196 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17198 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17199 circular dependency between libgcc.a and libc.a.
17201 2011-05-05 Andreas Schwab <schwab@redhat.com>
17203 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17204 * nis/Makefile: Don't install rpcsvc/*.
17205 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17206 instead of <rpc/types.h>.
17207 (MAXHOSTNAMELEN): Define.
17209 2011-05-03 Andreas Schwab <schwab@redhat.com>
17211 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17213 2011-04-28 Maciej Babinski <mbabinski@google.com>
17216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17217 gethostbyname4_r when IPv6 results are possible.
17219 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17222 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17223 _PC_PIPE_BUF handling.
17225 2011-04-30 Bruno Haible <bruno@clisp.org>
17228 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17229 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17231 * inet/getnameinfo.c (getnameinfo): Likewise.
17233 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17235 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17236 to groups setting in database lookup.
17237 * nss/nsswitch.conf: Add initgroups entry.
17239 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17242 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17244 Patch by Eric Blake <eblake@redhat.com>.
17246 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17248 * sunrpc/Makefile (need-export-routines): Add svc_run.
17249 (routines): Remove svc_run.
17250 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17251 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17252 * sunrpc/svc_run.c (svc_run): Likewise.
17253 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17255 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17258 problem in reallocation in last patch.
17260 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17262 * sunrpc/Makefile: Move inclusion of Rules.
17264 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17266 * nss/nss_files/files-initgroups.c: New file.
17267 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17268 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17269 _nss_files_initgroups_dyn.
17271 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17273 * elf/elf.h (R_ARM_IRELATIVE): Define.
17275 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17277 * po/ru.po: Update from translation team.
17279 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17281 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17284 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17287 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17288 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17290 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17293 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17295 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17301 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17304 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17306 * stdlib/bug-getcontext.c: New file.
17307 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17309 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17311 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17312 instructions into .machine "z9-109".
17313 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17314 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17316 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17318 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17319 between environment variables and auxiliary vector.
17321 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17323 * Makefile: Add rules to build linkobj/libc.so.
17324 * include/libc-symbols.h: Define libc_hidden_nolink.
17325 * include/rpc/auth.h: Mark functions which are to be hidden.
17326 * include/rpc/auth_des.h: Likewise.
17327 * include/rpc/auth_unix.h: Likewise.
17328 * include/rpc/clnt.h: Likewise.
17329 * include/rpc/des_crypt.h: Likewise.
17330 * include/rpc/key_prot.h: Likewise.
17331 * include/rpc/pmap_clnt.h: Likewise.
17332 * include/rpc/pmap_prot.h: Likewise.
17333 * include/rpc/pmap_rmt.h: Likewise.
17334 * include/rpc/rpc_msg.h: Likewise.
17335 * include/rpc/svc.h: Likewise.
17336 * include/rpc/svc_auth.h: Likewise.
17337 * include/rpc/xdr.h: Likewise.
17338 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17339 * nss/Makefile: Likewise.
17340 * sunrpc/Makefile: Don't install headers. Build library with normal
17341 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17342 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17343 for the compat linking library. Remove use of INTDEF/INTUSE.
17344 * sunrpc/auth_none.c: Likewise.
17345 * sunrpc/auth_unix.c: Likewise.
17346 * sunrpc/authdes_prot.c: Likewise.
17347 * sunrpc/authuxprot.c: Likewise.
17348 * sunrpc/clnt_gen.c: Likewise.
17349 * sunrpc/clnt_perr.c: Likewise.
17350 * sunrpc/clnt_raw.c: Likewise.
17351 * sunrpc/clnt_simp.c: Likewise.
17352 * sunrpc/clnt_tcp.c: Likewise.
17353 * sunrpc/clnt_udp.c: Likewise.
17354 * sunrpc/clnt_unix.c: Likewise.
17355 * sunrpc/des_crypt.c: Likewise.
17356 * sunrpc/des_soft.c: Likewise.
17357 * sunrpc/get_myaddr.c: Likewise.
17358 * sunrpc/key_call.c: Likewise.
17359 * sunrpc/key_prot.c: Likewise.
17360 * sunrpc/netname.c: Likewise.
17361 * sunrpc/pm_getmaps.c: Likewise.
17362 * sunrpc/pm_getport.c: Likewise.
17363 * sunrpc/pmap_clnt.c: Likewise.
17364 * sunrpc/pmap_prot.c: Likewise.
17365 * sunrpc/pmap_prot2.c: Likewise.
17366 * sunrpc/pmap_rmt.c: Likewise.
17367 * sunrpc/publickey.c: Likewise.
17368 * sunrpc/rpc_cmsg.c: Likewise.
17369 * sunrpc/rpc_common.c: Likewise.
17370 * sunrpc/rpc_dtable.c: Likewise.
17371 * sunrpc/rpc_prot.c: Likewise.
17372 * sunrpc/rpc_thread.c: Likewise.
17373 * sunrpc/rtime.c: Likewise.
17374 * sunrpc/svc.c: Likewise.
17375 * sunrpc/svc_auth.c: Likewise.
17376 * sunrpc/svc_authux.c: Likewise.
17377 * sunrpc/svc_raw.c: Likewise.
17378 * sunrpc/svc_run.c: Likewise.
17379 * sunrpc/svc_simple.c: Likewise.
17380 * sunrpc/svc_tcp.c: Likewise.
17381 * sunrpc/svc_udp.c: Likewise.
17382 * sunrpc/svc_unix.c: Likewise.
17383 * sunrpc/svcauth_des.c: Likewise.
17384 * sunrpc/xcrypt.c: Likewise.
17385 * sunrpc/xdr.c: Likewise.
17386 * sunrpc/xdr_array.c: Likewise.
17387 * sunrpc/xdr_float.c: Likewise.
17388 * sunrpc/xdr_intXX_t.c: Likewise.
17389 * sunrpc/xdr_mem.c: Likewise.
17390 * sunrpc/xdr_rec.c: Likewise.
17391 * sunrpc/xdr_ref.c: Likewise.
17392 * sunrpc/xdr_sizeof.c: Likewise.
17393 * sunrpc/xdr_stdio.c: Likewise.
17395 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17398 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17399 * sysdeps/ia64/dl-tls.h: Likewise.
17400 * sysdeps/powerpc/dl-tls.h: Likewise.
17401 * sysdeps/s390/dl-tls.h: Likewise.
17402 * sysdeps/sh/dl-tls.h: Likewise.
17403 * sysdeps/sparc/dl-tls.h: Likewise.
17404 * sysdeps/x86_64/dl-tls.h: Likewise.
17405 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17407 2011-03-14 Andreas Schwab <schwab@redhat.com>
17409 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17410 rpath element also skip the following colon.
17411 (expand_dynamic_string_token): Add is_path parameter and pass
17412 down to DL_DST_REQUIRED and _dl_dst_substitute.
17413 (decompose_rpath): Call expand_dynamic_string_token with
17414 non-zero is_path. Ignore empty rpaths.
17415 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17418 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17423 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17426 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17427 Patch by Filipe David Manana <fdmanana@apache.org>.
17429 2011-04-07 Andreas Schwab <schwab@redhat.com>
17431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17432 Maintain aligned stack.
17433 (CHECK_RSP): Remove unused macro.
17435 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17437 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17440 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17442 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17444 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17446 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17449 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17450 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17451 * sysdeps/x86_64/memmove.c: New file.
17452 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17453 (memcpy): Renamed to ...
17454 (__new_memcpy): This.
17455 (memcpy): Provide GLIBC_2_14 memcpy.
17456 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17457 (memcpy): Provide GLIBC_2_2_5 memcpy.
17459 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17462 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17464 2011-03-30 Andreas Schwab <schwab@redhat.com>
17466 * misc/syncfs.c: New file.
17467 * misc/Makefile (routines): Add syncfs.
17468 * posix/unistd.h: Declare syncfs.
17469 * sysdeps/unix/syscalls.list: Add syncfs.
17471 2011-04-01 Andreas Schwab <schwab@redhat.com>
17473 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17475 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17476 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17480 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17483 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17487 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17493 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17494 sync_file_range.c with -fexceptions.
17495 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17496 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17497 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17498 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17499 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17500 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17501 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17502 sync_file_range as cancellation point
17503 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17504 now a wrapper around __call_sync_file_range with cancellation handling.
17505 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17506 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17507 function name to __call_sync_file_range.
17508 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17509 Add call_sync_file_range.
17511 2011-04-01 Andreas Schwab <schwab@redhat.com>
17513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17516 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17518 * iconv/iconv.h: Fix typo in comment.
17519 * io/fcntl.h: Likewise.
17520 * libio/stdio.h: Likewise.
17521 * posix/spawn.h: Likewise.
17522 * posix/unistd.h: Likewise.
17523 * stdlib/stdlib.h: Likewise.
17524 * time/time.h: Likewise.
17525 * wcsmbs/wchar.h: Likewise.
17527 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17528 open_by_handle): Add.
17529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17530 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17531 Augment a few comments.
17532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17537 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17540 * io/fcntl.h (AT_EMPTY_PATH): Define.
17542 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17544 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17545 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17546 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17548 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17549 * Versions.def: Add GLIBC_2.14.
17550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17553 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17555 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17557 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17559 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17562 * string/test-strncmp.c (do_page_test): New function.
17563 (check2): Likewise.
17564 (test_main): Call check2.
17565 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17567 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17570 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17571 Handle cache information in CPU leaf 4.
17572 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17574 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17577 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17578 character representation.
17579 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17581 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17583 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17584 END(__isnan) to END(__isnanf) to match function entry point/label
17585 EALIGN(__isnanf,...).
17587 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17589 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17591 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17594 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17595 copy from the symbol referenced in the relocation to initialize the
17597 Patch by Piotr Bury <pbury@goahead.com>.
17598 * elf/Makefile: Add rules to build and tst-unique3.
17599 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17600 * elf/tst-unique3.cc: New file.
17601 * elf/tst-unique3.h: New file.
17602 * elf/tst-unique3lib.cc: New file.
17603 * elf/tst-unique3lib2.cc: New file.
17605 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17607 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17609 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17610 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17613 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17615 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17616 to-be-loaded object along a path to loader is ld.so.
17618 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17619 Ulrich Drepper <drepper@gmail.com>
17621 * sysdeps/x86_64/memset.S: After aligning destination, code
17622 branches to different locations depending on the value of
17623 misalignment, when multiarch is enabled. Fix this.
17625 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17627 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17628 Set _x86_64_preferred_memory_instruction for AMD processsors.
17629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17630 Set bit_Prefer_SSE_for_memop for AMD processors.
17632 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17634 * libio/fmemopen.c (fmemopen): Optimize a bit.
17636 2011-03-03 Andreas Schwab <schwab@redhat.com>
17638 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17640 2011-03-03 Roland McGrath <roland@redhat.com>
17642 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17644 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17646 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17647 __bzero_ultra1 instead of __memset_ultra1.
17649 2011-02-23 Andreas Schwab <schwab@redhat.com>
17650 Ulrich Drepper <drepper@gmail.com>
17653 * include/link.h (struct link_map): Add l_orig_initfini.
17654 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17655 returning unsuccessfully.
17656 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17657 close of a file loaded at startup, restore the original l_initfini
17659 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17660 list, store the pointer.
17661 * elf/Makefile ($(objpfx)noload-mem): New rule.
17662 (noload-ENV): Define.
17663 (tests): Add $(objpfx)noload-mem.
17664 * elf/noload.c: Include <memcheck.h>.
17665 (main): Call mtrace. Close all opened handles.
17667 2011-02-17 Andreas Schwab <schwab@redhat.com>
17670 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17671 dependencies are missing.
17673 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17675 Fix __if_freereq crash: Unlike the generic version which uses free,
17677 * sysdeps/mach/hurd/ifreq.h: New file.
17679 2011-01-27 Petr Baudis <pasky@suse.cz>
17680 Ulrich Drepper <drepper@gmail.com>
17683 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17684 to extend_alloca().
17685 * stdio-common/bug23.c: New file.
17686 * stdio-common/Makefile (tests): Add bug23.
17688 2010-09-28 Andreas Schwab <schwab@redhat.com>
17689 Ulrich Drepper <drepper@gmail.com>
17692 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17693 before performing relro protection. At old place add assertion
17694 to make sure nothing changed.
17696 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17697 Glauber de Oliveira Costa <glommer@gmail.com>
17699 * elf/elf.h: Add new ARM TLS relocs.
17701 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17704 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17706 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17708 * sysdeps/wordsize-64/tst-writev.c: New file.
17710 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17712 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17713 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17714 insns in _dl_start to prevent a TOC reference before relocs are
17717 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17720 * Makeconfig: Remove RANLIB definition.
17721 * Makerules: Don't use RANLIB.
17722 * aclocal.m4: Remove ranlib test.
17723 * configure.in: No need to check for ranlib.
17724 * elf/rtld-Rules: Don't use RANLIB.
17726 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17728 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17730 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17731 inclusion protection macro.
17733 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17734 SIGRTMIN and SIGRTMAX and print information in that case only when
17735 SIGRTMIN is defined.
17737 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17739 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17740 arginfo fn returning -1.
17742 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17743 and thousands string is zero terminated.
17745 2011-02-03 Andreas Schwab <schwab@redhat.com>
17747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17748 sysdeps/unix/sysv/linux/bits/socket.h.
17750 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17752 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17753 (__CPU_COUNT): Remove old macros.
17754 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17755 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17756 (__CPU_ALLOC, __CPU_FREE): Add macros.
17757 (__sched_cpualloc, __sched_cpufree): Add declarations.
17759 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17761 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17762 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17763 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17764 (readdhstai): Return value of addhstaiX call.
17765 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17766 (addgrbyX): Return value returned by cache_addgr.
17767 (readdgrbyname): Return value returned by addgrbyX.
17768 (readdgrbygid): Likewise.
17769 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17770 (addpwbyX): Return value returned by cache_addpw.
17771 (readdpwbyname): Return value returned by addhstbyX.
17772 (readdpwbyuid): Likewise.
17773 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17774 (addservbyX): Return value returned by cache_addserv.
17775 (readdservbyname): Return value returned by addservbyX:
17776 (readdservbyport): Likewise.
17777 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17778 (addhstbyX): Return value returned by cache_addhst.
17779 (readdhstbyname): Return value returned by addhstbyX.
17780 (readdhstbyaddr): Likewise.
17781 (readdhstbynamev6): Likewise.
17782 (readdhstbyaddrv6): Likewise.
17783 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17784 (readdinitgroups): Return value returned by addinitgroupsX.
17785 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17786 (prune_cache): Keep track of timeout value of re-added entries.
17787 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17788 * nscd/nscd.h: Adjust prototypes of readd* functions.
17790 2011-02-04 Roland McGrath <roland@redhat.com>
17792 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17793 (nis_stats): Likewise.
17794 * nis/nis_modify.c (nis_modify): Likewise.
17795 * nis/nis_remove.c (nis_remove): Likewise.
17796 * nis/nis_add.c (nis_add): Likewise.
17798 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17800 * posix/fnmatch_loop.c: Add some consts.
17802 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17804 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17807 * config.make.in (config-cflags-novzeroupper): Define.
17808 * configure.in: Substitute libc_cv_cc_novzeroupper.
17809 * elf/Makefile (AVX-CFLAGS): Define.
17810 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17811 (CFLAGS-tst-auditmod4a.c): Likewise.
17812 (CFLAGS-tst-auditmod4b.c): Likewise.
17813 (CFLAGS-tst-auditmod6b.c): Likewise.
17814 (CFLAGS-tst-auditmod6c.c): Likewise.
17815 (CFLAGS-tst-auditmod7b.c): Likewise.
17816 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17818 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17820 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17821 function to the callback.
17822 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17824 2011-02-02 Andreas Schwab <schwab@redhat.com>
17826 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17829 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17832 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17834 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17836 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17839 * elf/Makefile: Add rules to build and run new test.
17840 * elf/tst-initorder.c: New file.
17841 * elf/tst-initorder.exp: New file.
17842 * elf/tst-initordera1.c: New file.
17843 * elf/tst-initordera2.c: New file.
17844 * elf/tst-initordera3.c: New file.
17845 * elf/tst-initordera4.c: New file.
17846 * elf/tst-initorderb1.c: New file.
17847 * elf/tst-initorderb2.c: New file.
17848 * elf/tst-order-a1.c: New file.
17849 * elf/tst-order-a2.c: New file.
17850 * elf/tst-order-a3.c: New file.
17851 * elf/tst-order-a4.c: New file.
17852 * elf/tst-order-b1.c: New file.
17853 * elf/tst-order-b2.c: New file.
17854 * elf/tst-order-main.c: New file.
17855 New test case by George Gensure <werkt0@gmail.com>.
17857 2010-10-01 Andreas Schwab <schwab@redhat.com>
17859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17860 decoding ACE if AI_CANONIDN.
17862 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17864 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17866 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17868 * version.h (RELEASE): Bump for 2.13 release.
17869 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17871 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17875 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17877 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17882 * posix/getconf.c: Update copyright year.
17883 * catgets/gencat.c: Likewise.
17884 * csu/version.c: Likewise.
17885 * debug/catchsegv.sh: Likewise.
17886 * debug/xtrace.sh: Likewise.
17887 * elf/ldconfig.c: Likewise.
17888 * elf/ldd.bash.in: Likewise.
17889 * elf/sprof.c (print_version): Likewise.
17890 * iconv/iconv_prog.c: Likewise.
17891 * iconv/iconvconfig.c: Likewise.
17892 * locale/programs/locale.c: Likewise.
17893 * locale/programs/localedef.c: Likewise.
17894 * malloc/memusage.sh: Likewise.
17895 * malloc/mtrace.pl: Likewise.
17896 * nscd/nscd.c (print_version): Likewise.
17897 * nss/getent.c: Likewise.
17899 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17900 PF_CAIF, and PF_ALG.
17901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17903 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17905 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17906 (modules-names): Use them.
17907 (ifunc-test-modules, ifunc-pie-tests): Define.
17908 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17909 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17910 (test-extras): Likewise.
17911 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17912 $(compile-command.c).
17913 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17914 (all-built-dso): Define.
17915 (check-textrel.out, check-execstack.out): Depend on it.
17917 * configure.in: Don't override --enable-multi-arch.
17919 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17922 * nscd/hstcache.c (tryagain): Define.
17923 (cache_addhst): Return tryagain not notfound for temporary errors.
17924 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17927 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17930 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17931 to make the syscall.
17932 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17935 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17936 and fall back to matching as normal character if the string ends before
17937 the matching ']' is found. This is what POSIX requires.
17938 * posix/testfnm.c: Adjust test result.
17939 * posix/globtest.sh: Adjust test result. Add new test.
17940 * posix/tst-fnmatch.input: Likewise.
17941 * posix/tst-fnmatch2.c: Add new test.
17943 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17945 * elf/Makefile (check-execstack): Revert last change. Depend on
17947 (check-execstack.h): New target.
17948 (generated): Add check-execstack.h.
17949 * elf/check-execstack.c: Include "check-execstack.h".
17950 (main): Revert last change.
17951 (handle_file): Return zero if GNU_STACK is absent and
17952 DEFAULT_STACK_PERMS doesn't include PF_X.
17954 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17956 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17957 in child fails because the descriptor is already closed.
17958 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17959 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17960 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17963 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17967 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17968 temporary buffer used to handle multi lookups locally.
17969 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17971 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17973 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17976 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17978 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17979 alignment for SSE2.
17981 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17984 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17985 characters. When rounding increased number of integer digits recompute
17987 * stdio-common/tst-grouping.c: New file.
17988 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17990 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17992 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17993 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17995 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17997 * bits/select.h: Likewise.
17999 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18001 * po/ja.po: Update from translation team.
18003 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18006 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18007 implementation just like for lxstat, fxstatat, et al.
18009 2010-12-27 Jim Meyering <meyering@redhat.com>
18012 * posix/regexec.c (build_trtable): Return failure indication upon
18013 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18015 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18018 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18019 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18020 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18021 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18024 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18027 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18028 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18030 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18032 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18033 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18034 script has SORT_BY_INIT_PRIORITY.
18035 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18036 NO_CTORS_DTORS_SECTIONS is defined.
18037 * elf/soinit.c: Likewise.
18038 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18039 NO_CTORS_DTORS_SECTIONS is defined.
18040 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18041 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18042 * sysdeps/sh/init-first.c: Likewise.
18043 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18045 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18047 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18048 always use the slow path.
18050 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18052 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18053 similar rule which adds the sysdep directories to the header search in
18054 order to pick up the correct platform stackinfo.h.
18055 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18056 perform test if it is, otherwise return successfully without testing.
18057 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18058 DEFAULT_STACK_PERMS define in stackinfo.h.
18059 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18060 defined in stackinfo.h.
18061 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18062 DEFAULT_STACK_PERMS defined in stackinfo.h.
18063 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18064 * sysdeps/ia64/stackinfo.h: Likewise.
18065 * sysdeps/s390/stackinfo.h: Likewise.
18066 * sysdeps/sh/stackinfo.h: Likewise.
18067 * sysdeps/sparc/stackinfo.h: Likewise.
18068 * sysdeps/x86_64/stackinfo.h: Likewise.
18069 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18070 PF_X for powerpc64. Retain PF_X for powerpc32.
18072 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18074 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18076 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18077 GETDENTS_64BIT_ALIGNED.
18079 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18081 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18083 2010-12-10 Andreas Schwab <schwab@redhat.com>
18085 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18088 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18089 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18091 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18092 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18094 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18097 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18100 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18102 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18104 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18106 * po/it.po: Update from translation team.
18108 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18113 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18115 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18117 2010-11-24 Andreas Schwab <schwab@redhat.com>
18119 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18121 (gaih_getanswer_slice): Likewise.
18123 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18127 2010-05-31 Petr Baudis <pasky@suse.cz>
18130 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18131 silently even in the chroot mode.
18133 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18135 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18136 last patch a bit. Pretty printing
18138 2010-05-31 Petr Baudis <pasky@suse.cz>
18141 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18142 initialization of skip_initgroups_dyn.
18144 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18146 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18147 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18149 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18151 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18153 2010-11-11 Andreas Schwab <schwab@redhat.com>
18155 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18156 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18157 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18158 ($(objpfx)tst-fnmatch-mem): New rule.
18159 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18160 * posix/tst-fnmatch.c (main): Call mtrace.
18162 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18165 Support Intel processor model 6 and model 0x2c.
18167 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18172 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18175 * string/test-strncasecmp.c (check_result): New function.
18176 (do_one_test): Use it.
18177 (check1): New function.
18178 (test_main): Use it.
18179 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18180 Support strcasecmp and strncasecmp.
18182 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18185 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18186 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18188 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18190 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18194 * sysdeps/x86_64/multiarch/bzero.S: New file.
18195 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18196 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18197 * sysdeps/x86_64/multiarch/memset.S: New file.
18198 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18200 Set bit_Prefer_SSE_for_memop for Intel processors.
18201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18203 (index_Prefer_SSE_for_memop): Define.
18204 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18206 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18208 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18209 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18211 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18214 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18215 (__x86_64_raw_data_cache_size_half): Likewise.
18216 (__x86_64_raw_shared_cache_size): Likewise.
18217 (__x86_64_raw_shared_cache_size_half): Likewise.
18219 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18220 (__x86_64_raw_data_cache_size_half): Likewise.
18221 (__x86_64_raw_shared_cache_size): Likewise.
18222 (__x86_64_raw_shared_cache_size_half): Likewise.
18223 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18224 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18225 and __x86_64_raw_shared_cache_size_half. Round
18226 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18227 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18228 to multiple of 256 bytes.
18230 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18233 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18234 of inacessible symlinks. Verify result of symlink before returning it.
18235 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18236 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18238 2010-10-28 Erich Ritz <erichritz@gmail.com>
18240 * math/math.h (isinf): Fix typo in comment.
18242 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18244 * po/da.po: Update from translation team.
18246 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18248 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18249 is added to the list.
18251 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18252 Ulrich Drepper <drepper@gmail.com>
18254 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18255 the global list here. Move code to...
18256 (_dl_add_to_namespace_list): ...here. New function.
18257 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18258 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18259 * elf/dl-load.c (lose): Don't remove the element from the list.
18260 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18261 (_dl_map_object): Likewise.
18263 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18266 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18267 into all bytes of SSE register.
18268 Patch by Richard Li <richardpku@gmail.com>.
18270 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18273 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18276 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18278 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18279 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18280 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18286 2010-10-22 Andreas Schwab <schwab@redhat.com>
18288 * include/dlfcn.h (__RTLD_SECURE): Define.
18289 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18290 mode & __RTLD_SECURE instead.
18291 (open_path): Rename preloaded parameter to secure.
18292 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18293 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18294 * elf/dl-deps.c (openaux): Likewise.
18295 * elf/rtld.c (struct map_args): Remove is_preloaded.
18296 (map_doit): Don't use it.
18297 (dl_main): Likewise.
18298 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18299 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18301 2010-09-09 Andreas Schwab <schwab@redhat.com>
18303 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18304 (sysd-rules-targets): Remove duplicates.
18305 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18306 rtld-%.$o dependency.
18308 2010-10-18 Andreas Schwab <schwab@redhat.com>
18310 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18311 _dl_map_object do it.
18313 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18315 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18316 fast fma builtins, define the macros in the C99 standard.
18317 (FP_FAST_FMAF): Likewise.
18318 (FP_FAST_FMAL): Likewise.
18319 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18321 * bits/mathdef.h: Update copyright year.
18322 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18324 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18326 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18327 builtins, define the macros in the C99 standard.
18328 (FP_FAST_FMAF): Likewise.
18329 (FP_FAST_FMAL): Likewise.
18330 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18332 (FP_FAST_FMAF): Likewise.
18334 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18337 * math/libm-test.inc (fma_test): Some new testcases.
18338 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18339 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18340 y and infinite z. Do multiplication by C already in long double.
18341 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18343 y and infinite z. Do bitwise or of inexact bit into u.d.
18344 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18345 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18346 * sysdeps/i386/fpu/s_fma.S: Removed.
18347 * sysdeps/i386/fpu/s_fmal.S: Removed.
18349 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18352 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18354 computation is not scheduled after fetestexcept. Fix value
18355 of minimum denormal long double.
18357 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18360 * math/libm-test.inc (fma_test): Add some more tests.
18361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18364 2010-10-15 Andreas Schwab <schwab@redhat.com>
18366 * scripts/data/localplt-s390-linux-gnu.data: New file.
18367 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18369 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18372 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18373 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18375 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18377 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18379 if one of x and y is very large and the other is subnormal.
18380 * sysdeps/s390/fpu/s_fmaf.c: New file.
18381 * sysdeps/s390/fpu/s_fma.c: New file.
18382 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18383 * sysdeps/powerpc/fpu/s_fma.S: New file.
18384 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18385 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18386 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18388 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18391 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18394 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18395 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18396 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18397 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18398 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18401 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18404 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18405 * posix/bug-regex31.input: Add test case.
18407 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18409 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18410 * posix/bug-regex31.input: New file.
18413 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18414 (parse_sub_exp): Fix last change, use postorder.
18416 * posix/bug-regex31.c: New file.
18417 * posix/Makefile: Add rules to build and run bug-regex31.
18419 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18422 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18425 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18426 to have entries in sys_siglist.
18429 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18432 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18435 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18436 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18437 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18438 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18439 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18440 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18441 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18442 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18443 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18444 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18445 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18446 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18447 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18448 * math/ftestexcept.c (fetestexcept): Likewise.
18449 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18450 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18451 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18452 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18453 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18454 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18455 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18457 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18460 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18463 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18465 * string/bug-strstr1.c: New file.
18466 * string/Makefile: Add rules to build and run bug-strstr1.
18468 2010-10-05 Eric Blake <eblake@redhat.com>
18471 * string/str-two-way.h (two_way_long_needle): Always clear memory
18472 when skipping input due to the shift table.
18474 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18477 * malloc/mcheck.c: Handle large requests.
18480 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18481 for strncmp and strncasecmp.
18482 * string/stratcliff.c: Add tests for strcmp and strncmp.
18483 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18485 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18487 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18490 2010-09-30 Andreas Jaeger <aj@suse.de>
18492 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18493 (CGROUP_SUPER_MAGIC): Define.
18494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18495 Handle btrfs and cgroup file systems.
18496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18499 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18501 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18502 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18504 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18507 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18508 trying to locate the ELF header.
18510 2010-09-27 Andreas Schwab <schwab@redhat.com>
18513 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18514 Mask out sign-bit copies when constructing f_fsid.
18516 2010-09-24 Petr Baudis <pasky@suse.cz>
18518 * debug/stack_chk_fail_local.c: Add missing licence exception.
18519 * debug/warning-nop.c: Likewise.
18521 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18524 implementing getdents64 using getdents syscall, set d_type if
18525 __ASSUME_GETDENTS32_D_TYPE.
18527 2010-09-16 Andreas Schwab <schwab@redhat.com>
18529 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18530 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18532 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18535 * posix/unistd.h: Undo change of feature selection for ftruncate from
18538 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18540 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18543 2010-09-20 Andreas Schwab <schwab@redhat.com>
18545 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18547 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18549 2010-09-14 Andreas Schwab <schwab@redhat.com>
18551 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18552 variables after CHECK_SP call.
18553 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18555 2010-09-13 Andreas Schwab <schwab@redhat.com>
18556 Ulrich Drepper <drepper@redhat.com>
18558 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18559 re-relocationg ld.so.
18560 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18561 _dl_init_paths call.
18562 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18565 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18567 * resolv/res_init.c (__res_vinit): Count the default server we added.
18569 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18570 Ulrich Drepper <drepper@redhat.com>
18573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18574 (____longjmp_chk): Use %ebx for saving value across system call.
18577 2010-09-06 Andreas Schwab <schwab@redhat.com>
18579 * manual/Makefile: Don't mix pattern rules with normal rules.
18581 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18583 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18585 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18586 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18587 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18588 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18592 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18595 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18596 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18598 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18600 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18601 * sysdeps/x86_64/addmul_1.S: Likewise.
18602 * sysdeps/x86_64/lshift.S: Likewise.
18603 * sysdeps/x86_64/mul_1.S: Likewise.
18604 * sysdeps/x86_64/rshift.S: Likewise.
18605 * sysdeps/x86_64/sub_n.S: Likewise.
18606 * sysdeps/x86_64/submul_1.S: Likewise.
18608 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18610 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18611 Define __sched_param instead of SCHED_* and sched_param when
18612 <bits/sched.h> is included with __need_schedparam defined.
18613 * bits/sched.h [__need_schedparam]
18614 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18615 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18616 (__defined_schedparam): Define to 1.
18617 (__sched_param): New structure, identical to sched_param.
18618 (__need_schedparam): Undefine.
18620 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18622 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18623 (epoll_create1): Declare.
18625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18627 2010-08-31 Andreas Schwab <schwab@redhat.com>
18630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18631 shifting retval into place.
18633 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18635 * nis/rpcsvc/nis.h: Update copyright notice.
18636 * nis/rpcsvc/nis.x: Likewise.
18637 * nis/rpcsvc/nis_callback.h: Likewise.
18638 * nis/rpcsvc/nis_callback.x: Likewise.
18639 * nis/rpcsvc/nis_object.x: Likewise.
18640 * nis/rpcsvc/nis_tags.h: Likewise.
18641 * nis/rpcsvc/yp.h: Likewise.
18642 * nis/rpcsvc/yp.x: Likewise.
18643 * nis/rpcsvc/ypupd.h: Likewise.
18644 * nis/yp_xdr.c: Likewise.
18645 * nis/ypupdate_xdr.c: Likewise.
18647 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18648 mainly the body of pmap_getport. Add parameters to specify timeouts.
18649 (pmap_getport): Use __libc_rpc_getport.
18650 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18651 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18652 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18654 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18659 2010-08-27 Roland McGrath <roland@redhat.com>
18661 * sysdeps/i386/i686/multiarch/Makefile
18662 (CFLAGS-varshift.c): New variable.
18664 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18666 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18667 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18671 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18673 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18675 * sysdeps/x86_64/strlen.S: Unroll the loop.
18676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18677 strlen-sse2 strlen-sse2-bsf.
18678 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18679 __strlen_no_bsf if bit_Slow_BSF is set.
18680 (__strlen_sse42): Removed.
18681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18682 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18684 2010-08-25 Roland McGrath <roland@redhat.com>
18686 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18687 * sysdeps/x86_64/multiarch/varshift.c: New file.
18688 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18689 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18690 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18691 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18693 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18696 strlen-sse2 strlen-sse2-bsf.
18697 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18698 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18699 (__strlen_sse2): Removed.
18700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18703 bit_Slow_BSF for Atom.
18704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18705 (index_Slow_BSF): Define.
18706 (HAS_SLOW_BSF): Define.
18708 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18711 * resolv/res_init.c (__res_vinit): When no server address at all
18712 is given default to loopback.
18714 2010-08-24 Roland McGrath <roland@redhat.com>
18716 * configure.in: Remove config-name.h generation.
18717 * configure: Regenerated.
18718 * config-name.in: File removed.
18719 * scripts/config-uname.sh: New file.
18720 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18721 ($(objdir)config-name.h): New target.
18723 * sunrpc/rpc_parse.h: Avoid nested comment.
18725 2010-08-24 Richard Henderson <rth@redhat.com>
18726 Ulrich Drepper <drepper@redhat.com>
18727 H.J. Lu <hongjiu.lu@intel.com>
18729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18731 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18732 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18733 _mm_alignr_epi8 with _mm_loadu_si128.
18734 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18735 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18736 (__m128i_shift_right): Removed.
18737 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18738 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18739 * sysdeps/x86_64/multiarch/varshift.h: New file.
18740 * sysdeps/x86_64/multiarch/varshift.S: New file.
18742 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18744 * configure.in: Move assembler checks to before sysdep dir checking.
18746 2010-08-20 Petr Baudis <pasky@suse.cz>
18748 * LICENSES: Sync the sunrpc license.
18750 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18752 * sunrpc/auth_des.c: Update copyright notice once again.
18753 * sunrpc/auth_none.c: Likewise.
18754 * sunrpc/auth_unix.c: Likewise.
18755 * sunrpc/authdes_prot.c: Likewise.
18756 * sunrpc/authuxprot.c: Likewise.
18757 * sunrpc/bindrsvprt.c: Likewise.
18758 * sunrpc/clnt_gen.c: Likewise.
18759 * sunrpc/clnt_perr.c: Likewise.
18760 * sunrpc/clnt_raw.c: Likewise.
18761 * sunrpc/clnt_simp.c: Likewise.
18762 * sunrpc/clnt_tcp.c: Likewise.
18763 * sunrpc/clnt_udp.c: Likewise.
18764 * sunrpc/clnt_unix.c: Likewise.
18765 * sunrpc/des_crypt.c: Likewise.
18766 * sunrpc/des_soft.c: Likewise.
18767 * sunrpc/get_myaddr.c: Likewise.
18768 * sunrpc/getrpcport.c: Likewise.
18769 * sunrpc/key_call.c: Likewise.
18770 * sunrpc/key_prot.c: Likewise.
18771 * sunrpc/openchild.c: Likewise.
18772 * sunrpc/pm_getmaps.c: Likewise.
18773 * sunrpc/pm_getport.c: Likewise.
18774 * sunrpc/pmap_clnt.c: Likewise.
18775 * sunrpc/pmap_prot.c: Likewise.
18776 * sunrpc/pmap_prot2.c: Likewise.
18777 * sunrpc/pmap_rmt.c: Likewise.
18778 * sunrpc/rpc/auth.h: Likewise.
18779 * sunrpc/rpc/auth_unix.h: Likewise.
18780 * sunrpc/rpc/clnt.h: Likewise.
18781 * sunrpc/rpc/des_crypt.h: Likewise.
18782 * sunrpc/rpc/key_prot.h: Likewise.
18783 * sunrpc/rpc/netdb.h: Likewise.
18784 * sunrpc/rpc/pmap_clnt.h: Likewise.
18785 * sunrpc/rpc/pmap_prot.h: Likewise.
18786 * sunrpc/rpc/pmap_rmt.h: Likewise.
18787 * sunrpc/rpc/rpc.h: Likewise.
18788 * sunrpc/rpc/rpc_des.h: Likewise.
18789 * sunrpc/rpc/rpc_msg.h: Likewise.
18790 * sunrpc/rpc/svc.h: Likewise.
18791 * sunrpc/rpc/svc_auth.h: Likewise.
18792 * sunrpc/rpc/types.h: Likewise.
18793 * sunrpc/rpc/xdr.h: Likewise.
18794 * sunrpc/rpc_clntout.c: Likewise.
18795 * sunrpc/rpc_cmsg.c: Likewise.
18796 * sunrpc/rpc_common.c: Likewise.
18797 * sunrpc/rpc_cout.c: Likewise.
18798 * sunrpc/rpc_dtable.c: Likewise.
18799 * sunrpc/rpc_hout.c: Likewise.
18800 * sunrpc/rpc_main.c: Likewise.
18801 * sunrpc/rpc_parse.c: Likewise.
18802 * sunrpc/rpc_parse.h: Likewise.
18803 * sunrpc/rpc_prot.c: Likewise.
18804 * sunrpc/rpc_sample.c: Likewise.
18805 * sunrpc/rpc_scan.c: Likewise.
18806 * sunrpc/rpc_scan.h: Likewise.
18807 * sunrpc/rpc_svcout.c: Likewise.
18808 * sunrpc/rpc_tblout.c: Likewise.
18809 * sunrpc/rpc_util.c: Likewise.
18810 * sunrpc/rpc_util.h: Likewise.
18811 * sunrpc/rpcinfo.c: Likewise.
18812 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18813 * sunrpc/rpcsvc/key_prot.x: Likewise.
18814 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18815 * sunrpc/rpcsvc/mount.x: Likewise.
18816 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18817 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18818 * sunrpc/rpcsvc/rex.x: Likewise.
18819 * sunrpc/rpcsvc/rstat.x: Likewise.
18820 * sunrpc/rpcsvc/rusers.x: Likewise.
18821 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18822 * sunrpc/rpcsvc/spray.x: Likewise.
18823 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18824 * sunrpc/rtime.c: Likewise.
18825 * sunrpc/svc.c: Likewise.
18826 * sunrpc/svc_auth.c: Likewise.
18827 * sunrpc/svc_authux.c: Likewise.
18828 * sunrpc/svc_raw.c: Likewise.
18829 * sunrpc/svc_run.c: Likewise.
18830 * sunrpc/svc_simple.c: Likewise.
18831 * sunrpc/svc_tcp.c: Likewise.
18832 * sunrpc/svc_udp.c: Likewise.
18833 * sunrpc/svc_unix.c: Likewise.
18834 * sunrpc/svcauth_des.c: Likewise.
18835 * sunrpc/xcrypt.c: Likewise.
18836 * sunrpc/xdr.c: Likewise.
18837 * sunrpc/xdr_array.c: Likewise.
18838 * sunrpc/xdr_float.c: Likewise.
18839 * sunrpc/xdr_mem.c: Likewise.
18840 * sunrpc/xdr_rec.c: Likewise.
18841 * sunrpc/xdr_ref.c: Likewise.
18842 * sunrpc/xdr_sizeof.c: Likewise.
18843 * sunrpc/xdr_stdio.c: Likewise.
18845 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18848 2010-08-19 Andreas Schwab <schwab@redhat.com>
18850 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18852 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18854 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18855 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18856 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18857 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18858 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18859 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18860 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18861 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18863 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18864 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18865 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18866 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18867 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18869 2010-07-26 Anton Blanchard <anton@samba.org>
18871 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18872 * malloc/arena.c (heap_trim): Likewise.
18874 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18876 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18879 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18881 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18883 * sysdeps/i386/elf/Makefile: New file.
18885 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18887 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18888 from fanotify_init.
18889 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18892 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18894 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18896 * sysdeps/multiarch/strcmp.S: Likewise.
18898 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18900 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18901 strncase_l-nonascii.
18902 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18903 Add strncase_l-ssse3.
18904 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18905 * sysdeps/x86_64/strcmp.S: Likewise.
18906 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18907 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18908 * sysdeps/x86_64/strncase.S: New file.
18909 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18910 * sysdeps/x86_64/strncase_l.S: New file.
18911 * string/Makefile (strop-tests): Add strncasecmp.
18912 * string/test-strncasecmp.c: New file.
18914 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18917 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18918 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18920 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18922 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18924 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18926 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18927 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18928 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18930 2010-05-01 Alan Modra <amodra@gmail.com>
18932 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18933 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18934 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18935 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18936 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18937 tidying. Don't tail-call __sigjmp_save for static lib.
18938 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18940 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18941 (CALL_MCOUNT): Add eh info, and nop after bl.
18942 (TAIL_CALL_SYSCALL_ERROR): New macro.
18943 (PSEUDO_RET): Use it.
18944 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18945 Correct save location of integer regs and cr.
18946 (_dl_profile_resolve): Correct cr save location. Delete nops
18947 after bl when SHARED. Reduce cfi size a little by better
18948 placement of cfi directives.
18949 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18950 make a stack frame. Instead use parm save area as a temp.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18952 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18954 Don't make a stack frame for parent, use parm save area.
18955 Increase child stack frame to 112 bytes. Don't save unused reg,
18956 and adjust reg usage. Set up cfi on error recovery and
18957 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18959 (__makecontext): Add dummy nop after jump to exit.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18961 Use correct parm save area and cr save, reduce stack frame.
18962 Correct cfi for possible PSEUDO_RET frame setup.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18964 Branch to local label emitted by PSEUDO_RET rather than
18967 2010-08-12 Andreas Schwab <schwab@redhat.com>
18970 * locale/programs/locale.c (print_assignment): New function.
18971 (show_locale_vars): Use it.
18973 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18975 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18977 (struct statfs64): Likewise.
18978 (_STATFS_F_FLAGS): Define.
18979 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18980 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18981 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18982 (ST_VALID): Define locally.
18983 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18984 __statvfs_getflags, use the provided value.
18985 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18986 __ASSUME_STATFS_F_FLAGS.
18988 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18990 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18991 Add sys/fanotify.h.
18992 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18993 fanotify_mask for GLIBC_2.13.
18994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18995 fanotify_init and fanotify_mark.
18996 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18997 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18999 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19001 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19002 prlimit64 for GLIBC_2.13.
19003 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19005 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19008 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19009 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19010 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19013 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19016 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19017 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19019 * nss/Makefile: Add rules to build and run tst-nss-test1.
19020 * shlib-versions: Add entry for libnss_test1.
19021 * nss/nss_test1.c: New file.
19022 * nss/tst-nss-test1.c: New file.
19024 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19025 (__nss_configure_lookup): Set appropriate entry in
19026 __nss_configure_lookup to true.
19027 * nss/nsswitch.h: Define enum with indeces of databases in
19028 databases and __nss_database_custom arrays. Declare
19029 __nss_database_custom.
19030 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19031 to avoid using nscd when custom rules are installed.
19032 * nss/getXXbyYY_r.c: Likewise.
19033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19035 * nss/nss_files/files-parse.c: Whitespace fixes.
19037 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19040 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19041 * posix/fnmatch_loop.c: Likewise.
19043 2010-07-17 Andi Kleen <ak@linux.intel.com>
19045 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19046 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19047 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19048 * Versions.def [GLIBC_2.13]: Add.
19050 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19053 Also fail if tpwd after pwuid call is NULL.
19055 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19057 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19058 when converting to ms.
19060 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19062 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19063 EOPNOTSUPP errors with ENOTTY.
19064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19065 EOPNOTSUPP errors with ENOTTY.
19067 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19069 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19070 Add strcasecmp_l-ssse3.
19071 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19073 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19074 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19075 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19077 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19079 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19081 * string/Makefile (strop-tests): Add strcasecmp.
19082 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19083 strcasecmp_l-nonascii.
19084 (gen-as-const-headers): Add locale-defines.sym.
19085 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19086 * sysdeps/x86_64/strcasecmp.S: New file.
19087 * sysdeps/x86_64/strcasecmp_l.S: New file.
19088 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19089 * sysdeps/x86_64/locale-defines.sym: New file.
19090 * string/test-strcasecmp.c: New file.
19092 * string/test-strcasestr.c: Test both ends of the range of characters.
19093 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19095 2010-07-29 Roland McGrath <roland@redhat.com>
19098 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19100 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19102 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19105 2010-07-27 Andreas Schwab <schwab@redhat.com>
19107 * manual/memory.texi (Malloc Tunable Parameters): Document
19110 2010-07-26 Roland McGrath <roland@redhat.com>
19113 * configure.in (-fgnu89-inline check): Set and substitute
19114 gnu89_inline, not libc_cv_gnu89_inline.
19115 * configure: Regenerated.
19116 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19118 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19120 * string/test-strnlen.c: New file.
19121 * string/Makefile (strop-tests): Add strnlen.
19122 * string/tester.c (test_strnlen): Add a few more test cases.
19123 * string/tst-strlen.c: Better error reporting.
19125 * sysdeps/x86_64/strnlen.S: New file.
19127 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19130 lower-latency instructions.
19132 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19134 * string/test-strcasestr.c: New file.
19135 * string/test-strstr.c: New file.
19136 * string/Makefile (strop-tests): Add strstr and strcasestr.
19137 * string/str-two-way.h: Don't undefine MAX.
19138 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19140 2010-07-21 Andreas Schwab <schwab@redhat.com>
19142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19143 strcasestr-nonascii.
19144 (CFLAGS-strcasestr-nonascii.c): Define.
19145 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19146 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19147 Remove unused attribute.
19149 2010-07-20 Roland McGrath <roland@redhat.com>
19151 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19152 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19153 ld.so.cache was broken. With it, there is no way to disable dsocaps
19154 like LD_HWCAP_MASK can disable hwcaps.
19156 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19158 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19160 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19162 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19163 call in strcasestr.
19164 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19165 __strcasestr_sse42_nonascii.
19166 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19167 strcasestr-nonascii.c.
19168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19170 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19172 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19173 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19174 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19175 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19177 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19182 2010-07-06 Andreas Schwab <schwab@redhat.com>
19185 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19188 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19190 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19191 _PC_PIPE_BUF using F_GETPIPE_SZ.
19193 2010-07-05 Roland McGrath <roland@redhat.com>
19195 * manual/arith.texi (Rounding Functions): Fix rint description
19196 implicit in round description.
19198 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19200 * elf/Makefile: Fix linking for a few tests to make recent linker
19203 2010-06-30 Andreas Schwab <schwab@redhat.com>
19205 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19206 $(common-objpfx)libc_nonshared.a.
19208 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19210 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19211 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19212 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19213 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19214 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19216 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19217 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19232 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19233 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19234 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19235 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19236 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19237 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19238 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19239 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19240 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19241 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19242 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19243 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19259 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19261 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19262 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19263 * string/memmove.c (memmove): Renamed to ...
19264 (MEMMOVE): ...this. Default to memmove.
19265 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19266 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19269 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19270 mempcpy-ssse3-back memmove-ssse3-back.
19271 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19274 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19275 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19276 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19277 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19278 * sysdeps/x86_64/multiarch/memmove.c: New file.
19279 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19280 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19281 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19282 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19283 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19286 (index_Fast_Copy_Backward): Define.
19287 (HAS_ARCH_FEATURE): Define.
19288 (HAS_FAST_REP_STRING): Define.
19289 (HAS_FAST_COPY_BACKWARD): Define.
19291 2010-06-21 Andreas Schwab <schwab@redhat.com>
19293 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19294 Restore proper fallback handling.
19296 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19299 * posix/group_member.c (__group_member): Correct checking loop.
19301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19302 OOM in getpwuid_r correctly. Return error number when the caller
19303 should return, otherwise -1.
19304 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19305 call returning > 0 value.
19306 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19308 2010-06-07 Andreas Schwab <schwab@redhat.com>
19310 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19311 libc_nonshared.a from targets in modules-names.
19313 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19315 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19318 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19320 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19321 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19325 2010-06-02 Andreas Schwab <schwab@redhat.com>
19327 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19329 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19331 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19340 2010-06-14 Roland McGrath <roland@redhat.com>
19342 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19344 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19346 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19347 __REDIRECT followed by __THROW.
19348 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19349 * posix/getopt.h (getopt): Likewise.
19351 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19353 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19354 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19355 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19357 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19358 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19360 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19362 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19364 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19368 Properly check family and model.
19370 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19372 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19374 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19376 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19378 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19380 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19383 2010-05-19 Andreas Schwab <schwab@redhat.com>
19385 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19388 2010-05-21 Andreas Schwab <schwab@redhat.com>
19390 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19391 and internal_recvmmsg.
19392 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19393 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19394 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19395 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19397 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19401 2010-05-20 Andreas Schwab <schwab@redhat.com>
19403 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19405 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19407 POWER7 optimizations.
19408 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19409 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19411 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19413 * version.h: Update for 2.13 development version.
19415 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19417 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19418 exceptions. Return 0.
19420 2010-05-07 Roland McGrath <roland@redhat.com>
19422 * elf/ldconfig.c (main): Add a const.
19424 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19426 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19427 (args_options): Add no-idn option.
19428 (ahosts_keys_int): Add idn_flags to ai_flags.
19429 (parse_option): Handle 'i' option to clear idn_flags.
19431 * malloc/malloc.c (_int_free): Possible race in the most recently
19432 added check. Only act on the data if no current modification
19435 See ChangeLog.17 for earlier changes.