1 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5 (_IO_off_t): Define to __off_t, not _G_off_t.
6 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10 type of __dummy and __dummy2 fields.
11 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12 (_G_ssize_t): Likewise.
16 (_G_wchar_t): Likewise.
17 (_G_wint_t): Likewise.
18 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19 (_G_ssize_t): Likewise.
23 (_G_wchar_t): Likewise.
24 (_G_wint_t): Likewise.
25 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26 (_G_ssize_t): Likewise.
30 (_G_wchar_t): Likewise.
31 (_G_wint_t): Likewise.
33 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35 * malloc/arena.c: Include malloc-sysdep.h.
36 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37 is sufficient to shrink the heap or an unmap is needed.
38 * sysdeps/generic/malloc-sysdep.h: New file. Define
39 new function check_may_shrink_heap.
40 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41 new function check_may_shrink_heap.
43 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
48 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
50 * catgets/test-gencat.sh: Add "set -e".
51 * elf/tst-pathopt.sh: Likewise.
52 * grp/tst_fgetgrent.sh: Likewise.
53 * iconvdata/run-iconv-test.sh: Likewise.
54 * intl/tst-gettext.sh: Likewise.
55 * intl/tst-gettext2.sh: Likewise.
56 * intl/tst-gettext4.sh: Likewise.
57 * intl/tst-gettext6.sh: Likewise.
58 * intl/tst-translit.sh: Likewise.
59 * io/ftwtest-sh: Likewise.
60 * libio/test-freopen.sh: Likewise.
61 * malloc/tst-mtrace.sh: Likewise.
62 * posix/globtest.sh: Likewise.
63 * posix/tst-getconf.sh: Likewise.
64 * posix/wordexp-tst.sh: Likewise.
65 * stdio-common/tst-printf.sh: Likewise.
66 * stdio-common/tst-unbputc.sh: Likewise.
67 * stdlib/tst-fmtmsg.sh: Likewise.
68 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69 * catgets/Makefile: Do not specify -e option when running
70 testsuite shell scripts.
71 * elf/Makefile: Likewise.
72 * grp/Makefile: Likewise.
73 * iconvdata/Makefile: Likewise.
74 * intl/Makefile: Likewise.
75 * io/Makefile: Likewise.
76 * libio/Makefile: Likewise.
77 * malloc/Makefile: Likewise.
78 * posix/Makefile: Likewise.
79 * stdio-common/Makefile: Likewise.
80 * stdlib/Makefile: Likewise.
81 * sysdeps/x86_64/Makefile: Likewise.
83 * io/ftwtest-sh: Add copyright header.
84 * posix/globtest.sh: Likewise.
85 * posix/tst-getconf.sh: Likewise.
86 * posix/wordexp-tst.sh: Likewise.
87 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
89 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
92 * Makeconfig (+link): Defined as $(+link-static) if
93 $(build-shared) isn't yes.
94 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
96 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
98 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
101 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
102 new chunk size with MALLOC_ALIGN_MASK.
104 2012-09-24 Joseph Myers <joseph@codesourcery.com>
107 * stdio-common/printf_fphex.c: Include <stdbool.h> and
109 (__printf_fphex): Determine rounding using get_rounding_mode and
111 * stdio-common/tst-printf-round.c (struct hex_test): New
113 (hex_tests): New variable.
114 (test_hex_in_one_mode): New function.
115 (do_test): Also run tests for hex float output.
117 2012-09-21 Joseph Myers <joseph@codesourcery.com>
119 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
120 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
121 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
122 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
123 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
124 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
125 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
126 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
128 2012-09-20 Joseph Myers <joseph@codesourcery.com>
130 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
131 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
132 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
133 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
135 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
138 * elf/rtld.c (dl_main): Limit the check for self loading to normal
140 * elf/tst-rtld-load-self.sh: New test.
141 * elf/Makefile: Run it.
143 2012-09-18 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
146 (tst-writev-ENV): Remove.
147 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
149 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
151 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
153 2012-09-17 Joseph Myers <joseph@codesourcery.com>
155 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
157 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
159 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
160 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
161 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
164 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
167 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
168 * config.make.in (have-cpp-asm-debuginfo): Removed.
169 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
170 * configure: Regenerated.
172 2012-09-14 Joseph Myers <joseph@codesourcery.com>
175 * stdio-common/printf_fp.c: Include <stdbool.h> and
177 (___printf_fp): Determine rounding using get_rounding_mode and
179 * stdio-common/tst-printf-round.c: New file.
180 * stdio-common/Makefile (tests): Add tst-printf-round.
181 (link-libm): New variable.
182 ($(objpfx)tst-printf-round): Depend in $(link-libm).
184 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
187 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
188 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
190 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
193 2012-09-13 Joseph Myers <joseph@codesourcery.com>
195 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
196 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
197 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
198 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
200 2012-09-12 Joseph Myers <joseph@codesourcery.com>
203 * include/rounding-mode.h: New file.
204 * sysdeps/generic/get-rounding-mode.h: Likewise.
205 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
206 * stdlib/strtod_l.c: Include <rounding-mode.h>.
207 (MAX_VALUE): New macro.
208 (MIN_VALUE): Likewise.
209 (overflow_value): New function.
210 (underflow_value): Likewise.
211 (round_and_return): Use overflow_value and underflow_value to
212 determine return values in overflow and underflow cases. Use
213 round_away to determine rounding depending on rounding mode.
214 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
215 determine return values in overflow and underflow cases.
216 * stdlib/tst-strtod-round.c: Include <fenv.h>.
217 (struct test_results): New structure.
218 (struct test): Use struct test_results to store expected results
219 for all rounding modes.
220 (TEST): Include expected results for all rounding modes.
221 (test_in_one_mode): New function.
222 (do_test): Use test_in_one_mode to compute and check results.
223 Check results for all rounding modes.
224 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
227 2012-12-09 Allan McRae <allan@archlinux.org>
229 * sysdeps/i386/fpu/libm-test-ulps: Update
231 2012-09-11 Joseph Myers <joseph@codesourcery.com>
233 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
234 (_G_int32_t): Likewise.
235 (_G_uint16_t): Likewise.
236 (_G_uint32_t): Likewise.
237 (_G_HAVE_BOOL): Likewise.
238 (_G_HAVE_ATEXIT): Likewise.
239 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
240 (_G_HAVE_IO_FILE_OPEN): Likewise.
241 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
242 (_G_int32_t): Likewise.
243 (_G_uint16_t): Likewise.
244 (_G_uint32_t): Likewise.
245 (_G_HAVE_BOOL): Likewise.
246 (_G_HAVE_ATEXIT): Likewise.
247 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
248 (_G_HAVE_IO_FILE_OPEN): Likewise.
249 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
250 (_G_int32_t): Likewise.
251 (_G_uint16_t): Likewise.
252 (_G_uint32_t): Likewise.
253 (_G_HAVE_BOOL): Likewise.
254 (_G_HAVE_ATEXIT): Likewise.
255 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
256 (_G_HAVE_IO_FILE_OPEN): Likewise.
258 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
260 * csu/libc-tls.c: Update copyright years.
262 2012-09-10 Joseph Myers <joseph@codesourcery.com>
264 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
265 [!_G_USING_THUNKS]: Remove conditional code.
266 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
267 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
269 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
270 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
271 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
272 (_G_VTABLE_LABEL_PREFIX): Likewise.
273 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
274 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
275 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
276 (_G_VTABLE_LABEL_PREFIX): Likewise.
277 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
278 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
279 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
280 (_G_VTABLE_LABEL_PREFIX): Likewise.
281 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
283 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
285 * libio/Makefile: Include ../Makeconfig before tests.
286 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
287 only if $(build-shared) is yes.
289 * iconv/gconv_db.c: Update copyright years.
291 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
293 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
294 unwind info if defined PIC. Fix special cases description.
295 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
297 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
299 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
301 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
303 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
305 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
308 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
309 (LDLIBS-tst-chk4): This.
310 (LDFLAGS-tst-chk5): Renamed to ...
311 (LDLIBS-tst-chk5): This.
312 (LDFLAGS-tst-chk6): Renamed to ...
313 (LDLIBS-tst-chk6): This.
314 (LDFLAGS-tst-lfschk4): Renamed to ...
315 (LDLIBS-tst-lfschk4): This.
316 (LDFLAGS-tst-lfschk5): Renamed to ...
317 (LDLIBS-tst-lfschk5): This.
318 (LDFLAGS-tst-lfschk6): Renamed to ...
319 (LDLIBS-tst-lfschk6): This.
321 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
322 on $(common-objpfx)soversions.mk.
324 2012-09-07 Joseph Myers <joseph@codesourcery.com>
327 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
330 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
332 * malloc/arena.c (arena_get_retry): New function that gets
333 another arena for the caller to try its request on.
334 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
335 current arena cannot fulfill the request.
336 (__libc_memalign): Likewise.
337 (__libc_memalign): Likewise.
338 (__libc_pvalloc): Likewise.
339 (__libc_calloc): Likewise.
341 2012-09-05 John Tobey <john.tobey@gmail.com>
344 * manual/arith.texi (Operations on Complex): Fix description
347 2012-09-06 Joseph Myers <joseph@codesourcery.com>
350 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
354 * manual/memory.texi (Memory): Make order of menu items match
357 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
359 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
360 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
361 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
363 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
365 * csu/libc-tls.c (static_dtv): Renamed to ...
366 (_dl_static_dtv): This. Make it global.
367 (_dl_initial_dtv): Removed.
368 (__libc_setup_tls): Updated.
369 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
370 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
373 2012-09-06 Petr Machata <pmachata@redhat.com>
375 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
376 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
377 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
378 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
380 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
383 * csu/libc-tls.c (_dl_initial_dtv): New variable.
384 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
387 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
390 * Makeconfig (link-static-before-libc): Replace $(+prector)
392 (link-static-after-libc): Replace $(+postctor) with
394 (link-bounded): Replace $(+prector)/$(+postctor) with
395 $(+prectorT)/$(+postctorT).
396 (+prectorT): New macro.
397 (+postctorT): Likewise.
399 2012-09-06 Joseph Myers <joseph@codesourcery.com>
401 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
402 (round_str): Handle values above the maximum for IBM long double
404 * stdlib/tst-strtod-round.c (tests): Regenerated.
406 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
408 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
410 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
411 zarch_nohighgprs around the zarch optimized routines.
412 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
413 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
417 2012-09-05 David S. Miller <davem@davemloft.net>
419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
421 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
422 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
423 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
424 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
427 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
429 * malloc/arena.c: Fold copyright years.
430 * malloc/mcheck.c, malloc/memusage.c: Likewise.
432 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
434 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
436 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
438 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
440 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
442 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
443 change internal state upon failure.
445 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
447 * malloc/mcheck.c (mcheck_check_all): Fix typo.
448 * malloc/memusage.c (mmap): Likewise.
449 (mmap64, mremap): Likewise. Adjust name in comment.
451 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
453 * libio/fileops.c: Fix typos in comments.
454 * libio/oldfileops.c: Likewise.
455 * libio/wfileops.c: Likewise.
457 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
460 * malloc/Makefile (tests): Add tst-malloc-usable test case.
461 (tst-malloc-usable-ENV): Set environment for test case.
462 * malloc/hooks.c (malloc_check_get_size): New function to get
464 * malloc/malloc.c (musable): Use malloc_check_get_size.
465 * malloc/tst-malloc-usable.c: New test case.
467 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
469 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
471 2012-09-05 Allan McRae <allan@archlinux.org>
474 * configure.in (CXX_SYSINCLUDES): Use compiler output to
475 determine header location.
476 * configure: Regenerated.
478 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
480 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
482 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
483 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
487 2012-09-04 David S. Miller <davem@davemloft.net>
489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
493 2012-09-04 Florian Weimer <fweimer@redhat.com>
495 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
498 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
500 2012-09-04 Joseph Myers <joseph@codesourcery.com>
503 * libio/iogetdelim.c: Include <limits.h>.
504 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
505 + len + 1 would overflow.
507 2012-09-03 Andreas Jaeger <aj@suse.de>
509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
512 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
514 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
515 Add s_sinf-sse2, s_conf-sse2.
517 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
518 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
519 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
520 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
522 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
523 for using routine as __sinf_ia32.
524 Use macro for function declaration and weak_alias.
525 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
526 for using routine as __cosf_ia32.
527 Use macro for function declaration and weak_alias.
529 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
530 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
532 * sysdeps/x86_64/fpu/s_sinf.S: New file.
533 * sysdeps/x86_64/fpu/s_cosf.S: New file.
534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
536 * math/libm-test.inc (cos_test): Add more test cases.
537 (sin_test): Likewise.
538 (sincos_test): Likewise.
540 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
543 (IFUNC_RESOLVE): Make pointers to the specialized implementations
545 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
547 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
550 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
551 first element of the GOT.
552 (elf_machine_load_address): Return the difference between
553 the runtime address of _DYNAMIC and elf_machine_dynamic ().
555 2012-09-01 Allan McRae <allan@archlinux.org>
558 * configure.in (AWK): Require gawk version 3.0 or later.
559 * configure: Regenerated.
561 2012-09-01 Joseph Myers <joseph@codesourcery.com>
563 * sysdeps/unix/sysv/linux/kernel-features.h
564 (__ASSUME_POSIX_CPU_TIMERS): Remove.
565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
566 [__NR_clock_getres]: Make code unconditional.
567 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
568 (clock_getcpuclockid): Remove code left unreachable by removal of
570 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
572 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
573 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
574 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
575 Make code unconditional.
576 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
577 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
578 * sysdeps/unix/sysv/linux/clock_settime.c
579 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
581 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
584 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
587 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
588 scripts/test-installation.pl.
590 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
591 and $ld_so_version if it is set.
593 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
596 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
597 failure if reading from procfs failed.
598 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
600 2012-08-27 Joseph Myers <joseph@codesourcery.com>
602 * sysdeps/unix/sysv/linux/kernel-features.h
603 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
604 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
605 Remove conditional code.
606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
607 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
608 Remove conditional code.
609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
610 * sysdeps/unix/sysv/linux/i386/fxstat.c
611 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
613 * sysdeps/unix/sysv/linux/i386/fxstatat.c
614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
616 * sysdeps/unix/sysv/linux/i386/lxstat.c
617 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
619 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
620 Remove conditional code.
621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
622 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
623 Remove conditional code.
624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
625 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
627 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
629 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
630 Remove conditional code.
631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
632 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
635 2012-08-27 Mike Frysinger <vapier@gentoo.org>
638 * NEWS: Add fixed bug number.
640 2012-08-27 Joseph Myers <joseph@codesourcery.com>
643 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
644 underflowing exponent in case of negative sign.
645 * stdlib/tst-strtod-round-data: Add more tests.
646 * stdlib/tst-strtod-round.c (tests): Regenerated.
649 * stdlib/strtod_l.c (NDIG): Remove.
651 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
652 smallest representable value.
653 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
654 lie within an exact representation of 1/2 ulp of the result.
655 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
657 (TENS_P9_IDX): Define unconditionally.
658 (TENS_P9_SIZE): Likewise.
659 (TENS_P10_IDX): Likewise.
660 (TENS_P10_SIZE): Likewise.
661 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
662 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
663 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
664 entries for 10^2^13 and 10^2^14.
665 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
666 (TENS_P13_IDX): Define.
667 (TENS_P13_SIZE): Likewise.
668 (TENS_P14_IDX): Likewise.
669 (TENS_P14_SIZE): Likewise.
670 (_fpioconst_pow10): Change array size to
671 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
673 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
674 1024]: Add entries for 10^2^13 and 10^2^14.
675 [LAST_POW10 > _LAST_POW10]: Remove #error.
676 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
677 (_fpioconst_pow10): Change array size to
678 FPIOCONST_POW10_ARRAY_SIZE.
679 * stdlib/gen-fpioconst.c: New file.
680 * stdlib/gen-tst-strtod-round.c: Likewise.
681 * stdlib/tst-strtod-round-data: Likewise.
682 * stdlib/tst-strtod-round.c: Likewise.
683 * stdlib/Makefile (tests): Add tst-strtod-round.
686 * stdlib/strtod_l.c: Include <stdint.h>.
687 (NDEBUG): Do not define.
688 (round_and_return): Change EXPONENT parameter to type intmax_t.
689 Rearrange calculations to avoid internal overflow possibilities.
690 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
691 Rearrange calculations to avoid internal overflow possibilities.
692 Assert that number fits inside MPNSIZE limbs.
693 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
694 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
695 calculations and add assertions to avoid internal overflow
696 possibilities. Add casts to avoid signed/unsigned operations.
697 * stdlib/tst-strtod-overflow.c: New file.
698 * stdlib/Makefile (tests): Add tst-strtod-overflow.
700 2012-08-25 Marek Polacek <polacek@redhat.com>
702 * time/time.h: Fix some typos in comments.
704 2012-08-23 Roland McGrath <roland@hack.frob.com>
706 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
707 * posix/tst-rfc3484-2.c: Likewise.
708 * posix/tst-rfc3484-3.c: Likewise.
710 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
712 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
713 (EF_ARM_ABI_FLOAT_HARD): Likewise.
715 2012-08-23 Joseph Myers <joseph@codesourcery.com>
717 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
718 #include of fxstatat64.c.
720 2012-08-22 Roland McGrath <roland@hack.frob.com>
722 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
723 * shadow/getspent_r.c: Likewise.
724 * shadow/getspnam.c: Likewise.
725 * shadow/getspnam_r.c: Likewise.
726 * gshadow/getsgent.c: Likewise.
727 * gshadow/getsgent_r.c: Likewise.
728 * gshadow/getsgnam.c: Likewise.
729 * gshadow/getsgnam_r.c: Likewise.
730 * inet/getnetbyad.c: Likewise.
731 * inet/getnetbyad_r.c: Likewise.
732 * inet/getnetbynm.c: Likewise.
733 * inet/getnetbynm_r.c: Likewise.
734 * inet/getnetent.c: Likewise.
735 * inet/getnetent_r.c: Likewise.
736 * inet/getproto.c: Likewise.
737 * inet/getproto_r.c: Likewise.
738 * inet/getprtent.c: Likewise.
739 * inet/getprtent_r.c: Likewise.
740 * inet/getprtname.c: Likewise.
741 * inet/getprtname_r.c: Likewise.
742 * inet/getrpcbyname.c: Likewise.
743 * inet/getrpcbyname_r.c: Likewise.
744 * inet/getrpcbynumber.c: Likewise.
745 * inet/getrpcbynumber_r.c: Likewise.
746 * inet/getrpcent.c: Likewise.
747 * inet/getrpcent_r.c: Likewise.
748 * inet/getaliasent.c: Likewise.
749 * inet/getaliasent_r.c: Likewise.
750 * inet/getaliasname.c: Likewise.
751 * inet/getaliasname_r.c: Likewise.
752 * nscd/getgrgid_r.c: Likewise.
753 * nscd/getgrnam_r.c: Likewise.
754 * nscd/gethstbyad_r.c: Likewise.
755 * nscd/gethstbynm3_r.c: Likewise.
756 * nscd/getpwnam_r.c: Likewise.
757 * nscd/getpwuid_r.c: Likewise.
758 * nscd/getsrvbynm_r.c: Likewise.
759 * nscd/getsrvbypt_r.c: Likewise.
760 * nscd/gai.c: Likewise.
762 * configure.in (build_nscd): New substituted variable, set
763 by --disable-build-nscd and defaults to $use_nscd.
764 * configure: Regenerated.
765 * config.make.in (build-nscd): New substituted variable.
766 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
767 Change conditional to require [$(build-nscd) = yes] as well.
768 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
771 * configure.in (use_nscd): New substituted variable, set by
772 --disable-nscd. If enabled, define USE_NSCD.
773 * configure: Regenerated.
774 * config.h.in: Add USE_NSCD.
775 * config.make.in (use-nscd): New substituted variable.
776 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
777 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
778 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
779 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
780 (CFLAGS-getgrnam_r.c): Likewise.
781 (CFLAGS-initgroups.c): Likewise.
782 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
783 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
785 * inet/getnetgrent_r.c
786 (nscd_setnetgrent): New function, broken out of ...
787 (setnetgrent): ... here. Call it.
788 (innetgr): Conditionalize nscd bits on [USE_NSCD].
789 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
790 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
791 * nscd/Makefile (routines, aux): Move definitions after include of
792 Makeconfig. Conditionalize on [$(use-nscd) != no].
793 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
794 Conditionalize on [USE_NSCD].
795 (is_nscd, nscd_init_cb): Likewise.
796 (nss_load_library): Conditionalize init callback on [USE_NSCD].
797 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
798 * nss/nss_db/db-init.c: Likewise.
799 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
801 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
802 (make_request): Use it.
803 (cache_valid_p): New function.
804 (__check_pf): Use it.
805 * NEWS: Add item for --disable-nscd.
807 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
809 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
810 to support sed >= 4.2.1-20-ga9bf076.
811 * configure: Regenerated.
813 2012-08-22 Roland McGrath <roland@hack.frob.com>
815 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
816 Conditionalize whole body on [IREL].
818 2012-08-22 Jeff Law <law@redhat.com>
821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
822 if the family is PF_UNSPEC.
824 2012-08-22 Mike Frysinger <vapier@gentoo.org>
826 * Makerules (lib-version): Rename from V.
827 (install-lib-nosubdir): Change V to lib-version.
829 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
832 * powerpc32/power6/wcschr.c: New file.
833 * powerpc32/power6/wcscpy.c: New file.
834 * powerpc32/power6/wcsrchr.c: New file.
835 * powerpc64/power6/wcschr.c: New file.
836 * powerpc64/power6/wcscpy.c: New file.
837 * powerpc64/power6/wcsrchr.c: New file.
839 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
841 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
842 (two_way_short_needle): Use it.
843 * string/strstr.c (AVAILABLE1_USES_J): Define.
844 * string/strcasestr.c: Likewise.
846 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
848 * string/strcasestr.c (TOLOWER): Make side-effect safe.
851 * NEWS: Add an entry.
852 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
853 define their defaults.
854 (two_way_short_needle): Detect end-of-string on-the-fly.
855 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
856 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
857 * string/bug-strcasestr1.c: New test.
858 * string/Makefile: Run it.
860 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
863 * string/str-two-way.h (two_way_short_needle): Optimize matching of
866 2012-08-21 Roland McGrath <roland@hack.frob.com>
868 * csu/elf-init.c (__libc_csu_irel): Function removed.
869 * csu/libc-start.c (apply_irel): New function.
870 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
872 2012-08-21 Joseph Myers <joseph@codesourcery.com>
874 * sysdeps/unix/sysv/linux/kernel-features.h
875 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
876 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
878 [__NR_fadvise64_64]: Make code unconditional.
879 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
880 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
881 !__NR_fadvise64_64)]: Likewise.
882 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
883 !__NR_fadvise64_64))]: Likewise.
884 [__NR_fadvise64]: Make code unconditional.
885 [!__NR_fadvise64]: Remove conditional code.
886 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
888 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
890 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
893 not include <kernel-features.h>.
894 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
896 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
898 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
899 include <kernel-features.h>.
900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
905 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
907 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
908 slight instruction rearrangements per scrollpipe analysis.
909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
911 2012-08-20 Roland McGrath <roland@hack.frob.com>
913 * manual/syslog.texi (syslog; vsyslog, closelog):
914 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
915 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
917 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
918 DSOCAPS to match condition on defining it.
920 2012-08-20 Joseph Myers <joseph@codesourcery.com>
922 * sysdeps/unix/sysv/linux/kernel-features.h
923 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
925 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
926 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
931 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
932 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
934 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
935 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
937 * sysdeps/unix/sysv/linux/kernel-features.h
938 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
939 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
941 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
943 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
944 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
945 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
946 Make code unconditional.
947 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
948 (__mmap64) [!__NR_mmap2]: Likewise.
949 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
952 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
953 [__NR_mmap2]: Make code unconditional.
954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
955 (__mmap64) [!__NR_mmap2]: Likewise.
957 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
959 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
961 2012-08-18 Andreas Jaeger <aj@suse.de>
963 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
965 2012-08-18 Mike Frysinger <vapier@gentoo.org>
967 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
968 * include/unistd.h (__have_sock_cloexec): Likewise.
969 (__have_pipe2): Likewise.
970 (__have_dup3): Likewise.
972 2012-08-18 Mike Frysinger <vapier@gentoo.org>
975 * include/unistd.h (__have_pipe2): Change define into an extern int.
976 (__have_dup3): Likewise.
977 * socket/have_sock_cloexec.c: Include fcntl.h.
978 (__have_pipe2): New variable.
979 (__have_dup3): Likewise.
981 2012-08-17 Mike Frysinger <vapier@gentoo.org>
983 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
985 2012-08-17 Marek Polacek <polacek@redhat.com>
987 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
988 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
990 2012-08-17 Roland McGrath <roland@hack.frob.com>
992 * configure.in: Add AC_SUBST for sysheaders.
993 * configure: Regenerated.
994 * config.make.in (sysheaders): New substituted variable.
996 * sysdeps/unix/mkfifo.c: Moved ...
997 * sysdeps/posix/mkfifo.c: ... here.
998 * sysdeps/unix/mkfifoat.c: Moved ...
999 * sysdeps/posix/mkfifoat.c: ... here.
1001 * sysdeps/unix/utime.c: Moved ...
1002 * sysdeps/posix/utime.c: ... here.
1004 * sysdeps/unix/time.c: Moved ...
1005 * sysdeps/posix/time.c: ... here.
1006 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1009 * sysdeps/unix/nice.c: Moved ...
1010 * sysdeps/posix/nice.c: ... here.
1012 * sysdeps/unix/alarm.c: Moved ...
1013 * sysdeps/posix/alarm.c: ... here.
1015 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1017 2012-08-17 Jeff Law <law@redhat.com>
1019 * intl/Makefile (codeset_mo): New variable.
1020 ($(codeset_mo)): New target.
1021 (tst-codeset.out): Depend on that. Remove explicit rule.
1022 (tst-gettext3.out, tst-gettext5.out): Likewise.
1023 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1024 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1025 * intl/tst-codeset.sh: Remove.
1026 * intl/tst-gettext3.sh: Likewise.
1027 * intl/tst-gettext5.sh: Likewise.
1029 2012-08-17 Roland McGrath <roland@hack.frob.com>
1031 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1032 * sysdeps/unix/syscalls.list: ... here.
1034 * sysdeps/posix/getaddrinfo.c
1035 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1036 (gaiconf_init, gaiconf_reload): Use them.
1038 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1039 Define using time_t rather than struct timespec.
1041 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1042 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1044 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1046 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1047 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1050 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1051 __libc_cleanup_push argument.
1053 * bits/param.h: New file.
1054 * misc/sys/param.h: New file.
1055 * include/sys/param.h: New file.
1056 * misc/Makefile (headers): Add bits/param.h.
1057 * sysdeps/generic/sys/param.h: File removed.
1058 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1059 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1060 * sysdeps/mach/hurd/bits/param.h: New file.
1061 * sysdeps/mach/hurd/sys/param.h: New file.
1063 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1066 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1068 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1069 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1072 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1073 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1074 rather than -D_IO_MTSAFE_IO conditionally.
1075 * stdio-common/Makefile (CPPFLAGS): Likewise.
1076 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1077 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1078 Use $(libio-mtsafe).
1079 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1081 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1082 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1083 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1084 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1085 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1086 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1087 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1088 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1089 (CFLAGS-fread_u_chk.c): Likewise.
1090 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1091 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1092 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1093 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1094 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1095 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1096 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1097 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1098 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1100 * libio/Makefile: Test [$(libc-reentrant) = yes]
1101 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1104 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1105 * sysdeps/pthread/configure: File removed.
1106 * sysdeps/pthread/Makeconfig: New file.
1107 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1108 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1110 2012-08-16 Gary Benson <gbenson@redhat.com>
1112 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1113 unmapping the first object in a namespace.
1115 2012-08-16 Roland McGrath <roland@hack.frob.com>
1117 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1118 (__internal_setnetgrent): ... this. Add internal_function to
1119 definition. Add libc_hidden_def.
1120 (setnetgrent): Update caller.
1121 (internal_endnetgrent): Renamed to ...
1122 (__internal_endnetgrent): ... this. Add internal_function to
1123 definition. Add libc_hidden_def.
1124 (endnetgrent): Update caller.
1125 (internal_getnetgrent_r): Renamed to ...
1126 (__internal_getnetgrent_r): ... this. Add internal_function to
1127 definition. Add libc_hidden_def.
1128 (__getnetgrent_r): Update caller.
1129 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1131 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1133 * stdlib/longlong.h: Update from GCC.
1135 2012-08-16 Roland McGrath <roland@hack.frob.com>
1137 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1138 on _QL, which is set by umul_ppmm but never used.
1139 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1140 variables, which are set by GMP macros but never used.
1141 * stdio-common/_itowa.c (_itowa): Likewise.
1142 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1143 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1145 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1147 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1148 struct La_sh_regs is not constant.
1149 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1150 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1151 and struct La_sparc64_regs are not constant.
1153 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1155 * sysdeps/unix/sysv/linux/kernel-features.h
1156 (__ASSUME_POSIX_TIMERS): Remove.
1157 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1159 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1160 Make code unconditional.
1161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1162 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1163 Make code unconditional.
1164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1165 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1166 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1168 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1169 Make code unconditional.
1170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1171 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1172 (__libc_missing_posix_timers): Remove.
1174 2012-08-15 Roland McGrath <roland@hack.frob.com>
1176 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1177 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1179 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1181 * elf/dl-sym.c: Include <stdlib.h>.
1183 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1184 constants, which avoids warnings in 32-bit builds.
1186 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1187 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1189 * misc/lseek.c: File moved to ...
1190 * io/lseek.c: ... here.
1192 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1194 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1195 shifting LEN more than 31 bits at once.
1197 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1200 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1201 segmentation fault for a case of two empty input strings.
1202 * string/test-strncasecmp.c (check1): Renamed to...
1204 (bz14195): Add new testcase for two empty input strings and N > 0.
1205 (test_main): Call new testcase, adapt for renamed function.
1207 2012-08-15 Andreas Jaeger <aj@suse.de>
1210 * crypt/md5test2.c: New test, based on test supplied by Serge
1211 Belyshev <belyshev@depni.sinp.msu.ru>.
1212 * crypt/Makefile (xtests): Add md5test-giant..
1213 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1215 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1218 * crypt/md5.c (md5_process_block): Don't assume the buffer
1219 length is less than 2**32.
1220 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1221 length is less than 2**64.
1223 2012-08-15 Roland McGrath <roland@hack.frob.com>
1225 * string/str-two-way.h: Include <sys/param.h>.
1226 (MAX): Macro removed.
1228 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1229 Move #define and #undef of memmove to just before and after
1230 including <string.h>.
1232 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1233 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1234 and after including <string.h>. Move declarations of
1235 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1236 to before #include "string/memmove.c".
1238 * include/dirent.h: Declare __getdirentries.
1240 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1241 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1243 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1245 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1246 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1247 * sysdeps/i386/configure: Regenerated.
1248 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1249 STABS_CURRENT_FILE, and STABS_FUN.
1250 (END): Remove call to STABS_FUN_END.
1251 (STABS_CURRENT_FILE1): Delete.
1252 (STABS_CURRENT_FILE): Likewise.
1253 (STABS_FUN): Likewise.
1254 (STABS_FUN_END): Likewise.
1255 (STABS_FUN2): Likewise.
1256 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1257 * sysdeps/x86_64/configure: Regenerated.
1259 2012-08-14 Roland McGrath <roland@hack.frob.com>
1261 * elf/dl-open.c: Include <atomic.h>.
1262 * elf/dl-lookup.c: Likewise.
1264 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1266 * sysdeps/unix/sysv/linux/kernel-features.h
1267 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1268 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1270 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1272 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1273 condition on __ASSUME_CLONE_THREAD_FLAGS.
1275 2012-08-14 Andreas Jaeger <aj@suse.de>
1277 * sysdeps/i386/fpu/libm-test-ulps: Update.
1279 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1281 * include/atomic.h (atomic_exchange_and_add): Split into ...
1282 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1285 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1289 2012-08-13 Jeff Law <law@redhat.com>
1291 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1292 null byte in the output string.
1294 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1296 * sysdeps/unix/sysv/linux/kernel-features.h
1297 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1298 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1299 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1300 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1301 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1302 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1303 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1305 2012-08-09 Jeff Law <law@redhat.com>
1308 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1309 When avoid_arena is set, don't retry in the that arena. Pick the
1310 next one, whatever it might be.
1311 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1312 (arena_lock): Pass in new parameter to arena_get2.
1313 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1315 (__libc_malloc): Unify retrying after main arena failure with
1316 __libc_memalign version.
1317 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1319 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1322 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1323 to __redirect_strstr.
1324 (__strstr_sse42): Use typeof __redirect_strstr.
1325 (__strstr_ia32): Likewise.
1326 (__libc_strstr): New prototype.
1327 (strstr): Renamed to ...
1328 (__libc_strstr): This.
1329 (strstr): New strong alias of __libc_strstr.
1330 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1331 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1334 (__libc_time): New prototype.
1335 (time_ifunc): Replace time with __libc_time.
1336 (time): New strong alias and hidden definition of __libc_time.
1337 (__GI_time): Remove strong alias.
1338 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1340 (memmove): Redefined to __redirect_memmove.
1341 (__memmove_sse2): Use typeof __redirect_memmove.
1342 (__memmove_ssse3): Likewise.
1343 (__memmove_ssse3_back): Likewise.
1344 (__libc_memmove): New prototype.
1345 (memmove): Renamed to ...
1346 (__libc_memmove): This.
1347 (memmove): New strong alias of __libc_memmove.
1349 2012-08-08 Mark Salter <msalter@redhat.com>
1352 (R_MN10300_TLS_GD): Define.
1353 (R_MN10300_TLS_LD): Likewise.
1354 (R_MN10300_TLS_LDO): Likewise.
1355 (R_MN10300_TLS_GOTIE): Likewise.
1356 (R_MN10300_TLS_IE): Likewise.
1357 (R_MN10300_TLS_LE): Likewise.
1358 (R_MN10300_TLS_DTPMOD): Likewise.
1359 (R_MN10300_TLS_DTPOFF): Likewise.
1360 (R_MN10300_TLS_TPOFF): Likewise.
1361 (R_MN10300_SYM_DIFF): Likewise.
1362 (R_MN10300_ALIGN): Likewise.
1363 (R_MN10300_NUM): Update.
1365 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1370 2012-08-08 Roland McGrath <roland@hack.frob.com>
1372 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1374 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1375 sysdeps/unix -> sysdeps/posix move.
1376 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1378 2012-08-07 Allan McRae <allan@archlinux.org>
1381 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1382 (SUNOS_CPP): Likewise.
1383 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1385 (open_input): Call CPP using execvp.
1387 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1389 * sysdeps/unix/sysv/linux/kernel-features.h
1390 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1391 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1392 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1393 (__ASSUME_WAITID_SYSCALL): Likewise.
1394 * sysdeps/unix/sysv/linux/dl-execstack.c
1395 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1397 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1399 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1400 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1401 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1403 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1405 [__ASSUME_WAITID_SYSCALL]: Likewise.
1406 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1408 2012-08-07 Roland McGrath <roland@hack.frob.com>
1410 * sysdeps/unix/closedir.c: Renamed to ...
1411 * sysdeps/posix/closedir.c: ... here.
1412 * sysdeps/unix/dirfd.c: Renamed to ...
1413 * sysdeps/posix/dirfd.c: ... here.
1414 * sysdeps/unix/dirstream.h: Renamed to ...
1415 * sysdeps/posix/dirstream.h: ... here.
1416 * sysdeps/unix/fdopendir.c: Renamed to ...
1417 * sysdeps/posix/fdopendir.c: ... here.
1418 * sysdeps/unix/opendir.c: Renamed to ...
1419 * sysdeps/posix/opendir.c: ... here.
1420 * sysdeps/unix/readdir.c: Renamed to ...
1421 * sysdeps/posix/readdir.c: ... here.
1422 * sysdeps/unix/readdir_r.c: Renamed to ...
1423 * sysdeps/posix/readdir_r.c: ... here.
1424 * sysdeps/unix/rewinddir.c: Renamed to ...
1425 * sysdeps/posix/rewinddir.c: ... here.
1426 * sysdeps/unix/seekdir.c: Renamed to ...
1427 * sysdeps/posix/seekdir.c: ... here.
1428 * sysdeps/unix/telldir.c: Renamed to ...
1429 * sysdeps/posix/telldir.c: ... here.
1430 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1431 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1432 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1433 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1435 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1436 * bits/fcntl.h: ... here.
1438 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1440 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1441 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1442 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1443 (struct flock): Move l_start, l_len to the beginning.
1444 Use __pid_t for l_pid.
1445 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1446 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1447 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1448 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1449 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1450 [__USE_LARGEFILE64] (struct flock64): New type.
1451 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1453 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1454 * bits/dirent.h: ... here.
1456 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1457 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1459 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1461 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1462 Change from 2.6.0 to 2.6.16.
1463 * sysdeps/unix/sysv/linux/configure: Regenerated.
1464 * sysdeps/unix/sysv/linux/kernel-features.h
1465 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1466 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1468 (__ASSUME_UTIMES): Likewise.
1469 (__ASSUME_CLONE_STOPPED): Remove.
1470 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1471 architectures, not kernel version.
1472 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1473 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1474 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1475 (__ASSUME_WAITID_SYSCALL): Likewise.
1476 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1477 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1478 * README: State 2.6.16 as minimum Linux kernel version. Do not
1479 refer to older versions.
1481 2012-08-06 Roland McGrath <roland@hack.frob.com>
1483 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1484 Define alphasort64 as an alias.
1485 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1486 Define versionsort64 as an alias.
1487 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1488 Define scandir64 as an alias.
1489 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1490 Define scandirat64 as an alias.
1491 * dirent/alphasort64.c (alphasort64):
1492 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1493 * dirent/versionsort64.c: Likewise.
1494 * dirent/scandir64.c: Likewise.
1495 * dirent/scandirat64.c: Likewise.
1496 * sysdeps/wordsize-64/alphasort.c: File removed.
1497 * sysdeps/wordsize-64/alphasort64.c: File removed.
1498 * sysdeps/wordsize-64/scandir.c: File removed.
1499 * sysdeps/wordsize-64/scandir64.c: File removed.
1500 * sysdeps/wordsize-64/scandirat.c: File removed.
1501 * sysdeps/wordsize-64/scandirat64.c: File removed.
1502 * sysdeps/wordsize-64/versionsort.c: File removed.
1503 * sysdeps/wordsize-64/versionsort64.c: File removed.
1504 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1505 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1506 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1508 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1510 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1511 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1513 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1515 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1517 [defined __arch64__ || defined __sparcv9]
1518 (__INO_T_MATCHES_INO64_T): New macro.
1519 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1520 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1521 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1522 * sysdeps/unix/sysv/linux/bits/dirent.h
1523 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1524 (_DIRENT_MATCHES_DIRENT64): New macro.
1526 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1527 Define lockf64 as an alias.
1528 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1529 Define fseeko64 as an alias.
1530 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1531 Define ftello64 as an alias.
1532 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1533 Define _IO_fgetpos64 and fgetpos64 as aliases.
1534 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1535 Define _IO_fsetpos64 and fsetpos64 as aliases.
1536 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1537 Conditionalize body on this.
1538 * libio/fseeko64.c: Likewise.
1539 * libio/ftello64.c: Likewise.
1540 * libio/iofgetpos64.c: Likewise.
1541 * libio/iofsetpos64.c: Likewise.
1542 * sysdeps/wordsize-64/lockf.c: File removed.
1543 * sysdeps/wordsize-64/lockf64.c: File removed.
1544 * sysdeps/wordsize-64/fseeko.c: File removed.
1545 * sysdeps/wordsize-64/fseeko64.c: File removed.
1546 * sysdeps/wordsize-64/ftello.c: File removed.
1547 * sysdeps/wordsize-64/ftello64.c: File removed.
1548 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1549 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1550 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1551 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1552 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1553 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1554 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1555 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1556 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1557 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1558 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1559 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1560 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1561 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1563 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1565 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1567 [defined __arch64__ || defined __sparcv9]
1568 (__OFF_T_MATCHES_OFF64_T): New macro.
1569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1570 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1572 (__OFF_T_MATCHES_OFF64_T): New macro.
1574 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1576 * stdlib/secure-getenv.c (__secure_getenv): Replace
1577 GLIBC_2_16 with GLIBC_2_17.
1579 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1584 2012-08-03 David S. Miller <davem@davemloft.net>
1586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1588 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1592 (__ASSUME_CORRECT_SI_PID): Likewise.
1593 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1594 (__ASSUME_TMPFS_NAME): Likewise.
1595 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1596 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1597 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1598 (HAVE_AUX_SECURE): Make definition unconditional.
1599 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1600 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1602 2012-08-03 Roland McGrath <roland@hack.frob.com>
1604 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1605 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1606 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1607 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1608 __eloop_threshold instead of SYMLOOP_MAX.
1610 * sysdeps/generic/eloop-threshold.h: New file.
1611 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1613 * elf/chroot_canon.c (chroot_canon): Likewise.
1615 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1619 Change to 2.6.0 everywhere.
1620 * sysdeps/unix/sysv/linux/configure: Regenerated.
1621 * sysdeps/unix/sysv/linux/kernel-features.h
1622 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1623 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1625 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1626 (__ASSUME_FUTEX_REQUEUE): Remove.
1627 (__ASSUME_STATFS64): Define unconditionally.
1628 (__ASSUME_AT_SECURE): Likewise.
1629 (__ASSUME_CORRECT_SI_PID): Likewise.
1630 (__ASSUME_TGKILL): Define without depending on kernel version for
1632 (__ASSUME_UTIMES): Likewise.
1633 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1635 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1636 (__ASSUME_TMPFS_NAME): Likewise.
1637 * README: Update reference to Linux kernel versions.
1639 2012-08-02 Marek Polacek <polacek@redhat.com>
1642 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1643 libc_cv_asm_type_prefix with %.
1644 * configure: Regenerated.
1645 * include/libc-symbols.h: Remove comment about
1646 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1647 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1648 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1649 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1650 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1651 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1652 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1653 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1654 * elf/tst-unique2mod1.c: Likewise.
1655 * elf/tst-unique1mod2.c: Likewise.
1656 * elf/tst-unique1mod1.c: Likewise.
1657 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1658 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1659 Replace ASM_TYPE_DIRECTIVE with .type.
1660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1661 * sysdeps/i386/sysdep.h: Likewise.
1662 * sysdeps/x86_64/sysdep.h: Likewise.
1663 * sysdeps/sh/sysdep.h: Likewise.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1665 Do not define ASM_TYPE_DIRECTIVE.
1666 * sysdeps/powerpc/sysdep.h: Likewise.
1667 * sysdeps/powerpc/powerpc32/sysdep.h:
1668 Replace ASM_TYPE_DIRECTIVE with .type.
1669 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1670 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1671 * sysdeps/i386/fpu/e_powf.S: Likewise.
1672 * sysdeps/i386/fpu/e_expl.S: Likewise.
1673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1674 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1675 * sysdeps/i386/fpu/e_pow.S: Likewise.
1676 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1677 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1678 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1679 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1680 * sysdeps/i386/fpu/e_log2.S: Likewise.
1681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1683 * sysdeps/i386/fpu/e_powl.S: Likewise.
1684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1686 * sysdeps/i386/fpu/e_logl.S: Likewise.
1687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1688 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1689 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1691 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1692 * sysdeps/i386/fpu/e_log.S: Likewise.
1693 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1694 * sysdeps/i386/fpu/e_logf.S: Likewise.
1695 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1696 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1697 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1698 * sysdeps/i386/fpu/e_log10.S: Likewise.
1699 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1700 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1701 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1702 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1704 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1705 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1706 * sysdeps/i386/i686/strtok.S: Likewise.
1707 * sysdeps/i386/i386-mcount.S: Likewise.
1708 * sysdeps/i386/strtok.S: Likewise.
1709 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1710 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1712 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1713 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1714 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1715 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1716 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1717 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1718 * sysdeps/x86_64/_mcount.S: Likewise.
1719 * sysdeps/x86_64/strtok.S: Likewise.
1720 * sysdeps/sh/_mcount.S: Likewise.
1722 2012-08-01 Roland McGrath <roland@hack.frob.com>
1724 * libio/iofopen.c: Include <fcntl.h>.
1725 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1726 (_IO_fopen64, fopen64): Define as aliases.
1727 * libio/iofopen64.c: Include <fcntl.h>.
1728 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1729 Conditionalize body on this.
1730 * sysdeps/wordsize-64/iofopen.c: File removed.
1731 * sysdeps/wordsize-64/iofopen64.c: File removed.
1733 2012-08-01 Marek Polacek <polacek@redhat.com>
1735 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1736 Use dlfcn directly instead of a variable.
1737 (binfmt-subdir): Do not define.
1740 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1743 Remove all definitions.
1744 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1745 <kernel-features.h>.
1746 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1747 (miss_F_GETOWN_EX): Remove all definitions.
1748 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1750 [!__ASSUME_FCNTL64]: Remove conditional code.
1751 [__ASSUME_FCNTL64]: Make code unconditional.
1752 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1753 <kernel-features.h>.
1754 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1755 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1756 (lockf64) [__NR_fcntl64]: Make code unconditional.
1757 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1759 * sysdeps/unix/sysv/linux/kernel-features.h
1760 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1761 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1762 Make code unconditional.
1763 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1764 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1766 [__NR_vfork]: Make code unconditional.
1767 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1768 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1770 [__NR_vfork]: Make code unconditional.
1771 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1772 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1774 2012-08-01 Roland McGrath <roland@hack.frob.com>
1776 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1777 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1779 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1780 Define mkstemp64 as an alias.
1781 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1782 Define mkstemps64 as an alias.
1783 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1784 Define mkostemp64 as an alias.
1785 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1786 Define mkostemps64 as an alias.
1787 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1788 Conditionalize body on this.
1789 * misc/mkostemp64.c: Likewise.
1790 * misc/mkostemps64.c: Likewise.
1791 * misc/mkstemps64.c: Likewise.
1792 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1793 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1794 * sysdeps/wordsize-64/mkostemp.c: File removed.
1795 * sysdeps/wordsize-64/mkstemp.c: File removed.
1796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1798 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1802 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1803 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1804 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1805 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1807 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1808 compat_symbol macros from <shlib-compat.h> rather than the underlying
1809 default_symbol_version and symbol_version macros, so that DEFAULT
1810 lines in shlib-versions are respected.
1811 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1813 2012-08-01 Florian Weimer <fweimer@redhat.com>
1815 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1816 Declare with warn_unused_result.
1817 (setgid, setregid, setegid, setresgid): Likewise.
1818 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1820 * WUR-REPORT: Remove set*id functions.
1822 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1824 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1826 2012-07-31 Roland McGrath <roland@hack.frob.com>
1828 * include/sys/socket.h (__libc_accept, __libc_accept4):
1829 Add attribute_hidden.
1830 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1832 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1834 * inet/getnetgrent_r.c (setup): Likewise.
1836 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1838 2012-07-31 David S. Miller <davem@davemloft.net>
1840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1842 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1845 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1846 value between 1.0 and 2.0 and smaller part has absolute value less
1848 * math/s_clog10.c (__clog10): Likewise.
1849 * math/s_clog10f.c (__clog10f): Likewise.
1850 * math/s_clog10l.c (__clog10l): Likewise.
1851 * math/s_clogf.c (__clogf): Likewise.
1852 * math/s_clogl.c (__clogl): Likewise.
1853 * math/libm-test.inc (clog_test): Add more tests.
1854 (clog10_test): Likewise.
1855 * sysdeps/i386/fpu/libm-test-ulps: Update.
1856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1858 2012-07-31 Florian Weimer <fweimer@redhat.com>
1860 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1861 Exit with zero in case no suitable GID is found, and write a
1862 message to standard error.
1864 2012-07-30 Roland McGrath <roland@hack.frob.com>
1866 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1868 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1869 (MAXPATHLEN): Removed.
1870 (NOGROUP, NODEV): New macros.
1871 (setbit, clrbit, isset, isclr): New macros.
1872 (howmany, roundup, powerof2): New macros.
1873 (DEV_BSIZE): New macro.
1875 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1876 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1878 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1879 definition on [!__NO_LONG_DOUBLE_MATH].
1881 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1882 PTR_MANGLE and PTR_DEMANGLE.
1884 * socket/accept4.c (accept4): Rename to __libc_accept4.
1885 Define accept4 as a weak alias.
1887 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1888 on [_DIRENT_HAVE_D_TYPE].
1889 * io/ftw.c (ftw_dir): Likewise.
1891 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1893 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1895 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1896 Use the BSD numbers rather than the arbitrary ones we had.
1897 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1898 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1899 (SIGXCPU, SIGXFSZ): New macros.
1902 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1903 initializer on [_LIBC_REENTRANT].
1905 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1906 definitions inside [_POSIX_MAPPED_FILES].
1908 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1910 * dirent/opendir.c: Include <fcntl.h>.
1912 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1913 (__libc_getspecific): Likewise.
1914 (__libc_key_create): Likewise.
1916 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1917 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1918 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1919 (tmpfile64): Define as alias.
1920 * sysdeps/wordsize-64/tmpfile.c: File removed.
1921 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1922 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1923 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1925 * stdio-common/vfscanf.c: Include <stdbool.h>.
1926 * nss/makedb.c: Likewise.
1927 * stdio-common/_i18n_number.h: Likewise.
1928 * argp/argp-help.c: Likewise.
1929 * posix/wordexp.c: Likewise.
1930 * sysdeps/posix/spawni.c: Likewise.
1931 * nss/nss_files/files-initgroups.c: Likewise.
1932 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1933 * nss/nss_files/files-initgroups.c: Likewise.
1934 * nss/nss_db/db-netgrp.c: Likewise.
1935 * nss/nss_db/db-initgroups.c: Likewise.
1936 * io/fchmodat.c: Include <sys/stat.h>.
1938 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1939 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1941 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1944 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1945 Add multiple inclusion protection.
1947 2012-07-27 David S. Miller <davem@davemloft.net>
1949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1951 2012-07-27 Gary Benson <gbenson@redhat.com>
1954 * elf/rtld.c: Include <stap-probe.h>.
1955 (dl_main): Added static probes "init_start" and "init_complete".
1956 * elf/dl-load.c: Include <stap-probe.h>.
1957 (lose): Take new parameter "nsid".
1958 Added static probe "map_failed".
1959 (_dl_map_object_from_fd): Pass namespace id to lose.
1960 Added static probe "map_start".
1961 (open_verify): Pass namespace id to lose.
1962 * elf/dl-open.c: Include <stap-probe.h>.
1963 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1964 and "reloc_complete".
1965 * elf/dl-close.c: Include <stap-probe.h>.
1966 (_dl_close_worker): Added static probes "unmap_start" and
1968 * elf/rtld-debugger-interface.txt: New file documenting the above.
1970 2012-07-26 Roland McGrath <roland@hack.frob.com>
1972 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1973 rather than a string variable.
1974 * sunrpc/rpc_main.c (h_output): Likewise.
1975 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1977 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1979 * inet/check_native.c: New file.
1981 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1984 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1985 if larger part has absolute value 1.0.
1986 * math/s_clog10.c (__clog10): Likewise.
1987 * math/s_clog10f.c (__clog10f): Likewise.
1988 * math/s_clog10l.c (__clog10l): Likewise.
1989 * math/s_clogf.c (__clogf): Likewise.
1990 * math/s_clogl.c (__clogl): Likewise.
1991 * math/libm-test.inc (clog_test): Add more tests.
1992 (clog10_test): Likewise.
1993 * sysdeps/i386/fpu/libm-test-ulps: Update.
1994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1996 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1997 (pltexit): Likewise.
1998 (La_regs): Likewise.
1999 (La_retval): Likewise.
2000 (int_retval): Likewise.
2001 Update #error for removed macros to refer only to definitions in
2003 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2005 (pltexit): Likewise.
2006 (La_regs): Likewise.
2007 (La_retval): Likewise.
2008 (int_retval): Likewise.
2009 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2011 (pltexit): Likewise.
2012 (La_regs): Likewise.
2013 (La_retval): Likewise.
2014 (int_retval): Likewise.
2015 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2017 (pltexit): Likewise.
2018 (La_regs): Likewise.
2019 (La_retval): Likewise.
2020 (int_retval): Likewise.
2021 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2023 (pltexit): Likewise.
2024 (La_regs): Likewise.
2025 (La_retval): Likewise.
2026 (int_retval): Likewise.
2027 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2029 (pltexit): Likewise.
2030 (La_regs): Likewise.
2031 (La_retval): Likewise.
2032 (int_retval): Likewise.
2033 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2035 (pltexit): Likewise.
2036 (La_regs): Likewise.
2037 (La_retval): Likewise.
2038 (int_retval): Likewise.
2039 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2040 macro definitions in tst-audit.h.
2041 * sysdeps/i386/tst-audit.h: New file.
2042 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2043 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2044 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2045 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2046 * sysdeps/sh/tst-audit.h: Likewise.
2047 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2048 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2049 * sysdeps/x86_64/tst-audit.h: Likewise.
2051 2012-07-26 Andreas Jaeger <aj@suse.de>
2053 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2056 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2057 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2058 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2060 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2061 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2064 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2067 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2069 (si_call_addr, si_syscall, si_arch): Define new macro.
2070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2072 (si_call_addr, si_syscall, si_arch): Define new marcro.
2073 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2075 (si_call_addr, si_syscall, si_arch): Define new macro.
2076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2078 (si_call_addr, si_syscall, si_arch): Define new macro.
2080 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2083 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2084 Change to 2.4.21 where previously 2.4.1.
2085 * sysdeps/unix/sysv/linux/configure: Regenerated.
2086 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2087 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2088 Linux kernel version.
2089 (__ASSUME_STD_AUXV): Remove.
2090 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2092 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2093 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2094 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2095 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2096 (__ASSUME_NETLINK_SUPPORT): Likewise.
2097 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2098 (__no_netlink_support): Remove conditional definition.
2099 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2101 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2102 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2103 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2104 (if_nameindex_ioctl): Remove.
2105 (if_nameindex_netlink): Do not handle __no_netlink_support.
2106 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2108 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2109 Remove conditional code.
2110 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2112 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2114 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2115 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2116 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2118 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2119 [!__ASSUME_STD_AUXV]: Remove conditional code.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2121 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2122 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2124 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2125 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2127 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2129 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2130 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2132 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2134 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2137 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2140 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2142 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2144 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2146 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2149 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2151 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2154 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2156 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2158 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2160 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2163 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2165 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2167 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2169 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2172 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2174 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2175 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2176 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2177 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2178 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2179 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2180 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2181 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2182 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2183 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2184 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2185 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2186 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2187 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2188 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2189 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2190 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2192 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2194 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2195 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2196 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2198 2012-07-25 Florian Weimer <fweimer@redhat.com>
2200 * Versions.def: Add GLIBC_2.17.
2201 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2202 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2203 Introduce __libc_secure_getenv.
2204 * stdlib/Versions (2.17): Add secure_getenv
2205 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2206 * stdlib/secure-getenv.c: Rename __secure_getenv to
2207 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2208 symbol __secure_getenv for GLIBC_2.0.
2209 * stdlib/tst-secure-getenv.c: New.
2210 * stdlib/Makefile (tests): Add testcase.
2211 * manual/startup.texi (Environment Access): Document
2213 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2214 __libc_secure_getenv.
2215 * inet/ruserpass.c (ruserpass): Likewise.
2216 * malloc/mtrace.c (mtrace): Likewise.
2217 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2218 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2219 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2220 * sysdeps/posix/tempname.c: Likewise. Evaluate
2222 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2223 __secure_getenv to __libc_secure_getenv.
2224 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2231 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2237 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2239 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2240 (struct La_i86_retval): Likewise.
2241 (struct La_x86_64_regs): Likewise.
2242 (struct La_x86_64_retval): Likewise.
2243 (struct La_x32_regs): Likewise.
2244 (struct La_x32_retval): Likewise.
2245 (struct La_ppc32_regs): Likewise.
2246 (struct La_ppc32_retval): Likewise.
2247 (struct La_ppc64_regs): Likewise.
2248 (struct La_ppc64_retval): Likewise.
2249 (struct La_sh_regs): Likewise.
2250 (struct La_sh_retval): Likewise.
2251 (struct La_s390_32_regs): Likewise.
2252 (struct La_s390_32_retval): Likewise.
2253 (struct La_s390_64_regs): Likewise.
2254 (struct La_s390_64_retval): Likewise.
2255 (struct La_sparc32_regs): Likewise.
2256 (struct La_sparc32_retval): Likewise.
2257 (struct La_sparc64_regs): Likewise.
2258 (struct La_sparc64_retval): Likewise.
2259 (struct audit_ifaces): Remove architecture-specific pltenter and
2261 * sysdeps/i386/ldsodefs.h: New file.
2262 * sysdeps/powerpc/ldsodefs.h: Likewise.
2263 * sysdeps/s390/ldsodefs.h: Likewise.
2264 * sysdeps/sh/ldsodefs.h: Likewise.
2265 * sysdeps/sparc/ldsodefs.h: Likewise.
2266 * sysdeps/x86_64/ldsodefs.h: Likewise.
2268 2012-07-25 Marek Polacek <polacek@redhat.com>
2271 * math/libm-test.inc (yn_test): Add another test.
2272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2273 to ERANGE when the result is +-Inf.
2274 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2275 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2276 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2277 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2279 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2281 * conform/data/time.h-data (NULL): Use macro-constant. Require
2283 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2285 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2287 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2289 * configure.in <sysdeps resolving>: Correct printing
2291 * configure: Regenerate.
2293 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2295 * math/w_ilogb.c: Include <limits.h>.
2296 * math/w_ilogbl.c: Likewise.
2298 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2300 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2301 va_copy. Document allowing for unavailable va_copy only as
2302 pre-C99 compatibility.
2303 * manual/string.texi (Copying and Concatenation): Use va_copy
2304 instead of __va_copy in concat example.
2306 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2308 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2309 (__sendto): Use create_address_port. Initialize APORT and deallocate
2312 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2313 with O_NOLINK passed to __file_name_lookup.
2315 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2316 with O_NOLINK passed to __file_name_lookup.
2318 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2319 negative N or less than NGIDS.
2321 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2322 type to string_t. Set ERANGE as errno and return it if NAME is not big
2323 enough. Use memcpy instead of strncpy.
2325 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2327 * elf/Makefile (check-data): Remove.
2328 (localplt.data): New vpath directive.
2329 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2330 instead of $(check-data).
2331 * scripts/data/localplt-generic.data: Move to ...
2332 * sysdeps/generic/localplt.data: ... here.
2333 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2334 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2335 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2338 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2341 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2344 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2347 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2350 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2354 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2357 PPC32 and PPC64 files.
2358 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2359 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2361 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2363 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2364 __makecontext_ret to ...
2365 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2366 ... here and call exit if uc_link is NULL. New file.
2367 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2368 __makecontext_ret.S.
2369 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2370 __makecontext_ret to ...
2371 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2372 ... here and call exit if uc_link is NULL. New file.
2373 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2374 __makecontext_ret.S.
2376 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2378 * elf/elf.h (R_390_IRELATIVE): New definition.
2379 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2380 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2381 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2382 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2383 (elf_machine_lazy_rel): Likewise.
2384 * sysdeps/s390/dl-irel.h: New file.
2385 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2386 * sysdeps/s390/s390-64/memset.S: New asm code.
2387 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2388 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2389 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2390 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2391 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2392 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2393 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2394 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2395 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2396 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2397 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2398 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2399 * sysdeps/s390/s390-32/memset.S: New asm code.
2400 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2402 2012-07-17 Marek Polacek <polacek@redhat.com>
2405 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2406 * sysdeps/s390/s390-64/configure.in: Likewise.
2407 * sysdeps/sparc/configure.in: Likewise.
2408 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2409 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2410 * sysdeps/i386/configure.in: Likewise.
2411 * sysdeps/x86_64/configure.in: Likewise.
2412 * sysdeps/sh/configure.in: Likewise.
2413 * sysdeps/s390/s390-32/configure: Regenerated.
2414 * sysdeps/s390/s390-64/configure: Likewise.
2415 * sysdeps/x86_64/configure: Likewise.
2416 * sysdeps/sh/configure: Likewise.
2417 * sysdeps/powerpc/powerpc64/configure: Likewise.
2418 * sysdeps/powerpc/powerpc32/configure: Likewise.
2419 * sysdeps/sparc/configure: Likwise.
2420 * sysdeps/i386/configure: Likewise.
2422 * elf/dl-open.c: Comment fixes.
2424 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2426 * Makefile [CXX] (check-data): Remove.
2427 [CXX] (c++-types.data): New vpath directive.
2428 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2429 vpath. Do not allow for C++ type data being missing.
2430 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2431 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2432 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2433 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2434 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2435 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2436 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2439 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2442 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2445 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2448 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2451 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2454 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2457 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2460 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2461 definitions to architecture-specific files.
2465 * sysdeps/i386/tls-macros.h: New file.
2466 * sysdeps/powerpc/tls-macros.h: Likewise.
2467 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2468 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2469 * sysdeps/sh/tls-macros.h: Likewise.
2470 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2471 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2472 * sysdeps/x86_64/tls-macros.h: Likewise.
2474 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2476 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2477 zero value for regular exit case.
2479 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2480 (__start_context): Preserve zero value for regular exit case.
2482 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2483 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2485 * manual/setjmp.texi (setcontext): Clarify normal process
2486 termination when uc_link is the null pointer.
2487 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2490 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2492 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2493 preprocessor. Test for each exception mask separately.
2495 2012-07-16 Andreas Jaeger <aj@suse.de>
2497 * po/ru.po: Update from translation team.
2499 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2501 * conform/data/string.h-data (NULL): Use macro-constant. Require
2503 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2504 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2505 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2506 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2509 2012-07-13 Andreas Jaeger <aj@suse.de>
2511 * po/fr.po: Update from translation team.
2513 2012-07-12 Marek Polacek <polacek@redhat.com>
2516 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2517 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2520 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2524 Change to 2.4.1 where previously 2.4.0.
2525 * sysdeps/unix/sysv/linux/configure: Regenerated.
2526 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2527 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2529 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2530 (__ASSUME_AT_CLKTCK): Remove.
2531 (__ASSUME_AT_PAGESIZE): Likewise.
2532 (__ASSUME_AT_XID): Likewise.
2533 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2534 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2535 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2537 (HAVE_AUX_PAGESIZE): Likewise.
2538 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2539 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2540 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2542 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2546 the temporary buffer used to invoke __gethostbyname2_r,
2547 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2548 host_data / struct gaih_addrtuple.
2549 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2550 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2551 header file nss/nsswitch.h.
2552 * nss/nsswitch.h (global scope): Add definition of implementation
2553 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2554 resolv/nss_dns/dns-host.c).
2556 2012-07-11 Andreas Jaeger <aj@suse.de>
2558 * po/fr.po: Update from translation team.
2560 * po/sv.po: Update from translation team
2561 * po/fr.po: Another update from translation team.
2563 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2565 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2566 for subnormals or multiply small sinh result by itself.
2567 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2570 2012-07-11 David S. Miller <davem@davemloft.net>
2572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2574 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2577 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2578 (INTERNAL_MARK): Shift it here.
2580 2012-07-10 Marek Polacek <polacek@redhat.com>
2583 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2584 libc_cv_asm_global_directive with .globl.
2585 * configure: Regenerated.
2586 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2588 * sysdeps/i386/configure: Regenerated.
2589 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2591 * sysdeps/x86_64/configure: Regenerated.
2592 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2593 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2594 * elf/tst-unique2mod2.c: Likewise.
2595 * elf/tst-unique2mod1.c: Likewise.
2596 * elf/tst-unique1mod2.c: Likewise.
2597 * elf/tst-unique1mod1.c: Likewise.
2598 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2599 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2601 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2602 * sysdeps/mach/sysdep.h: Likewise.
2603 * sysdeps/i386/sysdep.h: Likewise.
2604 * sysdeps/i386/i386-mcount.S: Likewise.
2605 * sysdeps/x86_64/_mcount.S: Likewise.
2606 * sysdeps/x86_64/sysdep.h: Likewise.
2607 * sysdeps/sh/_mcount.S: Likewise.
2608 * sysdeps/sh/sysdep.h: Likewise.
2609 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2611 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2613 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2614 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2615 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2616 * locale/localeinfo.h: Likewise.
2617 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2618 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2620 2012-07-09 Roland McGrath <roland@hack.frob.com>
2623 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2625 * manual/message.texi (The Uniforum approach): Likewise.
2626 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2627 (glibc iconv Implementation): Likewise.
2629 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2632 * math/s_clog.c (__clog): Avoid scaling a value down where that
2633 could result in underflow.
2634 * math/s_clog10.c (__clog10): Likewise.
2635 * math/s_clog10f.c (__clog10f): Likewise.
2636 * math/s_clog10l.c (__clog10l): Likewise.
2637 * math/s_clogf.c (__clogf): Likewise.
2638 * math/s_clogl.c (__clogl): Likewise.
2639 * math/libm-test.inc (clog_test): Add more tests.
2640 (clog10_test): Likewise.
2641 * sysdeps/i386/fpu/libm-test-ulps: Update.
2642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2644 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2647 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2648 by 7 not 8 to examine high bit of fractional part.
2651 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2652 for call to __mcount_internal.
2653 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2654 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2655 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2657 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2660 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2661 approximation for values within 0x1p-13f of an odd multiple of
2663 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2664 exception. Add more tests.
2665 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2669 inputs and return -1 for them. Do not check for +Inf in case not
2671 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2672 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2673 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2674 and return -1 for them. Do not check for +Inf in case not
2676 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2679 and return -1 for them. Do not check for +Inf in case not
2681 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2683 * sysdeps/i386/fpu/libm-test-ulps: Update.
2684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2686 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2688 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2690 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2694 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2695 could result in spurious underflow. Scale down values above
2696 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2697 * math/s_csqrtf.c (__csqrtf): Likewise.
2698 * math/s_csqrtl.c (__csqrtl): Likewise.
2699 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2701 * sysdeps/i386/fpu/libm-test-ulps: Update.
2702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2704 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2706 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2708 * catgets/xopen-msg.awk: New file.
2709 * catgets/xopen-msg.sed: Removed.
2711 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2713 * intl/po2test.awk: New file.
2714 * intl/po2test.sed: Removed.
2716 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2719 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2720 or multiply small sinh result by itself.
2721 * math/s_ctanf.c (__ctanf): Likewise.
2722 * math/s_ctanh.c (__ctanh): Likewise.
2723 * math/s_ctanhf.c (__ctanhf): Likewise.
2724 * math/s_ctanhl.c (__ctanhl): Likewise.
2725 * math/s_ctanl.c (__ctanl): Likewise.
2726 * math/libm-test.inc (ctan_test_tonearest): New function.
2727 (ctan_test_towardzero): Likewise.
2728 (ctan_test_downward): Likewise.
2729 (ctan_test_upward): Likewise.
2730 (ctanh_test_tonearest): Likewise.
2731 (ctanh_test_towardzero): Likewise.
2732 (ctanh_test_downward): Likewise.
2733 (ctanh_test_upward): Likewise.
2734 (main): Call these new functions.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2738 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2740 * .gitignore: Delete /ports entry.
2742 2012-07-03 Andreas Jaeger <aj@suse.de>
2744 * po/bg.po: Update from translation team.
2745 * po/cs.po: Likewise.
2746 * po/de.po: Likewise.
2747 * po/hr.po: Likewise.
2748 * po/nl.pl: Likewise.
2749 * po/pl.po: Likewise.
2750 * po/vi.po: Likewise.
2752 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2754 * Makeconfig [!+link] (+link-before-libc): New variable.
2755 [!+link] (+link-after-libc): Likewise.
2756 [!+link] (+link-tests): Likewise.
2757 [!+link] (+link): Define in terms of $(+link-before-libc) and
2758 $(+link-after-libc).
2759 [!+link-static] (+link-static-before-libc): New variable.
2760 [!+link-static] (+link-static-after-libc): Likewise.
2761 [!+link-static] (+link-static-tests): Likewise.
2762 [!+link-static] (+link-static): Define in terms of
2763 $(+link-static-before-libc) and $(+link-static-after-libc).
2764 [build-shared] (link-libc-before-gnulib): New variable.
2765 [build-shared] (link-libc-tests): Likewise.
2766 [build-shared] (link-libc): Define in terms of
2767 $(link-libc-before-gnulib).
2768 [!build-shared] (link-libc-tests): New variable.
2769 (link-libc-static-tests): New variable.
2770 [!gnulib] (gnulib-arch): New variable.
2771 [!gnulib] (gnulib-tests): Likewise.
2772 [!gnulib] (static-gnulib-arch): Likewise.
2773 [!gnulib] (static-gnulib-tests): Likewise.
2774 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2775 Define with "=" instead of ":=".
2776 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2777 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2778 * Rules (binaries-all-notests): New variable.
2779 (binaries-all-tests): Likewise.
2780 (binaries-static-notests): Likewise.
2781 (binaries-static-tests): Likewise.
2782 (binaries-all): Define using $(binaries-all-notests) and
2783 $(binaries-all-tests).
2784 (binaries-static): Define using $(binaries-static-notests) and
2785 $(binaries-static-tests).
2786 (binaries-shared-tests): New variable.
2787 (binaries-shared-notests): Likewise.
2788 (binaries-shared): Remove variable.
2789 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2790 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2791 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2792 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2793 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2794 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2795 * elf/Makefile (sln-modules): New variable.
2796 (extra-objs): Add $(sln-modules:=.o).
2797 (ldconfig-modules): Add static-stubs.
2798 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2799 * elf/static-stubs.c: New file.
2802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2803 by 7 not 8 to examine high bit of fractional part. Use volatile
2804 variables when splitting into final array of floats if
2805 __FLT_EVAL_METHOD__ != 0.
2806 * math/libm-test.inc (cos_test): Add another test.
2807 (sin_test): Likewise.
2808 * sysdeps/i386/fpu/libm-test-ulps: Update.
2811 * math/libm-test.inc (cosh_test): Add more tests.
2813 * version.h (RELEASE): Set to "development".
2814 (VERSION): Set to "2.16.90".
2816 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2818 * NEWS: Update copyright. Remove last-updated date.
2819 Mention math library bug fixes and timezone data changes.
2820 * README: Mention GNU/Hurd, x32, and HPPA support status.
2822 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2824 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2826 2012-06-27 Andreas Jaeger <aj@suse.de>
2828 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2830 2012-06-25 Andreas Jaeger <aj@suse.de>
2832 * sysdeps/s390/fpu/libm-test-ulps: Update.
2834 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2835 Thomas Schwinge <thomas@codesourcery.com>
2837 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2838 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2842 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2844 * sysdeps/mach/start.c: Remove file.
2845 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2846 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2847 * sysdeps/sh/init-first.c: Likewise.
2849 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2850 registers for frame unwinding purposes, add CFI directives.
2851 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2853 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2856 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2857 __fortify_fail returning.
2858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2860 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2861 sysdeps/sh/____longjmp_chk.S.
2862 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2863 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2864 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2865 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2867 * sysdeps/sh/abort-instr.h: New file.
2868 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2869 process in case exit returns.
2871 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2872 initialize the GOT register before use.
2874 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2875 calculation of ARGC > 4.
2877 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2878 meaningful names to some local labels.
2880 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2881 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2883 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2884 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2885 (__arch_compare_and_exchange_val_16_acq): Likewise.
2886 (__arch_compare_and_exchange_val_32_acq): Likewise.
2887 (atomic_exchange_and_add): Fix gUSA sequence.
2888 (atomic_add): Likewise.
2889 (atomic_add_negative): Likewise.
2890 (atomic_add_zero): Likewise.
2891 (atomic_bit_test_set): Likewise.
2893 2012-06-22 Andreas Schwab <schwab@redhat.com>
2896 * include/link.h (struct link_map): Add l_free_initfini.
2897 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2899 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2900 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2901 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2904 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2906 * configure.in: Use AC_LANG_SOURCE.
2907 * configure: Regenerate.
2909 2012-06-22 Roland McGrath <roland@hack.frob.com>
2911 * configure.in (libc_cv_localstatedir): New substituted variable.
2912 * configure: Regenerated.
2913 * config.make.in (localstatedir): New variable, substituted from
2914 libc_cv_localstatedir.
2915 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2916 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2917 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2918 * sysdeps/gnu/configure: Regenerated.
2920 2012-06-21 Jeff Law <law@redhat.com>
2923 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2924 free. Simplify list management for _LIBC case.
2926 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2929 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2930 Clear sign bit of 64-bit integer value before comparing against
2933 * sysdeps/mach/configure: Regenerated.
2935 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2938 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2940 2012-06-21 Jeff Law <law@redhat.com>
2943 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2944 uint16_t for elements in the "seen" array to avoid char overflows.
2945 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2946 * elf/dl-open.c (dl_open_worker): Likewise.
2948 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2950 * scripts/list-sources.sh: Scan PORTS for translations.
2951 * po/libc.pot: Regenerated.
2953 2012-06-21 Andreas Jaeger <aj@suse.de>
2956 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2958 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2959 * bits/byteswap-16.h (__bswap_16): Likewise.
2960 * bits/byteswap.h (__bswap_constant_16): Likewise.
2962 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2965 * sysdeps/i386/fpu_control.h: Removed.
2966 * sysdeps/x86_64/fpu_control.h: Moved to ...
2967 * sysdeps/x86/fpu_control.h: Here.
2969 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2970 (_FPU_SETCW): Likewise.
2972 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2975 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2976 * sysdeps/x86/fpu/bits/mathinline.h: This.
2977 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2981 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2982 functions if __x86_64__ is defined.
2984 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2986 * string/endian.h: Add !__ASSEMBLER__ condition for including
2987 conversion interfaces.
2989 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2993 of ABS(x) in calculating zero to negative powers other than odd
2995 * math/libm-test.inc (pow_test): Add more tests.
2997 2012-06-15 Andreas Jaeger <aj@suse.de>
2999 * manual/contrib.texi (Contributors): Update entry of Liubov
3000 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3003 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3005 * string/string.h: Add __wur to GNU version of strerror_r.
3007 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3010 * string/Makefile (tests): Add tst-strtok_r.
3011 * string/tst-strtok_r.c: New file.
3012 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3013 RAX_LP/RDX_LP on SAVE_PTR.
3015 2012-06-14 Roland McGrath <roland@hack.frob.com>
3017 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3019 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3021 * libm_test.inc (csqrt_test): Allow more spurious underflow
3023 (j0_test): Likewise.
3024 (j1_test): Likewise.
3025 (y0_test): Likewise.
3026 (y1_test): Likewise.
3028 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3030 * po/Makefile (libc.pot): Use UTF-8 charset.
3032 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3035 Suppress sign-conversion warning from FD_SET.
3036 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3037 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3038 not unsigned long int.
3039 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3041 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3045 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3046 __extern_always_inline instead of __extern_inline.
3047 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3048 (__signbit): Likewise.
3049 (__signbitl): Support C++ namespace.
3050 (lrintf): New inline function.
3052 (llrintf): Likewise.
3064 (nearbyint): Likewise.
3065 (nearbyintf): Likewise.
3067 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3069 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3070 non-default versions.
3072 2012-06-11 Roland McGrath <roland@hack.frob.com>
3075 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3077 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3079 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3080 (FE_UPWARD, FE_DOWNWARD): Don't define.
3081 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3082 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3084 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3086 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3087 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3089 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3091 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3093 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3094 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3096 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3099 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3100 * sysdeps/i386/fpu/Implies: New file.
3101 * sysdeps/x86_64/fpu/Implies: Likewise.
3102 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3103 * sysdeps/x86/fpu/bits/fenv.h: This.
3105 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3108 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3111 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3112 character 0xffff that matches the last element of the
3115 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3120 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3123 values higher than 25.6283.
3125 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3128 subnormal exponent extraction and add some __builtin_expect.
3129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3130 Fix for subnormal mantissa calculation.
3132 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3134 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3135 cpu2 is -1 and errno is not ENOSYS.
3137 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3140 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3141 * sysdeps/x86/bits/string.h: This.
3142 * sysdeps/x86_64/bits/string.h: Removed.
3144 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3145 if not compiling for x86-64, but compiling for >= i486.
3147 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3148 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3150 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3151 New macro from Linux kernel 3.4.0.
3152 (FP_XSTATE_MAGIC2): Likewise.
3153 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3154 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3155 (struct _fpx_sw_bytes): New struct.
3156 (struct _xsave_hdr): Likewise.
3157 (struct _ymmh_state): Likewise.
3158 (struct _xstate): Likewise.
3160 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3161 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3162 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3163 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3164 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3165 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3167 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3168 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3169 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3170 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3171 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3172 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3174 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3177 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3178 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3179 (sysdep_headers): Include sys/platform/ppc.h.
3180 * sysdeps/powerpc/test-gettimebase.c: Test for
3181 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3182 * manual/Makefile (appendices): Include platform.texi.
3183 * manual/contrib.texi (Contributors): Update @node pointers.
3184 * manual/maint.texi (Maintenance): Likewise.
3185 (Platform): New node.
3186 * manual/platform.texi: New file. Document the new features.
3188 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3189 Jakub Jelinek <jakub@redhat.com>
3192 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3193 where __builtin_expect is unavailable.
3195 2012-06-03 David S. Miller <davem@davemloft.net>
3197 * stdlib/longlong.h: Updated from GCC.
3199 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3202 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3203 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3206 (GLIBC_2.16): Likewise.
3208 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3210 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3212 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3215 (default-abi): New variable.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3217 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3219 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3221 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3226 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3227 definition. Document in comment.
3229 2012-06-01 David S. Miller <davem@davemloft.net>
3231 * stdlib/longlong.h: Updated from GCC.
3233 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3236 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3237 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3238 sys/debugreg.h sys/io.h here.
3239 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3240 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3242 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3243 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3244 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3245 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3246 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3247 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3249 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3250 Define only if __x86_64__ is defined.
3252 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3255 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3256 Use int64_t for variable i.
3257 * math/libm-test.inc (fmod_test): Add more tests.
3259 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3260 z computation is not scheduled after fetestexcept.
3261 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3262 Use math_force_eval instead of asm to ensure calculation scheduled
3263 before exception test.
3264 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3265 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3267 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3270 computation is not scheduled after fetestexcept.
3272 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3276 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3278 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3280 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3281 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3283 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3286 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3288 (__WCHAR_MIN): Support __WORDSIZE == 64.
3289 (__WCHAR_MAX): Likewise.
3291 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3295 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3296 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3299 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3300 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3302 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3303 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3305 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3306 Defined to 1 if __x86_64__ isn't defined.
3307 (_STAT_VER_LINUX_OLD): New.
3308 (st_atime): Remove duplicate.
3309 (st_mtime): Likewise.
3310 (st_ctime): Likewise.
3312 2012-05-31 David S. Miller <davem@davemloft.net>
3314 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3317 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3319 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3323 * elf/dl-reloc.c: Include <_itoa.h>.
3324 (_dl_reloc_bad_type): Remove use of INTUSE.
3325 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3326 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3327 * stdio-common/psiginfo.c (psiginfo): Likewise.
3328 * stdio-common/psignal.c (psignal): Likewise.
3329 * string/strsignal.c (strsignal): Likewise.
3330 * include/signal.h (_sys_siglist): Declare hidden proto.
3331 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3332 INTVARDEF with libc_hidden_data_def.
3333 * stdio-common/itoa-udigits.c: Likewise.
3334 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3335 (_itoa_lower_digits_internal): Remove declaration.
3336 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3337 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3338 (_sys_sigabbrev_internal): Remove aliases.
3339 (_sys_siglist): Define hidden alias.
3341 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3346 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3349 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3350 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3352 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3353 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3354 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3355 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3356 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3357 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3359 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3361 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3363 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3371 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3373 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3375 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3376 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3378 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3379 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3380 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3382 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3383 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3385 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3386 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3388 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3389 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3390 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3392 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3393 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3395 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3397 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3398 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3399 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3401 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3403 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3405 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3407 * math/math.h (M_El): Use two more decimal places.
3408 (M_LOG2El): Likewise.
3409 (M_LOG10El): Likewise.
3411 (M_LN10l): Likewise.
3413 (M_PI_2l): Likewise.
3414 (M_PI_4l): Likewise.
3415 (M_1_PIl): Likewise.
3416 (M_2_PIl): Likewise.
3417 (M_2_SQRTPIl): Likewise.
3418 (M_SQRT2l): Likewise.
3419 (M_SQRT1_2l): Likewise.
3421 2012-05-31 David S. Miller <davem@davemloft.net>
3423 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3424 values between float registers.
3425 * sysdeps/sparc/sparc64/memset.S: Likewise.
3426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3428 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3430 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3431 -D_FORTIFY_SOURCE=1.
3432 (CPPFLAGS-tst-longjmp_chk.c): Define.
3433 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3434 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3435 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3436 CFLAGS-tst-wchar-h.c.
3438 2012-05-31 Marek Polacek <polacek@redhat.com>
3441 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3442 __endmntent_internal): Remove declaration.
3443 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3444 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3445 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3447 2012-05-30 David S. Miller <davem@davemloft.net>
3449 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3450 (___Q_simulate_exceptions): Use real FP ops rather than writing
3452 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3455 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3458 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3459 * sysdeps/x86/bits/xtitypes.h: This.
3461 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3462 * sysdeps/x86/bits/wordsize.h: This.
3464 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3465 * sysdeps/x86/bits/huge_vall.h: This.
3467 * sysdeps/i386/bits/select.h: Removed.
3468 * sysdeps/x86_64/bits/select.h: Renamed to ...
3469 * sysdeps/x86/bits/select.h: This.
3471 * sysdeps/i386/bits/setjmp.h: Removed.
3472 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3473 * sysdeps/x86/bits/setjmp.h: This.
3475 * sysdeps/i386/bits/mathdef.h: Removed.
3476 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3477 * sysdeps/x86/bits/mathdef.h: This.
3479 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3482 * include/sys/socket.h (__connect_internal)
3483 (__libc_sa_len_internal): Remove declaration.
3484 (__connect, __libc_sa_len): Declare hidden_proto.
3485 (SA_LEN): Remove use of INTUSE.
3486 * socket/connect.c: Add libc_hidden_def.
3487 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3488 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3489 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3491 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3492 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3493 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3494 of adding _internal alias.
3496 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3499 * sysdeps/i386/bits/link.h: Removed.
3500 * sysdeps/i386/bits/linkmap.h: Likewise.
3501 * sysdeps/x86_64/bits/link.h: Renamed to ...
3502 * sysdeps/x86/bits/link.h: This.
3503 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3504 * sysdeps/x86/bits/linkmap.h: This.
3506 * sysdeps/i386/bits/endian.h: Removed.
3507 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3508 * sysdeps/x86/bits/endian.h: This.
3510 * sysdeps/i386/bits/byteswap.h: Removed.
3511 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3512 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3513 * sysdeps/x86/bits/byteswap.h: This.
3514 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3515 * sysdeps/x86/bits/byteswap-16.h: This.
3516 * sysdeps/i386/Implies: Add x86.
3517 * sysdeps/x86_64/Implies: Likewise.
3519 2012-05-30 David S. Miller <davem@davemloft.net>
3521 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3522 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3524 (FP_TRAPPING_EXCEPTIONS): Define.
3525 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3526 (FP_TRAPPING_EXCEPTIONS): Define.
3527 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3528 subnormals only when inexact has been signalled or underflow
3529 exceptions are enabled.
3530 (_FP_PACK_CANONICAL): Likewise.
3532 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3535 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3536 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3538 2012-05-30 Richard Henderson <rth@twiddle.net>
3540 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3541 with #ifndef NOT_IN_libc.
3543 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3544 marked to avoid plt entry.
3546 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3549 * Makeconfig (default-abi): New macro.
3550 (abi-includes): Likewise.
3551 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3552 $(abi-$(default-abi)-lib-soname) for soname if defined.
3553 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3555 * Makefile (installed-stubs): Likewise.
3556 * include/stubs-biarch.h: Removed.
3557 * scripts/lib-names.awk: Only handle one library at a time.
3558 * scripts/soversions.awk: Remove WORDSIZE support.
3559 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3561 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3563 (syscall-list-default-condition): Likewise.
3564 (syscall-list-default-condition): Likewise.
3565 (syscall-list-includes): Likewise.
3566 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3567 syscall-list-* with abi-*. Handle undefined abi-variants.
3568 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3569 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3570 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3571 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3573 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3575 (syscall-list-32-options): Likewise.
3576 (syscall-list-32-condition): Likewise.
3577 (syscall-list-64-options): Likewise.
3578 (syscall-list-64-condition): Likewise.
3579 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3581 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3584 (abi-64-ld-soname): New macro.
3585 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3586 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3589 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3590 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3592 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/unix/sysv/linux/kernel-features.h
3595 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3596 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3597 include <kernel-features.h>.
3598 [!__NR_ftruncate64]: Remove conditional code.
3599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3600 [__NR_ftruncate64]: Make code unconditional.
3601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3602 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3603 include <kernel-features.h>.
3604 [!__NR_ftruncate64]: Remove conditional code.
3605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3606 [__NR_ftruncate64]: Make code unconditional.
3607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3609 include <kernel-features.h>.
3610 [!__NR_ftruncate64]: Remove conditional code.
3611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3612 [__NR_ftruncate64]: Make code unconditional.
3613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3615 include <kernel-features.h>.
3616 [!__NR_ftruncate64]: Remove conditional code.
3617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3618 [__NR_ftruncate64]: Make code unconditional.
3619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3621 * configure.in (libc_cv_fpie): Weaken to a compile test using
3623 * configure: Regenerated.
3625 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3640 2012-05-27 David S. Miller <davem@davemloft.net>
3642 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3644 (__Q_simulate_exceptions): Return void. Change to simulate
3645 exceptions by writing into the %fsr.
3646 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3647 (__Qp_handle_exceptions): Likewise.
3649 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3650 __Qp_handle_exceptions.
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3652 __Qp_handle_exceptions.
3653 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3654 as unused and give dummy FP_RND_NEAREST initializer.
3655 (FP_INHIBIT_RESULTS): Define.
3656 (___Q_simulate_exceptions): Update declaration.
3657 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3659 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3660 as unused and give dummy FP_RND_NEAREST initializer.
3661 (__Qp_handle_exceptions): Update declaration.
3662 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3665 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3667 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3668 the temporary FPU control word.
3669 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3670 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3671 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3672 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3673 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3674 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3675 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3676 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3677 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3678 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3679 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3681 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3683 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3686 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3688 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3689 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3690 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3691 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3693 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3694 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3697 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3699 * po/h.po: Update from translation team.
3701 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3703 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3705 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3706 handling of denormals.
3707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3708 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3716 2012-05-26 Marek Polacek <polacek@redhat.com>
3719 * math/libm-test.inc (fma_test): Don't always expect underflow
3722 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3725 * elf/tst-execstack.c: Include stackinfo.h.
3726 (do_test): Adjust test case to ensure that pthread_getattr_np
3727 behaviour remains the same after marking stack executable.
3729 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3731 * sysdeps/unix/sysv/linux/kernel-features.h
3732 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3733 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3735 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3736 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3737 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3739 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3740 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3742 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3744 * configure.in: Define the default includes to being none.
3745 * configure: Regenerated.
3747 2012-05-25 Roland McGrath <roland@hack.frob.com>
3749 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3750 * sysdeps/x86_64/setjmp.S: Likewise.
3751 * sysdeps/i386/bsd-setjmp.S: Likewise.
3752 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3753 * sysdeps/i386/setjmp.S: Likewise.
3754 * sysdeps/i386/__longjmp.S: Likewise.
3755 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3756 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3758 * include/stap-probe.h: New file.
3759 * configure.in: Handle --enable-systemtap.
3760 * configure: Regenerated.
3761 * config.h.in (USE_STAP_PROBE): New #undef.
3762 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3763 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3764 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3766 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3770 to 2.4.0 where earlier.
3771 * sysdeps/unix/sysv/linux/configure: Regenerated.
3772 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3773 <kernel-features.h>.
3774 [__ASSUME_32BITUIDS]: Make code unconditional.
3775 [!__ASSUME_32BITUIDS]: Remove conditional code.
3776 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3777 <kernel-features.h>.
3778 [__ASSUME_32BITUIDS]: Make code unconditional.
3779 [!__ASSUME_32BITUIDS]: Remove conditional code.
3780 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3781 [__ASSUME_32BITUIDS]: Make code unconditional.
3782 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3784 <kernel-features.h>.
3785 [__ASSUME_32BITUIDS]: Make code unconditional.
3786 [!__ASSUME_32BITUIDS]: Remove conditional code.
3787 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3788 <kernel-features.h>.
3789 [__ASSUME_32BITUIDS]: Make code unconditional.
3790 [!__ASSUME_32BITUIDS]: Remove conditional code.
3791 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3792 <kernel-features.h>.
3793 [__ASSUME_32BITUIDS]: Make code unconditional.
3794 [!__ASSUME_32BITUIDS]: Remove conditional code.
3795 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3796 <kernel-features.h>.
3797 [__ASSUME_32BITUIDS]: Make code unconditional.
3798 [!__ASSUME_32BITUIDS]: Remove conditional code.
3799 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3800 <kernel-features.h>.
3801 [__ASSUME_32BITUIDS]: Make code unconditional.
3802 [!__ASSUME_32BITUIDS]: Remove conditional code.
3803 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3804 <kernel-features.h>.
3805 [__ASSUME_32BITUIDS]: Make code unconditional.
3806 [!__ASSUME_32BITUIDS]: Remove conditional code.
3807 * sysdeps/unix/sysv/linux/i386/getuid.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/i386/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/i386/msgctl.c: Do not include
3816 <kernel-features.h>.
3817 [__ASSUME_32BITUIDS]: Make code unconditional.
3818 [!__ASSUME_32BITUIDS]: Remove conditional code.
3819 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3820 <kernel-features.h>.
3821 [__ASSUME_32BITUIDS]: Make code unconditional.
3822 [!__ASSUME_32BITUIDS]: Remove conditional code.
3823 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3824 <kernel-features.h>.
3825 [__NR_setresgid] (__setresgid): Do not declare.
3826 [__ASSUME_32BITUIDS]: Make code unconditional.
3827 [!__ASSUME_32BITUIDS]: Remove conditional code.
3828 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3829 <kernel-features.h>.
3830 [__NR_setresuid] (__setresuid): Do not declare.
3831 [__ASSUME_32BITUIDS]: Make code unconditional.
3832 [!__ASSUME_32BITUIDS]: Remove conditional code.
3833 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3834 <kernel-features.h>.
3835 [__ASSUME_32BITUIDS]: Make code unconditional.
3836 [!__ASSUME_32BITUIDS]: Remove conditional code.
3837 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3838 <kernel-features.h>.
3839 [__ASSUME_32BITUIDS]: Make code unconditional.
3840 [!__ASSUME_32BITUIDS]: Remove conditional code.
3841 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3842 <kernel-features.h>.
3843 [__ASSUME_32BITUIDS]: Make code unconditional.
3844 [!__ASSUME_32BITUIDS]: Remove conditional code.
3845 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3846 <kernel-features.h>.
3847 [__ASSUME_32BITUIDS]: Make code unconditional.
3848 [!__ASSUME_32BITUIDS]: Remove conditional code.
3849 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3850 <kernel-features.h>.
3851 [__ASSUME_32BITUIDS]: Make code unconditional.
3852 [!__ASSUME_32BITUIDS]: Remove conditional code.
3853 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3854 <kernel-features.h>.
3855 [__ASSUME_32BITUIDS]: Make code unconditional.
3856 [!__ASSUME_32BITUIDS]: Remove conditional code.
3857 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3858 <kernel-features.h>.
3859 [__ASSUME_32BITUIDS]: Make code unconditional.
3860 [!__ASSUME_32BITUIDS]: Remove conditional code.
3861 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3862 <kernel-features.h>.
3863 [__ASSUME_32BITUIDS]: Make code unconditional.
3864 [!__ASSUME_32BITUIDS]: Remove conditional code.
3865 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3866 <kernel-features.h>.
3867 [__ASSUME_32BITUIDS]: Make code unconditional.
3868 [!__ASSUME_32BITUIDS]: Remove conditional code.
3869 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3870 <kernel-features.h>.
3871 [__ASSUME_32BITUIDS]: Make code unconditional.
3872 [!__ASSUME_32BITUIDS]: Remove conditional code.
3873 * sysdeps/unix/sysv/linux/kernel-features.h
3874 (__ASSUME_SETRESUID_SYSCALL): Remove.
3875 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3876 (__ASSUME_32BITUIDS): Likewise.
3877 (__ASSUME_LDT_WORKS): Likewise.
3878 (__ASSUME_O_DIRECTORY): Likewise.
3879 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3880 architecture but not kernel version.
3881 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3882 (__ASSUME_MMAP2_SYSCALL): Likewise.
3883 (__ASSUME_STAT64_SYSCALL): Likewise.
3884 (__ASSUME_IPC64): Likewise.
3885 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3886 <kernel-features.h>.
3887 [__ASSUME_32BITUIDS]: Make code unconditional.
3888 [!__ASSUME_32BITUIDS]: Remove conditional code.
3889 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3890 <kernel-features.h>.
3891 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3892 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3893 132096]: Remove conditional code.
3894 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3896 <kernel-features.h>.
3897 [__ASSUME_32BITUIDS]: Make code unconditional.
3898 [!__ASSUME_32BITUIDS]: Remove conditional code.
3899 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3900 <kernel-features.h>.
3901 [__ASSUME_32BITUIDS]: Make code unconditional.
3902 [!__ASSUME_32BITUIDS]: Remove conditional code.
3903 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3904 <kernel-features.h>.
3905 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3907 (__setresgid): Do not declare.
3908 [__ASSUME_32BITUIDS]: Make code unconditional.
3909 [!__ASSUME_32BITUIDS]: Remove conditional code.
3910 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3911 <kernel-features.h>.
3912 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3914 (__setresuid): Do not declare.
3915 [__ASSUME_32BITUIDS]: Make code unconditional.
3916 [!__ASSUME_32BITUIDS]: Remove conditional code.
3917 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3918 <kernel-features.h>.
3919 [__ASSUME_32BITUIDS]: Make code unconditional.
3920 [!__ASSUME_32BITUIDS]: Remove conditional code.
3921 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3922 <kernel-features.h>.
3923 [__ASSUME_32BITUIDS]: Make code unconditional.
3924 [!__ASSUME_32BITUIDS]: Remove conditional code.
3926 2012-05-25 Richard Henderson <rth@twiddle.net>
3928 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3929 dl_hwcap to ifunc resolver.
3930 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3932 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3933 dl_hwcap to ifunc resolver.
3934 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3936 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3939 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3940 for |x| <= 2**-26, not 2**-57.
3941 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3944 2012-05-24 Jeff Law <law@redhat.com>
3946 * stdio-common/Makefile (tests): Add bug25.
3947 * stdio-common/bug25.c: New test.
3949 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3952 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3953 multiple of MALLOC_ALIGNMENT in size.
3954 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3956 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3958 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3960 (FILENAME_MAX): Use macro-int-constant.
3961 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3962 (_IOFBF): Use macro-int-constant.
3965 (SEEK_CUR): Likewise.
3966 (SEEK_END): Likewise.
3967 (SEEK_SET): Likewise.
3968 (TMP_MAX): Likewise.
3969 (EOF): Use macro-int-constant. Require < 0.
3970 (NULL): Use macro-constant. Require == 0.
3971 (stdin): Require type to be FILE *.
3974 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3976 (EXIT_SUCCESS): Likewise.
3977 (NULL): Use macro-constant. Require == 0.
3978 (RAND_MAX): Use macro-int-constant.
3979 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3980 [C99-based standards] (strtof): Require function.
3981 [C99-based standards] (strtold): Likewise.
3982 [C99-based standards] (strtoll): Likewise.
3983 [C99-based standards] (strtoull): Likewise.
3984 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3985 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3986 [ISO || ISO99 || ISO11] (math.h): Likewise.
3987 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3988 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3991 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3994 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3995 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3996 * intl/dgettext.c (DCGETTEXT): Likewise.
3997 * intl/gettext.c (DCGETTEXT): Likewise.
3998 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3999 * posix/regex_internal.h (gettext): Likewise.
4000 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4002 * include/argz.h (__argz_count_internal)
4003 (__argz_stringify_internal): Remove declaration.
4004 (__argz_count, __argz_stringify): Declare hidden proto.
4005 * intl/dcgettext.c: Remove use of INTDEF.
4006 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4007 * string/argz-stringify.c: Likewise.
4008 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4009 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4010 Declare hidden proto.
4011 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4012 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4013 Declare hidden proto.
4014 * include/stdio.h (__asprintf_internal): Don't declare.
4015 (__asprintf): Don't define as macro. Declare hidden proto.
4016 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4017 (__fsetlocking): Declare hidden proto.
4018 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4019 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4021 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4022 (_IO_setlinebuf): Remove use of INTUSE.
4023 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4024 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4025 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4027 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4028 (_IO_do_flush): Remove use of INTUSE.
4029 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4030 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4031 (_IO_adjust_column, _IO_least_wmarker)
4032 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4033 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4034 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4035 (_IO_default_doallocate, _IO_wdefault_doallocate)
4036 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4037 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4038 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4039 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4040 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4041 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4042 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4043 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4044 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4045 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4046 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4047 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4048 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4050 (_IO_flush_all_internal, _IO_adjust_column_internal)
4051 (_IO_default_uflow_internal, _IO_default_finish_internal)
4052 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4053 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4054 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4055 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4056 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4057 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4058 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4059 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4060 (_IO_file_close_internal, _IO_file_close_it_internal)
4061 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4062 (_IO_file_init_internal, _IO_file_attach_internal)
4063 (_IO_file_fopen_internal, _IO_file_read_internal)
4064 (_IO_file_sync_internal, _IO_file_seek_internal)
4065 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4066 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4067 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4068 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4069 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4070 (_IO_list_all_internal, _IO_link_in_internal)
4071 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4072 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4073 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4074 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4075 (_IO_do_write_internal, _IO_padn_internal)
4076 (_IO_getline_info_internal, _IO_getline_internal)
4077 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4078 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4079 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4080 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4081 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4082 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4083 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4084 with libc_hidden_ver, remove use of INTUSE.
4085 * libio/genops.c: Likewise.
4086 * libio/freopen.c: Likewise.
4087 * libio/freopen64.c: Likewise.
4088 * libio/iofclose.c: Likewise.
4089 * libio/iofdopen.c: Likewise.
4090 * libio/iofflush.c: Likewise.
4091 * libio/iofflush_u.c: Likewise.
4092 * libio/iofgets.c: Likewise.
4093 * libio/iofgets_u.c: Likewise.
4094 * libio/iofopen.c: Likewise.
4095 * libio/iofopncook.c: Likewise.
4096 * libio/iofread.c: Likewise.
4097 * libio/iofread_u.c: Likewise.
4098 * libio/ioftell.c: Likewise.
4099 * libio/iofwrite.c: Likewise.
4100 * libio/iogetline.c: Likewise.
4101 * libio/iogets.c: Likewise.
4102 * libio/iogetwline.c: Likewise.
4103 * libio/iopadn.c: Likewise.
4104 * libio/iopopen.c: Likewise.
4105 * libio/ioseekoff.c: Likewise.
4106 * libio/ioseekpos.c: Likewise.
4107 * libio/iosetbuffer.c: Likewise.
4108 * libio/iosetvbuf.c: Likewise.
4109 * libio/ioungetc.c: Likewise.
4110 * libio/ioungetwc.c: Likewise.
4111 * libio/iovdprintf.c: Likewise.
4112 * libio/iovsprintf.c: Likewise.
4113 * libio/iovsscanf.c: Likewise.
4114 * libio/memstream.c: Likewise.
4115 * libio/obprintf.c: Likewise.
4116 * libio/oldfileops.c: Likewise.
4117 * libio/oldiofclose.c: Likewise.
4118 * libio/oldiofdopen.c: Likewise.
4119 * libio/oldiofopen.c: Likewise.
4120 * libio/oldiopopen.c: Likewise.
4121 * libio/oldstdfiles.c: Likewise.
4122 * libio/putc.c: Likewise.
4123 * libio/setbuf.c: Likewise.
4124 * libio/setlinebuf.c: Likewise.
4125 * libio/stdfiles.c: Likewise.
4126 * libio/strops.c: Likewise.
4127 * libio/vasprintf.c: Likewise.
4128 * libio/vscanf.c: Likewise.
4129 * libio/vsnprintf.c: Likewise.
4130 * libio/vswprintf.c: Likewise.
4131 * libio/wfiledoalloc.c: Likewise.
4132 * libio/wfileops.c: Likewise.
4133 * libio/wgenops.c: Likewise.
4134 * libio/wmemstream.c: Likewise.
4135 * libio/wstrops.c: Likewise.
4136 * libio/__fpurge.c: Likewise.
4137 * libio/__fsetlocking.c: Likewise.
4138 * assert/assert.c: Likewise.
4139 * debug/fgets_chk.c: Likewise.
4140 * debug/fgets_u_chk.c: Likewise.
4141 * debug/fread_chk.c: Likewise.
4142 * debug/fread_u_chk.c: Likewise.
4143 * debug/gets_chk.c: Likewise.
4144 * debug/obprintf_chk.c: Likewise.
4145 * debug/vasprintf_chk.c: Likewise.
4146 * debug/vdprintf_chk.c: Likewise.
4147 * debug/vsnprintf_chk.c: Likewise.
4148 * debug/vsprintf_chk.c: Likewise.
4149 * malloc/mtrace.c: Likewise.
4150 * misc/error.c: Likewise.
4151 * misc/syslog.c: Likewise.
4152 * stdio-common/asprintf.c: Likewise.
4153 * stdio-common/fxprintf.c: Likewise.
4154 * stdio-common/getw.c: Likewise.
4155 * stdio-common/isoc99_fscanf.c: Likewise.
4156 * stdio-common/isoc99_scanf.c: Likewise.
4157 * stdio-common/isoc99_vfscanf.c: Likewise.
4158 * stdio-common/isoc99_vscanf.c: Likewise.
4159 * stdio-common/isoc99_vsscanf.c: Likewise.
4160 * stdio-common/printf-prs.c: Likewise.
4161 * stdio-common/printf_fp.c: Likewise.
4162 * stdio-common/printf_fphex.c: Likewise.
4163 * stdio-common/printf_size.c: Likewise.
4164 * stdio-common/putw.c: Likewise.
4165 * stdio-common/scanf.c: Likewise.
4166 * stdio-common/sprintf.c: Likewise.
4167 * stdio-common/tmpfile.c: Likewise.
4168 * stdio-common/vfprintf.c: Likewise.
4169 * stdio-common/vfscanf.c: Likewise.
4170 * stdlib/strfmon_l.c: Likewise.
4171 * sunrpc/openchild.c: Likewise.
4172 * sunrpc/xdr_stdio.c: Likewise.
4173 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4174 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4176 2012-05-24 Roland McGrath <roland@hack.frob.com>
4178 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4180 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4181 in the third column, to generate for the shared library an IFUNC
4182 that uses _dl_vdso_vsym.
4183 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4184 * Makeconfig (object-suffixes-noshared): New variable.
4186 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4187 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4188 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4189 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4192 * include/sys/time.h (__gettimeofday): Remove macro.
4193 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4194 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4196 (__gettimeofday): Add libc_hidden_def.
4197 (gettimeofday): Add libc_hidden_weak.
4198 * sysdeps/mach/gettimeofday.c: Likewise.
4199 * sysdeps/posix/gettimeofday.c: Likewise.
4200 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4201 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4203 (__gettimeofday_internal): Remove strong_alias.
4204 (__gettimeofday): Add libc_hidden_def.
4205 (gettimeofday): Add libc_hidden_weak.
4206 * sysdeps/unix/syscalls.list (gettimeofday):
4207 Remove __gettimeofday_internal alias.
4209 2012-05-24 Daniel Jacobowitz <drow@false.org>
4210 H.J. Lu <hongjiu.lu@intel.com>
4213 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4214 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4215 (largebin_index_32_big): New.
4216 (largebin_index): Use it for 16-byte alignment.
4217 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4218 correction with front_misalign.
4220 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4248 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4249 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4251 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4255 * math/libm-test.inc (exp_test): Add test from bug 14036.
4256 (pow_test): Add test from bug 10846.
4258 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4260 (special_function): Do not include flags in test name.
4261 (parse_args): Likewise.
4262 * sysdeps/i386/fpu/libm-test-ulps: Update.
4263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4264 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4265 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4268 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4270 * math/libm-test.inc ("Philosophy"): Update comment about
4272 (UNDERFLOW_EXCEPTION): New macro.
4273 (UNDERFLOW_EXCEPTION_OK): Likewise.
4274 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4275 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4276 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4277 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4278 (INVALID_EXCEPTION_OK): Update value.
4279 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4280 (OVERFLOW_EXCEPTION_OK): Likewise.
4281 (IGNORE_ZERO_INF_SIGN): Likewise.
4282 (test_exceptions): Handle underflow exceptions.
4283 (acos_test): Update for underflow exception expectations.
4284 (cexp_test): Likewise.
4285 (clog_test): Likewise.
4286 (clog10_test): Likewise.
4287 (csqrt_test): Likewise.
4288 (ctan_test): Likewise.
4289 (ctanh_test): Likewise.
4290 (exp_test): Likewise.
4291 (exp10_test): Likewise.
4292 (exp2_test): Likewise.
4293 (expm1_test): Likewise.
4294 (fma_test): Likewise.
4295 (j0_test): Likewise.
4296 (jn_test): Likewise.
4297 (nexttoward_test): Likewise.
4298 (pow_test): Likewise.
4299 (scalbn_test): Likewise.
4300 (scalbln_test): Likewise.
4301 (tan_test): Likewise.
4302 (y1_test): Likewise.
4303 * sysdeps/i386/fpu/libm-test-ulps: Update.
4304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4306 2012-05-23 David S. Miller <davem@davemloft.net>
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4309 (__libc_sigaction): Remove unused local variables.
4311 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4313 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4315 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4317 mktime: avoid signed integer overflow
4318 * time/mktime.c (__mktime_internal): Do not mishandle the case
4319 where diff == INT_MIN.
4321 mktime: simplify computation of average
4322 * time/mktime.c (ranged_convert): Use new time_t_avg function
4323 instead of rolling our own (probably-slower) code.
4325 mktime: do not assume signed right shift propagates sign bit
4326 * time/mktime.c (isdst_differ): New static function.
4327 (__mktime_internal): No need to normalize tm_isdst now.
4328 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4331 mktime: merge another wrapv change from gnulib
4332 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4333 from some compilers.
4335 mktime: remove incorrect attempt at unusual arithmetics
4336 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4337 The code didn't really work on such machines anyway.
4338 (TYPE_MINIMUM): Assume two's complement.
4339 (twos_complement_arithmetic): Verify that long_int and time_t
4340 are two's complement (or unsigned, in the latter case).
4342 mktime: check signed shifts on long_int and time_t, too
4343 * time/mktime.c (SHR): Check that shifts work as desired
4344 on the types long_int and time_t too, as SHR is used on
4347 mktime: do not assume 'long' is wide enough
4348 * time/mktime.c (verify): Move decl up.
4349 (long_int): New type.
4350 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4351 to remove assumption in the code that 'long' is wide enough to
4352 store year values. This assumption is not true on x32 and on
4353 some non-glibc platforms.
4355 mktime: merge wrapv change from gnulib
4356 * time/mktime.c (WRAPV): New macro.
4357 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4358 (guess_time_tm, __mktime_internal): Do not assume that signed
4359 integer overflow wraps around; modern compilers generate code
4360 where this assumption is no longer valid.
4362 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4364 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4365 Replace "jmp L(pseudo_end)" with "ret".
4366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4369 2012-05-23 Andreas Jaeger <aj@suse.de>
4371 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4372 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4374 2012-05-23 Andreas Jaeger <aj@suse.de>
4375 Maximilian Attems <max@stro.at>
4377 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4380 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4383 code so that pseudo_end is just ret and the stack pointer is
4384 correct also for static library in error case.
4386 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4388 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4389 move to syscalls.list.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4395 * manual/install.texi (Running make install): Do not mention Linux
4396 kernel version for which pt_chown is not needed.
4397 (Linux): Do not mention problems with nscd with 2.0 kernels.
4398 * INSTALL: Regenerated.
4400 2012-05-23 Andreas Jaeger <aj@suse.de>
4402 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4403 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4405 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4407 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4409 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4411 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4415 * sysdeps/unix/sysv/linux/bits/in.h
4416 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4418 2012-05-22 Roland McGrath <roland@hack.frob.com>
4420 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4421 (PREPARE_VERSION): Just use assert instead, it will be elided
4422 under [NDEBUG] anyway.
4424 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4426 * sysdeps/unix/sysv/linux/Makefile: Include
4427 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4428 (sysdep_routines): Remove sysctl.
4429 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4430 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4431 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4432 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4433 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4435 2012-05-22 Andreas Jaeger <aj@suse.de>
4437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4438 that pseudo_end is just ret and the stack pointer is correct also
4439 for static library in error case.
4441 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4444 * nss/nsswitch.c (defconfig_entries): New variable.
4445 (__nss_database_lookup): Don't leak defconfig entries.
4446 (nss_parse_service_list): Don't leak on error paths.
4447 (free_database_entries): New function.
4448 (free_defconfig): New function.
4449 (free_mem): Move common code to free_database_entries.
4451 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4453 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4455 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4457 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4458 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4461 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4462 (INTERNAL_SYSCALL_TYPES): Likewise.
4463 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4464 (LOAD_REGS_TYPES_[1-6]): Likewise.
4465 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4466 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4468 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4471 copysignl for GLIBC_2_0.
4472 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4473 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4475 logbl for GLIBC_2_0.
4476 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4477 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4479 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4482 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4484 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4487 * time/mktime.c: Update copyright years.
4489 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4491 mktime: merge comment-quoting-style change from gnulib
4492 * time/mktime.c: Quote 'like this' in comments.
4493 The GNU coding standards suggest that we no longer quote `like this',
4494 as "`" and "'" are typically rendered asymmetrically nowadays.
4495 The typical gnulib style is to quote 'like this' when quoting
4496 code, and "like this" when quoting English.
4498 * time/mktime.c (compile-command): Add "-I.".
4500 mktime: merge mktime-internal.h change from gnulib
4501 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4503 mktime: merge time_r change from gnulib
4504 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4506 mktime: merge DEBUG change from gnulib
4507 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4508 case system <time.h> has a #define.
4510 mktime: merge <sys/types.h> change from gnulib
4511 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4512 since <time.t> is now guaranteed to define time_t.
4514 mktime: merge HAVE_CONFIG_H change from gnulib
4515 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4517 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4522 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4524 (struct rusage): Use anonymous union to pad each field to
4527 2012-05-21 David S. Miller <davem@davemloft.net>
4529 * Makefules (o-iterator): Remove .s cases.
4530 (compile-command.s): Delete.
4531 (COMPILE.s): Delete.
4532 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4534 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4536 * configure.in (libc_cv_predef_stack_protector): Only consider
4537 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4538 * configure: Regenerated.
4540 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4543 New macro. Use R*LP on int and pointer.
4544 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4545 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4546 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4547 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4549 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4550 [__WORDSIZE_TIME64_COMPAT32] instead of
4551 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4552 (struct utmp): Likewise.
4553 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4554 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4556 (__WORDSIZE_TIME64_COMPAT32): This.
4557 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4558 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4559 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4560 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4561 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4562 (__WORDSIZE_TIME64_COMPAT32): New macro.
4564 2012-05-21 Andreas Jaeger <aj@suse.de>
4566 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4567 only if [SHARED]. Add prototype for __wcschr_ia32.
4569 2012-05-21 Roland McGrath <roland@hack.frob.com>
4571 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4572 of %rbp unmolested in the jmp_buf while mangling the low bits.
4573 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4574 unmolested high bits of %rbp while demangling the low bits.
4575 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4577 2012-05-21 Andreas Jaeger <aj@suse.de>
4579 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4580 * sunrpc/svc_simple.c: Use it for registerrpc.
4581 * sunrpc/xcrypt.c: Use it for passwd2des.
4583 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4585 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4587 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4588 Don't define if [__SYSCALL_WORDSIZE != 32].
4589 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4592 2012-05-21 Bruno Haible <bruno@clisp.org>
4593 Andreas Jaeger <aj@suse.de>
4595 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4596 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4597 inptr and inend for must_buffer_ch.
4598 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4599 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4600 * stdio-common/Makefile (tests): Remove bug15.
4601 (bug15-ENV): Remove macro.
4602 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4605 2012-05-19 Andreas Jaeger <aj@suse.de>
4606 Roland McGrath <roland@hack.frob.com>
4608 * manual/contrib.texi: Completely rewritten. It contains now an
4609 alphabetical list of contributors and their contributions.
4611 2012-05-21 Richard Henderson <rth@twiddle.net>
4613 * misc/getauxval.c (__getauxval): Use unsigned long int.
4614 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4615 (getauxval): Use unsigned long int.
4617 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4619 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4621 2012-05-21 Roland McGrath <roland@hack.frob.com>
4623 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4624 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4625 __alignof__ (long double).
4627 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4631 2012-05-20 Richard Henderson <rth@twiddle.net>
4633 * misc/getauxval.c: New file.
4634 * misc/sys/auxv.h: New file.
4635 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4636 (routines): Add getauxval.
4637 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4638 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4639 * elf/dl-sysdep.c (_dl_auxv): Remove.
4640 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4641 * elf/dl-support.c (_dl_auxv): New variable.
4642 (_dl_aux_init): Initialize it.
4643 * manual/startup.texi (Auxiliary Vector): New node.
4644 * sysdeps/generic/bits/hwcap.h: New file.
4645 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4646 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4647 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4648 * sysdeps/sparc/sysdep.h: ... here. Include it.
4649 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4650 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4662 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4666 2012-05-19 David S. Miller <davem@davemloft.net>
4668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4670 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4673 * math/s_ccosh.c: Include <float.h>
4674 (__ccosh): Avoid internal overflow calculating sinh and cosh
4675 values before multiplying by sin and cos values.
4676 * math/s_ccoshf.c: Likewise.
4677 * math/s_ccoshl.c: Likewise.
4678 * math/s_csin.c: Likewise.
4679 * math/s_csinf.c: Likewise.
4680 * math/s_csinl.c: Likewise.
4681 * math/s_csinh.c: Likewise.
4682 * math/s_csinhf.c: Likewise.
4683 * math/s_csinhl.c: Likewise.
4684 * math/libm-test.inc (ccos_test): Add more tests.
4685 (ccosh_test): Likewise.
4686 (csin_test): Likewise.
4687 (csinh_test): Likewise.
4688 * sysdeps/i386/fpu/libm-test-ulps: Update.
4689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4691 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4693 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4694 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4696 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4698 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4700 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4701 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4702 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4703 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4704 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4705 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4706 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4707 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4708 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4709 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4710 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4711 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4712 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4713 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4714 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4715 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4716 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4717 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4718 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4719 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4720 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4721 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4722 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4723 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4724 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4725 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4726 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4727 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4728 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4729 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4730 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4732 2012-05-18 Andreas Jaeger <aj@suse.de>
4734 * csu/.gitignore: Delete.
4736 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4738 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4739 (timex): Use __syscall_slong_t.
4741 2012-05-18 Andreas Jaeger <aj@suse.de>
4742 Carlos O'Donell <carlos_odonell@mentor.com>
4744 * manual/install.texi (Configuring and compiling): Update
4745 description about files modified in the source directory.
4746 * INSTALL: Regenerated.
4748 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4750 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4751 value. Use "or" to set return value to -1.
4752 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4753 negate return value.
4755 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4757 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4758 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4759 failure if the compiler has Graphite support disabled.
4760 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4762 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4763 CFLAGS-memmove.c): Likewise.
4764 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4767 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4769 * sysdeps/x86_64/x32/_itoa.h: New file.
4771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4772 getdents system call only if kernel and user dirents have the
4773 same d_ino and d_off.
4775 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4776 LLONG_MAX != LONG_MAX.
4777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4778 (_fitoa_word): Likewise.
4780 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4782 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4784 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4786 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4787 include <bits/wordsize.h>. Check __x86_64__ instead of
4789 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4790 if __x86_64__ is defined. Use anonymous union on fpstate.
4792 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4795 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4797 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4798 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4799 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4800 Refer to _rtld_local_ro instead of _rtld_global_ro.
4801 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4803 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4805 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4807 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4808 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4809 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4811 * sysdeps/powerpc/powerpc32/dl-machine.c
4812 (__elf_machine_runtime_setup) [PROF]: Don't reference
4815 2012-05-18 Andreas Jaeger <aj@suse.de>
4817 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4818 function only available for GCCs before 3.4 since GCC 3.4
4819 introduced a builtin.
4821 (llrintf): Likewise.
4829 (nearbyint): Likewise.
4830 (nearbyintf): Likewise.
4836 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4838 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4839 on both fields and cast pointer to __syscall_ulong_t.
4841 * bits/types.h (__fsword_t): New type.
4842 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4843 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4845 (__FSWORD_T_TYPE): Likewise.
4846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4847 (__FSWORD_T_TYPE): Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4849 (__FSWORD_T_TYPE): Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4851 (__FSWORD_T_TYPE): Likewise.
4852 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4853 __SWORD_TYPE with __fsword_t.
4854 (statfs64): Likewise.
4856 2012-05-17 David S. Miller <davem@davemloft.net>
4858 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4860 2012-05-17 Andreas Jaeger <aj@suse.de>
4862 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4865 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4867 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4869 2012-05-17 Andreas Jaeger <aj@suse.de>
4871 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4874 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4876 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4878 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4880 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4881 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4883 2012-05-17 Andreas Jaeger <aj@suse.de>
4884 Carlos O'Donell <carlos_odonell@mentor.com>
4887 * sysdeps/x86_64/multiarch/init-arch.h
4888 (bit_YMM_Usable): Rename to...
4889 (bit_AVX_Usable): ... this.
4890 (bit_FMA4_Usable): New macro.
4891 (bit_XMM_state): New macro.
4892 (bit_YMM_state): New macro.
4893 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4894 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4895 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4896 (CPUID_OSXSAVE): New macro.
4897 (CPUID_AVX): New macro.
4898 (CPUID_FMA4): New macro.
4899 (index_YMM_Usable): Rename to...
4900 (index_AVX_Usable): ... this.
4901 (HAS_AVX): Use HAS_ARCH_FEATURE.
4902 (HAS_FMA4): Likewise.
4903 (HAS_YMM_USABLE): Remove.
4904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4905 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4907 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4908 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4909 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4910 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4911 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4913 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4915 * math/libm-test.c: Support platforms without multiple rounding modes.
4916 * math/bug-nextafter.c: Support platforms without FP exceptions.
4917 * math/bug-nexttoward.c: Likewise.
4918 * math/test-fenv.c: Likewise.
4919 * math/test-misc.c: Likewise.
4920 * stdlib/bug-getcontext.c: Likewise.
4922 2012-05-17 Andreas Jaeger <aj@suse.de>
4924 * manual/examples/search.c (critter_cmp): Change signature to
4926 * manual/string.texi (Collation Functions): Likewise.
4928 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4930 * bits/types.h: Fold copyright years.
4931 * bits/typesizes.h: Likewise.
4932 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4935 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4936 * time/time.h: Likewise.
4938 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4941 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4942 in instead of returning them. Return void.
4943 (__libc_mallinfo): Accumulate over all arenas.
4944 (__malloc_stats): Adjust for change in int_mallinfo interface.
4946 2012-05-16 Roland McGrath <roland@hack.frob.com>
4949 * configure.in (NM): Add AC_CHECK_TOOL for it.
4950 (libc_extra_cflags): New substituted variable.
4951 Check for -fstack-protector being used implicitly.
4952 * configure: Regenerated.
4953 * config.make.in (config-extra-cflags): New variable,
4954 gets @libc_extra_cflags@.
4955 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4958 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4959 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4960 * configure: Regenerated.
4961 * config.make.in (CPPUNDEFS): New substituted variable.
4962 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4963 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4964 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4968 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4969 (mq_attr): Use __syscall_slong_t.
4971 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4974 Check __x86_64__ instead of __WORDSIZE.
4975 (_STAT_VER_LINUX): Likewise.
4976 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4977 __syscall_ulong_t and __syscall_slong_t.
4980 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4982 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4984 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4986 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4990 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4993 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4994 include <bits/wordsize.h>. Check __x86_64__ instead of
4996 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4998 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5001 include <bits/wordsize.h>. Check __x86_64__ instead of
5003 (user_regs_struct): Use "__extension__ unsigned long long"
5004 instead of "unsigned long" if __x86_64__ is defined.
5005 (user): Likewise. Pad after pointer field if __ILP32__ is
5008 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5010 * configure.in (makeinfo): Require version 4.5 or later. Allow
5012 * configure: Regenerated.
5013 * manual/install.texi (texinfo): Increase version requirement to
5015 * INSTALL: Regenerated.
5017 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5019 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5021 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5023 * sysdeps/x86_64/x32/ffs.c: New file.
5025 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5027 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5028 defined. Use __syscall_ulong_t.
5029 (shminfo): Use __syscall_ulong_t.
5030 (shm_info): Likewise.
5032 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5035 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5037 (msgqnum_t): Use __syscall_ulong_t.
5038 (msglen_t): Likewise.
5039 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5042 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5043 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5045 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5047 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5048 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5050 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5053 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5054 include <bits/wordsize.h>. Check __x86_64__ instead of
5057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5058 "unsigned long long int" if __x86_64__ is defined.
5059 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5062 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5063 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5065 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5067 (GET_PC): Cast to uintptr_t first.
5068 (GET_FRAME): Likewise.
5069 (GET_STACK): Likewise.
5071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5073 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5074 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5075 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5076 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5077 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5078 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5080 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5081 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5082 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5083 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5084 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5085 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5086 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5087 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5091 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5093 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5094 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5096 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5097 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5098 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5101 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5103 * Makerules (+depfiles): Also collect depfiles from .oS in
5105 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5106 .oS, $(libnldbl-routines)).
5108 * Makerules (native-compile-mkdep-flags): Define.
5109 * sunrpc/Makefile (extra-objs): Add $(addprefix
5110 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5111 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5112 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5113 calling $(make-target-directory).
5115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5117 * bits/types.h (__snseconds_t): Removed.
5118 * time/time.h (struct timespec): Replace __snseconds_t with
5120 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5121 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5124 (__SNSECONDS_T_TYPE): Likewise.
5125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5126 (__SNSECONDS_T_TYPE): Likewise.
5127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5128 (__SNSECONDS_T_TYPE): Likewise.
5130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5132 * sysdeps/mach/hurd/bits/typesizes.h
5133 (__SYSCALL_SLONG_TYPE): New macro.
5134 (__SYSCALL_ULONG_TYPE): Likewise.
5136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5138 * bits/types.h (__syscall_slong_t): New type.
5139 (__syscall_ulong_t): Likewise.
5141 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5142 (__SYSCALL_ULONG_TYPE): Likewise.
5143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5144 (__SYSCALL_SLONG_TYPE): Likewise.
5145 (__SYSCALL_ULONG_TYPE): Likewise.
5146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5147 (__SYSCALL_SLONG_TYPE): Likewise.
5148 (__SYSCALL_ULONG_TYPE): Likewise.
5149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5150 (__SYSCALL_SLONG_TYPE): Likewise.
5151 (__SYSCALL_ULONG_TYPE): Likewise.
5153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5155 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5156 Add sigaltstack-offsets.sym.
5157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5158 <sigaltstack-offsets.h>.
5159 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5160 longjmp_msg pointer.
5161 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5162 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5164 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5166 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5168 * elf/stackguard-macros.h: Remove file.
5169 * sysdeps/generic/stackguard-macros.h: New file.
5170 * sysdeps/i386/stackguard-macros.h: Likewise.
5171 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5172 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5173 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5174 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5175 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5176 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5177 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5178 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5179 <elf/stackguard-macros.h>.
5182 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5183 __aligned__ in attribute.
5184 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5185 (gregset_t): Likewise.
5187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5189 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5190 * sysdeps/x86_64/64/Implies-after: Here. New file.
5191 * sysdeps/x86_64/x32/Implies-after: New file.
5193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5195 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5196 and access return value for _dl_profile_fixup. Use R10_LP to
5199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5201 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5205 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5206 * sysdeps/x86_64/x32/sysdep.h: New file.
5208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5210 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5211 * sysdeps/x86_64/setjmp.S: Likewise.
5213 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5216 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5217 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5219 remove unused global constant.
5221 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5223 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5224 include of <not-cancel.h>.
5226 2012-05-15 Roland McGrath <roland@hack.frob.com>
5228 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5230 2012-05-15 Jeff Law <law@redhat.com>
5231 Andreas Jaeger <aj@suse.de>
5234 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5236 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5237 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5238 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5239 code changing __hst_map_handle.map.
5241 2012-05-15 Roland McGrath <roland@hack.frob.com>
5243 * configure.in (sysnames): Look for Implies-before and Implies-after
5245 * configure: Regenerated.
5247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5249 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5250 8-byte data alignment with LP_SIZE alignment.
5252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5259 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5263 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5264 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5267 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5271 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5272 (stackinfo_sub_sp): Likewise.
5274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5291 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5295 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5296 into R11_LP and load __x86_64_shared_cache_size_half into
5299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5301 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5304 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5313 powerpc32/power7/fpu/s_logb.c via #include.
5314 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5315 powerpc32/power7/fpu/s_logbf.c via #include.
5316 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5317 powerpc32/power7/fpu/s_logbl.c via #include.
5319 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5321 * README.libm: Remove file.
5323 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5325 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5326 count for x32. Use R*_LP and omit operand-size suffix.
5328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5330 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5331 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5332 * sysdeps/x86_64/x32/shlib-versions: New file.
5334 2012-05-14 Roland McGrath <roland@hack.frob.com>
5336 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5337 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5338 Use _dl_fatal_printf instead.
5340 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5342 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5343 set if not set by the user. Do not allow for being unset.
5344 * sysdeps/unix/sysv/linux/configure: Regenerated.
5346 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5348 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5349 the `q' suffix from lea and replace .quad with ASM_ADDR.
5351 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5354 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5356 (PTR_DEMANGLE): Likewise.
5358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5360 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5362 (ASM_ADDR): Likewise.
5380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5382 * sysdeps/x86_64/x32/dl-machine.h: New file.
5384 2012-05-14 Andreas Jaeger <aj@suse.de>
5386 * manual/Makefile (subdir): Remove export of subdir.
5387 (all): Remove target.
5388 (.PHONY): Remove all from list.
5389 (mkinstalldirs): Remove.
5390 (.PHONY): Remove installdirs from list.
5391 ($(inst_infodir)/libc.info): Use make-target-directory.
5392 (installdirs): Remove.
5394 (glibc-targets): Remove.
5397 ($(objpfx)stubs ../po/manual.pot): Remove.
5398 ($(objpfx)stamp%): Remove.
5399 (make-target-directory): Remove.
5400 (subdir_install): Remove.
5408 * manual/.gitignore: Remove, it's not needed anymore.
5409 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5411 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5413 (texis): Renamed to $(objpfx)texis.
5414 (texis-path): New, contains path to generated files.
5415 (chapters.%): Use texis-path for complete path, add extra argument
5417 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5418 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5419 (summary,texi, stamp-summary): Use complete path of
5420 files. Generate files in build dir.
5421 (dir-add.texi): Build in build dir.
5422 (libm-err.texi,stamp-libm-err): Likewise.
5423 (version.texi, stamp-version): Likewise.
5424 (.%c.texi): Likewise.
5425 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5426 (mostlyclean): Remove target.
5427 (realclean): Remove target.
5428 (generated): Add new variable with contents from mostlyclean and
5429 realclean, remove entries duplicated in common-mostlyclean, add
5430 stamp-libm-err and stamp-version.
5431 (generated-dirs): Add libc directory.
5432 ($(inst_infodir)/libc.info): Install files from build dir.
5434 * manual/install.texi (Configuring and compiling): Adjust since
5435 the info files are not part of the tar ball anymore.
5437 2012-05-14 Andreas Jaeger <aj@suse.de>
5439 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5442 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5446 to 2.2.0 where earlier.
5447 * sysdeps/unix/sysv/linux/configure: Regenerated.
5448 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5449 Remove conditional code.
5450 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5451 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5452 Remove conditional code.
5453 [!__NR_lchown]: Likewise.
5454 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5455 [__NR_lchown]: Likewise.
5456 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5457 comment referencing __ASSUME_LCHOWN_SYSCALL.
5458 * sysdeps/unix/sysv/linux/i386/sigaction.c
5459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5461 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5462 Remove conditional code.
5463 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5464 (__protocol_available): Remove #if 0 code.
5465 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5467 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5468 * sysdeps/unix/sysv/linux/kernel-features.h
5469 (__ASSUME_GETCWD_SYSCALL): Don't define.
5470 (__ASSUME_REALTIME_SIGNALS): Likewise.
5471 (__ASSUME_PREAD_SYSCALL): Likewise.
5472 (__ASSUME_PWRITE_SYSCALL): Likewise.
5473 (__ASSUME_POLL_SYSCALL): Likewise.
5474 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5475 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5477 (__ASSUME_SIOCGIFNAME): Don't define.
5478 (__ASSUME_MSG_NOSIGNAL): Likewise.
5479 (__ASSUME_SENDFILE): Define unconditionally.
5480 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5481 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5483 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5484 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5485 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5486 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5487 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5488 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5489 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5491 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5503 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5506 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5514 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5515 Remove conditional code.
5516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5517 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5518 Remove conditional code.
5519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5520 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5521 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5522 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5523 Remove conditional code.
5524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5525 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5526 Remove conditional code.
5527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5528 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5529 Remove conditional code.
5530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5531 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5532 Remove conditional code.
5533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5534 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5535 Remove conditional code.
5536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5537 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5540 * sysdeps/unix/sysv/linux/sigaction.c
5541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5543 * sysdeps/unix/sysv/linux/sigpending.c
5544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5546 * sysdeps/unix/sysv/linux/sigprocmask.c
5547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5549 * sysdeps/unix/sysv/linux/sigsuspend.c
5550 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5551 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5552 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5553 (__libc_missing_rt_sigs): Remove.
5554 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5555 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5556 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5557 Remove conditional code.
5558 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5559 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5561 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5562 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5563 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5564 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5566 2012-05-14 Andreas Jaeger <aj@suse.de>
5568 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5569 it's not used in glibc.
5570 (__coshm1): Likewise.
5571 (__acosh1p): Likewise.
5574 * manual/string.texi (Copying and Concatenation): Add missing
5575 variable in concat example.
5576 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5578 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5582 __builtin_clzl with __builtin_clzll.
5584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5587 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5590 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5592 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5593 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5594 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5595 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5597 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5599 * NEWS: Update ia64 info.
5601 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5603 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5606 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5608 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5609 * sysdeps/unix/syscalls.list (dup3): Likewise.
5610 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5611 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5613 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5615 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5616 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5618 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5620 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5622 (TLS_IE): Use mov/add instead of movq/addq to load thread
5624 (TLS_GD_PREFIX): New.
5627 2012-05-11 David S. Miller <davem@davemloft.net>
5629 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5630 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5631 (_FPU_SETCW): Likewise.
5633 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5635 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5638 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5641 * iconvdata/gb18030.c: Update tables.
5642 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5643 characters specially.
5644 (BODY for TO_LOOP): Add encoding of missing ranges.
5646 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5649 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5650 * sysdeps/mach/hurd/dup3.c: Likewise.
5651 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5652 * sysdeps/powerpc/memmove.c:: Likewise.
5654 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5657 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5659 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5661 * elf/elf.h (R_X86_64_RELATIVE64): New.
5662 (R_X86_64_NUM): Updated.
5663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5664 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5665 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5666 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5667 tst-quad1pie tst-quad2pie
5668 (modules-names): Add tst-quadmod1 tst-quadmod2.
5669 ($(objpfx)tst-quad1): New dependency.
5670 ($(objpfx)tst-quad2): Likewise.
5671 ($(objpfx)tst-quad1pie): Likewise.
5672 ($(objpfx)tst-quad2pie): Likewise.
5673 * sysdeps/x86_64/tst-quad1.c: New file.
5674 * sysdeps/x86_64/tst-quad1pie.c: New file.
5675 * sysdeps/x86_64/tst-quad2.c: Likewise.
5676 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5677 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5678 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5679 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5680 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5684 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5685 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5686 * streams/stropts.h (t_scalar_t): Define type.
5688 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5689 (_PATH_PRESERVE): Set to "/var/lib".
5690 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5692 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5695 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5696 if __dir_mkfile succeeded.
5698 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5699 checking for _hurd_dtablesize. Unlock it right after having
5700 finished _hurd_dtable allocation.
5702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5704 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5705 * sysdeps/mach/hurd/configure: Regenerated.
5706 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5707 special-casing to...
5708 * sysdeps/gnu/configure.in: ... this new file.
5709 * sysdeps/unix/sysv/linux/configure: Regenerated.
5710 * sysdeps/gnu/configure: New generated file.
5712 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5713 for Linux: use nsec instead of usec, as well as:
5714 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5715 members of type struct timespec.
5716 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5718 (struct stat64): Likewise.
5719 (_STATBUF_ST_NSEC): New macro.
5720 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5722 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5723 __strtoul_internal rather than strtoul.
5725 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5727 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5732 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5733 which preserves existing values.
5734 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5736 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5738 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5739 TIMEOUT values. Return EINVAL for NFDS values either negative or
5740 greater than FD_SETSIZE.
5742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5744 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5745 allocated, call __vm_protect to finish enabling the existing space, and
5746 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5747 allocate the remainder.
5749 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5751 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5752 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5756 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5757 sysdeps/mach/hurd/readlink.c.
5759 * posix/tst-sysconf.c (posix_options): Only use
5760 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5761 _POSIX_SYNCHRONIZED_IO when they are defined
5762 * sysdeps/mach/hurd/bits/posix_opt.h:
5763 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5764 (_XOPEN_REALTIME): Undefine macro.
5765 (_XOPEN_REALTIME_THREADS): Undefine macro.
5766 (_XOPEN_SHM): Undefine macro.
5767 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5769 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5771 (_POSIX_ASYNC_IO): Undefine macro.
5772 (_POSIX_PRIORITIZED_IO): Undefine macro.
5773 (_POSIX_SPIN_LOCKS): Define macro to -1.
5775 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5776 SA_NODEFER, SA_RESETHAND.
5777 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5778 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5781 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5783 * elf/Makefile (pldd-modules): Define unconditionally.
5785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5787 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5791 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5792 Return ENOENT when name is empty.
5793 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5797 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5799 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5803 Fix mlock in all cases except non-readable pages.
5804 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5805 instead of VM_PROT_ALL as parameter to __vm_wire function.
5807 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5808 (__mkdir): When path is `/', just fail with EEXIST.
5809 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5813 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5814 <sys/uio.h> (for writev).
5815 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5816 and <sys/param.h> (for MIN).
5818 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5820 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5821 REQUESTED_TIME. Properly set the remaining time and return EINTR
5824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5826 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5827 Depend on against $(link-rpcuserlibs).
5829 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5831 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5832 (__libc_stack_end): Do not use attribute_relro.
5833 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5834 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5835 to libthread-provided value.
5836 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5842 * bits/libc-lock.h (__libc_once_get): New macro.
5843 * sysdeps/mach/bits/libc-lock.h: Likewise.
5844 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5846 instead of using implementation details.
5848 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5849 * libio/freopen.c: Likewise.
5850 * libio/freopen64.c: Likewise.
5851 * misc/syslog.c: Likewise.
5852 * nscd/connections.c: Likewise.
5853 * nscd/netgroupcache.c: Likewise.
5854 * sysdeps/posix/getcwd.c: Likewise.
5856 2012-05-10 Roland McGrath <roland@hack.frob.com>
5858 * math/w_ilogbf.c: Add #include <limits.h>.
5860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5862 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5863 path instead of returning without unlocking.
5865 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5866 immediate-write ioctls.
5867 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5871 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5872 __builtin_frame_address instead of making assumptions about the
5873 location of the return address relative to DATA. Force early load of
5875 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5876 __builtin_frame_address.
5879 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5880 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5881 implement dup3 and do some further code clean-ups.
5882 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5883 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5887 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5889 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5890 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5891 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5892 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5893 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5896 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5897 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5898 when handler == SIG_ERR, not when handler != SIG_ERR.
5900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5902 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5903 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5906 accept4 for GNU Hurd.
5907 * include/sys/socket.h (__libc_accept4): New prototype.
5908 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5909 to implement __libc_accept4.
5910 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5912 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5914 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5915 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5916 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5921 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5925 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5926 assertion on O_CLOEXEC flag.
5927 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5928 * hurd/intern-fd.c: Likewise.
5929 * hurd/port2fd.c: Likewise.
5931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5934 * bits/in.h (IPV6_PKTINFO): Define new macro.
5935 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5937 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5944 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5945 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5947 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5948 * math/libm-test.inc (logb_test) : Additional logb tests.
5950 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5951 Andreas Jaeger <aj@suse.de>
5953 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5954 * configure: Regenerated.
5955 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5956 * config.make.in (link-obsolete-rpc): New substituted variable.
5957 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5958 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5959 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5960 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5961 so that libc.a contains the symbols.
5962 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5963 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5964 * sunrpc/auth_none.c: Likewise.
5965 * sunrpc/auth_unix.c: Likewise.
5966 * sunrpc/authdes_prot.c: Likewise.
5967 * sunrpc/authuxprot.c: Likewise.
5968 * sunrpc/clnt_gen.c: Likewise.
5969 * sunrpc/clnt_perr.c: Likewise.
5970 * sunrpc/clnt_raw.c: Likewise.
5971 * sunrpc/clnt_simp.c: Likewise.
5972 * sunrpc/clnt_tcp.c: Likewise.
5973 * sunrpc/clnt_udp.c: Likewise.
5974 * sunrpc/clnt_unix.c: Likewise.
5975 * sunrpc/des_crypt.c: Likewise.
5976 * sunrpc/des_soft.c: Likewise.
5977 * sunrpc/get_myaddr.c: Likewise.
5978 * sunrpc/key_call.c: Likewise.
5979 * sunrpc/key_prot.c: Likewise.
5980 * sunrpc/netname.c: Likewise.
5981 * sunrpc/pm_getmaps.c: Likewise.
5982 * sunrpc/pm_getport.c: Likewise.
5983 * sunrpc/pmap_clnt.c: Likewise.
5984 * sunrpc/pmap_prot.c: Likewise.
5985 * sunrpc/pmap_prot2.c: Likewise.
5986 * sunrpc/pmap_rmt.c: Likewise.
5987 * sunrpc/publickey.c: Likewise.
5988 * sunrpc/rpc_cmsg.c: Likewise.
5989 * sunrpc/rpc_common.c: Likewise.
5990 * sunrpc/rpc_dtable.c: Likewise.
5991 * sunrpc/rpc_prot.c: Likewise.
5992 * sunrpc/rpc_thread.c: Likewise.
5993 * sunrpc/rtime.c: Likewise.
5994 * sunrpc/svc.c: Likewise.
5995 * sunrpc/svc_auth.c: Likewise.
5996 * sunrpc/svc_raw.c: Likewise.
5997 * sunrpc/svc_run.c: Likewise.
5998 * sunrpc/svc_tcp.c: Likewise.
5999 * sunrpc/svc_udp.c: Likewise.
6000 * sunrpc/svc_unix.c: Likewise.
6001 * sunrpc/svcauth_des.c: Likewise.
6002 * sunrpc/xcrypt.c: Likewise.
6003 * sunrpc/xdr.c: Likewise.
6004 * sunrpc/xdr_array.c: Likewise.
6005 * sunrpc/xdr_float.c: Likewise.
6006 * sunrpc/xdr_intXX_t.c: Likewise.
6007 * sunrpc/xdr_mem.c: Likewise.
6008 * sunrpc/xdr_rec.c: Likewise.
6009 * sunrpc/xdr_ref.c: Likewise.
6010 * sunrpc/xdr_sizeof.c: Likewise.
6011 * sunrpc/xdr_stdio.c: Likewise.
6013 2012-05-10 Roland McGrath <roland@hack.frob.com>
6015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6016 change. Update copyright years.
6018 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6020 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6022 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6023 Joseph Myers <joseph@codesourcery.com>
6024 Paul Pluzhnikov <ppluzhnikov@google.com>
6027 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6029 [cross-compiling] (extra-libs): Likewise.
6030 [cross-compiling] (extra-libs-others): Likewise.
6031 [cross-compiling] (librpcsvc-routines): Likewise.
6032 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6033 [cross-compiling] (omit-deps): Likewise.
6034 (sunrpc-CPPFLAGS): New variable.
6035 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6036 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6037 (cross-rpcgen-objs): New variable.
6038 (extra-objs): Append $(cross-rpcgen-objs).
6039 ($(cross-rpcgen-objs)): New rule.
6040 ($(objpfx)cross-rpcgen): Likewise.
6041 (rpcgen-cmd): Define to use $(built-program-file). Expand
6043 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6044 ($(objpfx)x%.stmp): Likewise.
6045 * sunrpc/proto.h [IS_IN_build] (_): Define.
6046 [IS_IN_build] (_libc_intl_domainname): Likewise.
6048 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6051 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6052 and R_X86_64_TPOFF64.
6054 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6056 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6057 sysdeps/unix/sysv/syscalls.list.
6060 * sysdeps/unix/sysv/syscalls.list: Remove file.
6062 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6065 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6066 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6067 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6068 (__LC_IDENTIFICATION): Make these macros useful in #if
6069 expressions, as required by C99.
6071 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6073 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6074 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6077 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6079 * stdlib/longlong.h: Updated from GCC.
6081 2012-05-09 Andreas Jaeger <aj@suse.de>
6083 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6084 default is first entry.
6085 (run_mode): Set type.
6086 (main): Remove informal message about syslog.
6087 (options): Fix typo.
6090 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6093 (llrintf): Likewise.
6097 (nearbyint): Likewise.
6098 (nearbyintf): Likewise.
6100 2012-05-09 Andreas Jaeger <aj@suse.de>
6101 Pedro Alves <palves@redhat.com>
6103 * nscd/nscd.c (run_mode): Use enum.
6104 (main): Cleanup coding style issue.
6106 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6107 Andreas Jaeger <aj@suse.de>
6109 * nscd/nscd.c (go_background): Replaced with...
6110 (run_mode): ... this.
6111 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6112 (options): Add -F --foreground.
6113 (main): Implement it.
6114 (parse_opt): Parse it.
6116 2012-05-09 Andreas Jaeger <aj@suse.de>
6119 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6120 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6121 -Wconversion warning.
6122 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6125 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6127 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6129 (LC_ALL): Use macro-int-constant.
6130 (LC_COLLATE): Likewise.
6131 (LC_CTYPE): Likewise.
6132 (LC_MESSAGES): Likewise.
6133 (LC_MONETARY): Likewise.
6134 (LC_NUMERIC): Likewise.
6135 (LC_TIME): Likewise.
6136 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6137 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6139 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6141 [C99-based standards] (float_t): Expect type.
6142 [C99-based standards] (double_t): Expect type.
6143 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6145 [C99-based standards] (HUGE_VALL): Likewise.
6146 [C99-based standards] (INFINITY): Likewise.
6147 [C99-based standards] (NAN): Likewise.
6148 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6149 [C99-based standards] (FP_NAN): Likewise.
6150 [C99-based standards] (FP_NORMAL): Likewise.
6151 [C99-based standards] (FP_SUBNORMAL): Likewise.
6152 [C99-based standards] (FP_ZERO): Likewise.
6153 [C99-based standards] (FP_FAST_FMA): Use
6154 optional-macro-int-constant. Specify type. Require == 1.
6155 [C99-based standards] (FP_FAST_FMAF): Likewise.
6156 [C99-based standards] (FP_FAST_FMAL): Likewise.
6157 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6158 [C99-based standards] (FP_ILOGBNAN): Likewise.
6159 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6161 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6162 [C99-based standards] (math_errhandling): Specify type.
6163 [ISO99 || ISO11] (signgam): Do not allow.
6164 [non-C99-based standards] (copysignf): Do not allow.
6165 [non-C99-based standards] (exp2f): Likewise.
6166 [non-C99-based standards] (log2f): Likewise.
6167 [non-C99-based standards] (modff): Allow.
6168 [non-C99-based standards] (erff): Do not allow.
6169 [non-C99-based standards] (erfcf): Likewise.
6170 [non-C99-based standards] (gammaf): Likewise.
6171 [non-C99-based standards] (hypotf): Likewise.
6172 [non-C99-based standards] (j0f): Likewise.
6173 [non-C99-based standards] (j1f): Likewise.
6174 [non-C99-based standards] (jnf): Likewise.
6175 [non-C99-based standards] (lgammaf): Likewise.
6176 [non-C99-based standards] (tgammaf): Likewise.
6177 [non-C99-based standards] (y0f): Likewise.
6178 [non-C99-based standards] (y1f): Likewise.
6179 [non-C99-based standards] (ynf): Likewise.
6180 [non-C99-based standards] (isnanf): Likewise.
6181 [non-C99-based standards] (acoshf): Likewise.
6182 [non-C99-based standards] (asinhf): Likewise.
6183 [non-C99-based standards] (atanhf): Likewise.
6184 [non-C99-based standards] (cbrtf): Likewise.
6185 [non-C99-based standards] (expm1f): Likewise.
6186 [non-C99-based standards] (ilogbf): Likewise.
6187 [non-C99-based standards] (log1pf): Likewise.
6188 [non-C99-based standards] (logbf): Likewise.
6189 [non-C99-based standards] (nextafterf): Likewise.
6190 [non-C99-based standards] (remainderf): Likewise.
6191 [non-C99-based standards] (rintf): Likewise.
6192 [non-C99-based standards] (scalbf): Likewise.
6193 [non-C99-based standards] (copysignl): Likewise.
6194 [non-C99-based standards] (exp2l): Likewise.
6195 [non-C99-based standards] (log2l): Likewise.
6196 [non-C99-based standards] (modfl): Allow.
6197 [non-C99-based standards] (erfl): Do not allow.
6198 [non-C99-based standards] (erfcl): Likewise.
6199 [non-C99-based standards] (gammal): Likewise.
6200 [non-C99-based standards] (hypotl): Likewise.
6201 [non-C99-based standards] (j0l): Likewise.
6202 [non-C99-based standards] (j1l): Likewise.
6203 [non-C99-based standards] (jnl): Likewise.
6204 [non-C99-based standards] (lgammal): Likewise.
6205 [non-C99-based standards] (tgammal): Likewise.
6206 [non-C99-based standards] (y0l): Likewise.
6207 [non-C99-based standards] (y1l): Likewise.
6208 [non-C99-based standards] (ynl): Likewise.
6209 [non-C99-based standards] (isnanl): Likewise.
6210 [non-C99-based standards] (acoshl): Likewise.
6211 [non-C99-based standards] (asinhl): Likewise.
6212 [non-C99-based standards] (atanhl): Likewise.
6213 [non-C99-based standards] (cbrtl): Likewise.
6214 [non-C99-based standards] (expm1l): Likewise.
6215 [non-C99-based standards] (ilogbl): Likewise.
6216 [non-C99-based standards] (log1pl): Likewise.
6217 [non-C99-based standards] (logbl): Likewise.
6218 [non-C99-based standards] (nextafterl): Likewise.
6219 [non-C99-based standards] (remainderl): Likewise.
6220 [non-C99-based standards] (rintl): Likewise.
6221 [non-C99-based standards] (scalbl): Likewise.
6222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6223 [non-C99-based standards] (FP_*): Do not allow.
6224 [C99-based standards] (FP_*): Change to
6225 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6226 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6228 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6229 (SIG_ERR): Likewise.
6230 [X/Open-based standards] (SIG_HOLD): Likewise.
6231 (SIG_IGN): Likewise.
6232 (SIGABRT): Use macro-int-constant. Specify type. Require
6237 (SIGSEGV): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6257 [X/Open-based standards] (SIGTRAP): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6262 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6265 2012-05-08 Ian Wienand <ianw@vmware.com>
6268 * time/tzset.c (__tzset_parse_tz): Update default rules for
6269 daylight time changes in the Energy Policy Act of 2005.
6271 2012-05-09 Andreas Jaeger <aj@suse.de>
6274 * elf/ldconfig.c (parse_conf): Change string to make clear that
6275 ldconfig only issued a warning if ld.so.conf does not exist.
6277 2012-05-08 David S. Miller <davem@davemloft.net>
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6280 movxtod instead of popping the value on the stack.
6282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6284 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6286 * config.h.in: Add HAVE_ARM_PCS_VFP.
6288 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6291 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6292 checking but the checks are disabled for any reason.
6294 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6296 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6297 and ELF64_R_TYPE with ELFW(R_TYPE).
6299 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6301 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6304 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6305 (settimeofday): Likewise.
6307 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6309 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6310 a struct th_u2 inside the union, and move tu_block/tu_code into
6311 a new th_u3 union of tu_block/tu_code inside of that. Move
6312 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6313 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6314 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6315 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6316 (th_stuff): Change to th_u1.tu_stuff.
6318 (th_msg): Change to th_u1.th_u2.tu_data.
6320 2012-05-07 David S. Miller <davem@davemloft.net>
6322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6325 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6326 (SETUP_PIC_REG): Use it.
6327 (SETUP_PIC_REG_LEAF): Use it.
6329 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6335 (EXPL_FINITE): Likewise.
6337 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6338 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6340 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6342 (EXPL_FINITE): Likewise.
6344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6345 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6347 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6348 test of -max_value argument for long double.
6349 * sysdeps/i386/fpu/libm-test-ulps: Update.
6350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6352 2012-05-06 David S. Miller <davem@davemloft.net>
6354 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6355 quad soft-float symbols whose references which are compiler
6357 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6359 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6365 (EXPL_FINITE): Likewise.
6369 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6370 Adjust comments for base varying.
6371 (__expl_finite): Change alias to EXPL_FINITE.
6372 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6374 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6375 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6377 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6378 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6380 (EXPL_FINITE): Likewise.
6384 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6385 Adjust comments for base varying.
6386 (__expl_finite): Change alias to EXPL_FINITE.
6387 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6392 * math/libm-test.inc (check_float_internal): Correct ulp
6393 calculation for subnormal expected results.
6395 2012-05-06 Andreas Jaeger <aj@suse.de>
6397 * Makeconfig (+math-flags): New, set to -frounding-math.
6398 (+cflags): Add +math-flags so that all of glibc gets compiled with
6401 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6403 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6405 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6411 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6412 (__ieee754_expl): Allow for and saturate large arguments.
6413 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6414 (u_threshold): Likewise.
6415 (__exp): Call __ieee754_exp before checking for overflow and
6417 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6418 (u_threshold): Likewise.
6419 (__expf): Call __ieee754_expf before checking for overflow and
6421 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6422 (u_threshold): Likewise.
6423 (__expl): Call __ieee754_expl before checking for overflow and
6425 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6426 (__ieee754_expl): Allow for and saturate large arguments.
6427 * math/libm-test.inc (exp_test): Add another test. Do not allow
6428 missing overflow exception on overflow.
6429 (expm1_test): Do not allow missing overflow exception on overflow.
6431 * sysdeps/i386/fpu/e_expl.c: Move to ...
6432 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6433 rather than using inline asm.
6434 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6435 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6436 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6438 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6445 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6447 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6448 sysdeps/unix/common/syscalls.list.
6451 (ftruncate): Likewise.
6452 (getrusage): Likewise.
6453 (gettimeofday): Likewise.
6454 (setpgid): Likewise.
6455 (setregid): Likewise.
6456 (setreuid): Likewise.
6457 (sigaction): Likewise.
6458 (truncate): Likewise.
6459 (vhangup): Likewise.
6460 * sysdeps/unix/common/syscalls.list: Remove file.
6461 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6462 * sysdeps/unix/sysv/linux/Implies: Likewise.
6464 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6466 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6468 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6472 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6475 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6481 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6484 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6487 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6490 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6494 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6498 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6501 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6505 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6509 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/unix/common/bits/dirent.h: Remove file.
6512 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6514 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6515 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6516 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6517 * sysdeps/unix/bsd/isatty.c: Likewise.
6518 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6519 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6520 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6522 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6526 long double comparison inaccuracies.
6527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6530 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6532 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6535 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6539 nonzero digits before rounding a hex value.
6540 * stdlib/tst-strtod.c (tests): Add another test.
6542 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6544 * sysdeps/s390/fpu/libm-test-ulps: Update.
6546 2012-05-03 Andreas Jaeger <aj@suse.de>
6548 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6549 does not get optimized out.
6550 (malloc_opt_barrier): New.
6552 2012-05-03 Andreas Jaeger <aj@suse.de>
6553 Roland McGrath <roland@hack.frob.com>
6555 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6556 intermediate file deletion.
6557 (generated): Add .symlist files.
6559 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6562 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6563 Redirect under this condition.
6564 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6565 [__USE_GNU] (__dprintf_chk): Not under this condition.
6566 [__USE_GNU] (__vdprintf_chk): Likewise.
6567 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6568 under this condition.
6569 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6570 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6571 [__USE_XOPEN2K8] (vdprintf): Likewise.
6572 [__USE_GNU] (__dprintf_chk): Not under this condition.
6573 [__USE_GNU] (__vdprintf_chk): Likewise.
6574 [__USE_GNU] (dprintf): Likewise.
6575 [__USE_GNU] (vdprintf): Likewise.
6577 2012-05-03 Roland McGrath <roland@hack.frob.com>
6579 * elf/Makefile (common-generated): Set this instead of generated for
6580 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6581 $(all-built-dso)-derived lists.
6583 2012-05-03 Andreas Jaeger <aj@suse.de>
6585 * sysdeps/i386/fpu/libm-test-ulps: Update.
6589 * scripts/gen-FAQ.pl: Likewise.
6590 * manual/install.texi (Installation): Point to online location of
6592 * Makefile (files-for-dist): Remove FAQ.
6595 2012-05-02 Allan McRae <allan@archlinux.org>
6597 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6598 (LDFLAGS-reldepmod5.so): Likewise.
6599 (LDFLAGS-reldep6mod1.so): Likewise.
6600 (LDFLAGS-reldep6mod4.so): Likewise.
6601 (LDFLAGS-reldep8mod3.so): Likewise.
6602 (LDFLAGS-unload4mod1.so): Likewise.
6603 (LDFLAGS-unload4mod2.so): Likewise.
6604 (LDFLAGS-tst-initorder): Likewise.
6605 (LDFLAGS-tst-initordera2.so): Likewise.
6606 (LDFLAGS-tst-initordera3.so): Likewise.
6607 (LDFLAGS-tst-initordera4.so): Likewise.
6608 (LDFLAGS-tst-initorderb2.so): Likewise.
6609 (LDFLAGS-noload): Likewise.
6610 (LDFLAGS-next): Likewise.
6611 (LDFLAGS-order2mod1.so): Likewise.
6612 (LDFLAGS-order2mod2.so): Likewise.
6613 (LDFLAGS-tst-initorder2): Likewise.
6614 (LDFLAGS-tst-initorder2a.so): Likewise.
6615 (LDFLAGS-tst-initorder2b.so): Likewise.
6616 (LDFLAGS-tst-initorder2c.so): Likewise.
6617 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6619 2012-05-02 David S. Miller <davem@davemloft.net>
6621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6623 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6626 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6628 2012-05-02 Andreas Jaeger <aj@suse.de>
6630 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6631 since we manipulate rounding mode.
6632 (CPPFLAGS-test-idouble.c): Likewise.
6633 (CPPFLAGS-test-ifloat.c): Likewise.
6634 (CFLAGS-test-ldouble.c): Likewise.
6635 (CFLAGS-test-double.c): Likewise.
6636 (CFLAGS-test-float.c): Likewise.
6637 (CFLAGS-test-misc.c): Likewise.
6638 (CFLAGS-test-test-fenv.c): Likewise.
6640 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6645 comparisons to determine direction to adjust input.
6647 2012-05-01 Roland McGrath <roland@hack.frob.com>
6649 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6650 output to the target.
6652 * scripts/localplt.awk: New file.
6653 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6654 (check-localplt-CFLAGS): Variable removed.
6655 ($(all-built-dso:=.jmprel)): New static pattern rule.
6656 (generated): Add those targets.
6657 (localplt-built-dso): New variable.
6658 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6660 * elf/check-localplt.c: File removed.
6662 * scripts/check-execstack.awk: New file.
6663 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6664 (check-execstack-CFLAGS): Variable removed.
6665 ($(objpfx)check-execstack.h): Target removed.
6666 ($(objpfx)execstack-default): New target.
6667 (generated): Add that instead of check-execstack.h.
6668 ($(all-built-dso:=.phdr)): New static pattern rule.
6669 (generated): Add those targets.
6670 * elf/check-execstack.c: File removed.
6672 * scripts/check-textrel.awk: New file.
6673 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6674 (check-textrel-CFLAGS): Variable removed.
6675 (all-built-dso): Use := to define.o
6676 ($(all-built-dso:=.dyn)): New static pattern rule.
6677 (generated): Add those targets.
6678 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6679 * config.make.in (READELF): New substituted variable.
6680 * elf/check-textrel.c: File removed.
6682 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6684 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6686 * conform/data/ctype.h-data [C99-based standards] (isblank):
6688 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6689 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6691 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6692 Specify type. Require positive value.
6695 [ISO || POSIX] (EILSEQ): Do not expect.
6696 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6697 Specify type. Require positive value.
6698 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6699 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6700 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6701 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6702 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6703 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6704 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6705 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6706 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6707 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6708 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6709 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6710 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6711 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6712 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6713 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6714 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6715 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6716 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6717 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6718 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6719 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6720 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6721 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6722 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6723 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6724 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6725 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6726 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6727 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6728 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6729 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6730 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6731 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6732 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6733 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6734 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6735 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6736 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6737 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6738 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6739 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6740 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6741 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6742 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6743 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6744 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6745 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6746 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6747 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6748 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6749 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6750 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6751 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6752 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6753 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6754 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6755 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6756 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6757 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6758 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6759 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6760 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6761 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6762 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6763 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6764 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6765 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6766 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6767 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6768 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6769 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6770 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6771 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6772 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6773 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6774 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6776 (FLT_ROUNDS): Expect as macro, not constant.
6777 (FLT_MANT_DIG): Use macro-int-constant.
6778 (DBL_MANT_DIG): Likewise.
6779 (LDBL_MANT_DIG): Likewise.
6780 (FLT_DIG): Likewise.
6781 (DBL_DIG): Likewise.
6782 (LDBL_DIG): Likewise.
6783 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6784 (DBL_MIN_EXP): Likewise.
6785 (LDBL_MIN_EXP): Likewise.
6786 (FLT_MAX_EXP): Use macro-int-constant.
6787 (DBL_MAX_EXP): Likewise.
6788 (LDBL_MAX_EXP): Likewise.
6789 (FLT_MAX_10_EXP): Likewise.
6790 (DBL_MAX_10_EXP): Likewise.
6791 (LDBL_MAX_10_EXP): Likewise.
6792 (FLT_MAX): Use macro-constant.
6793 (DBL_MAX): Likewise.
6794 (LDBL_MAX): Likewise.
6795 (FLT_EPSILON): Use macro-constant. Give upper bound.
6796 (DBL_EPSILON): Likewise.
6797 (LDBL_EPSILON): Likewise.
6798 (FLT_MIN): Likewise.
6799 (DBL_MIN): Likewise.
6800 (LDBL_MIN): Likewise.
6801 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6802 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6803 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6804 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6805 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6806 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6807 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6808 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6809 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6810 [ISO11] (FLT_TRUE_MIN): Likewise.
6811 [ISO11] (LDBL_TRUE_MIN): Likewise.
6812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6813 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6814 (SCHAR_MIN): Use macro-int-constant. Specify type.
6815 (SCHAR_MAX): Likewise.
6816 (UCHAR_MAX): Likewise.
6817 (CHAR_MIN): Likewise.
6818 (CHAR_MAX): Likewise.
6819 (MB_LEN_MAX): Use macro-int-constant.
6820 (SHRT_MIN): Use macro-int-constant. Specify type.
6821 (SHRT_MAX): Likewise.
6822 (USHRT_MAX): Likewise.
6823 (INT_MAX): Likewise.
6824 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6826 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6828 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6830 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6831 bound negative. Suffix upper bound with "L".
6832 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6834 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6836 [C99-based standards] (LLONG_MAX): Likewise.
6837 [C99-based standards] (ULLONG_MAX): Likewise.
6838 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6840 [ISO11] (max_align_t): Require type.
6841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6843 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6844 from $CFLAGS, without defining away __attribute__ calls.
6845 (checknamespace): Use $CFLAGS_namespace.
6847 * conform/conformtest.pl (@keywords): Only include C99 keywords
6848 for standards based on C99 or C11.
6850 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6852 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6855 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6856 usability of symbols in #if.
6858 * conform/conformtest.pl: If macro or constant types start
6859 "promoted:", expect the symbol to be of the following type
6860 promoted by the integer promotions.
6862 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6863 in one place. Also handle "macro-constant".
6865 * conform/conformtest.pl: Only accept expected macro values with
6866 "==". Parse all "macro" lines in one place.
6867 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6869 * conform/conformtest.pl: Handle braced types on "constant" lines
6870 instead of handling "typed-constant".
6871 * conform/data/signal.h-data: Use "constant" instead of
6874 * conform/conformtest.pl: Handle "optional-" at start of lines in
6875 one place rather than duplicating several cases. Handle each
6876 format of "macro" line with initial "optional-".
6878 * conform/conformtest.pl: Only accept expected constant or
6879 optional-constant values with "==". Parse all "constant" lines in
6880 one place. Parse all "optional-constant" lines in one place.
6881 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6882 * conform/data/fmtmsg.h-data: Likewise.
6883 * conform/data/netinet/in.h-data: Likewise.
6884 * conform/data/tar.h-data: Likewise.
6885 * conform/data/limits.h-data: Use "==" form on "constant" and
6886 "optional-constant" lines.
6888 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6889 Use -std=c99 for XOPEN2K.
6890 (@knownproblems): Remove.
6891 (newtoken): Don't check %isknown.
6893 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6894 Do not expect macro.
6895 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6907 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6908 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6925 [XPG3] (acosh): Likewise.
6926 [XPG3] (asinh): Likewise.
6927 [XPG3] (atanh): Likewise.
6928 [XPG3] (cbrt): Likewise.
6929 [XPG3] (expm1): Likewise.
6930 [XPG3] (ilogb): Likewise.
6931 [XPG3] (log1p): Likewise.
6932 [XPG3] (logb): Likewise.
6933 [XPG3] (nextafter): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6936 [XPG3] (remainder): Likewise.
6937 [XPG3] (rint): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6945 [UNIX98 || XOPEN2K] (scalb): Expect.
6946 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6947 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6949 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6950 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6951 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6952 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6953 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6954 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6955 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6956 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6957 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6958 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6959 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6960 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6961 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6962 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6963 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6964 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6965 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6967 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6969 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6970 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6971 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6972 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6973 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6974 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6976 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6977 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6978 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6979 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6980 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6981 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6982 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6983 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6984 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6985 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6987 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6988 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6989 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6990 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6991 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6992 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6993 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6994 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6995 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6996 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6997 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6998 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6999 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7000 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7001 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7002 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7003 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7004 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7005 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7006 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7007 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7008 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7009 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7010 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7011 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7012 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7013 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7014 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7015 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7016 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7017 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7018 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7019 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7020 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7021 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7022 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7023 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7024 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7025 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7026 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7027 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7028 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7029 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7030 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7031 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7032 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7033 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7034 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7035 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7036 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7037 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7038 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7039 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7040 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7041 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7042 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7043 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7044 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7045 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7046 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7047 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7048 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7049 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7050 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7051 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7052 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7053 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7054 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7055 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7056 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7057 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7058 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7059 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7060 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7061 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7062 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7063 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7064 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7065 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7066 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7067 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7068 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7069 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7070 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7071 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7072 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7073 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7074 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7075 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7076 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7077 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7078 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7079 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7080 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7081 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7082 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7084 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7085 _XOPEN_SOURCE_EXTENDED for XPG4.
7087 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7089 * Makeconfig (localtime): Remove variable.
7090 (inst_localtime-file): Likewise.
7092 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7113 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7117 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7118 comparisons to determine direction to adjust input.
7119 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7120 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7123 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7125 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7130 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7132 * math/libm-test.inc (nexttoward_test): Add more tests.
7134 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7138 in version GLIBC_2.1, not GLIBC_2.0.
7139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7142 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7145 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7147 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7148 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7149 * math/libm-test.inc (acos_test): Add more tests.
7150 (asin_test): Likewise.
7151 * sysdeps/i386/fpu/libm-test-ulps: Update.
7152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7157 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7158 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7159 * math/libm-test.inc (acos_test_tonearest): New function.
7160 (acos_test_towardzero): Likewise.
7161 (acos_test_downward): Likewise.
7162 (acos_test_upward): Likewise.
7163 (asin_test_tonearest): Likewise.
7164 (asin_test_towardzero): Likewise.
7165 (asin_test_downward): Likewise.
7166 (asin_test_upward): Likewise.
7167 (main): Call the new functions.
7168 * sysdeps/i386/fpu/libm-test-ulps: Update.
7169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7173 * math/e_exp10.c: Include <float.h>.
7174 (__ieee754_exp10): Handle underflow here rather than multiplying
7175 large negative argument by M_LN10.
7176 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7178 * math/e_exp10l.c: Include <float.h>.
7179 (__ieee754_exp10l): Handle underflow here rather than multiplying
7180 large negative argument by M_LN10l.
7181 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7182 spurious overflow exception on underflow.
7184 2012-04-29 Marek Polacek <polacek@redhat.com>
7186 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7187 (__fortify_function): New macro.
7188 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7189 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7190 __extern_always_inline.
7191 * libio/bits/stdio2.h: Likewise.
7192 * libio/bits/stdio.h: Likewise.
7193 * string/string.h: Likewise.
7194 * string/bits/string3.h: Likewise.
7195 * include/stdio.h: Likewise.
7196 * stdlib/bits/stdlib.h: Likewise.
7197 * stdlib/stdlib.h: Likewise.
7198 * rt/bits/mqueue2.h: Likewise.
7199 * rt/mqueue.h: Likewise.
7200 * posix/bits/unistd.h: Likewise.
7201 * posix/unistd.h: Likewise.
7202 * io/bits/poll2.h: Likewise.
7203 * io/bits/fcntl2.h: Likewise.
7204 * io/fcntl.h: Likewise.
7205 * io/sys/poll.h: Likewise.
7206 * misc/bits/syslog.h: Likewise.
7207 * misc/bits/syslog-ldbl.h: Likewise.
7208 * misc/sys/syslog.h: Likewise.
7209 * socket/bits/socket2.h: Likewise.
7210 * socket/sys/socket.h: Likewise.
7211 * debug/tst-chk1.c: Likewise.
7212 * wcsmbs/bits/wchar2.h: Likewise.
7213 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7214 * wcsmbs/wchar.h: Likewise.
7216 2012-04-29 Andreas Jaeger <aj@suse.de>
7218 * Makerules (tests): Remove enable-check-abi protection.
7219 (check-abi-warn): Remove.
7220 (check-abi-%): Remove check-abi-warn usage.
7222 * configure.in: Remove check-abi configure option.
7223 * configure: Regenerated.
7224 * config.make.in (enable-check-abi): Remove.
7226 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7229 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7230 double functions to double *_finite functions.
7233 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7234 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7236 * stdio-common/Makefile (tests): Add tst-sprintf3.
7237 * stdio-common/tst-sprintf3.c: New file.
7239 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7240 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7242 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7244 * conform/conformtest.pl: Remove duplicate typed-constant
7247 2012-04-28 David S. Miller <davem@davemloft.net>
7249 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7250 (check-abi-%): Remove AWK script prerequisite and explicit
7252 (check-abi): Rewrite to just diff the symlist with the abilist.
7253 (config-tls, config-abi-config): Delete, no longer used.
7254 (update-abi-%): Remove AWK script and explicit abilist directory.
7255 (update-abi): Rewrite to simply compare and conditionally copy the
7256 symlist and the sysdep abilist file. Remove update-abi-config
7258 * abilist/ld.abilist: Remove.
7259 * abilist/libBrokenLocale.abilist: Remove.
7260 * abilist/libanl.abilist: Remove.
7261 * abilist/libcrypt.abilist: Remove.
7262 * abilist/libdl.abilist: Remove.
7263 * abilist/librt.abilist: Remove.
7264 * abilist/libthread_db.abilist: Remove.
7265 * abilist/libutil.abilist: Remove.
7266 * scripts/extract-abilist.awk: Remove.
7267 * scripts/merge-abilist.awk: Remove.
7268 * sysdeps/generic/libcidn.abilist: New file.
7269 * sysdeps/generic/libnss_compat.abilist: New file.
7270 * sysdeps/generic/libnss_db.abilist: New file.
7271 * sysdeps/generic/libnss_dns.abilist: New file.
7272 * sysdeps/generic/libnss_files.abilist: New file.
7273 * sysdeps/generic/libnss_hesiod.abilist: New file.
7274 * sysdeps/generic/libnss_nis.abilist: New file.
7275 * sysdeps/generic/libnss_nisplus.abilist: New file.
7276 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7277 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7278 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7281 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7282 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7283 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7284 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7285 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7286 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7287 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7288 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7290 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7291 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7292 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7293 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7295 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7296 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7297 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7298 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7299 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7300 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7302 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7303 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7304 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7306 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7409 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7410 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7411 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7414 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7415 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7416 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7417 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7418 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7419 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7420 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7421 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7422 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7474 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7476 * conform/conformtest.pl: Fix typo in handling typed-constant from
7479 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7481 * README: Cut down references to pre-2.6 Linux kernels and
7482 Linuxthreads. Update lists of configurations in libc and ports
7483 and sort alphabetically. Say "or newer" with Linux kernel version
7486 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7488 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7491 * math/libm-test.inc (logb_test_downward): New test to expose
7492 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7495 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7498 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7500 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7501 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7503 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7505 * sysdeps/unix/i386/brk.S: Remove file.
7506 * sysdeps/unix/i386/dl-brk.S: Likewise.
7507 * sysdeps/unix/i386/pipe.S: Likewise.
7508 * sysdeps/unix/i386/sigreturn.S: Likewise.
7509 * sysdeps/unix/i386/syscall.S: Likewise.
7510 * sysdeps/unix/i386/vfork.S: Likewise.
7511 * sysdeps/unix/i386/wait.S: Likewise.
7513 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7514 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7516 * configure.in (arm*-none*): Do not allow without
7517 --enable-hacker-mode.
7518 (netbsd*): Remove case setting base_os.
7519 (386bsd*): Likewise.
7520 (freebsd*): Likewise.
7524 (ultrix*): Likewise.
7525 (newsos*): Likewise.
7535 (solaris[2-9]*): Likewise.
7537 * configure: Regenerated.
7539 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7542 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7543 overflow or cancellation in calculating denominator.
7544 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7546 down expression to avoid unexpected rounding in newer GCCs.
7547 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7549 2012-04-26 David S. Miller <davem@davemloft.net>
7551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7552 long-double compat symbols.
7553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7567 2012-04-25 David S. Miller <davem@davemloft.net>
7569 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7570 HWCAP_* values only after the memory barriers have been defined.
7571 (atomic_full_barrier): Define.
7572 (atomic_read_barrier): Define.
7573 (atomic_write_barrier): Define.
7575 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7577 * shlib-versions: Add libgcc_s version information.
7578 * sysdeps/generic/libgcc_s.h: Remove.
7579 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7581 * sysdeps/gnu/unwind-resume.c: Likewise.
7582 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7584 2012-04-25 David S. Miller <davem@davemloft.net>
7586 * sysdeps/unix/sparc/brk.S: Delete.
7587 * sysdeps/unix/sparc/dl-brk.S: Delete.
7588 * sysdeps/unix/sparc/pipe.S: Delete.
7589 * sysdeps/unix/sparc/sysdep.S: Delete.
7590 * sysdeps/unix/sparc/sysdep.h: Delete.
7591 * sysdeps/unix/sparc/vfork.S: Delete.
7592 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7593 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7594 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7595 ret_ERRVAL, r0, r1, MOVE): Define.
7596 (JUMPTARGET): Remove.
7597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7598 sysdeps/unix/sparc/sysdep.h
7599 (ENTRY, END): Remove.
7600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7602 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7604 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7605 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7608 * timezone/README: Update upstream location and email address for
7610 * timezone/zdump.c: Update from tzcode 2012b.
7611 * timezone/zic.c: Likewise.
7613 * configure.in (libc_cv_as_needed): Remove test.
7614 * configure: Regenerated.
7615 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7616 conditional definition.
7617 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7618 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7619 * config.make.in (have-as-needed): Remove variable.
7621 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7622 Paul Pluzhnikov <ppluzhnikov@google.com>
7624 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7627 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7629 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7630 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7631 * sysdeps/sh/strlen.S: Likewise.
7633 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7635 * sysdeps/unix/fork.S: Remove file.
7636 * sysdeps/unix/i386/fork.S: Likewise.
7637 * sysdeps/unix/sparc/fork.S: Likewise.
7639 * sysdeps/unix/system.c: Remove file.
7640 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7642 * sysdeps/unix/getegid.S: Remove file.
7643 * sysdeps/unix/geteuid.S: Likewise.
7645 2012-04-24 Roland McGrath <roland@hack.frob.com>
7647 * scripts/check-localplt.awk: New file.
7648 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7650 * scripts/data/localplt-generic.data: Add a comment.
7652 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7653 NODE when __dir_mkfile failed.
7654 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7655 Reported by Ludovic Courtès <ludo@gnu.org>.
7657 2012-04-24 Andreas Jaeger <aj@suse.de>
7659 * Makerules (common-clean): Also remove gen-as-const-headers
7662 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7664 * Makerules (native-compile): Do not change working directory for
7665 build. Use $(OUTPUT_OPTION) in command.
7666 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7668 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7671 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7672 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7673 * math/libm-test.inc (floor_test): Add more tests.
7674 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7676 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7678 * sysdeps/unix/getdents.c: Remove file.
7679 * sysdeps/unix/sysv/getdents.c: Likewise.
7680 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7682 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7683 sysdeps/unix/mman/syscalls.list.
7685 (mprotect): Likewise.
7688 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7689 * sysdeps/unix/mman/syscalls.list: Remove.
7690 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7692 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7693 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7694 * configure: Regenerated.
7695 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7697 * config.make.in (libgcc_s_suffix): Remove variable.
7699 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7701 * sysdeps/unix/sysv/gethostname.c: Move to ...
7702 * sysdeps/posix/gethostname.c: ... here.
7704 * sysdeps/unix/execve.S: Remove file.
7706 * sysdeps/unix/_exit.S: Remove file.
7708 2012-04-23 Andreas Jaeger <aj@suse.de>
7711 * manual/Makefile: Remove make dist support, there's no
7712 need for a stand-alone documentation tar ball.
7713 (TEXI2DVI): Define always, it's not in Makeconfig.
7717 (glibc-doc-$(edition).tar): Removed
7721 (ETAGS): Remove, it's in Makeconfig.
7722 (move-if-change): Remove, it's in Makeconfig.
7724 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7727 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7728 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7729 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7730 (strtod_l, strtof_l, strtold_l): Remove __wur.
7731 It is not necessarily an error to ignore strtol's return value.
7732 One can reliably look at the stored endptr to decide whether
7733 the number had valid syntax.
7735 2012-04-21 Andreas Jaeger <aj@suse.de>
7738 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7740 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7742 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7743 * sysdeps/unix/sysv/Versions: Remove file.
7745 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7750 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7754 version from __vm86.
7756 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7758 * sysdeps/unix/common/lxstat.c: Remove file.
7759 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7761 * sysdeps/unix/sysv/Makefile: Remove file.
7763 * sysdeps/unix/sysv/direct.h: Remove file.
7765 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7766 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7767 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7768 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7769 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7770 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7771 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7773 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7775 * sysdeps/unix/xmknod.c: Remove file.
7776 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7778 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7780 * sysdeps/unix/sysv/i386/time.S: Remove file.
7782 * sysdeps/unix/fxstat.c: Remove file.
7783 * sysdeps/unix/xstat.c: Likewise.
7784 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7786 * sysdeps/unix/sysv/sigaction.c: Remove file.
7788 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7789 (sysdep_headers): Remove variable.
7790 [termio.h not in sysdep_headers] (generated): Likewise.
7791 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7792 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7793 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7794 * sysdeps/unix/sysv/tcflow.c: Likewise.
7795 * sysdeps/unix/sysv/tcflush.c: Likewise.
7796 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7797 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7798 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7799 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7800 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7802 * sysdeps/unix/siglist.c: Remove file.
7804 * sysdeps/unix/getppid.S: Remove file.
7806 * sysdeps/unix/mkdir.c: Remove file.
7807 * sysdeps/unix/rmdir.c: Likewise.
7809 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7811 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7813 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7814 errlist-compat value.
7816 2012-04-18 David S. Miller <davem@davemloft.net>
7818 * sysdeps/generic/memcopy.h (reg_char): Delete.
7819 * debug/strcat_chk.c: Use char, not reg_char.
7820 * debug/strcpy_chk.c: Likewise.
7821 * debug/strncat_chk.c: Likewise.
7822 * debug/strncpy_chk.c: Likewise.
7823 * string/memchr.c: Likewise.
7824 * string/memrchr.c: Likewise.
7825 * string/rawmemchr.c: Likewise.
7826 * string/strcat.c: Likewise.
7827 * string/strchr.c: Likewise.
7828 * string/strchrnul.c: Likewise.
7829 * string/strcmp.c: Likewise.
7830 * string/strcpy.c: Likewise.
7831 * string/strncat.c: Likewise.
7832 * string/strncmp.c: Likewise.
7833 * string/strncpy.c: Likewise.
7835 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7837 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7838 __builtin_memcopy is called when src and dest ranges are known to not
7841 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7844 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7845 fwd_align_merge macro call.
7846 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7847 bwd_align_merge macro call.
7848 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7850 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7852 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7853 bwd_align_merge macros.
7854 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7855 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7856 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7858 2012-04-18 David S. Miller <davem@davemloft.net>
7860 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7862 2012-04-18 Andreas Jaeger <aj@suse.de>
7865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7866 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7867 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7870 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7871 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7873 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7874 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7875 Adjust for changed ldbl-128 files.
7877 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7878 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7881 2012-04-17 David S. Miller <davem@davemloft.net>
7883 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7885 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7887 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7888 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7889 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7890 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7891 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7892 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7894 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7897 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7898 * math/libm-test.inc: Add ilogb errno and exception tests.
7899 * math/w_ilogb.c: New file: ilogb wrapper.
7900 * math/w_ilogbf.c: New file: ilogbf wrapper.
7901 * math/w_ilogbl.c: New file: ilogbl wrapper.
7902 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7903 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7904 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7905 exception being thrown with 0.0 as argument.
7906 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7907 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7908 exception being thrown with 0.0 as argument.
7909 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7910 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7911 exception being thrown with 0.0 as argument.
7912 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7913 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7914 exception being thrown with 0.0 as argument.
7915 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7916 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7917 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7918 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7920 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7921 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7922 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7923 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7925 2012-04-17 Petr Baudis <pasky@ucw.cz>
7927 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7930 2012-04-16 Marek Polacek <polacek@redhat.com>
7932 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7934 2012-04-16 Marek Polacek <polacek@redhat.com>
7936 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7937 operands of fdivp instruction.
7939 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7941 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7942 * elf/tst-auditmod3b.c: Likewise.
7943 * elf/tst-auditmod4b.c: Likewise.
7944 * elf/tst-auditmod5b.c: Likewise.
7945 * elf/tst-auditmod6b.c: Likewise.
7946 * elf/tst-auditmod6c.c: Likewise.
7947 * elf/tst-auditmod7b.c: Likewise.
7948 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7949 * sysdeps/x86_64/preconfigure.in: Likewise.
7950 * sysdeps/x86_64/preconfigure: Regenerated.
7952 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7954 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7957 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7960 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7962 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7965 * locale/iso-639.def: Fix gl language name. Spotted by
7968 2012-04-12 Roland McGrath <roland@hack.frob.com>
7971 * libio/libio.h (__io_write_fn): Update comment.
7973 2012-04-12 Petr Baudis <pasky@ucw.cz>
7976 * stdio.texi (Hook Functions): The user provided writer function
7977 is not allowed to return -1.
7979 2012-04-11 David S. Miller <davem@davemloft.net>
7981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7983 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7985 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7986 Add a leading slash to rtkaio.
7988 2012-04-11 Jim Meyering <meyering@redhat.com>
7991 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7992 It is not necessarily an error to ignore fwrite's return
7993 value. One can reliably use ferror to test for errors after
7996 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7998 * bits/types.h (__snseconds_t): New type.
7999 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8001 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8003 (__SNSECONDS_T_TYPE): Likewise.
8004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8005 (__SNSECONDS_T_TYPE): Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8007 (__SNSECONDS_T_TYPE): Likewise.
8009 2012-04-10 Andreas Jaeger <aj@suse.de>
8012 * manual/time.texi (Processor Time): Return type of times is
8013 elapsed real time since an arbitrary point in the past.
8014 (CPU Time): Move CLK_TCK from here...
8015 (Processor Time): ...to here. Correct description.
8016 * manual/conf.texi (Constants for Sysconf): Correct description of
8019 2012-04-10 David S. Miller <davem@davemloft.net>
8022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8023 where the is a gap between DT_REL(A) and DT_JMPREL.
8025 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8027 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8028 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8029 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8031 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8033 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8034 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8035 (dl_main): Handle --inhibit-cache.
8036 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8038 * elf/dl-load.c (_dl_map_object): Use it.
8039 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8041 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8044 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8045 (__ieee754_powl): Saturate large exponents rather than testing for
8046 overflow of y*log2(x).
8047 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8048 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8052 * math/s_ctan.c: Include <float.h>.
8053 (__ctan): Avoid internal overflow or cancellation in calculating
8055 * math/s_ctanf.c: Likewise.
8056 * math/s_ctanl.c: Likewise.
8057 * math/s_ctanh.c: Likewise.
8058 * math/s_ctanhf.c: Likewise.
8059 * math/s_ctanhl.c: Likewise.
8060 * math/libm-test.inc (ctan_test): Add more tests.
8061 (ctanh_test): Likewise.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065 2012-04-09 Andreas Jaeger <aj@suse.de>
8068 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8069 is an optional BSD extension.
8072 * manual/stdio.texi (Opening Streams): Document additional fopen
8075 2012-04-09 Roland McGrath <roland@hack.frob.com>
8077 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8078 %eax without telling the compiler.
8080 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8083 * manual/install.texi: Use sourceware.org.
8085 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8088 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8089 (__ieee754_pow): Generate overflow and underflow using huge*huge
8090 and tiny*tiny rather than just returning constant infinity or zero
8091 for large exponents.
8092 * math/libm-test.inc (pow_test): Require overflow exceptions for
8093 applicable cases of large exponents.
8096 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8097 (__ieee754_pow): Use iterative multiplication algorithm only for
8098 integer exponents with absolute value below 1024. Check for odd
8099 integer exponents when using algorithm for real exponents.
8100 * math/libm-test.inc (pow_test): Add more tests.
8101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8103 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8106 * math/libm-test.inc (exp_test): Do not allow overflow exception
8109 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8112 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8113 instead of __kernel_standard_f.
8115 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8117 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8118 * sysdeps/x86_64/memset_chk.S: Likewise.
8120 2012-04-08 Andreas Jaeger <aj@suse.de>
8123 * manual/startup.texi (Environment Access): Describe return value
8124 for putenv and setenv.
8127 * manual/filesys.texi (Directory Entries): Add description for
8131 * manual/filesys.texi (Directory Entries): Clarify that it's file
8132 system not operating system in the description of DT_UNKNOWN.
8135 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8137 2012-04-08 Stephen Compall <s11@member.fsf.org>
8140 * manual/llio.texi (Opening and Closing Files): Add cross
8141 reference to explain mode argument.
8143 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8145 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8146 * sysdeps/x86_64/memset_chk.S: Likewise.
8148 2012-04-07 David S. Miller <davem@davemloft.net>
8150 * elf/elf.h (R_SPARC_WDISP10): Define.
8151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8154 R_SPARC_SIZE64 and R_SPARC_H34.
8156 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8158 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8159 conditions and remove no longer applicable assertion.
8161 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8163 * bits/byteswap.h: Include <features.h>.
8164 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8165 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8167 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8169 * bits/byteswap.h (__bswap_16): Removed.
8170 Include <bits/byteswap-16.h> to get __bswap_16.
8171 * sysdeps/i386/bits/byteswap.h: Likewise.
8172 * sysdeps/s390/bits/byteswap.h: Likewise.
8173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8174 * bits/byteswap-16.h: New file.
8175 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8176 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8177 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8178 * string/Makefile (headers): Add bits/byteswap-16.h.
8180 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8183 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8185 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8186 * nss/tst-nss-static.c: New.
8188 2012-04-06 Robert Millan <rmh@gnu.org>
8191 * manual/llio.texi (File Position Primitive): lseek
8192 refers to WHENCE when it really means OFFSET.
8194 2012-04-06 Andreas Jaeger <aj@suse.de>
8196 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8197 strncmp declarations.
8199 * abilist/libc.abilist: Add __poll and __ppoll.
8201 2012-04-05 David S. Miller <davem@davemloft.net>
8203 * scripts/check-local-headers.sh: Accept a host triplet in the
8204 path matched by the exclude regexp.
8206 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8208 * sysdeps/powerpc/powerpc32/dl-machine.h
8209 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8210 * sysdeps/s390/s390-32/dl-machine.h
8211 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8212 * sysdeps/sparc/sparc32/dl-machine.h
8213 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8214 * sysdeps/sparc/sparc64/dl-machine.h
8215 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8217 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8219 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8220 undefined symbol errors.
8222 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8225 2012-04-05 Michael Matz <matz@suse.de>
8228 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8230 2012-04-05 Andreas Jaeger <aj@suse.de>
8233 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8236 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8238 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8239 which ROUND is no valid rounding mode.
8241 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8245 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8247 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8249 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8250 an exception using FPU order intentionally.
8252 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8254 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8255 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8256 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8257 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8259 2012-04-05 Simon Josefsson <simon@josefsson.org>
8262 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8263 EINVAL when BUFLEN is too smal.
8265 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8268 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8269 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8271 2012-04-03 Andreas Jaeger <aj@suse.de>
8274 * manual/setjmp.texi (System V contexts): Fix sentence.
8277 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8278 New macro for this case.
8279 [!__GNUC__] (__bswap_64): New inline function for this case.
8280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8281 * bits/byteswap.h: Likewise.
8282 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8283 ull, guard with __GLIBC_HAVE_LONG_LONG.
8285 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8286 __GLIBC_HAVE_LONG_LONG.
8288 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8289 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8291 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8294 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8295 inptr and inend, rather than using last_ch.
8297 2012-04-02 David S. Miller <davem@davemloft.net>
8299 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8300 * stdio-common/printf-parse.h (read_int): Change return type to
8301 'int', return -1 on INT_MAX overflow.
8302 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8303 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8304 overflows INT_MAX. Check for overflow of in-format-string precision
8305 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8306 SIZE_MAX not INT_MAX for integer overflow test.
8307 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8308 skip the construct in the format string but do not record anything.
8309 * stdio-common/bug22.c: Adjust to test both width/prevision
8310 INT_MAX overflow as well as total length INT_MAX overflow. Check
8311 explicitly for proper errno values.
8313 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8315 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8317 * string/test-strcmp.c [! WIDE]: Likewise.
8318 * time/tst-mktime2.c: Likewise for INT_MAX.
8319 * string/test-string.h: #include <sys/param.h> for MIN.
8321 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8322 * sysdeps/i386/init-first.c (init): Likewise.
8323 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8324 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8325 * sysdeps/sh/init-first.c (init): Likewise.
8327 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8329 * po/ru.po: Update from translation team.
8330 * po/vi.po: Likewise.
8332 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8334 * resolv/nss_dns/dns-host.c: Merge copyright years.
8336 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8339 Optimize memcpy with prefetch if
8340 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8341 src, dst pointers have unequal 16 byte alignments.
8343 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8346 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8347 from a CNAME entry and return the minimum ttl for the query.
8348 (gaih_getanswer_slice): Likewise.
8350 2012-03-30 Jeff Law <law@redhat.com>
8352 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8354 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8355 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8357 * resolv/nss_dns/dns-host.c: Update copyright year.
8359 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8361 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8362 requests to save a system call. Fix check that all bytes are sent.
8364 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8365 comments for sendmmsg.
8367 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8370 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8371 with only 1 character between 0x0041 and 0x01b0.
8372 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8373 * wcsmbs/tst-mbsnrtowcs.c: New file.
8375 2012-03-29 David S. Miller <davem@davemloft.net>
8377 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8378 small copies by hand.
8380 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8383 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8384 _nss_compat_initgroups_dyn): Fall back to malloc/free
8385 for large group memberships.
8387 2012-03-28 David S. Miller <davem@davemloft.net>
8389 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8390 that branches into memcpy.
8391 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8394 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8397 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8399 * sysdeps/sparc/mempcpy.S: New file.
8401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8402 the IFUNC routine in the libc case.
8403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8405 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8406 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8407 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8408 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8409 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8410 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8411 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8412 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8414 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8415 loop to 256 bytes instead of 64 bytes and fix test signedness.
8417 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8418 * sysdeps/sparc/sparc32/Makefile: rather than here...
8419 * sysdeps/sparc/sparc64/Makefile: and here.
8421 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8423 * malloc/mallocbug.c: Avoid warnings about unused variables.
8425 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8428 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8429 in the right place. Discard and retry query if response is
8430 larger than input buffer size.
8432 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8437 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8438 x for large integer exponent.
8439 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8440 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8441 sign of result as needed afterwards.
8442 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8443 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8444 result for underflowing pow the same as for overflow.
8445 (__kernel_standard_l): Handle powl overflow and underflow here
8446 rather than calling __kernel_standard.
8447 * math/libm-test.inc (pow_test): Add more tests.
8462 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8463 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8464 (__kernel_standard_l): New function.
8465 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8467 * math/w_acosl.c (__acosl): Likewise.
8468 * math/w_asinl.c (__asinl): Likewise.
8469 * math/w_atan2l.c (__atan2l): Likewise.
8470 * math/w_atanhl.c (__atanhl): Likewise.
8471 * math/w_coshl.c (__coshl): Likewise.
8472 * math/w_exp10l.c (__exp10l): Likewise.
8473 * math/w_exp2l.c (__exp2l): Likewise.
8474 * math/w_fmodl.c (__fmodl): Likewise.
8475 * math/w_hypotl.c (__hypotl): Likewise.
8476 * math/w_j0l.c (__j0l, __y0l): Likewise.
8477 * math/w_j1l.c (__j1l, __y1l): Likewise.
8478 * math/w_jnl.c (__jnl, __ynl): Likewise.
8479 * math/w_lgammal.c (__lgammal): Likewise.
8480 * math/w_log10l.c (__log10l): Likewise.
8481 * math/w_log2l.c (__log2l): Likewise.
8482 * math/w_logl.c (__logl): Likewise.
8483 * math/w_powl.c (__powl): Likewise.
8484 * math/w_remainderl.c (__remainderl): Likewise.
8485 * math/w_scalbl.c (sysv_scalbl): Likewise.
8486 * math/w_sinhl.c (__sinhl): Likewise.
8487 * math/w_sqrtl.c (__sqrtl): Likewise.
8488 * math/w_tgammal.c (__tgammal): Likewise.
8489 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8490 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8491 * math/libm-test.inc (acos_test): Add more tests.
8492 (acosh_test): Likewise.
8493 (asin_test): Likewise.
8494 (atanh_test): Likewise.
8495 (exp_test): Likewise.
8496 (exp10_test): Likewise.
8497 (exp2_test): Likewise.
8498 (expm1_test): Likewise.
8499 (lgamma_test): Likewise.
8500 (log_test): Likewise.
8501 (log10_test): Likewise.
8502 (log1p_test): Likewise.
8503 (log2_test): Likewise.
8504 (pow_test): Do not allow some spurious overflow exceptions.
8505 (sqrt_test): Add more tests.
8506 (tgamma_test): Likewise.
8507 (y0_test): Likewise.
8508 (y1_test): Likewise.
8509 (yn_test): Likewise.
8511 2012-03-27 Anton Blanchard <anton@samba.org>
8513 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8519 2012-03-27 David S. Miller <davem@davemloft.net>
8521 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8523 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8526 2012-03-27 Andreas Jaeger <aj@suse.de>
8528 * sysdeps/x86_64/elf/configure.in: Moved to ...
8529 * sysdeps/x86_64/configure.in: ... here.
8530 * sysdeps/x86_64/elf/start.S: Moved to ...
8531 * sysdeps/x86_64/start.S: ... here.
8532 * sysdeps/x86_64/elf/configure: Delete.
8534 * sysdeps/x86_64/configure.in: Merge contents from
8535 sysdeps/i386/configure.in (without i686 check).
8537 * sysdeps/i386/elf/Versions: Merge into ...
8538 * sysdeps/i386/Versions: ... this.
8539 * sysdeps/i386/elf/Versions: Delete file.
8540 * sysdeps/i386/elf/start.S: Moved to ...
8541 * sysdeps/i386/start.S: ...here.
8542 * sysdeps/i386/elf/configure.in: Merge into...
8543 * sysdeps/i386/configure.in: ...here.
8544 * sysdeps/i386/elf/configure.in: Delete file.
8545 * sysdeps/i386/elf/configure: Delete file.
8547 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8548 * debug/backtracesyms.c: ... here.
8549 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8550 * debug/backtracesymsfd.c: ... here.
8551 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8552 * sysdeps/generic/ifunc-sel.h: ... here.
8554 * sysdeps/unix/i386/start.c: Delete file.
8555 * sysdeps/unix/sparc/start.c: Delete file.
8556 * sysdeps/unix/start.c: Delete file.
8558 * sysdeps/sh/elf/configure.in: Moved to ...
8559 * sysdeps/sh/configure.in: ... here.
8560 * sysdeps/sh/elf/start.S: Moved to ...
8561 * sysdeps/sh/start.S: ... here.
8562 * sysdeps/sh/elf/configure: Delete file.
8564 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8565 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8566 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8567 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8568 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8569 * sysdeps/powerpc/powerpc64/start.S: here.
8570 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8571 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8572 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8573 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8574 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8576 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8577 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8578 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8579 * sysdeps/powerpc/powerpc32/start.S: ... here.
8580 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8581 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8582 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8584 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8585 * sysdeps/powerpc/ifunc-sel.h: ... here.
8586 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8587 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8589 * sysdeps/sparc/elf/configure.in: Moved to ...
8590 * sysdeps/sparc/configure.in: ... here.
8591 * sysdeps/sparc/elf/configure: Delete file.
8592 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8593 * sysdeps/sparc/sparc32/start.S: ... here.
8594 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8595 * sysdeps/sparc/sparc64/start.S: ... here.
8596 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8597 * sysdeps/sparc/sparc32/Makefile: ... this.
8598 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8599 * sysdeps/sparc/sparc64/Makefile: ... this.
8601 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8602 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8603 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8604 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8605 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8606 * sysdeps/s390/s390-32/setjmp.S: ... here.
8607 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8608 * sysdeps/s390/s390-32/configure.in: ... here.
8609 * sysdeps/s390/s390-32/elf/configure: Delete file.
8610 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8611 * sysdeps/s390/s390-32/start.S: ... here.
8613 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8614 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8615 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8616 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8617 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8618 * sysdeps/s390/s390-64/setjmp.S: ... here.
8619 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8620 * sysdeps/s390/s390-64/configure.in: ... here
8621 * sysdeps/s390/s390-64/elf/configure: Delete file.
8622 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8623 * sysdeps/s390/s390-64/start.S: ... here.
8624 * sysdeps/s390/s390-64/elf/configure: Delete.
8626 * configure.in: Remove support for elf directories in sysdeps.
8628 * configure: Regenerated.
8629 * sysdeps/i386/configure: Regenerated.
8630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8632 * sysdeps/s390/s390-32/configure: Regenerated.
8633 * sysdeps/s390/s390-64/configure: Regenerated.
8634 * sysdeps/sh/configure: Regenerated.
8635 * sysdeps/sparc/configure: Regenerated.
8636 * sysdeps/x86_64/configure: Regenerated.
8638 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8642 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8643 denormal result into account.
8645 2012-03-25 Roland McGrath <roland@hack.frob.com>
8647 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8648 Reported by Allan McRae <allan@archlinux.org>.
8650 2012-03-23 Jeff Law <law@redhat.com>
8652 * nss/getnssent.c (__nss_getent): Fix typo.
8654 2012-03-23 David S. Miller <davem@davemloft.net>
8656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8658 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8660 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8661 to pad to uint64_t for each field.
8662 (dl_tls_index): Replace unsigned long with uint64_t.
8664 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8665 Paul Pluzhnikov <ppluzhnikov@google.com>
8668 * grp/Makefile (otherlibs): Don't set it.
8669 * inet/Makefile (otherlibs): Likewise.
8670 * login/Makefile (otherlibs): Likewise.
8671 * nscd/Makefile (otherlibs): Likewise.
8672 * posix/Makefile (otherlibs): Likewise.
8673 * pwd/Makefile (otherlibs): Likewise.
8674 * rt/Makefile (otherlibs): Likewise.
8675 * sunrpc/Makefile (otherlibs): Likewise.
8676 * nss/Makefile (otherlibs): Likewise.
8677 Add libnss_files to routines and static-only-routines.
8678 ($(objpfx)getent): Remove rule.
8679 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8680 static-only-routines.
8682 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8685 * math/s_cexp.c: Include <float.h>.
8686 (__cexp): Handle exp result overflowing not necessarily
8687 overflowing both real and imaginary parts of result.
8688 * math/s_cexpf.c: Likewise.
8689 * math/s_cexpl.c: Likewise.
8690 * math/libm-test.inc (cexp_test): Add more tests.
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8694 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8696 * include/link.h (ELFW): New macro.
8697 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8698 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8700 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8702 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8705 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8707 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8709 (struct La_x32_retval): Likewise.
8711 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8713 * sysdeps/x86_64/preconfigure.in: New file.
8714 * sysdeps/x86_64/preconfigure: New generated file.
8716 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8719 * math/e_exp2l.c: Include <float.h>.
8720 (__ieee754_exp2l): Handle overflow and underflow cases
8721 separately. Only pass fractional part of argument to
8723 * math/libm-test.inc (exp2_test): Add more tests.
8725 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8726 negating x to take absolute value.
8727 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8729 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8730 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8732 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8733 computing low part if x was negated.
8734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8736 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8738 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8740 (pltexit): Cast int_retval to ptrdiff_t.
8741 * elf/tst-auditmod3b.c: Likewise.
8742 * elf/tst-auditmod4b.c: Likewise.
8743 * elf/tst-auditmod5b.c: Likewise.
8744 * elf/tst-auditmod6b.c: Likewise.
8745 * elf/tst-auditmod6c.c: Likewise.
8746 * elf/tst-auditmod7b.c: Likewise.
8748 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8749 and x32_gnu_pltexit.
8751 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8753 (La_x32_regs): New macro.
8754 (La_x32_retval): Likewise.
8755 (la_x32_gnu_pltenter): New function prototype.
8756 (la_x32_gnu_pltexit): Likewise.
8758 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8765 * configure.in (libc_cv_cc_nofma): Check for option to disable
8766 generation of FMA instructions.
8767 * configure: Regenerate.
8768 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8769 * sysdeps/ieee754/dbl-64/Makefile: New file.
8770 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8771 Remove brandred-fma4.
8772 (CFLAGS-brandred-fma4.c): Remove.
8773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8774 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8776 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8779 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8781 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8782 LLONG_MAX != LONG_MAX.
8783 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8784 (_fitoa_word): Likewise.
8785 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8786 LLONG_MAX != LONG_MAX.
8787 * stdio-common/_itowa.h: Include <_itoa.h>.
8788 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8789 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8790 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8791 only if not defined.
8792 (_ITOA_WORD_TYPE): Likewise.
8793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8794 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8796 2012-03-21 David S. Miller <davem@davemloft.net>
8798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8800 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8802 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8803 of x86_64 when setting libc_cv_slibdir, libdir and
8805 * sysdeps/unix/sysv/linux/configure: Regenerated.
8807 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8809 * manual/lang.texi (Old Varargs): Remove section.
8810 (How Variadic): Update menu.
8811 (va_start): Do not mention varargs.h.
8813 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8814 Joseph Myers <joseph@codesourcery.com>
8816 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8818 * configure: Regenerated.
8820 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8822 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8823 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8826 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8829 * Makefile (files-for-dist): Remove NOTES.
8830 (NOTES): Remove rule.
8831 * README: Don't refer to NOTES.
8832 * manual/creature.texi: Don't include macros.texi.
8833 * manual/intro.texi (creature.texi): Remove comment referring to
8836 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8837 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8838 * configure: Regenerated.
8839 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8841 (libc_cv_as_i686): Likewise.
8842 (libc_cv_cc_avx): Likewise.
8843 (libc_cv_cc_sse2avx): Likewise.
8844 (libc_cv_cc_fma4): Likewise.
8845 (libc_cv_cc_novzeroupper): Likewise.
8846 * sysdeps/i386/configure: Regenerated.
8849 * sysdeps/i386/fpu/s_cexp.S: Remove.
8850 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8851 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8852 * math/libm-test.inc (cexp_test): Add more tests.
8853 * sysdeps/i386/fpu/libm-test-ulps: Update.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8856 2012-03-21 Allan McRae <allan@archlinux.org>
8858 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8860 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8863 * math/w_exp2.c: Do not include <float.h>.
8864 (o_threshold, u_threshold): Remove.
8865 (__exp2): Calculate result before checking finiteness and calling
8867 * math/w_exp2f.c: Likewise.
8868 * math/w_exp2l.c: Likewise.
8869 * math/libm-test.inc (exp2_test): Require overflow exception for
8873 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8874 range of signed 64-bit integers before using fistpll. Remove
8875 checks for whether integers fit in mantissa bits.
8876 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8877 the range of signed 32-bit integers before using fistpl. Remove
8878 checks for whether integers fit in mantissa bits.
8879 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8880 (__ieee754_powl): Test for y outside the range of signed 64-bit
8881 integers before using fistpll. Reduce 64-bit values to 63-bit
8883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8884 divide-by-zero is raised for zero to large negative powers.
8885 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8886 (__ieee754_powl): Test for y outside the range of signed 64-bit
8887 integers before using fistpll. Reduce 64-bit values to 63-bit
8889 * math/libm-test.inc (pow_test): Add more tests.
8891 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8893 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8894 <stdio-common/_itoa.h>.
8895 * debug/segfault.c: Likewise.
8896 * elf/dl-cache.c: Likewise.
8897 * elf/dl-minimal.c: Likewise.
8898 * elf/dl-misc.c: Likewise.
8899 * elf/dl-sysdep.c: Likewise.
8900 * elf/dl-version.c: Likewise.
8901 * elf/rtld.c: Likewise.
8902 * hurd/hurdsock.c: Likewise.
8903 * hurd/lookup-retry.c: Likewise.
8904 * malloc/malloc.c: Likewise.
8905 * malloc/mtrace.c: Likewise.
8906 * nscd/nscd_getgr_r.c: Likewise.
8907 * nscd/nscd_getpw_r.c: Likewise.
8908 * nscd/nscd_getserv_r.c: Likewise.
8909 * posix/getopt_init.c: Likewise.
8910 * posix/wordexp.c: Likewise.
8911 * stdio-common/_itoa.c: Likewise.
8912 * stdio-common/printf_fphex.c: Likewise.
8913 * stdio-common/vfprintf.c: Likewise.
8914 * string/_strerror.c: Likewise.
8915 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8916 * sysdeps/i386/i686/hp-timing.h: Likewise.
8917 * sysdeps/mach/_strerror.c: Likewise.
8918 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8919 * sysdeps/mach/hurd/sethostid.c: Likewise.
8920 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8921 * sysdeps/mach/xpg-strerror.c: Likewise.
8922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8923 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8924 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8925 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8926 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8927 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8928 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8929 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8930 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8931 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8933 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8934 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8935 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8936 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8937 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8938 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8939 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8940 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8941 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8944 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8946 * stdio-common/_itoa.h: Moved to ...
8947 * sysdeps/generic/_itoa.h: Here.
8949 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8951 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8952 instead of "_itoa.h" and "_itowa.h".
8953 * stdio-common/vfprintf.: Likewise.
8955 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8957 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8959 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8960 (__signbit): Likwise.
8964 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8966 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8969 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8971 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8972 OVERFLOW_EXCEPTION_OK.
8973 * math/libm-test.inc ("Philosophy"): Update comment about
8975 (OVERFLOW_EXCEPTION): Define.
8976 (OVERFLOW_EXCEPTION_OK): Likewise.
8977 (INVALID_EXCEPTION_OK): Renumber.
8978 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8979 (IGNORE_ZERO_INF_SIGN): Likewise.
8980 (test_exceptions): Handle FE_OVERFLOW.
8981 (exp10_test): Expect overflow exceptions.
8982 (exp2_test): Likewise.
8983 (expm1_test): Likewise.
8984 (nextafter_test): Likewise.
8985 (pow_test): Likewise.
8986 (scalbn_test): Likewise.
8987 (scalbln_test): Likewise.
8989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8991 * sysdeps/x86_64/bits/atomic.h
8992 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8994 (atomic_exchange_acq): Likewise.
8995 (__arch_exchange_and_add_body): Likewise.
8996 (__arch_add_body): Likewise.
8997 (atomic_add_negative): Likewise.
8998 (atomic_add_zero): Likewise.
9000 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9002 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9003 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9007 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9008 Check __x86_64__ instead of __WORDSIZE.
9010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9012 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9014 2012-03-19 David S. Miller <davem@davemloft.net>
9016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9018 * sysdeps/sparc/fpu/fenv_private.h: New file.
9019 * sysdeps/sparc/fpu/math_private.h: Use it.
9020 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9022 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9023 (libc_feholdexcept_setroundl): Remove.
9024 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9026 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9027 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9031 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9032 int64_t instead of long int.
9033 (INSERT_WORDS64): Likwise.
9035 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9037 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9038 _Unwind_GetCFA return to _Unwind_Ptr first.
9040 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9043 * math/s_clog.c: Include <float.h>.
9044 (__clog): Scale large or subnormal inputs.
9045 * math/s_clogf.c: Likewise.
9046 * math/s_clogl.c: Likewise.
9047 * math/s_clog10.c: Include <float.h>.
9048 (M_LOG10_2): Define.
9049 (__clog10): Scale large or subnormal inputs.
9050 * math/s_clog10f.c: Likewise.
9051 * math/s_clog10l.c: Likewise.
9052 * math/libm-test.inc (clog_test): Add more tests.
9053 (clog10_test): Likewise.
9054 * sysdeps/i386/fpu/libm-test-ulps: Update.
9055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9060 * math/libm-test.inc (atan2_test): Add another test.
9062 * Makerules (common-objdir-compile): Remove.
9063 * sysdeps/unix/Makefile (config-generated): Do not add
9064 $(unix-generated) to variable.
9065 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9066 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9068 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9070 [generic bits/local_lim.h] (before-compile): Do not append to
9072 [generic bits/local_lim.h] (common-generated): Likewise.
9073 [generic sys/param.h] (before-compile): Do not append to variable.
9074 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9075 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9076 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9077 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9079 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9080 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9081 [generic sys/param.h] ($(addprefix
9082 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9083 [generic sys/param.h] (common-generated): Do not append to
9085 [generic sys/param.h] (sysdep_headers): Likewise.
9086 [generic bits/errno.h] (before-compile): Do not append to
9088 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9090 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9091 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9092 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9093 [generic bits/errno.h] (common-generated): Do not append to
9095 [generic bits/ioctls.h] (before-compile): Do not append to
9097 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9099 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9100 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9101 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9103 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9104 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9105 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9106 [generic bits/ioctls.h] (common-generated): Do not append to
9108 [generic sys/syscall.h] (syscall.h): Remove variable.
9109 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9111 [generic sys/syscall.h] (before-compile): Do not append to
9113 [generic sys/syscall.h] (common-generated): Likewise.
9114 * sysdeps/unix/errnos-tmpl.c: Remove file.
9115 * sysdeps/unix/errnos.awk: Likewise.
9116 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9117 * sysdeps/unix/ioctls.awk: Likewise.
9118 * sysdeps/unix/mk-local_lim.c: Likewise.
9119 * sysdeps/unix/snarf-ioctls: Likewise.
9121 2012-03-19 Richard Henderson <rth@twiddle.net>
9123 * sysdeps/i386/fpu/fenv_private.h: New file.
9124 * sysdeps/i386/fpu/math_private.h: Use it.
9125 (math_opt_barrier, math_force_eval): Remove.
9126 (libc_feholdexcept_setround_53bit): Remove.
9127 (libc_feupdateenv_53bit): Remove.
9128 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9129 (math_opt_barrier, math_force_eval): Remove.
9130 (libc_feholdexcept): Remove.
9131 (libc_feholdexcept_setround): Remove.
9132 (libc_fetestexcept, libc_fesetenv): Remove.
9133 (libc_feupdateenv_test): Remove.
9134 (libc_feupdateenv, libc_feholdsetround): Remove.
9135 (libc_feresetround): Remove.
9137 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9138 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9140 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9141 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9142 (libc_feupdateenv_testl): New.
9143 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9144 (libc_feupdateenv_testf): New.
9145 (libc_feupdateenv): Use libc_feupdateenv_test.
9146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9149 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9150 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9151 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9152 (libc_feresetround_noex): New.
9153 (libc_feresetround_noexf): New.
9154 (libc_feresetround_noexl): New.
9155 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9156 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9157 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9158 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9163 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9165 SET_RESTORE_ROUND_NOEX.
9166 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9167 SET_RESTORE_ROUND_NOEXF.
9168 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9169 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9170 (libc_feholdsetroundf): New.
9171 (libc_feresetround, libc_feresetroundf): New.
9173 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9174 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9175 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9177 * sysdeps/generic/math_private.h: Include <fenv.h>.
9178 (default_libc_feholdexcept): New.
9179 (default_libc_feholdexcept_setround): New.
9180 (default_libc_fesetenv, default_libc_feupdateenv): New.
9181 (libc_feholdexcept): Only define if undefined.
9182 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9183 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9184 (libc_feholdexcept_setroundl): Likewise.
9185 (libc_feholdexcept_setround_53bit): Likewise.
9186 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9187 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9188 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9189 (libc_feupdateenv_53bit): Likewise.
9190 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9191 (libc_feholdexcept): Convert from macro to inline function.
9192 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9193 (libc_fesetenv, libc_feupdateenv): Likewise.
9195 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9196 not previously defined.
9197 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9198 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9199 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9201 * sysdeps/ieee754/flt-32/math_private.h: New file.
9202 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9203 math_private.h below SET_FLOAT_WORD.
9204 (__isnan, __isinf_ns, __finite): Remove.
9205 (__isnanf, __isinf_nsf, __finitef): Remove.
9207 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9211 2012-03-17 David S. Miller <davem@davemloft.net>
9214 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9217 2012-03-16 David S. Miller <davem@davemloft.net>
9219 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9223 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9225 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9226 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9227 sysdep_routines when subdir is sysvipc.
9228 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9231 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9235 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9238 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9240 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9241 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9242 (__lround): Renamed to ...
9243 (__llround): This. Replace long int with long long int.
9244 Define lround functions as aliases of llround functions.
9245 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9247 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9249 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9250 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9251 adresses to uintptr_t. Replace "long int" and "unsigned long
9252 int" with "greg_t" on va_arg.
9254 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9256 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9257 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9259 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9260 Move e_machine check before EI_CLASS check. Handle x32
9261 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9262 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9263 SKIP_EM_IA_64 and include
9264 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9266 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9267 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9268 (add_system_dir): New macro.
9270 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9271 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9273 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9284 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9286 * math/w_j0f.c (j0f): Likewise.
9288 * math/w_j0l.c (__j0l): Likewise.
9290 * math/w_j1.c (j1): Likewise.
9292 * math/w_j1f.c (j1f): Likewise.
9294 * math/w_j1l.c (__j1l): Likewise.
9296 * math/w_jn.c (jn): Likewise.
9298 * math/w_jnf.c (jnf): Likewise.
9300 * math/w_jnl.c (__jnl): Likewise.
9302 * math/libm-test.inc (j0_test): Add more tests.
9303 (j1_test): Likewise.
9304 (jn_test): Likewise. Add trailing semicolon to existing test.
9305 (y0_test): Likewise.
9306 (y1_test): Likewise.
9307 * sysdeps/i386/fpu/libm-test-ulps: Update.
9308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9313 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9314 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9316 (__tanl): Set errno for infinite argument.
9317 * sysdeps/i386/fpu/mptan.c: Remove.
9318 * sysdeps/i386/fpu/s_tan.S: Likewise.
9319 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9320 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9321 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9322 * math/libm-test.inc (tan_test): Add more tests and enable more
9323 tests for double and long double.
9324 * sysdeps/i386/fpu/libm-test-ulps: Update.
9325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9327 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9329 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9330 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9332 2012-03-16 Roland McGrath <roland@hack.frob.com>
9334 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9335 * configure.in: Use it for both main tree and add-ons.
9336 * configure: Regenerated.
9338 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9340 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9342 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9348 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9349 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9354 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9357 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9358 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9359 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9360 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9361 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9362 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9363 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9364 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9365 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9366 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9367 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9368 * math/libm-test.inc (cos_test): Add more tests and enable more
9369 tests for long double.
9370 (sin_test): Likewise.
9371 (sincos_test): Likewise.
9372 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375 2012-03-16 David S. Miller <davem@davemloft.net>
9377 * sysdeps/sparc/fpu/math_private.h: New file.
9379 2012-03-15 David S. Miller <davem@davemloft.net>
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9395 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9396 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9398 * sysdeps/sparc/sparc-ifunc.h: New file.
9399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9444 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9446 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9450 2012-03-15 Andreas Jaeger <aj@suse.de>
9453 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9454 ieee754/flt-32 implementation for sin, cos and sincos.
9455 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9456 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9457 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9458 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9459 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9460 ieee754/flt-32 implementation for tan.
9462 * math/libm-test.inc (cos_test): Enable some large input tests for
9464 (sin_test): Likewise.
9465 (sincos_test): Likewise.
9466 (tan_test): Add tests for large input.
9468 * sysdeps/i386/fpu/libm-test-ulps: Update.
9470 2012-03-15 Andreas Jaeger <aj@suse.de>
9473 * math/libm-test.inc (cos_test): Add more test cases.
9474 (sin_test): Likewise.
9475 (sincos_test): Likewise.
9477 2012-03-15 Andreas Jaeger <aj@suse.de>
9480 * math/libm-test.inc (cos_test): Add a test case for large input
9482 (sin_test): Likewise.
9483 (sincos_test): Likewise.
9485 2012-03-15 Andreas Jaeger <aj@suse.de>,
9486 Joseph Myers <joseph@codesourcery.com>
9489 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9490 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9491 * sysdeps/i386/fpu/branred.c: Likewise.
9492 * sysdeps/i386/fpu/dosincos.c: Likewise.
9493 * sysdeps/i386/fpu/mpa.c: Likewise.
9494 * sysdeps/i386/fpu/s_cos.S: Likewise.
9495 * sysdeps/i386/fpu/s_sin.S: Likewise.
9496 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9497 * sysdeps/i386/fpu/sincos32.c: Likewise.
9499 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9501 (libc_feupdateenv_53bit): Define.
9502 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9504 (libc_feupdateenv_53bit): Define.
9506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9507 53 bit (without extend i386 double precision).
9509 * math/libm-test.inc (sincos_test): Add tests for large input.
9513 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9515 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9519 2012-03-15 David S. Miller <davem@davemloft.net>
9521 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9522 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9523 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9524 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9549 fmin/fmax sysdep routines.
9550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9552 2012-03-14 David S. Miller <davem@davemloft.net>
9554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9631 * sysdeps/sparc/configure.in: New file.
9632 * sysdeps/sparc/configure: Generate.
9633 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9634 * configure: Regenerate.
9635 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9636 * config.make.in (have-as-vis3): New.
9637 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9638 available use -Av9d instead of -Av9a.
9639 * sysdeps/sparc/sparc64/Makefile: Likewise.
9640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9655 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9656 fzeros/fnegs to load 0x80000000 into a float register instead of
9658 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9660 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9664 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9665 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9666 ($(inst_includedir)/bits/syscall.h): Remove rule.
9667 ($(objpfx)bits/syscall.d): Include instead of
9668 $(objpfx)syscall-list.d.
9669 (generated): Change syscall-list.h and syscall-list.d to
9670 bits/syscall.h and bits/syscall.d.
9672 2012-03-14 Roland McGrath <roland@hack.frob.com>
9675 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9677 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9680 * math/s_csqrt.c: Include <float.h>.
9681 (__csqrt): Scale large or subnormal inputs.
9682 * math/s_csqrtf.c: Likewise.
9683 * math/s_csqrtl.c: Likewise.
9684 * math/libm-test.inc (csqrt_test): Add more tests.
9685 * sysdeps/i386/fpu/libm-test-ulps: Update.
9686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9689 * math/libm-test.inc (hypot_test): Add more tests.
9691 2012-03-13 David S. Miller <davem@davemloft.net>
9694 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9695 double-precision for the calculation instead of scaling.
9697 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9699 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9700 manipulate bits before adding and subtracting TWO52[sx].
9701 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9704 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9706 2012-03-13 David S. Miller <davem@davemloft.net>
9708 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9709 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9711 rtld-global-offsets.h
9712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9714 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9717 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9719 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9720 'err' in the ifdef scope in which it is actually used.
9722 * nss/nss_db/db-init.c: Include string.h
9724 2012-03-12 David S. Miller <davem@davemloft.net>
9726 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9727 masking out of the most significant byte of random value used.
9728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9729 Fix coding style in previous change.
9731 * sysdeps/unix/sysv/linux/kernel-features.h
9732 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9733 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9735 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9738 2012-03-11 David S. Miller <davem@davemloft.net>
9740 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9741 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9743 for 'resultvar' otherwise things get truncated on 64-bit.
9745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9746 Fix masking out of the most significant byte of random value used.
9748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9750 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9754 2012-03-09 David S. Miller <davem@davemloft.net>
9756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9757 variables with appropriate CPP guards.
9758 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9759 frame pointer, not the stack pointer. Correct layout comments. Fix test
9760 on resulting framesize and the management of the outregs buffer for pltexit.
9761 Preserve floating point return values across _dl_call_pltexit call.
9762 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9763 framesize and the management of the outregs buffer for pltexit.
9764 Preserve floating point return values across _dl_call_pltexit
9766 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9767 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9768 (print_exit): Fix format string for return register value.
9770 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9772 * sunrpc/Makefile (others): Add rpcgen.
9773 ($(objpfx)rpcgen): Remove special build rule and dependency on
9775 * sunrpc/rpcgen.c: New file.
9777 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9780 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9781 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9782 * sysdeps/i386/crti.S: Likewise.
9783 * sysdeps/i386/crtn.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9785 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9786 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9787 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9788 * sysdeps/sh/crti.S: Likewise.
9789 * sysdeps/sh/crtn.S: Likewise.
9790 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9793 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9795 * locale/programs/locfile-kw.gperf: Likewise.
9796 * locale/programs/charmap-kw.h: Regenerated.
9797 * locale/programs/locfile-kw.h: Likewise.
9800 * intl/plural.y: Replace FSF snail mail address with URL.
9801 * intl/plural.c: Regenerated.
9803 2012-03-09 Richard Henderson <rth@twiddle.net>
9805 * include/math_private.h: Remove file.
9806 * math/math_private.h: Move file ...
9807 * sysdeps/generic/math_private.h: ... here.
9809 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9810 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9811 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9813 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9814 and <math_private.h>.
9815 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9816 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9817 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9818 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9819 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9840 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9841 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9845 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9847 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9848 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9849 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9850 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9852 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9859 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9861 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9862 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9863 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9864 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9865 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9866 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9867 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9868 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9869 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9871 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9872 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9873 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9876 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9881 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9882 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9903 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9904 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9905 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9906 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9908 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9909 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9910 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9915 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9916 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9917 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9918 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9919 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9920 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9921 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9922 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9927 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9928 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9929 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9931 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9932 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9933 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9935 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9936 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9938 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9940 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9942 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9944 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9945 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9946 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9947 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9948 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9949 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9951 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9953 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9955 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9956 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9958 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9959 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9960 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9961 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9962 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9963 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9964 * sysdeps/ieee754/k_standard.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9992 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9996 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9998 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10041 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10049 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10050 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10053 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10069 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10080 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10081 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10092 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10096 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10097 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10098 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10102 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10104 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10106 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10113 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10114 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10115 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10125 * sysdeps/ieee754/s_lib_version.c: Likewise.
10126 * sysdeps/ieee754/s_matherr.c: Likewise.
10127 * sysdeps/ieee754/s_signgam.c: Likewise.
10128 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10129 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10131 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10133 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10134 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10135 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10136 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10137 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10138 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10139 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10140 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10142 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10143 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10145 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10150 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10152 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10153 * sunrpc/rpc_main.c: Likewise.
10154 * sunrpc/rpc_svcout.c: Likewise.
10156 2012-03-09 David S. Miller <davem@davemloft.net>
10158 * include/math_private.h: New file.
10160 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10162 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10163 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10164 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10165 from <bits/socket_type.h>.
10166 (enum __socket_type): Don't define here.
10167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10169 bits/socket_type.h.
10172 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10173 checking __USE_GNU.
10175 * Makerules ($(inst_includedir)/%.h): New rule.
10176 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10177 (install-others): Remove variable setting.
10178 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10180 2012-03-08 Richard Henderson <rth@twiddle.net>
10182 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10183 from macro to inline function; merge with the
10184 !__LIBC_INTERNAL_MATH_INLINES version.
10185 (__ieee754_sqrtf): Likewise.
10187 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10188 to inline function.
10189 (__rintf, __floor, __floorf): Likewise.
10191 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10192 macro to inline function.
10193 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10195 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10196 not <math/math_private.h>.
10198 2012-03-08 David S. Miller <davem@davemloft.net>
10200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10202 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10204 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10206 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10208 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10209 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10211 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10213 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10214 be defined individually, they must be defined as a block. Define
10215 S for printing a string instead of hidint the different by using a
10216 macro for adding the 'l'.
10217 * stdio-common/tst-fphex-wide.c: Adjust.
10219 2012-03-07 Marek Polacek <polacek@redhat.com>
10221 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10223 2012-03-08 Marek Polacek <polacek@redhat.com>
10226 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10227 * stdio-common/tst-fphex.c: Define a few macros to make the
10228 test reusable. Use them.
10229 * stdio-common/tst-fphex-wide.c: New file.
10231 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10234 * manual/macros.texi (gnusystems): New macro.
10235 (nongnusystems): Likewise.
10236 (gnulinuxhurdsystems): Likewise.
10237 (gnuhurdsystems): Likewise..
10238 (gnulinuxsystems): Likewise.
10239 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10240 variants of the GNU system, not "GNU system".
10241 * manual/conf.texi: Likewise.
10242 * manual/errno.texi: Likewise. Update example of errno macro
10244 * manual/filesys.texi: Likewise.
10245 (getumask): Document as specific to GNU/Hurd.
10246 * manual/install.texi: Likewise. Reword some references to
10248 * manual/intro.texi: Likewise.
10249 * manual/io.texi: Likewise.
10250 (File Name Portability): Detail which constraints are inapplicable
10251 to all GNU systems and which are only inapplicable to GNU/Hurd.
10252 * manual/job.texi: Likewise.
10253 * manual/llio.texi: Likewise.
10254 (O_NOCTTY): Document as present on GNU/Linux.
10255 * manual/maint.texi: Likewise.
10256 * manual/memory.texi: Likewise.
10257 * manual/pattern.texi: Likewise.
10258 * manual/pipe.texi: Likewise.
10259 * manual/process.texi: Likewise.
10260 * manual/resource.texi: Likewise.
10261 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10263 * manual/setjmp.texi: Likewise.
10264 * manual/signal.texi: Likewise.
10265 * manual/startup.texi: Likewise.
10266 * manual/stdio.texi: Likewise.
10267 * manual/terminal.texi: Likewise.
10268 (ONLCR): Document as POSIX.
10269 (OXTABS): Document availability on GNU/Linux as XTABS.
10270 (ONOEOT): Document availability separately from other bits.
10271 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10272 * manual/time.texi: Likewise.
10273 * manual/users.texi: Likewise.
10274 * INSTALL: Regenerated.
10275 * sysdeps/gnu/errlist.c: Regenerated.
10277 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10278 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10279 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10281 * configure: Regenerated.
10283 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10285 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10286 default includes instead of AC_HEADER_CHECK.
10287 * sysdeps/i386/configure: Regenerated.
10290 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10291 * math/s_cacoshf.c (__cacoshf): Likewise.
10292 * math/s_cacoshl.c (__cacoshl): Likewise.
10293 * math/s_casinh.c (__casinh): Set signs of result from argument.
10294 * math/s_casinhf.c (__casinhf): Likewise.
10295 * math/s_casinhl.c (__casinhl): Likewise.
10296 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10297 (casinh_test): Add more tests.
10298 * sysdeps/i386/fpu/libm-test-ulps: Update.
10299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10301 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10303 * po/zh_TW.po: Update from translation team.
10305 * login/Makefile (distribute): Remove variable.
10306 * catgets/Makefile: Likewise.
10307 * mach/Makefile: Likewise.
10308 * malloc/Makefile: Likewise.
10309 * misc/Makefile: Likewise.
10310 * iconv/Makefile: Likewise.
10311 * nscd/Makefile: Likewise.
10312 * hurd/Makefile: Likewise.
10313 * manual/Makefile: Likewise.
10314 * locale/Makefile: Likewise.
10315 * intl/Makefile: Likewise.
10316 * conform/Makefile: Likewise.
10317 * nss/Makefile: Likewise.
10318 * time/Makefile: Likewise.
10319 * soft-fp/Makefile: Likewise.
10320 * dirent/Makefile: Likewise.
10321 * gmon/Makefile: Likewise.
10322 * po/Makefile: Likewise.
10323 * rt/Makefile: Likewise.
10324 * socket/Makefile: Likewise.
10325 * math/Makefile: Likewise.
10326 * signal/Makefile: Likewise.
10327 * debug/Makefile: Likewise.
10328 * elf/Makefile: Likewise.
10329 * timezone/Makefile: Likewise.
10330 * stdlib/Makefile: Likewise.
10331 * iconvdata/Makefile: Likewise.
10332 * sunrpc/Makefile: Likewise.
10333 * io/Makefile: Likewise.
10334 * argp/Makefile: Likewise.
10335 * inet/Makefile: Likewise.
10336 * hesiod/Makefile: Likewise.
10337 * grp/Makefile: Likewise.
10338 * csu/Makefile: Likewise.
10339 * wctype/Makefile: Likewise.
10340 * crypt/Makefile: Likewise.
10341 * libio/Makefile: Likewise.
10342 * string/Makefile: Likewise.
10343 * nis/Makefile: Likewise.
10344 * resolv/Makefile: Likewise.
10345 * stdio-common/Makefile: Likewise.
10346 * wcsmbs/Makefile: Likewise.
10347 * dlfcn/Makefile: Likewise.
10348 * posix/Makefile: Likewise.
10351 * timezone/Makefile: Don't install timezone files, just the programs
10354 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10356 * nss/databases.def: Add missing gshadow entry.
10358 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10360 2012-03-06 Marek Polacek <polacek@redhat.com>
10363 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10364 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10365 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10366 * stdio-common/tst-long-dbl-fphex.c: New file.
10368 2012-03-06 David S. Miller <davem@davemloft.net>
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10371 (set_obp_int): New function.
10372 (get_obp_int): New function.
10373 (__get_clockfreq_via_dev_openprom): Likewise.
10374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10375 Avoid unused variable warnings on 'val' and use builtin_expect.
10376 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10378 (INLINE_CLONE_SYSCALL): Likewise.
10380 2012-03-05 David S. Miller <davem@davemloft.net>
10382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10384 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10389 only for |x| >= 40.
10390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10392 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10395 Replace gettimeofday with __vdso_gettimeofday.
10397 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10398 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10399 __vdso_clock_gettime and __vdso_getcpu.
10401 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10402 time with __vdso_time.
10404 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10406 * manual/lang.texi (size_t): Note types to which size_t may be
10407 equivalent with the GNU C Library, but do not describe when
10408 differences between them are significant.
10410 2012-03-05 Andreas Jaeger <aj@suse.de>
10412 * sysdeps/i386/fpu/libm-test-ulps: Update.
10414 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10417 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10418 (__ieee754_pow): Save and restore rounding mode and use
10419 round-to-nearest for main computations.
10420 * math/libm-test.inc (pow_test_tonearest): New function.
10421 (pow_test_towardzero): Likewise.
10422 (pow_test_downward): Likewise.
10423 (pow_test_upward): Likewise.
10424 (main): Call the new functions.
10425 * sysdeps/i386/fpu/libm-test-ulps: Update.
10426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10429 * math/libm-test.inc (cosh_test_tonearest): New function.
10430 (cosh_test_towardzero): Likewise.
10431 (cosh_test_downward): Likewise.
10432 (cosh_test_upward): Likewise.
10433 (sinh_test_tonearest): Likewise.
10434 (sinh_test_towardzero): Likewise.
10435 (sinh_test_downward): Likewise.
10436 (sinh_test_upward): Likewise.
10437 (main): Call the new functions.
10438 * sysdeps/i386/fpu/libm-test-ulps: Update.
10439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441 2012-03-05 Tom de Vries <tom@codesourcery.com>
10443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10444 default stack guard is set in last bytes.
10445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10447 2012-03-05 Kees Cook <keescook@chromium.org>
10449 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10452 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10453 possibly allocate from heap instead of stack.
10454 * stdio-common/bug-vfprintf-nargs.c: New file.
10455 * stdio-common/Makefile (tests): Add nargs overflow test.
10457 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10461 2012-03-03 Marek Polacek <polacek@redhat.com>
10463 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10464 * math/math_private.h: Likewise.
10465 * stdlib/tst-strtod.c: Likewise.
10466 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10467 * sysdeps/x86_64/bits/atomic.h: Likewise.
10469 2012-03-02 David S. Miller <davem@davemloft.net>
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10475 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10476 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10477 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10478 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10480 2012-03-02 Roland McGrath <roland@hack.frob.com>
10483 * manual/examples/README: New file, says the example source files
10484 can be used under GPL>=2.
10485 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10486 line containing just "*/".
10487 * manual/examples/add.c: Add copyright header (GPL>=2).
10488 * manual/examples/argp-ex1.c: Likewise.
10489 * manual/examples/argp-ex2.c: Likewise.
10490 * manual/examples/argp-ex3.c: Likewise.
10491 * manual/examples/argp-ex4.c: Likewise.
10492 * manual/examples/atexit.c: Likewise.
10493 * manual/examples/db.c: Likewise.
10494 * manual/examples/dir.c: Likewise.
10495 * manual/examples/dir2.c: Likewise.
10496 * manual/examples/execinfo.c: Likewise.
10497 * manual/examples/filecli.c: Likewise.
10498 * manual/examples/filesrv.c: Likewise.
10499 * manual/examples/fmtmsgexpl.c: Likewise.
10500 * manual/examples/genpass.c: Likewise.
10501 * manual/examples/inetcli.c: Likewise.
10502 * manual/examples/inetsrv.c: Likewise.
10503 * manual/examples/isockad.c: Likewise.
10504 * manual/examples/longopt.c: Likewise.
10505 * manual/examples/memopen.c: Likewise.
10506 * manual/examples/memstrm.c: Likewise.
10507 * manual/examples/mkfsock.c: Likewise.
10508 * manual/examples/mkisock.c: Likewise.
10509 * manual/examples/mygetpass.c: Likewise.
10510 * manual/examples/pipe.c: Likewise.
10511 * manual/examples/popen.c: Likewise.
10512 * manual/examples/rprintf.c: Likewise.
10513 * manual/examples/search.c: Likewise.
10514 * manual/examples/select.c: Likewise.
10515 * manual/examples/setjmp.c: Likewise.
10516 * manual/examples/sigh1.c: Likewise.
10517 * manual/examples/sigusr.c: Likewise.
10518 * manual/examples/stpcpy.c: Likewise.
10519 * manual/examples/strdupa.c: Likewise.
10520 * manual/examples/strftim.c: Likewise.
10521 * manual/examples/strncat.c: Likewise.
10522 * manual/examples/subopt.c: Likewise.
10523 * manual/examples/swapcontext.c: Likewise.
10524 * manual/examples/termios.c: Likewise.
10525 * manual/examples/testopt.c: Likewise.
10526 * manual/examples/testpass.c: Likewise.
10527 * manual/examples/timeval_subtract.c: Likewise.
10530 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10532 * manual/timeval_subtract.c.texi: ... here, new file.
10534 2012-03-02 David S. Miller <davem@davemloft.net>
10536 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10538 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10541 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10542 (__sin): Save and restore rounding mode and use round-to-nearest
10543 for all computations.
10544 (__cos): Save and restore rounding mode and use round-to-nearest
10545 for all computations.
10546 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10548 (tan): Save and restore rounding mode and use round-to-nearest for
10550 * math/libm-test.inc (cos_test_tonearest): New function.
10551 (cos_test_towardzero): Likewise.
10552 (cos_test_downward): Likewise.
10553 (cos_test_upward): Likewise.
10554 (sin_test_tonearest): Likewise.
10555 (sin_test_towardzero): Likewise.
10556 (sin_test_downward): Likewise.
10557 (sin_test_upward): Likewise.
10558 (tan_test_tonearest): Likewise.
10559 (tan_test_towardzero): Likewise.
10560 (tan_test_downward): Likewise.
10561 (tan_test_upward): Likewise.
10562 (main): Call the new functions.
10563 * sysdeps/i386/fpu/libm-test-ulps: Update.
10564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10567 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10568 small n, then large n, before computing and testing k+n.
10569 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10574 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10575 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10582 * math/libm-test.inc (scalbn_test): Add more tests.
10583 (scalbln_test): Likewise.
10585 * manual/filesys.texi (mode_t): Describe constraints on size and
10586 signedness, not exact equivalence to a particular type.
10588 (ino64_t): Likewise.
10590 (nlink_t): Likewise.
10591 (blkcnt_t): Likewise.
10592 (blkcnt64_t): Likewise.
10593 * manual/llio.texi (off_t): Likewise.
10596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10597 (__ieee754_exp): Save and restore rounding mode and use
10598 round-to-nearest for all computations.
10599 * math/libm-test.inc (exp_test_tonearest): New function.
10600 (exp_test_towardzero): Likewise.
10601 (exp_test_downward): Likewise.
10602 (exp_test_upward): Likewise.
10603 (main): Call the new functions.
10604 * sysdeps/i386/fpu/libm-test-ulps: Update.
10605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10607 2012-03-01 Chris Demetriou <cgd@google.com>
10609 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10610 have predictable order.
10612 2012-03-01 David S. Miller <davem@davemloft.net>
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10616 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10617 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10618 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10619 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10621 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10622 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10623 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10628 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10629 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10634 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10637 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10640 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10641 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10644 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10645 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10646 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10647 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10653 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10654 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10655 * sysdeps/sparc/elf/configure: Regenerated.
10657 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10659 * configure.in (AS, LD): Require binutils 2.20 or later.
10660 * configure: Regenerated.
10661 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10662 as required minimum version.
10663 * INSTALL: Regenerated.
10667 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10668 before squaring exponent.
10669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10670 bottom long double and 27 bits of top long double before squaring
10672 * math/libm-test.inc (erfc_test): Add more tests.
10673 * sysdeps/i386/fpu/libm-test-ulps: Update.
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10677 2012-03-01 Kai Tietz <ktietz@redhat.com>
10679 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10680 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10681 containing bit-fields.
10682 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10683 * soft-fp/single.h (_FP_UNION_S): Likewise.
10684 * soft-fp/double.h (_FP_UNION_D): Likewise.
10686 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10689 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10690 not include ../strcmp.S.
10691 [USE_AS_STRNCASECMP_L]: Likewise.
10692 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10693 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10694 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10695 (__strncasecmp_l_ia32): Define as alias to
10696 __strncasecmp_l_nonascii.
10699 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10700 * sysdeps/i386/fpu/libm-test-ulps: Update.
10701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10703 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10706 2012-02-29 Jeff Law <law@redhat.com>
10708 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10709 out of bounds read.
10711 2012-02-29 Marek Polacek <polacek@redhat.com>
10714 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10715 * elf/Makefile: Add rules to run tst-unused-dep.out.
10717 2012-02-28 David S. Miller <davem@davemloft.net>
10719 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10720 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10721 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10722 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10723 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10724 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10726 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10728 * math/libm-test.inc (llround_test): Move one test from
10729 lround_test. Use TEST_f_L in moved test.
10730 (lround_test): Move misplaced test to llround_test. Add testcase
10733 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10735 * sysdeps/x86_64/fpu/e_expf.S: New file.
10736 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10738 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10741 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10742 of remain_len that may cause incomplete multi-byte character and
10744 * posix/bug-regex33.c: New file.
10745 * posix/Makefile (tests): Add bug-regex33.
10747 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10749 * manual/macros.texi: New file.
10750 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10751 * manual/libc.texinfo: Include macros.texi.
10752 * manual/creatute.texi: Likewise.
10753 * manual/install.texi: Likewise.
10754 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10755 @glibcadj{} in references to the GNU C Library.
10756 * manual/charset.texi: Likewise.
10757 * manual/conf.texi: Likewise.
10758 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10759 when not using those macros.
10760 * manual/creature.texi: Likewise.
10761 * manual/crypt.texi: Likewise.
10762 * manual/errno.texi: Likewise.
10763 * manual/filesys.texi: Likewise.
10764 * manual/header.texi: Likewise.
10765 * manual/install.texi: Likewise.
10766 * manual/intro.texi: Likewise.
10767 * manual/io.texi: Likewise.
10768 * manual/job.texi: Likewise.
10769 * manual/lang.texi: Likewise.
10770 * manual/libc.texiinfo: Likewise.
10771 * manual/llio.texi: Likewise.
10772 * manual/locale.texi: Likewise.
10773 * manual/maint.texi: Likewise.
10774 * manual/math.texi: Likewise.
10775 * manual/memory.texi: Likewise.
10776 * manual/message.texi: Likewise.
10777 * manual/nss.texi: Likewise.
10778 * manual/pattern.texi: Likewise.
10779 * manual/process.texi: Likewise.
10780 * manual/resource.texi: Likewise.
10781 * manual/search.texi: Likewise.
10782 * manual/setjmp.texi: Likewise.
10783 * manual/signal.texi: Likewise.
10784 * manual/socket.texi: Likewise.
10785 * manual/startup.texi: Likewise.
10786 * manual/stdio.texi: Likewise.
10787 * manual/string.texi: Likewise.
10788 * manual/sysinfo.texi: Likewise.
10789 * manual/syslog.texi: Likewise.
10790 * manual/terminal.texi: Likewise.
10791 * manual/time.texi: Likewise.
10792 * manual/users.texi: Likewise.
10793 * INSTALL: Regenerated.
10794 * NOTES: Regenerated.
10795 * sysdeps/gnu/errlist.c: Regenerated.
10797 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10799 * include/dirent.h: Include <dirstream.h> before
10802 2012-02-28 David S. Miller <davem@davemloft.net>
10804 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10805 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10806 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10807 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10809 2012-02-27 David S. Miller <davem@davemloft.net>
10811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10813 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10814 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10817 frame pointer instead of stack pointer relative arg slot.
10818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10819 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10820 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10822 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10825 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10827 2012-02-27 David S. Miller <davem@davemloft.net>
10829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10835 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10838 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10840 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10841 later. Allow versions 5-9.
10842 * configure: Regenerated.
10843 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10844 required minimum version and 4.6 as recommended version. Do not
10845 mention bugs in GCC 2.7 and 2.8.
10846 * INSTALL: Regenerated.
10848 2012-02-27 David S. Miller <davem@davemloft.net>
10850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10854 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10855 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10856 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10857 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10860 manipulate bits before adding and subtracting TWO112[sx].
10861 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10863 2012-02-27 Roland McGrath <roland@hack.frob.com>
10866 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10867 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10868 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10869 being in POSIX, because they are in 1003.1-2008.
10871 * rt/tst-aio.c: Include <fcntl.h>.
10872 * rt/tst-aio7.c: Likewise.
10873 * rt/tst-aio64.c: Likewise.
10875 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10877 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10879 * manual/install.texi (--with-headers): Describe headers as
10880 interface headers, not private headers.
10881 (Specific advice for GNU/Linux systems): Describe use of headers
10882 from "make headers_install", not private headers from older
10884 * INSTALL: Regenerated.
10885 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10887 * sysdeps/unix/sysv/linux/configure: Regenerated.
10889 * manual/llio.texi (fclean): Remove documentation.
10891 * manual/Makefile (libc-texi-generated): New variable. Include
10893 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10894 $(libc-texi-generated), not duplicated list of files.
10895 (version.texi, stamp-version): New rules.
10896 (realclean): Remove $(libc-texi-generated), not individual files
10897 from that list. Do not remove dir-add.texinfo.
10898 * manual/libc.texinfo: Comment out uses of edition numbers and
10899 references to printed manual. Remove last-updated dates.
10900 (EDITION): Comment out.
10902 (VERSION, UPDATED): Remove.
10903 (version.texi): Include.
10905 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10907 * sysdeps/posix/spawni.c: Include <signal.h>.
10908 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10909 * sysdeps/pthread/aio_fsync.c: Likewise.
10911 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10913 * conform/Makefile (tests): Run only when not cross-compiling and
10914 when fast-check is not defined.
10916 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10917 * conform/data/limits.h-data: Fixes for POSIX2008.
10918 * conform/run-conformtest.sh: Run all tests.
10919 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10921 * include/bits/dlfcn.h: Likewise.
10922 * include/langinfo.h: Likewise.
10923 * include/monetary.h: Likewise.
10924 * include/sys/poll.h: Likewise.
10926 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10928 * posix/spawn.h: Define __need_sigset_t.
10929 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10930 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10931 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10932 to get sigevent_t only.
10933 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10934 only for __USE_GNU.
10935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10937 process_vm_writev only for __USE_GNU.
10938 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10940 * conform/Makefile: For now ignore errors from run-conformtest.
10941 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10942 POSIX to avoid namespace pollution. Don't prepend headers.
10943 * conform/data/aio.h-data: Fixes for POSIX testing.
10944 * conform/data/fcntl.h-data: Likewise.
10945 * conform/data/glob.h-data: Likewise.
10946 * conform/data/grp.h-data: Likewise.
10947 * conform/data/pthread.h-data: Likewise.
10948 * conform/data/pwd.h-data: Likewise.
10949 * conform/data/signal.h-data: Likewise.
10950 * conform/data/spawn.h-data: Likewise.
10951 * conform/data/stdio.h-data: Likewise.
10952 * conform/data/stdlib.h-data: Likewise.
10953 * conform/data/stropts.h-data: Likewise.
10954 * conform/data/sys/mman.h-data: Likewise.
10955 * conform/data/sys/stat.h-data: Likewise.
10956 * conform/data/sys/types.h-data: Likewise.
10957 * conform/data/sys/wait.h-data: Likewise.
10958 * conform/data/time.h-data: Likewise.
10959 * conform/data/unistd.h-data: Likewise.
10960 * conform/data/utime.h-data: Likewise.
10962 * io/sys/stat.h: fchmod was always in POSIX.
10963 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10964 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10965 * rt/aio.h: Define __need_timespec before including <time.h>.
10966 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10967 struct. Add forward declaration of pthread_attr_t and use it in
10969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10971 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10972 always remove CLK_TCK definition.
10974 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10976 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10978 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10980 * conform/run-conformtest.sh: New file.
10981 * conform/Makefile: Run run-conformtest for tests.
10982 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10985 * conform/data/uchar.h-data: New file.
10986 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10987 * conform/data/arpa/inet.h-data: Likewise.
10988 * conform/data/assert.h-data: Likewise.
10989 * conform/data/complex.h-data: Likewise.
10990 * conform/data/cpio.h-data: Likewise.
10991 * conform/data/ctype.h-data: Likewise.
10992 * conform/data/dirent.h-data: Likewise.
10993 * conform/data/dlfcn.h-data: Likewise.
10994 * conform/data/errno.h-data: Likewise.
10995 * conform/data/fcntl.h-data: Likewise.
10996 * conform/data/float.h-data: Likewise.
10997 * conform/data/fmtmsg.h-data: Likewise.
10998 * conform/data/fnmatch.h-data: Likewise.
10999 * conform/data/ftw.h-data: Likewise.
11000 * conform/data/glob.h-data: Likewise.
11001 * conform/data/grp.h-data: Likewise.
11002 * conform/data/iconv.h-data: Likewise.
11003 * conform/data/inttypes.h-data: Likewise.
11004 * conform/data/langinfo.h-data: Likewise.
11005 * conform/data/libgen.h-data: Likewise.
11006 * conform/data/limits.h-data: Likewise.
11007 * conform/data/locale.h-data: Likewise.
11008 * conform/data/math.h-data: Likewise.
11009 * conform/data/monetary.h-data: Likewise.
11010 * conform/data/mqueue.h-data: Likewise.
11011 * conform/data/ndbm.h-data: Likewise.
11012 * conform/data/net/if.h-data: Likewise.
11013 * conform/data/netdb.h-data: Likewise.
11014 * conform/data/netinet/in.h-data: Likewise.
11015 * conform/data/nl_types.h-data: Likewise.
11016 * conform/data/poll.h-data: Likewise.
11017 * conform/data/pthread.h-data: Likewise.
11018 * conform/data/pwd.h-data: Likewise.
11019 * conform/data/regex.h-data: Likewise.
11020 * conform/data/sched.h-data: Likewise.
11021 * conform/data/search.h-data: Likewise.
11022 * conform/data/semaphore.h-data: Likewise.
11023 * conform/data/setjmp.h-data: Likewise.
11024 * conform/data/signal.h-data: Likewise.
11025 * conform/data/spawn.h-data: Likewise.
11026 * conform/data/stdarg.h-data: Likewise.
11027 * conform/data/stdio.h-data: Likewise.
11028 * conform/data/stdlib.h-data: Likewise.
11029 * conform/data/string.h-data: Likewise.
11030 * conform/data/strings.h-data: Likewise.
11031 * conform/data/stropts.h-data: Likewise.
11032 * conform/data/sys/ipc.h-data: Likewise.
11033 * conform/data/sys/mman.h-data: Likewise.
11034 * conform/data/sys/msg.h-data: Likewise.
11035 * conform/data/sys/resource.h-data: Likewise.
11036 * conform/data/sys/select.h-data: Likewise.
11037 * conform/data/sys/sem.h-data: Likewise.
11038 * conform/data/sys/shm.h-data: Likewise.
11039 * conform/data/sys/socket.h-data: Likewise.
11040 * conform/data/sys/stat.h-data: Likewise.
11041 * conform/data/sys/statvfs.h-data: Likewise.
11042 * conform/data/sys/time.h-data: Likewise.
11043 * conform/data/sys/timeb.h-data: Likewise.
11044 * conform/data/sys/times.h-data: Likewise.
11045 * conform/data/sys/types.h-data: Likewise.
11046 * conform/data/sys/uio.h-data: Likewise.
11047 * conform/data/sys/un.h-data: Likewise.
11048 * conform/data/sys/utsname.h-data: Likewise.
11049 * conform/data/sys/wait.h-data: Likewise.
11050 * conform/data/syslog.h-data: Likewise.
11051 * conform/data/tar.h-data: Likewise.
11052 * conform/data/termios.h-data: Likewise.
11053 * conform/data/utime.h-data: Likewise.
11054 * conform/data/utmpx.h-data: Likewise.
11055 * conform/data/varargs.h-data: Likewise.
11056 * conform/data/wchar.h-data: Likewise.
11057 * conform/data/wctype.h-data: Likewise.
11058 * conform/data/wordexp.h-data: Likewise.
11060 * include/stropts.h: New file.
11061 * include/uchar.h: New file.
11062 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11063 * include/assert.h: Likewise.
11064 * include/ctype.h: Likewise.
11065 * include/dirent.h: Likewise.
11066 * include/dlfcn.h: Likewise.
11067 * include/fcntl.h: Likewise.
11068 * include/fnmatch.h: Likewise.
11069 * include/glob.h: Likewise.
11070 * include/grp.h: Likewise.
11071 * include/libio.h: Likewise.
11072 * include/locale.h: Likewise.
11073 * include/math.h: Likewise.
11074 * include/net/if.h: Likewise.
11075 * include/netdb.h: Likewise.
11076 * include/netinet/in.h: Likewise.
11077 * include/pthread.h: Likewise.
11078 * include/pwd.h: Likewise.
11079 * include/regex.h: Likewise.
11080 * include/sched.h: Likewise.
11081 * include/search.h: Likewise.
11082 * include/setjmp.h: Likewise.
11083 * include/signal.h: Likewise.
11084 * include/stdio.h: Likewise.
11085 * include/stdlib.h: Likewise.
11086 * include/string.h: Likewise.
11087 * include/sys/cdefs.h: Likewise.
11088 * include/sys/mman.h: Likewise.
11089 * include/sys/msg.h: Likewise.
11090 * include/sys/resource.h: Likewise.
11091 * include/sys/select.h: Likewise.
11092 * include/sys/socket.h: Likewise.
11093 * include/sys/stat.h: Likewise.
11094 * include/sys/statvfs.h: Likewise.
11095 * include/sys/time.h: Likewise.
11096 * include/sys/times.h: Likewise.
11097 * include/sys/uio.h: Likewise.
11098 * include/sys/utsname.h: Likewise.
11099 * include/sys/wait.h: Likewise.
11100 * include/termios.h: Likewise.
11101 * include/time.h: Likewise.
11102 * include/ulimit.h: Likewise.
11103 * include/unistd.h: Likewise.
11104 * include/utime.h: Likewise.
11105 * include/wchar.h: Likewise.
11106 * include/wctype.h: Likewise.
11107 * include/wordexp.h: Likewise.
11109 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11111 * time/time.h: TIME_UTC must be a macro.
11112 Make timespec_get available for ISO C11 only as well.
11114 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11116 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11117 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11119 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11121 * configure.in: Use -o not -a in test for unsupported multi-arch.
11123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11125 * manual/texinfo.tex: Update to version 2012-01-19.16.
11127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11129 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11131 2012-02-24 Roland McGrath <roland@hack.frob.com>
11134 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11135 * manual/fdl-1.3.texi: New file.
11136 * manual/fdl-1.1.texi: File removed.
11139 * manual/libc.texinfo (FDL_VERSION): New @set.
11140 Use it for mention of FDL in cover text.
11141 (Documentation License): Use it in @include file name.
11143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11144 Roland McGrath <roland@hack.frob.com>
11147 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11148 not LONG_LONG_MAX and LONG_LONG_MIN.
11149 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11150 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11152 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11158 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11159 manipulate bits before adding and subtracting TWO23[sx].
11160 * math/libm-test.inc (nearbyint_test): Add more tests.
11162 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11165 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11166 bits before adding and subtracting TWO23[sx].
11167 * math/libm-test.inc (rint_test): Add more tests.
11168 (rint_test_tonearest): Likewise.
11169 (rint_test_towardzero): Likewise.
11170 (rint_test_downward): Likewise.
11171 (rint_test_upward: Likewise.
11173 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11176 * include/stdc-predef.h: New file. Extracted from features.h.
11177 * include/features.h: Include stdc-predef.h.
11178 * Makefile (headers): Add stdc-predef.h.
11179 * CONFORMANCE (Compiler limitations): Update.
11181 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11183 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11185 2012-02-21 David S. Miller <davem@davemloft.net>
11187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11190 2012-02-20 David S. Miller <davem@davemloft.net>
11192 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11193 using a normal save/restore sequence, rather than allocating a
11194 dummy stack frame just to store a frame pointer and restore.
11195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11199 * manual/install.texi: Fix stray word in line-wrapped comment.
11201 2012-02-20 David S. Miller <davem@davemloft.net>
11203 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11204 both binutils and gcc support GOTDATA.
11206 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11207 "rd %pc" in the PIC register setup sequences.
11209 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11210 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11211 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11212 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11213 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11218 (SYSCALL_ERROR_HANDLER): Likewise.
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11222 (SYSCALL_ERROR_HANDLER): Likewise.
11224 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11225 (HAVE_GCC_GOTDATA): New.
11226 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11227 relocation support in both binutils and gcc.
11228 * sysdeps/sparc/elf/configure: Regenerate.
11230 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11231 * sysdeps/sparc/sparc32/elf/configure: Delete.
11232 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11233 * sysdeps/sparc/sparc64/elf/configure: Delete.
11234 * sysdeps/sparc/elf/configure.in: New file.
11235 * sysdeps/sparc/elf/configure: Generate.
11237 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11238 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11239 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11240 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11241 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11243 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11245 * manual/install.texi: Do not mention specific glibc version
11247 * manual/libc.texinfo (VERSION, UPDATED): Update.
11248 (@copying): Use @copyright{} and range of years.
11250 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11253 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11254 [crti.S not in sysdirs] (generated): Do not append.
11255 [crti.S not in sysdirs] (omit-deps): Likewise.
11256 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11257 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11258 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11259 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11260 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11262 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11263 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11264 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11265 * csu/defs.awk: Remove file.
11266 * sysdeps/generic/initfini.c: Likewise.
11267 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11269 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11274 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11275 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11276 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11279 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11281 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11282 (__EPOLL_PACKED): Define to empty if not defined by
11284 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11290 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11291 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11292 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11293 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11295 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11299 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11301 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11304 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11311 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11313 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11315 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11316 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11318 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11320 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11323 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11325 * math/w_acos.c: Use non-signaling floating-point comparisons.
11326 * math/w_acosf.c: Likewise.
11327 * math/w_acosh.c: Likewise.
11328 * math/w_acoshf.c: Likewise.
11329 * math/w_acoshl.c: Likewise.
11330 * math/w_acosl.c: Likewise.
11331 * math/w_asin.c: Likewise.
11332 * math/w_asinf.c: Likewise.
11333 * math/w_asinl.c: Likewise.
11334 * math/w_atanh.c: Likewise.
11335 * math/w_atanhf.c: Likewise.
11336 * math/w_atanhl.c: Likewise.
11337 * math/w_exp2.c: Likewise.
11338 * math/w_exp2f.c: Likewise.
11339 * math/w_exp2l.c: Likewise.
11340 * math/w_j0.c: Likewise.
11341 * math/w_j0f.c: Likewise.
11342 * math/w_j0l.c: Likewise.
11343 * math/w_j1.c: Likewise.
11344 * math/w_j1f.c: Likewise.
11345 * math/w_j1l.c: Likewise.
11346 * math/w_jn.c: Likewise.
11347 * math/w_jnf.c: Likewise.
11348 * math/w_log.c: Likewise.
11349 * math/w_log10.c: Likewise.
11350 * math/w_log10f.c: Likewise.
11351 * math/w_log10l.c: Likewise.
11352 * math/w_log2.c: Likewise.
11353 * math/w_log2f.c: Likewise.
11354 * math/w_log2l.c: Likewise.
11355 * math/w_logf.c: Likewise.
11356 * math/w_logl.c: Likewise.
11357 * math/w_sqrt.c: Likewise.
11358 * math/w_sqrtf.c: Likewise.
11359 * math/w_sqrtl.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11363 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11364 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11366 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11369 * manual/string.texi (strnlen): Use correct parameter name in
11370 equivalent expression.
11372 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11375 * manual/users.texi (seteuid): Consistently use neweuid for
11378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11381 * manual/nss.texi (Services in the NSS configuration): Correct
11382 list of services in example configuration file.
11384 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11387 * manual/arith.texi: Remove statements about negative zero
11388 behaving identically to zero.
11390 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11393 * manual/install.texi: Do not document upgrading from libc5.
11395 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11398 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11400 2012-02-18 David S. Miller <davem@davemloft.net>
11402 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11403 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11404 %o7 across the call.
11405 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11408 SETUP_PIC_REG_LEAF.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11410 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11411 * sysdeps/sparc/crtn.S: Likewise.
11413 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11415 * aout/Makefile: Remove.
11417 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11420 * manual/examples/argp-ex1.c (main): Format definition in GNU
11422 * manual/examples/argp-ex2.c (main): Likewise.
11423 * manual/examples/argp-ex3.c (main): Likewise.
11424 * manual/examples/argp-ex4.c (main): Likewise.
11425 * manual/examples/longopt.c (main): Use new-style prototype
11427 * manual/examples/strncat.c (main): Specify return type and use
11428 (void) for arguments.
11429 * manual/examples/subopt.c (main): Use char **argv argument.
11431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11434 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11437 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11440 * manual/string.texi (strchr): Change when strchrnul is
11443 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11446 * manual/locale.texi (setlocale): Document LOCPATH.
11448 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11451 * manual/process.texi (execle): Move @dots{} before last argument.
11453 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11456 * manual/charset.texi (Generic Charset Conversion): Fix typo
11457 (LC_TYPE -> LC_CTYPE).
11459 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11462 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11463 (scalbnf): Likewise.
11464 (scalbnl): Likewise.
11465 (scalbln): Likewise.
11466 (scalblnf): Likewise.
11467 (scalblnl): Likewise.
11468 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11469 (vwarnx): Likewise.
11472 * manual/filesys.texi (telldir): Use braces around return type.
11473 * manual/llio.texi (mmap): Add space after comma.
11474 (mmap64): Likewise.
11475 * manual/math.texi (jn): Use @var{} on parameter names.
11481 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11483 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11485 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11486 (sched_get_priority_max): Likewise.
11487 * manual/signal.texi (sigvec): Add space after comma.
11488 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11490 (if_indextoname): Likewise.
11491 (if_freenameindex): Likewise.
11492 (sendto): Use ',' instead of '.' in prototype.
11493 * manual/startup.texi (syscall): Use @dots{} instead of literal
11495 * manual/stdio.texi (__fpending): Separate initial words of
11496 paragraph from @deftypefun line.
11497 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11499 (vsyslog): Use @var{} on parameter names.
11500 * manual/terminal.texi (stty): Use @var{} on parameter names.
11501 * manual/users.texi (getutmp): Use @var{} on parameter names.
11502 (getutmpx): Likewise.
11504 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11507 * manual/stdio.texi (fopen): Fix typos in description of
11510 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11513 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11514 get clock_id definition.
11516 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11519 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11520 (madvise): Cast every argument to void on its own.
11522 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11525 * manual/startup.texi (Exit Status): Fix typo.
11527 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11530 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11531 * manual/examples/argp-ex2.c: Likewise.
11532 * manual/examples/argp-ex3.c: Likewise.
11534 2012-02-16 Richard Henderson <rth@redhat.com>
11536 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11537 * sysdeps/s390/s390-32/initfini.c: Remove.
11538 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11539 * sysdeps/s390/s390-64/initfini.c: Remove.
11541 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11543 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11544 compiler output for sysdeps/generic/initfini.c.
11545 * sysdeps/sh/elf/initfini.c: Remove file.
11547 2012-02-16 David S. Miller <davem@davemloft.net>
11550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11552 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11553 * sysdeps/sparc/crti.S: New file.
11554 * sysdeps/sparc/crtn.S: New file.
11555 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11556 * sysdeps/sparc/sparc64/Makefile: Likewise.
11558 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11561 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11563 2012-02-15 Roland McGrath <roland@hack.frob.com>
11566 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11568 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11569 (write, read, close): Likewise.
11570 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11572 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11574 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11575 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11576 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11577 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11579 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11583 2012-02-14 Marek Polacek <polacek@redhat.com>
11585 * sysdeps/x86_64/crti.S: New file.
11586 * sysdeps/x86_64/crtn.S: New file.
11587 * sysdeps/x86_64/elf/initfini.c: Remove file.
11589 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11591 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11592 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11593 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11594 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11596 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11600 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11602 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11603 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11605 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11607 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11611 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11613 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11614 __feraiseexcept instead of feraiseexcept.
11616 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11617 nanosleep invocations.
11618 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11619 strings, and add error checking for a nanosleep invocations.
11621 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11623 Replace FSF snail mail address with URLs, as per GNU coding standards.
11624 Most of the snail mail addresses were wrong anyway, and omitting
11625 them makes the source code easier to maintain. Almost all of the
11626 changes are to license notices and to locale LC_IDENTIFICATION
11627 addresses, except for this one:
11628 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11629 not its snail mail address.
11631 2012-02-09 Richard Henderson <rth@twiddle.net>
11633 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11634 of kernel-features.h.
11636 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11638 2012-02-08 Marek Polacek <polacek@redhat.com>
11640 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11641 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11642 * sysdeps/gnu/_G_config.h: Likewise.
11643 * sysdeps/generic/_G_config.h: Likewise.
11645 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11647 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11651 * sysdeps/powerpc/powerpc32/crti.S: New file.
11652 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11653 * sysdeps/powerpc/powerpc64/crti.S: New file.
11654 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11656 * Makeconfig (have-initfini): Don't set.
11657 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11658 * configure.in (nopic_initfini): Don't substitute.
11659 * config.h.in (HAVE_INITFINI): Don't #undef.
11660 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11661 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11663 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11665 Support crti.S and crtn.S provided directly by architectures.
11666 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11667 [crti.S in sysdirs] (omit-deps): Likewise.
11668 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11669 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11670 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11671 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11672 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11673 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11674 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11675 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11676 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11677 compiler output for sysdeps/generic/initfini.c.
11678 * sysdeps/i386/elf/Makefile: Remove file.
11679 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11681 2012-02-07 Marek Polacek <polacek@redhat.com>
11683 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11684 * sysdeps/gnu/_G_config.h: Likewise.
11685 * sysdeps/mach/hurd/_G_config.h: Likewise.
11687 2012-02-07 Marek Polacek <polacek@redhat.com>
11689 * math/Makefile (tests): Add tst-CMPLX2.
11690 * math/tst-CMPLX2.c: New file.
11692 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11694 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11696 * math/libm-test.inc (jn_test): Add missing L suffix.
11698 2012-02-06 Marek Polacek <polacek@redhat.com>
11700 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11701 * sysdeps/i386/fpu/e_powf.S: Likewise.
11702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11703 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11705 * sysdeps/i386/fpu/e_pow.S: Likewise.
11706 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11708 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11709 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11710 * sysdeps/i386/fpu/e_log2.S: Likewise.
11711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11712 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11713 * sysdeps/i386/fpu/e_powl.S: Likewise.
11714 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11715 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11716 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11717 * sysdeps/i386/fpu/e_logl.S: Likewise.
11718 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11719 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11720 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11721 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11722 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11723 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11724 * sysdeps/i386/fpu/e_log.S: Likewise.
11725 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11727 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11728 * sysdeps/i386/fpu/e_logf.S: Likewise.
11729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11731 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11732 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11733 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11734 * sysdeps/i386/fpu/e_log10.S: Likewise.
11735 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11737 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11738 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11740 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11741 * sysdeps/i386/asm-syntax.h: Likewise.
11742 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11743 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11745 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11746 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11748 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11749 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11751 * sysdeps/powerpc/sysdep.h: Likewise.
11752 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11755 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11758 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11760 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11762 * sysdeps/i386/sysdep.h: Include <features.h>.
11763 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11766 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11768 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11770 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11773 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11775 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11776 (SETUP_PIC_REG): Use GET_PC_THUNK.
11777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11780 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11782 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11783 for non-PIC compilation.
11784 (SETUP_PIC_REG): Add .p2align directive.
11785 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11786 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11787 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11788 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11789 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11790 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11793 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11794 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11795 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11796 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11797 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11798 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11799 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11800 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11801 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11805 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11806 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11807 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11808 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11811 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11817 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11818 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11819 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11820 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11821 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11822 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11823 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11824 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11825 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11827 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11829 * math/tst-CMPLX.c: Include <stdio.h>.
11831 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11833 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11835 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11836 * sysdeps/sparc/bits/mathdef.h: Likewise.
11838 2012-01-31 Marek Polacek <polacek@redhat.com>
11840 * libio/libio.h: Don't define _PARAMS.
11841 * locale/programs/config.h: Don't define PARAMS.
11842 * stdlib/strtol_l.c: Likewise.
11843 (__strtol_l): Remove PARAMS from the prototype.
11845 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11847 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11848 names. Just use the correct names. Remove unnecessary wrapper
11850 * malloc/arena.c: Likewise.
11851 * malloc/hooks.c: Likewise.
11853 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11854 ARENA_TEST says not to. Simplify test for creation of a new arena.
11855 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11857 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11859 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11861 (update_get_addr): New function.
11862 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11863 GET_ADDR_MODULE parameter.
11865 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11867 * crypt/cert.c: Remove __STDC__ conditionals.
11868 * crypt/crypt-entry.c: Likewise.
11869 * crypt/crypt_util.c: Likewise.
11870 * libio/filedoalloc.c: Likewise.
11871 * libio/fileops.c: Likewise.
11872 * libio/genops.c: Likewise.
11873 * libio/iofclose.c: Likewise.
11874 * libio/iofdopen.c: Likewise.
11875 * libio/iofopen.c: Likewise.
11876 * libio/iofopen64.c: Likewise.
11877 * libio/iogetdelim.c: Likewise.
11878 * libio/iopopen.c: Likewise.
11879 * libio/obprintf.c: Likewise.
11880 * libio/oldfileops.c: Likewise.
11881 * libio/oldiofclose.c: Likewise.
11882 * libio/oldiofdopen.c: Likewise.
11883 * libio/oldiofopen.c: Likewise.
11884 * libio/oldiopopen.c: Likewise.
11885 * libio/wfiledoalloc.c: Likewise.
11886 * libio/wgenops.c: Likewise.
11887 * locale/programs/xmalloc.c: Likewise.
11888 * misc/syslog.c: Likewise.
11889 * stdio-common/xbug.c: Likewise.
11890 * string/memchr.c: Likewise.
11891 * string/memcmp.c: Likewise.
11892 * string/memrchr.c: Likewise.
11893 * string/rawmemchr.c: Likewise.
11894 * sysdeps/posix/getcwd.c: Likewise.
11895 * time/strftime_l.c: Likewise.
11897 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11899 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11900 * config.make.in (config-cflags-sse2avx): Define.
11901 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11904 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11906 * scripts/config.guess: Update from upstream config git repository.
11907 * scripts/config.sub: Likewise.
11909 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11911 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11913 (R_TILEPRO_*, R_TILEGX_*): New macros.
11915 * scripts/firstversions.awk: Fix bug in version range handling.
11917 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11919 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11921 * include/sys/epoll.h: New file.
11922 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11925 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11927 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11928 Avoid unnecessary __WORDSIZE == 64 test.
11929 (fmaxf): Use VEX format if possible.
11934 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11935 * math/math_private.h: Remove libc_fegetround* and
11937 * sysdeps/i386/configure.in: Check for -msse2avx.
11938 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11939 also if SSE2AVX is defined.
11940 Remove libc_fegetround* and libc_fesetround*.
11941 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11942 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11951 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11953 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11955 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11957 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11959 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11962 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11964 * Makeconfig (libm): Define.
11965 * elf/Makefile: Add rules to build and run tst-relsort1.
11966 * elf/tst-relsort1.c: New file.
11967 * elf/tst-relsort1mod1.c: New file.
11968 * elf/tst-relsort1mod2.c: New file.
11970 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11972 * math/s_ldexp.c: Remove __STDC__ conditionals.
11973 * math/s_ldexpf.c: Likewise.
11974 * math/s_ldexpl.c: Likewise.
11975 * math/s_nextafter.c: Likewise.
11976 * math/s_nexttowardf.c: Likewise.
11977 * math/s_significand.c: Likewise.
11978 * math/s_significandf.c: Likewise.
11979 * math/s_significandl.c: Likewise.
11980 * math/w_jnl.c: Likewise.
11981 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11982 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11983 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11984 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11985 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11995 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12002 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12003 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12005 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12006 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12007 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12009 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12012 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12013 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12014 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12015 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12016 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12017 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12018 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12019 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12020 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12021 * sysdeps/ieee754/k_standard.c: Likewise.
12022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12024 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12026 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12039 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12046 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12064 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12070 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12071 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12072 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12089 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12090 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12093 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12099 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12101 * sysdeps/ieee754/s_matherr.c: Likewise.
12102 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12103 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12107 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12109 * crypt/md5.h: Remove __STDC__ conditionals.
12110 * libio/libioP.h: Likewise.
12111 * locale/programs/config.h: Likewise.
12112 * sysdeps/generic/sysdep.h: Likewise.
12113 * sysdeps/i386/asm-syntax.h: Likewise.
12114 * sysdeps/s390/asm-syntax.h: Likewise.
12115 * sysdeps/unix/sysdep.h: Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12121 * libio/libio.h: Remove __STDC__ conditionals.
12122 * malloc/obstack.h: Likewise.
12123 * math/complex.h: Likewise.
12124 * math/math.h: Likewise.
12125 * sysdeps/generic/_G_config.h: Likewise.
12126 * sysdeps/gnu/_G_config.h: Likewise.
12127 * sysdeps/mach/hurd/_G_config.h: Likewise.
12128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12129 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12130 * sysdeps/sparc/bits/mathdef.h: Likewise.
12132 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12135 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12136 Clean up HAS_* macros.
12137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12138 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12148 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12150 * elf/tst-unique3.cc (gets): Remove declaration.
12151 * elf/tst-unique3lib.cc (gets): Likewise.
12152 * elf/tst-unique3lib2.cc (gets): Likewise.
12153 * elf/tst-unique4.cc (gets): Likewise.
12155 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12157 * include/stdio.h: Add C++ protection. Add gets declarations and
12159 * debug/tst-chk1.c: Don't declare gets here.
12160 * stdio-common/tst-gets.c: Likewise.
12162 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12164 * posix/glob: Remove directory.
12166 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12168 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12170 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12172 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12173 of the non-standard EPFNOSUPPORT.
12175 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12177 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12178 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12179 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12181 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12183 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12185 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12187 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12189 * nscd/grpcache.c (cache_addgr): Likewise.
12190 * nscd/hstcache.c (cache_addhst): Likewise.
12191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12192 * nscd/pwdcache.c (cache_addpw): Likewise.
12193 * nscd/servicescache.c (cache_addserv): Likewise.
12195 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12197 * malloc/malloc.c: Various cleanups.
12198 * malloc/hooks.c: Likewise.
12200 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12201 * stdlib/bug-fmtmsg1.c: New file.
12203 * stdlib/fmtmsg.c (init): Add missing unlock.
12204 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12206 2012-01-12 Marek Polacek <polacek@redhat.com>
12208 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12211 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12213 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12214 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12215 macro to ensure uniqueness of label name.
12216 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12217 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12219 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12221 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12224 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12228 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12232 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12233 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12236 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12239 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12240 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12243 * math/bits/math-finite.h: Add ldexp support.
12245 2012-01-10 Marek Polacek <polacek@redhat.com>
12247 * locale/programs/localedef.h (show_archive_content): Add noreturn
12250 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12252 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12254 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12256 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12258 * io/Makefile (headers): Add bits/poll2.h.
12260 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12263 typo #include statement.
12265 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12267 * include/sys/cdefs.h: Define __attribute_alloc_size.
12268 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12269 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12270 * elf/pldd.c: Likewise.
12271 * iconv/iconv_charmap.c: Likewise.
12272 * iconv/iconvconfig.c: Likewise.
12273 * iconv/strtab.c: Likewise.
12274 * locale/programs/locale.c: Likewise.
12275 * locale/programs/localedef.h: Likewise.
12276 * locale/programs/simple-hash.c: Likewise.
12277 * nscd/nscd.h: Likewise.
12278 * nss/makedb.c: Likewise.
12279 * sysdeps/generic/ldconfig.h: Likewise.
12280 * locale/programs/localedef.c: Remove xmalloc prototype.
12281 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12283 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12288 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12290 * math/Makefile (tests): Add tst-CMPLX.
12291 * math/tst-CMPLX.c: New file.
12293 * math/complex.h (CMPLXL): Fix typo.
12295 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12296 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12298 * debug/tst-chk1.c: Add poll and ppoll tests.
12299 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12300 * include/sys/poll.h: Add hidden proto for ppoll.
12301 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12302 * sysdeps/mach/hurd/ppoll.c: Likewise.
12303 * io/ppoll.c: Likewise.
12304 * debug/poll_chk.c: New file.
12305 * debug/ppoll_chk.c: New file.
12306 * include/bits/poll2.h: New file.
12307 * io/bits/poll2.h: New file.
12310 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12312 * configure.in: static is always set to yes. Remove.
12313 * config.make.in: Don't set build-static.
12314 * Makeconfig: Remove use of build-static.
12315 * dlfcn/Makefile: Likewise.
12316 * elf/Makefile: Likewise.
12317 * math/Makefile: Likewise.
12318 * misc/Makefile: Likewise.
12319 * nptl/Makefile: Likewise.
12320 * sysdeps/mach/hurd/Makefile: Likewise.
12322 * configure.in: PWD_P is not used anymore.
12323 * config.make.in: Remove PWD_P entry.
12325 * configure.in: Remove last remnants of RANLIB.
12326 No need to check for signed size_t anymore.
12327 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12329 Remove __builtin_expect test because we require at least gcc 3.4.
12330 * aclocal.m4: Likewise.
12332 * wcsmbs/mbrtoc16.c: Implement using towc function.
12333 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12334 * wcsmbs/wcsmbsload.c: Likewise.
12335 * iconv/gconv_simple.c: Likewise.
12336 * iconv/gconv_int.h: Likewise.
12337 * iconv/gconv_builtin.h: Likewise.
12338 * iconv/iconv_prog.c: Remove CHAR16 handling.
12340 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12342 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12344 * configure.in: Remove --with-elf and --enable-bounded options.
12345 Dont set base_machine for ia64. More non-ELF conditions removed.
12346 Remove testing and setting of leading underscore information.
12347 * config.make.in (build-bounded): Set to no.
12348 * config.h.in: Remove NO_UNDERSCORES entry.
12349 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12351 * csu/start.c: Remove !NO_UNDERSCORE code.
12352 * locale/localeinfo.h: Likewise.
12353 * sysdeps/generic/machine-gmon.h: Likewise.
12354 * sysdeps/generic/sysdep.h: Likewise.
12355 * sysdeps/i386/sysdep.h: Likewise.
12356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12357 * sysdeps/mach/sysdep.h: Likewise.
12358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12360 * sysdeps/sh/sysdep.h: Likewise.
12361 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12362 * sysdeps/unix/i386/sysdep.S: Likewise.
12363 * sysdeps/unix/sparc/start.c: Likewise.
12364 * sysdeps/unix/sparc/sysdep.S: Likewise.
12365 * sysdeps/unix/sparc/sysdep.h: Likewise.
12366 * sysdeps/unix/start.c: Likewise.
12367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12368 * sysdeps/x86_64/sysdep.h: Likewise.
12370 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12373 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12375 * argp/argp-fmtstream.h: Use const instead __const.
12376 * argp/argp.h: Likewise.
12377 * assert/assert.h: Likewise.
12378 * bits/fenv.h: Likewise.
12379 * bits/sched.h: Likewise.
12380 * bits/sigset.h: Likewise.
12381 * bits/sigthread.h: Likewise.
12382 * catgets/nl_types.h: Likewise.
12383 * conform/data/pthread.h-data: Likewise.
12384 * crypt/crypt-private.h: Likewise.
12385 * crypt/crypt.h: Likewise.
12386 * crypt/crypt_util.c: Likewise.
12387 * ctype/ctype.h: Likewise.
12388 * debug/execinfo.h: Likewise.
12389 * debug/mbsnrtowcs_chk.c: Likewise.
12390 * debug/mbsrtowcs_chk.c: Likewise.
12391 * debug/wcsnrtombs_chk.c: Likewise.
12392 * debug/wcsrtombs_chk.c: Likewise.
12393 * debug/wcstombs_chk.c: Likewise.
12394 * dirent/dirent.h: Likewise.
12395 * dlfcn/dlfcn.h: Likewise.
12396 * elf/neededtest4.c: Likewise.
12397 * grp/grp.h: Likewise.
12398 * gshadow/gshadow.h: Likewise.
12399 * iconv/gconv.h: Likewise.
12400 * iconv/gconv_int.h: Likewise.
12401 * iconv/gconv_simple.c: Likewise.
12402 * iconv/iconv.h: Likewise.
12403 * iconv/loop.c: Likewise.
12404 * iconv/skeleton.c: Likewise.
12405 * include/aio.h: Likewise.
12406 * include/aliases.h: Likewise.
12407 * include/argz.h: Likewise.
12408 * include/arpa/inet.h: Likewise.
12409 * include/assert.h: Likewise.
12410 * include/dirent.h: Likewise.
12411 * include/dlfcn.h: Likewise.
12412 * include/execinfo.h: Likewise.
12413 * include/fcntl.h: Likewise.
12414 * include/fenv.h: Likewise.
12415 * include/glob.h: Likewise.
12416 * include/grp.h: Likewise.
12417 * include/libintl.h: Likewise.
12418 * include/mntent.h: Likewise.
12419 * include/netdb.h: Likewise.
12420 * include/pwd.h: Likewise.
12421 * include/rpc/netdb.h: Likewise.
12422 * include/sched.h: Likewise.
12423 * include/search.h: Likewise.
12424 * include/shadow.h: Likewise.
12425 * include/signal.h: Likewise.
12426 * include/stdio.h: Likewise.
12427 * include/stdlib.h: Likewise.
12428 * include/string.h: Likewise.
12429 * include/sys/socket.h: Likewise.
12430 * include/sys/stat.h: Likewise.
12431 * include/sys/statfs.h: Likewise.
12432 * include/sys/statvfs.h: Likewise.
12433 * include/sys/syslog.h: Likewise.
12434 * include/sys/time.h: Likewise.
12435 * include/sys/uio.h: Likewise.
12436 * include/time.h: Likewise.
12437 * include/unistd.h: Likewise.
12438 * include/utmp.h: Likewise.
12439 * include/wchar.h: Likewise.
12440 * include/wctype.h: Likewise.
12441 * inet/aliases.h: Likewise.
12442 * inet/arpa/inet.h: Likewise.
12443 * inet/netinet/ether.h: Likewise.
12444 * inet/netinet/in.h: Likewise.
12445 * intl/libintl.h: Likewise.
12446 * io/bits/fcntl2.h: Likewise.
12447 * io/fcntl.h: Likewise.
12448 * io/ftw.h: Likewise.
12449 * io/sys/poll.h: Likewise.
12450 * io/sys/stat.h: Likewise.
12451 * io/sys/statfs.h: Likewise.
12452 * io/sys/statvfs.h: Likewise.
12453 * io/utime.h: Likewise.
12454 * libio/bits/stdio.h: Likewise.
12455 * libio/bits/stdio2.h: Likewise.
12456 * libio/libio.h: Likewise.
12457 * libio/libioP.h: Likewise.
12458 * libio/stdio.h: Likewise.
12459 * locale/lc-ctype.c: Likewise.
12460 * locale/locale.h: Likewise.
12461 * login/utmp.h: Likewise.
12462 * malloc/arena.c: Likewise.
12463 * malloc/malloc.c: Likewise.
12464 * malloc/malloc.h: Likewise.
12465 * malloc/mcheck.c: Likewise.
12466 * malloc/mtrace.c: Likewise.
12467 * math/bits/mathcalls.h: Likewise.
12468 * math/fenv.h: Likewise.
12469 * math/math_private.h: Likewise.
12470 * misc/bits/error.h: Likewise.
12471 * misc/bits/syslog.h: Likewise.
12472 * misc/err.h: Likewise.
12473 * misc/error.h: Likewise.
12474 * misc/fstab.h: Likewise.
12475 * misc/mntent.h: Likewise.
12476 * misc/regexp.h: Likewise.
12477 * misc/search.h: Likewise.
12478 * misc/sgtty.h: Likewise.
12479 * misc/sys/mman.h: Likewise.
12480 * misc/sys/syslog.h: Likewise.
12481 * misc/sys/uio.h: Likewise.
12482 * misc/sys/xattr.h: Likewise.
12483 * misc/ttyent.h: Likewise.
12484 * nis/rpcsvc/ypclnt.h: Likewise.
12485 * nss/nss.h: Likewise.
12486 * posix/bits/unistd.h: Likewise.
12487 * posix/fnmatch.h: Likewise.
12488 * posix/glob.h: Likewise.
12489 * posix/sched.h: Likewise.
12490 * posix/spawn.h: Likewise.
12491 * posix/sys/wait.h: Likewise.
12492 * posix/unistd.h: Likewise.
12493 * posix/wordexp.h: Likewise.
12494 * pwd/pwd.h: Likewise.
12495 * resolv/netdb.h: Likewise.
12496 * resource/sys/resource.h: Likewise.
12497 * rt/aio.h: Likewise.
12498 * rt/bits/mqueue2.h: Likewise.
12499 * rt/mqueue.h: Likewise.
12500 * shadow/shadow.h: Likewise.
12501 * signal/signal.h: Likewise.
12502 * socket/send.c: Likewise.
12503 * socket/sendto.c: Likewise.
12504 * socket/sys/socket.h: Likewise.
12505 * stdio-common/printf.h: Likewise.
12506 * stdlib/bits/stdlib.h: Likewise.
12507 * stdlib/fmtmsg.h: Likewise.
12508 * stdlib/monetary.h: Likewise.
12509 * stdlib/stdlib.h: Likewise.
12510 * stdlib/ucontext.h: Likewise.
12511 * streams/stropts.h: Likewise.
12512 * string/argz.h: Likewise.
12513 * string/bits/string2.h: Likewise.
12514 * string/string.h: Likewise.
12515 * string/strings.h: Likewise.
12516 * sunrpc/rpc/auth.h: Likewise.
12517 * sunrpc/rpc/auth_des.h: Likewise.
12518 * sunrpc/rpc/clnt.h: Likewise.
12519 * sunrpc/rpc/netdb.h: Likewise.
12520 * sunrpc/rpc/pmap_clnt.h: Likewise.
12521 * sunrpc/rpc/xdr.h: Likewise.
12522 * sysdeps/generic/inttypes.h: Likewise.
12523 * sysdeps/generic/net/if.h: Likewise.
12524 * sysdeps/generic/sys/swap.h: Likewise.
12525 * sysdeps/gnu/net/if.h: Likewise.
12526 * sysdeps/gnu/utmpx.h: Likewise.
12527 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12528 * sysdeps/i386/i486/bits/string.h: Likewise.
12529 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12530 * sysdeps/s390/bits/string.h: Likewise.
12531 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12532 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12533 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12534 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12535 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12536 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12537 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12538 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12539 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12540 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12541 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12542 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12543 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12544 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12545 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12547 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12552 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12553 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12554 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12555 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12556 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12557 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12558 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12559 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12560 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12561 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12562 * sysvipc/sys/ipc.h: Likewise.
12563 * sysvipc/sys/msg.h: Likewise.
12564 * sysvipc/sys/sem.h: Likewise.
12565 * sysvipc/sys/shm.h: Likewise.
12566 * termios/termios.h: Likewise.
12567 * time/sys/time.h: Likewise.
12568 * time/time.h: Likewise.
12569 * wcsmbs/bits/wchar2.h: Likewise.
12570 * wcsmbs/uchar.h: Likewise.
12571 * wcsmbs/wchar.h: Likewise.
12572 * wctype/wctype.h: Likewise.
12575 * Makeconfig: Remove all but ELF support including AIX support.
12576 * Makerules: Likewise.
12577 * config.h.in: Likewise.
12578 * config.make.in: Likewise.
12579 * configure: Likewise.
12580 * configure.in: Likewise.
12581 * csu/Makefile: Likewise.
12582 * csu/version.c: Likewise.
12583 * debug/Makefile: Likewise.
12584 * dlfcn/Makefile: Likewise.
12585 * elf/Makefile: Likewise.
12586 * extra-lib.mk: Likewise.
12587 * iconv/Makefile: Likewise.
12588 * include/libc-symbols.h: Likewise.
12589 * include/shlib-compat.h: Likewise.
12590 * resolv/Makefile: Likewise.
12591 * resolv/res_libc.c: Likewise.
12592 * rt/Makefile: Likewise.
12593 * sysdeps/i386/asm-syntax.h: Likewise.
12594 * sysdeps/i386/sysdep.h: Likewise.
12595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12596 * sysdeps/mach/sysdep.h: Likewise.
12597 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12598 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12599 * sysdeps/s390/asm-syntax.h: Likewise.
12600 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12602 * sysdeps/sh/sysdep.h: Likewise.
12603 * sysdeps/unix/sparc/sysdep.h: Likewise.
12604 * sysdeps/wordsize-32/divdi3.c: Likewise.
12605 * sysdeps/x86_64/sysdep.h: Likewise.
12607 * argp/Versions: Remove _argp_unlock_xxx.
12610 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12611 * abilist/libBrokenLocale.abilist: Likewise.
12612 * abilist/libanl.abilist: Likewise.
12613 * abilist/libc.abilist: Likewise.
12614 * abilist/libcrypt.abilist: Likewise.
12615 * abilist/libdl.abilist: Likewise.
12616 * abilist/libm.abilist: Likewise.
12617 * abilist/libnsl.abilist: Likewise.
12618 * abilist/libpthread.abilist: Likewise.
12619 * abilist/libresolv.abilist: Likewise.
12620 * abilist/librt.abilist: Likewise.
12621 * abilist/libthread_db.abilist: Likewise.
12622 * abilist/libutil.abilist: Likewise.
12623 * abilist/libnss_db.abilist: New file.
12625 * scripts/abilist.awk: Add support for indirect functions.
12627 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12629 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12631 * shlib-versions: Remove entries for ports architectures.
12633 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12635 * elf/stackguard-macros.h: Remove support for IA-64.
12636 * elf/tst-auditmod1.c: Likewise.
12637 * sysdeps/generic/ldsodefs.h: Likewise.
12639 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12640 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12644 * configure.in: Remove --enable-omitfp support.
12646 * config.make.in: Likewise.
12647 * Makeconfig: Likewise.
12648 * manual/install.texi: Likewise.
12650 In case anyone cares, the IA-64 architecture could move to ports.
12651 * sysdeps/ia64/*: Removed.
12652 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12653 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12656 * configure.in: Remove entries for unsupported architectures.
12659 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12660 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12662 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12663 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12664 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12665 fall back to using wcrtomb.
12666 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12667 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12669 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12670 * wcsmbs/tst-c16c32-1.c: New file.
12672 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12675 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12677 * elf/tst-unique3.cc: Add explicit declaration of gets.
12678 * elf/tst-unique3lib.cc: Likewise.
12679 * elf/tst-unique3lib2.cc: Likewise.
12680 * elf/tst-unique4.cc: Likewise.
12682 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12684 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12687 * assert/assert.h (static_assert): Don't define for C++.
12688 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12689 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12691 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12693 * iconv/loop.c (single loop): Fix assertion in storing of
12696 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12698 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12700 * posix/getconf.c: Update copyright year.
12701 * nss/getent.c: Likewise.
12702 * nss/makedb.c: Likewise.
12703 * iconv/iconvconfig.c: Likewise.
12704 * iconv/iconv_prog.c: Likewise.
12705 * elf/ldconfig.c: Likewise.
12706 * elf/pldd.c: Likewise.
12707 * elf/sotruss.ksh: Likewise.
12708 * catgets/gencat.c: Likewise.
12709 * csu/version.c: Likewise.
12710 * elf/ldd.bash.in: Likewise.
12711 * elf/sprof.c (print_version): Likewise.
12712 * locale/programs/locale.c: Likewise.
12713 * locale/programs/localedef.c: Likewise.
12714 * login/programs/pt_chown.c: Likewise.
12715 * nscd/nscd.c (print_version): Likewise.
12716 * debug/xtrace.sh: Likewise.
12717 * malloc/memusage.sh: Likewise.
12718 * malloc/mtrace.pl: Likewise.
12719 * debug/catchsegv.sh: Likewise.
12721 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12723 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12726 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12729 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12730 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12732 * iconv/gconv_int.h: Likewise.
12733 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12734 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12735 from libc for GLIBC_2.16.
12736 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12737 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12738 * wcsmbs/uchar.h: Really define mbstate_t.
12739 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12740 * wcsmbs/c16rtomb.c: New file.
12741 * wcsmbs/mbrtoc16.c: New file.
12742 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12743 for C/POSIX locale.
12744 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12745 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12747 * wcsmbs/wchar.h: Add missing __restrict.
12749 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12752 * time/Makefile (routines): Add timespec_get.
12753 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12754 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12755 timespec for ISO C11.
12756 * time/timespec_get.c: New file.
12757 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12758 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12761 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12762 * stdlib/stdlib.h: Declare aligned_alloc.
12763 * Versions.def: Add GLIBC_2.16 for libc.
12764 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12767 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12770 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12774 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12777 * assert/assert.h (static_assert): Define.
12779 * version.h: Update for 2.16 development version.
12782 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12785 * version.h (RELEASE): Bump for 2.15 release.
12786 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12788 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12789 Patch by Marek Polacek <mpolacek@redhat.com>.
12791 * bits/byteswap.h: Protect long long constants with __extension__.
12792 * sysdeps/i386/bits/byteswap.h: Likewise.
12793 * sysdeps/ia64/bits/byteswap.h: Likewise.
12794 * sysdeps/s390/bits/byteswap.h: Likewise.
12795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12797 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12801 destination buffer.
12802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12804 2011-12-23 Marek Polacek <polacek@redhat.com>
12806 * elf/dl-addr.c (determine_info): Add inline keyword.
12807 * elf/tst-auditmod4b.c (check_avx): Likewise.
12808 * elf/tst-auditmod6b.c (check_avx): Likewise.
12809 * elf/tst-auditmod6c.c (check_avx): Likewise.
12810 * elf/tst-auditmod7b.c (check_avx): Likewise.
12812 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12814 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12817 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12821 processing for last bytes.
12823 2011-08-06 Bruno Haible <bruno@clisp.org>
12826 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12827 U+0385, not to U+1FEE.
12830 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12831 entry for U+00A5 U+0301.
12833 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12836 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12837 buffer for the output is too small.
12839 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12843 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12844 SSE flags if possible.
12846 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12850 processing for last bytes.
12852 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12854 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12855 (syscall-list-default-options, syscall-list-default-condition)
12856 (syscall-list-includes): Define.
12857 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12858 list of ABIs and options and #if conditions for each ABI. Do not
12859 handle common syscalls between ABIs specially.
12860 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12862 (syscall-list-variants, syscall-list-32bit-options)
12863 (syscall-list-32bit-condition, syscall-list-64bit-options)
12864 (syscall-list-64bit-condition): Define.
12865 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12866 (syscall-list-variants, syscall-list-32bit-options)
12867 (syscall-list-32bit-condition, syscall-list-64bit-options)
12868 (syscall-list-64bit-condition): Define.
12869 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12871 (syscall-list-variants, syscall-list-32bit-options)
12872 (syscall-list-32bit-condition, syscall-list-64bit-options)
12873 (syscall-list-64bit-condition): Define.
12874 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12876 (syscall-list-variants, syscall-list-32bit-options)
12877 (syscall-list-32bit-condition, syscall-list-64bit-options)
12878 (syscall-list-64bit-condition): Define.
12880 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12882 * locale/iso-639.def: Add brx entry.
12885 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12886 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12888 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12889 __feraiseexcept_renamed.
12891 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12894 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12895 EPOLLET with unsigned values.
12896 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12899 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12900 to large cancellation.
12901 * math/s_cacoshf.c: Likewise.
12902 * math/s_cacoshl.c: Likewise.
12904 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12908 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12909 * math/s_cacoshf.c: Likewise.
12910 * math/s_cacoshl.c: Likewise.
12912 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12915 * iconv/gconv.h: Define __GCONV_SWAP.
12916 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12917 * iconvdata/utf-16.c: Likewise.
12918 * iconvdata/utf-32.c: Likewise.
12920 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12924 numerator after shifting it by one limb.
12926 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12929 under [__USE_EXTERN_INLINES].
12931 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12934 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12936 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12938 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12939 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12941 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12943 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12944 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12945 for strncasecmp/strncasecmp_l compilation.
12946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12947 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12949 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12952 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12955 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12958 * time/tzfile.c (__tzfile_read): Check values from file header.
12960 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12962 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12963 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12964 * powerpc/powerpc32/dl-start.S: Likewise.
12965 * powerpc/powerpc32/elf/start.S: Likewise.
12966 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12967 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12968 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12969 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12970 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12971 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12972 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12973 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12974 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12975 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12976 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12977 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12978 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12979 * powerpc/powerpc32/memset.S: Likewise.
12980 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12981 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12982 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12983 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12984 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12985 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12986 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12987 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12988 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12989 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12990 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12991 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12992 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12994 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12996 * math/libm-test.inc: Added more nearbyint tests.
12997 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13002 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13004 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13007 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13009 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13010 Add wcscpy-ssse3 wcscpy-c.
13011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13012 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13013 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13014 * sysdeps/x86_64/wcschr.S: New file.
13015 * sysdeps/x86_64/wcsrchr.S: New file.
13016 * string/test-strcmp.c: Remove checking of wcscmp function for
13018 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13019 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13020 wcsrchr-sse2 wcsrchr-c.
13021 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13022 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13023 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13024 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13025 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13026 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13027 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13028 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13029 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13030 * wcsmbc/wcschr.c (WCSCHR): New macro.
13032 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13034 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13035 * wcsmbs/test-wcsrchr.c: New file.
13036 * string/test-strrchr.c: Add wcsrchr support.
13038 * wcsmbs/test-wcscpy.c: New file.
13039 * string/test-strcpy.c: Add wcscpy support.
13042 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13044 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13047 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13050 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13052 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13055 Minor optimizations.
13057 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13058 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13059 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13061 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13063 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13064 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13065 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13066 for gcc to avoid warnings.
13067 * inet/Makefile (tests): Add tst-checks.
13068 * inet/tst-checks.c: New file.
13070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13073 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13076 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13077 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13079 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13081 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13083 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13086 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13088 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13091 conditional on GCC version.
13092 (__arch_compare_and_exchange_val_8_acq)
13093 (__arch_compare_and_exchange_val_16_acq)
13094 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13095 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13096 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13098 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13100 * sysdeps/sh/backtrace.c: New file.
13102 2011-12-02 Andreas Schwab <schwab@redhat.com>
13104 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13107 2011-12-01 Andreas Schwab <schwab@redhat.com>
13109 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13110 falling back to utime.
13112 2011-11-30 Andreas Schwab <schwab@redhat.com>
13114 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13115 expectations for float.
13117 2011-11-29 Andreas Schwab <schwab@redhat.com>
13119 * locale/weight.h (findidx): Add parameter len.
13120 * locale/weightwc.h (findidx): Likewise.
13121 * posix/fnmatch_loop.c (FCT): Adjust caller.
13122 * posix/regcomp.c (build_equiv_class): Likewise.
13123 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13124 * posix/regexec.c (check_node_accept_bytes): Likewise.
13125 * string/strcoll_l.c (STRCOLL): Likewise.
13126 * string/strxfrm_l.c (STRXFRM): Likewise.
13128 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13130 * Makefile.in: Remove CVSOPT handling.
13131 * configure.in: Remove use of AC_REVISION.
13132 * iconvdata/Makefile (distribute): No need to filter out CVS.
13133 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13136 2011-11-16 Andreas Schwab <schwab@redhat.com>
13138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13139 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13140 [USE_AS_STRNCASECMP_L]: Likewise.
13141 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13142 NO_TLS_DIRECT_SEG_REFS.
13143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13144 Fix argument offsets for non-PIC.
13145 [USE_AS_STRNCASECMP_L]: Likewise.
13146 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13147 NO_TLS_DIRECT_SEG_REFS.
13149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13151 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13153 * locale/loadlocale.c (_nl_load_locale): Likewise.
13155 2011-11-15 Andreas Schwab <schwab@redhat.com>
13157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13158 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13160 (SYSCALL_GETTIME): Set errno on error.
13162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13163 count references to noai6ai_cached.
13165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13167 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13169 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13170 FD_CLOEXEC for /proc/self/maps.
13172 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13173 FD_CLOEXEC for /proc/meminfo.
13175 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13178 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13179 FD_CLOEXEC for given file.
13181 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13183 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13184 FD_CLOEXEC for /etc/hosts.
13185 (_gethtent): Likewise.
13187 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13189 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13190 cancellation and set FD_CLOEXEC for /etc/netgroup.
13192 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13193 reading /etc/publickey.
13195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13196 allow cancellation when reading /etc/group.
13198 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13200 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13202 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13203 when using data file.
13205 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13207 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13208 (write_nis_obj): Use "c" and "e" in fopen.
13210 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13212 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13214 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13216 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13218 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13221 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13223 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13225 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13227 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13228 file parsing and set FD_CLOEXEC.
13230 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13232 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13234 2011-11-14 Andreas Schwab <schwab@redhat.com>
13236 * malloc/arena.c (arena_get2): Don't call reused_arena when
13237 _int_new_arena failed.
13239 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13241 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13242 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13243 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13247 to compile strcasecmp and strncasecmp.
13248 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13249 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13253 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13255 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13256 locale-defines.sym to gen-as-const-headers.
13257 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13258 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13260 to compile strcasecmp and strncasecmp.
13261 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13262 strcasecmp_l and strncasecmp_l.
13263 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13264 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13265 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13266 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13267 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13268 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13269 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13270 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13271 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13272 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13273 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13275 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13277 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13278 result of SYSDEP_GETTIME_CPU to retval.
13279 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13280 parameter list to macro. Remove trailing semicolon. Adjust users.
13282 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13285 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13287 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13290 from unused variable.
13292 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13294 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13297 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13300 * sunrpc/rpc_prot.c (rejected): Fix case value.
13302 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13303 unsigned long long int to avoid warnings in shift.
13305 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13307 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13310 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13311 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13312 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13314 * nis/nis_table.c (nis_list): Use variable of correct type for
13315 result of __follow_path call.
13317 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13320 of math functions ceil, trunc, floor, round, and sqrt, when
13321 avaliable on the platform.
13322 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13324 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13325 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13326 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13328 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13330 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13333 2011-11-11 Roland McGrath <roland@hack.frob.com>
13335 * include/unistd.h: Fix __readlink return type.
13336 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13338 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13340 * stdlib/ucontext.h: Undo last change for makecontext.
13342 2011-11-11 Andreas Schwab <schwab@redhat.com>
13344 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13346 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13347 * setjmp/setjmp.h: Mark functions as non-leaf.
13348 * setjmp/bits/setjmp2.h: Likewise.
13349 * stdlib/ucontext.h: Likewise.
13351 2011-11-10 Andreas Schwab <schwab@redhat.com>
13353 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13354 (reused_arena): Don't check arena limit.
13355 (arena_get2): Atomically check arena limit.
13357 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13359 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13360 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13365 2011-11-07 Andreas Schwab <schwab@redhat.com>
13367 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13368 handler when locking.
13370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13371 Fix size of allocated buffer.
13373 2011-11-04 Andreas Schwab <schwab@redhat.com>
13376 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13377 declarations for long double functions.
13378 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13380 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13382 2011-11-03 Andreas Schwab <schwab@redhat.com>
13384 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13387 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13390 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13392 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13394 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13396 * include/alloca.h (stackinfo_alloca_round): Define.
13397 (extend_alloca): Use it.
13398 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13399 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13402 * scripts/check-local-headers.sh: Ignore libaudit.h.
13404 * nscd/Makefile (extra-objs): Make recursively expanded.
13406 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13408 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13411 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13412 * posix/tst-rfc3484-2.c: Likewise.
13413 * posix/tst-rfc3484-3.c: Likewise.
13415 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13417 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13419 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13420 process_vm_writev from libc using GLIBC_2.15 version.
13422 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13424 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13426 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13429 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13432 * nss/getent.c (initgroups_keys): Show error message in case no group
13435 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13436 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13437 __bump_nl_timestamp.
13438 * nscd/connections (nscd_init): When host database is served open
13439 netlink socket and request notification about configuration changes.
13440 (main_loop_poll): Track netlink file descriptor and bump timestamp
13441 in case data becomes available.
13442 (main_loop_epoll): Likewise.
13443 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13444 (database_pers_head): Add extra_data fileds.
13445 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13446 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13447 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13450 in6ai data, call __free_in6ai.
13451 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13452 Add -DHAVE_NETLINK.
13453 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13454 interface information. Reuse previous data if netlink timestamp
13456 (__bump_nl_timestamp): New function.
13457 (__free_in6ai): New function.
13459 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13462 close_not_cancel_no_status here.
13463 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13465 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13468 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13471 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13472 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13473 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13475 2011-07-03 Andreas Jaeger <aj@suse.de>
13478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13479 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13480 * math/libm-test.inc (sin_test): Add test case.
13482 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13485 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13486 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13488 * elf/chroot_canon.c (chroot_canon): Cleanups.
13490 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13493 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13494 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13496 * string/test-strchr.c: Make usable for strchrnul testing.
13497 * string/test-strchrnul.c: New file.
13498 * string/Makefile (strop-tests): Add strchrnul.
13500 * po/it.po: Update from translation team.
13501 * po/es.po: Likewise.
13503 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13506 the three constants needed as parameters. Drop the others.
13507 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13508 __m128i_strloadu_tolower.
13509 Create and initialize variable zero and use it in all the places
13510 where _mm_setzero_si128 was used.
13512 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13513 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13514 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13515 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13517 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13518 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13519 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13520 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13521 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13522 __mpranred, __mptan.
13523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13527 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13528 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13530 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13531 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13533 2011-10-28 Andreas Schwab <schwab@redhat.com>
13535 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13536 redefine if SHARED.
13537 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13540 wide char related routines to wcsmbs subdir.
13542 2011-10-27 Andreas Schwab <schwab@redhat.com>
13545 * misc/sys/cdefs.h (__THROWNL): Define.
13546 * posix/unistd.h: Use __THREADNL instead of __THREAD
13547 for memory synchronization functions.
13549 2011-10-26 Roland McGrath <roland@hack.frob.com>
13552 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13554 * manual/stdio.texi (Obstack Streams): Node removed.
13556 2011-10-26 Andreas Schwab <schwab@redhat.com>
13558 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13562 * math/math_private.h (math_force_eval): Allow non-addressable
13564 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13566 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13568 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13569 file is not needed.
13571 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13573 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13574 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13575 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13576 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13577 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13578 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13584 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13585 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13586 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13587 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13590 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13591 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13593 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13594 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13595 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13598 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13600 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13601 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13604 place. Use VEX encoding when compiling for AVX.
13606 2011-10-25 Andreas Schwab <schwab@redhat.com>
13608 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13609 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13611 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13613 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13615 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13616 useless if() expression.
13617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13630 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13631 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13637 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13639 2011-10-25 Andreas Schwab <schwab@redhat.com>
13641 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13643 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13645 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13647 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13648 .text section. Avoid duplicate constants.
13649 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13659 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13661 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13672 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13673 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13674 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13675 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13678 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13680 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13681 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13682 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13683 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13684 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13685 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13686 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13687 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13688 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13689 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13691 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13692 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13693 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13695 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13697 * sysdeps/x86_64/dla.h: Move to ...
13698 * sysdeps/x86_64/fpu/dla.h: ...here.
13699 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13700 situations. Use __builtin_fma only for gcc 4.6 and up.
13702 * config.make.in: Add have-mfma4 entry.
13703 * configure.in: Substitute libc_cv_cc_fma4.
13704 * math/Makefile (dbl-only-routines): Add sincostab.
13705 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13706 Use __sincostab not sincos.
13707 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13714 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13715 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13716 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13717 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13719 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13720 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13722 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13723 define aliases when function name is a macro.
13724 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13725 sysdeps/ieee754/dbl-64/sincos.tbl.
13726 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13727 fma4-enabled routines.
13728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13729 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13730 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13731 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13735 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13738 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13739 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13740 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13754 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13759 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13770 2011-10-24 Andreas Schwab <schwab@redhat.com>
13772 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13778 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13782 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13783 Remove unused variable magic_bits.
13784 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13786 * string/strnlen.c: Define and use STRNLEN macro.
13787 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13788 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13790 * wcsmbs/wcslen.c: Define and use WCSLEN.
13791 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13792 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13793 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13794 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13795 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13796 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13799 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13802 strnlen-sse2-no-bsf.
13803 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13805 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13806 Add strnlen support.
13807 (USE_AS_STRNLEN): New macro.
13808 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13809 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13810 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13811 * sysdeps/x86_64/wcslen.S: New file.
13813 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13816 XMM-moves are used for copying on small sizes.
13818 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13820 * wcsmbs/Makefile (strop-tests): Add wcschr.
13821 * wcsmbs/test-wcschr.c: New file.
13822 * string/test-strchr.c: Update.
13823 Add wcschr support.
13826 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13828 * wcsmbs/Makefile (strop-tests): Add wcslen.
13829 * wcsmbs/test-wcslen.c: New file.
13830 * string/test-strlen.c: Update.
13831 Add wcslen support.
13834 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13836 * po/it.po: Update from translation team.
13838 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13840 * sysdeps/x86_64/wcscmp.S: Update.
13841 Fix wrong comparison semantics.
13842 wcscmp shall use signed comparison not unsigned.
13843 Don't use substraction to avoid overflow bug.
13844 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13845 * wcsmbc/wcscmp.c: Likewise.
13846 * string/test-strcmp.c: Likewise.
13847 Add new tests to check cases with negative values.
13849 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13851 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13852 * sysdeps/x86_64/dla.h: ...here. New file.
13853 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13863 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13866 __ynl_finite aliases.
13868 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13872 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13874 [DLA_FMA] (EMULV): Use DLA_FMA.
13875 [DLA_FMA] (MUL12): Use EMULV.
13876 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13877 that are not needed.
13878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13886 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13888 * math/s_nan.c: Undef __nan.
13889 * math/s_nanf.c: Undef __nanf.
13890 * math/s_nanl.c: Undef __nanl.
13891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13894 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13896 * math/s_catan.c: Add branch predictions.
13897 * math/s_catanf.c: Likewise.
13898 * math/s_catanh.c: Likewise.
13899 * math/s_catanhf.c: Likewise.
13900 * math/s_catanhl.c: Likewise.
13901 * math/s_catanl.c: Likewise.
13902 * math/s_cexp.c: Likewise.
13903 * math/s_cexpf.c: Likewise.
13904 * math/s_cexpl.c: Likewise.
13905 * math/s_clog.c: Likewise.
13906 * math/s_clog10.c: Likewise.
13907 * math/s_clog10f.c: Likewise.
13908 * math/s_clog10l.c: Likewise.
13909 * math/s_clogf.c: Likewise.
13910 * math/s_clogl.c: Likewise.
13911 * math/s_csqrt.c: Likewise.
13912 * math/s_csqrtf.c: Likewise.
13913 * math/s_csqrtl.c: Likewise.
13914 * math/s_ctanf.c: Likewise.
13915 * math/s_ctanh.c: Likewise.
13916 * math/s_ctanhf.c: Likewise.
13917 * math/s_ctanhl.c: Likewise.
13918 * math/s_ctanl.c: Likewise.
13920 * math/math_private.h: Define __nan, __nanf, __nanl.
13921 * math/s_cacosh.c: Include <math_private.h>.
13922 * math/s_cacoshl.c: Likewise.
13923 * math/s_casinh.c: Likewise.
13924 * math/s_casinhf.c: Likewise.
13925 * math/s_casinhl.c: Likewise.
13926 * math/s_ccos.c: Rely entire on ccosh.
13927 * math/s_ccosf.c: Rely entire on ccoshf.
13928 * math/s_ccosl.c: Rely entirely on ccoshl.
13929 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13930 Remove tests for FE_INVALID.
13931 * math/s_ccoshf.c: Likewise.
13932 * math/s_ccoshl.c: Likewise.
13933 * math/s_csin.c: Likewise.
13934 * math/s_csinf.c: Likewise.
13935 * math/s_csinh.c Likewise.
13936 * math/s_csinhf.c: Likewise.
13937 * math/s_csinhl.c: Likewise.
13938 * math/s_csinl.c: Likewise.
13939 * math/s_ctan.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13941 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13944 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13947 compilation problems.
13949 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13952 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13954 * sysdeps/i386/configure.in: Test for -mfma4 option.
13955 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13956 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13957 COMMON_CPUID_INDEX_80000001.
13958 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13959 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13960 use it if FMA3 is not supported.
13961 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13963 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13964 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13966 2011-10-20 Andreas Schwab <schwab@redhat.com>
13969 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13970 it would create a cycle with a link time dependency.
13972 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13974 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13976 * string/Makefile (strop-tests): Add rawmemchr.
13977 * string/test-rawmemchr.c: New file.
13979 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13980 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13981 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13982 when compiling str{,n}casecmp and when AVX is available. Hook up
13983 new optimized code in initializers.
13985 2011-10-19 Andreas Schwab <schwab@redhat.com>
13987 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13988 __feraiseexcept instead of feraiseexcept.
13990 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13992 * math/math_private.h: Define defaults for libc_fetestexcept and
13994 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13995 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13998 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14000 libc_fetestexcept and libc_feupdateenv.
14002 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14003 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14004 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14005 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14006 libc_feholdexcept_setround.
14008 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14009 Add s_nearbyint-c and s_nearbyintf-c.
14010 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14011 nearbyintf inlines.
14012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14013 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14014 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14015 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14017 * math/math_private.h: Define defaults for libc_fegetround,
14018 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14019 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14020 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14022 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14023 standard functions.
14024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14025 Remove comments and hacks for old compiler versions.
14026 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14027 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14028 libc_feholdexceptl.
14030 2011-10-18 Andreas Schwab <schwab@redhat.com>
14032 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14033 (__feraiseexcept_renamed): Add __NTH.
14034 (feraiseexcept): Add __NTH. Rename local variables to fix
14035 namespace violations.
14037 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14043 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14044 recently added interfaces.
14045 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14047 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14048 about macro parameter expansion.
14050 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14051 __NO_MATH_INLINES is defined. Cleanups.
14053 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14054 and __floorf is target has SSE4.1.
14055 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14056 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14057 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14060 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14062 (floorf): Likewise.
14064 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14066 2011-10-17 Andreas Schwab <schwab@redhat.com>
14068 * misc/sys/cdefs.h: Fix last change.
14070 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14073 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14075 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14077 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14085 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14086 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14087 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14088 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14089 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14090 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14091 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14092 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14094 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14095 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14096 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14097 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14098 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14100 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14101 ceil, ceilf, floor, floorf.
14103 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14104 Perform IRELATIVE relocations last.
14106 * elf/do-rel.h: Add another parameter nrelative, replacing the
14107 local variable with the same name. Change name of the function
14108 to end in Rel or Rela (uppercase).
14109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14110 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14111 elf_dynamic_do_##reloc function.
14113 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14115 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14116 is sufficient, at least on modern CPUs.
14118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14120 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14123 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14125 * math/bits/math-finite.h: Add entries for exp.
14126 * math/e_expl.c: Add __*_finite alias.
14127 * sysdeps/i386/fpu/e_exp.S: Likewise.
14128 * sysdeps/i386/fpu/e_expf.S: Likewise.
14129 * sysdeps/i386/fpu/e_expl.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14131 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14135 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14138 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14139 is sufficient, at least on modern CPUs.
14141 * ctype/ctype-info.c (__ctype_init): Define.
14142 * include/ctype.h (__ctype_init): Declare.
14143 (__ctype_b_loc): The variable is always initialized.
14144 (__ctype_toupper_loc): Likewise.
14145 (__ctype_tolower_loc): Likewise.
14146 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14147 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14149 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14151 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14153 * configure.in: Also look in $cxxmachine/include for C++ system
14156 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14158 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14159 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14160 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14161 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14163 (USE_AS_WMEMCMP): New macro.
14165 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14166 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14167 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14168 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14170 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14171 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14172 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14173 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14174 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14175 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14176 (USE_AS_WMEMCMP): New macro.
14177 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14178 * sysdeps/string/test-memcmp.c: Update.
14179 Fix simple_wmemcmp.
14181 * wcsmbs/wmemcmp.c: Update.
14182 (WMEMCMP): New macro.
14185 2011-10-12 Andreas Jaeger <aj@suse.de>
14188 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14190 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14192 * libio/iofwide.c (do_length): Avoid warning.
14194 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14196 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14198 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14200 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14201 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14202 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14203 * sysdeps/i386/i686/fpu/e_log.S: New file.
14204 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14205 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14207 * ctype/ctype.h: Add support for inlined isXXX functions when
14208 compiling C++ code.
14210 2011-10-14 Andreas Schwab <schwab@redhat.com>
14212 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14216 2011-10-13 Roland McGrath <roland@hack.frob.com>
14219 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14221 2011-10-13 Andreas Schwab <schwab@redhat.com>
14223 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14224 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14227 * sysdeps/x86_64/memrchr.S: Check for zero size.
14229 * string/stratcliff.c: Add memrchr tests.
14231 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14234 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14235 rawmemchr-sse2 rawmemchr-sse2-bsf.
14236 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14237 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14238 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14239 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14240 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14241 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14242 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14243 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14244 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14245 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14246 * string/memrchr.c (MEMRCHR): New macro.
14248 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14250 Add integration with gcc's -ffinite-math-only and optimize wrapper
14252 * Versions.def: Define GLIBC_2.15 version for libm.
14253 * math/Makefile (headers): Add bits/math-finite.h.
14254 * math/bits/math-finite.h: New file.
14255 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14256 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14257 * math/e_acoshl.c: Add __*_finite alias.
14258 * math/e_acosl.c: Likewise.
14259 * math/e_asinl.c: Likewise.
14260 * math/e_atan2l.c: Likewise.
14261 * math/e_atanhl.c: Likewise.
14262 * math/e_coshl.c: Likewise.
14263 * math/e_exp10.c: Likewise.
14264 * math/e_exp10f.c: Likewise.
14265 * math/e_exp10l.c: Likewise.
14266 * math/e_exp2l.c: Likewise.
14267 * math/e_fmodl.c: Likewise.
14268 * math/e_gammal_r.c: Likewise.
14269 * math/e_hypotl.c: Likewise.
14270 * math/e_j0l.c: Likewise.
14271 * math/e_j1l.c: Likewise.
14272 * math/e_jnl.c: Likewise.
14273 * math/e_lgammal_r.c: Likewise.
14274 * math/e_log10l.c: Likewise.
14275 * math/e_log2l.c: Likewise.
14276 * math/e_logl.c: Likewise.
14277 * math/e_powl.c: Likewise.
14278 * math/e_sinhl.c: Likewise.
14279 * math/e_sqrtl.c: Likewise.
14280 * math/e_scalb.c: Completely rewritten and optimized.
14281 * math/e_scalbf.c: Likewise.
14282 * math/e_scalbl.c: Likewise.
14283 * math/w_acos.c: Likewise.
14284 * math/w_acosf.c: Likewise.
14285 * math/w_acosl.c: Likewise.
14286 * math/w_acosh.c: Likewise.
14287 * math/w_acoshf.c: Likewise.
14288 * math/w_acoshl.c: Likewise.
14289 * math/w_asin.c: Likewise.
14290 * math/w_asinf.c: Likewise.
14291 * math/w_asinl.c: Likewise.
14292 * math/w_atan2.c: Likewise.
14293 * math/w_atan2f.c: Likewise.
14294 * math/w_atan2l.c: Likewise.
14295 * math/w_atanh.c: Likewise.
14296 * math/w_atanhf.c: Likewise.
14297 * math/w_atanhl.c: Likewise.
14298 * math/w_exp10.c: Likewise.
14299 * math/w_exp10f.c: Likewise.
14300 * math/w_exp10l.c: Likewise.
14301 * math/w_fmod.c: Likewise.
14302 * math/w_fmodf.c: Likewise.
14303 * math/w_fmodl.c: Likewise.
14304 * math/w_j0.c: Likewise.
14305 * math/w_j0f.c: Likewise.
14306 * math/w_j0l.c: Likewise.
14307 * math/w_j1.c: Likewise.
14308 * math/w_j1f.c: Likewise.
14309 * math/w_j1l.c: Likewise.
14310 * math/w_jn.c: Likewise.
14311 * math/w_jnf.c: Likewise.
14312 * math/w_log.c: Likewise.
14313 * math/w_logf.c: Likewise.
14314 * math/w_logl.c: Likewise.
14315 * math/w_log10.c: Likewise.
14316 * math/w_log10f.c: Likewise.
14317 * math/w_log10l.c: Likewise.
14318 * math/w_log2.c: Likewise.
14319 * math/w_log2f.c: Likewise.
14320 * math/w_log2l.c: Likewise.
14321 * math/w_pow.c: Likewise.
14322 * math/w_powf.c: Likewise.
14323 * math/w_powl.c: Likewise.
14324 * math/w_remainder.c: Likewise.
14325 * math/w_remainderf.c: Likewise.
14326 * math/w_remainderl.c: Likewise.
14327 * math/w_scalb.c: Likewise.
14328 * math/w_scalbf.c: Likewise.
14329 * math/w_scalbl.c: Likewise.
14330 * math/w_sqrt.c: Likewise.
14331 * math/w_sqrtf.c: Likewise.
14332 * math/w_sqrtl.c: Likewise.
14333 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14334 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14336 * math/math_private.h: Declare __kernel_standard_f.
14337 * math/w_cosh.c: Remove cruft and optimize a bit.
14338 * math/w_coshf.c: Likewise.
14339 * math/w_coshl.c: Likewise.
14340 * math/w_exp2.c: Likewise.
14341 * math/w_exp2f.c: Likewise.
14342 * math/w_exp2l.c: Likewise.
14343 * math/w_hypot.c: Likewise.
14344 * math/w_hypotf.c: Likewise.
14345 * math/w_hypotl.c: Likewise.
14346 * math/w_lgamma.c: Likewise.
14347 * math/w_lgamma_r.c: Likewise.
14348 * math/w_lgammaf.c: Likewise.
14349 * math/w_lgammaf_r.c: Likewise.
14350 * math/w_lgammal.c: Likewise.
14351 * math/w_lgammal_r.c: Likewise.
14352 * math/w_sinh.c: Likewise.
14353 * math/w_sinhf.c: Likewise.
14354 * math/w_sinhl.c: Likewise.
14355 * math/w_tgamma.c: Likewise.
14356 * math/w_tgammaf.c: Likewise.
14357 * math/w_tgammal.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14360 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14361 Minor optimizations. Pretty printing. Remove cruft.
14362 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14363 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14366 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14367 * sysdeps/i386/fpu/e_asin.S: Likewise.
14368 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14369 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14370 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14371 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14375 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14376 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14377 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14378 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14379 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14380 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14381 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14382 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14383 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14384 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14385 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14386 * sysdeps/i386/fpu/e_log.S: Likewise.
14387 * sysdeps/i386/fpu/e_log10.S: Likewise.
14388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14390 * sysdeps/i386/fpu/e_log2.S: Likewise.
14391 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14392 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14393 * sysdeps/i386/fpu/e_logf.S: Likewise.
14394 * sysdeps/i386/fpu/e_logl.S: Likewise.
14395 * sysdeps/i386/fpu/e_pow.S: Likewise.
14396 * sysdeps/i386/fpu/e_powf.S: Likewise.
14397 * sysdeps/i386/fpu/e_powl.S: Likewise.
14398 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14399 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14400 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14402 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14404 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14405 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14406 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14412 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14413 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14414 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14427 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14428 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14429 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14430 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14431 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14432 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14434 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14435 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14436 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14438 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14439 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14441 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14442 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14443 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14444 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14445 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14446 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14447 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14477 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14487 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14494 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14502 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14503 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14504 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14505 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14506 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14507 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14508 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14509 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14510 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14515 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14517 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14518 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14519 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14520 (__isnanf): Likewise.
14521 (__isinf_ns): Likewise.
14522 (__isinf_nsf): Likewise.
14523 (__finite): Likewise.
14524 (__finitef): Likewise.
14525 (__ieee754_sqrt): Define as macro.
14526 (__ieee754_sqrtf): Define as macro.
14527 (__ieee754_sqrtl): Define as macro.
14528 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14530 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14531 __FINITE_MATH_ONLY__ consistent.
14532 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14534 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14536 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14539 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14541 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14543 * po/ja.po: Update from translation team.
14545 2011-10-08 Roland McGrath <roland@hack.frob.com>
14547 * locale/programs/locarchive.c (prepare_address_space): New function.
14548 (create_archive, enlarge_archive, open_archive): Use it.
14550 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14551 inside [SHARED], where it is used.
14553 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14555 * nss/getent.c (netgroup_keys): Remove unused variable.
14556 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14558 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14560 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14564 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14565 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14566 * math/Makefile (libm-calls): Add s_isinf_ns.
14567 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14568 * math/multc3.c: Likewise.
14569 * math/s_casin.c: Likewise.
14570 * math/s_casinf.c: Likewise.
14571 * math/s_casinl.c: Likewise.
14572 * math/s_ccos.c: Likewise.
14573 * math/s_ccosf.c: Likewise.
14574 * math/s_ccosl.c: Likewise.
14575 * math/s_ctan.c: Likewise.
14576 * math/s_ctanf.c: Likewise.
14577 * math/s_ctanh.c: Likewise.
14578 * math/s_ctanhf.c: Likewise.
14579 * math/s_ctanhl.c: Likewise.
14580 * math/s_ctanl.c: Likewise.
14581 * math/w_fmod.c: Likewise.
14582 * math/w_fmodf.c: Likewise.
14583 * math/w_fmodl.c: Likewise.
14584 * math/w_remainder.c: Likewise.
14585 * math/w_remainderf.c: Likewise.
14586 * math/w_remainderl.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14588 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14591 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14592 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14593 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14594 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14596 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14598 * stdio-common/printf_fphex.c: Likewise.
14599 * stdio-common/printf_size.c: Likewise.
14601 * math/e_exp10.c: Include math_private.h using <...> not "...".
14602 * math/e_exp10f.c: Likewise.
14603 * math/e_exp10l.c: Likewise.
14604 * math/e_exp2l.c: Likewise.
14605 * math/e_j0l.c: Likewise.
14606 * math/e_j1l.c: Likewise.
14607 * math/e_jnl.c: Likewise.
14608 * math/e_lgammal_r.c: Likewise.
14609 * math/e_rem_pio2l.c: Likewise.
14610 * math/e_scalb.c: Likewise.
14611 * math/e_scalbf.c: Likewise.
14612 * math/e_scalbl.c: Likewise.
14613 * math/k_cosl.c: Likewise.
14614 * math/k_sinl.c: Likewise.
14615 * math/k_tanl.c: Likewise.
14616 * math/s_cacoshf.c: Likewise.
14617 * math/s_catan.c: Likewise.
14618 * math/s_catanf.c: Likewise.
14619 * math/s_catanh.c: Likewise.
14620 * math/s_catanhf.c: Likewise.
14621 * math/s_catanhl.c: Likewise.
14622 * math/s_catanl.c: Likewise.
14623 * math/s_ccosh.c: Likewise.
14624 * math/s_ccoshf.c: Likewise.
14625 * math/s_ccoshl.c: Likewise.
14626 * math/s_cexp.c: Likewise.
14627 * math/s_cexpf.c: Likewise.
14628 * math/s_cexpl.c: Likewise.
14629 * math/s_clog.c: Likewise.
14630 * math/s_clog10.c: Likewise.
14631 * math/s_clog10f.c: Likewise.
14632 * math/s_clog10l.c: Likewise.
14633 * math/s_clogf.c: Likewise.
14634 * math/s_clogl.c: Likewise.
14635 * math/s_csin.c: Likewise.
14636 * math/s_csinf.c: Likewise.
14637 * math/s_csinh.c: Likewise.
14638 * math/s_csinhf.c: Likewise.
14639 * math/s_csinhl.c: Likewise.
14640 * math/s_csinl.c: Likewise.
14641 * math/s_csqrt.c: Likewise.
14642 * math/s_csqrtf.c: Likewise.
14643 * math/s_csqrtl.c: Likewise.
14644 * math/s_ctan.c: Likewise.
14645 * math/s_ctanf.c: Likewise.
14646 * math/s_ctanh.c: Likewise.
14647 * math/s_ctanhf.c: Likewise.
14648 * math/s_ctanhl.c: Likewise.
14649 * math/s_ctanl.c: Likewise.
14650 * math/s_ldexp.c: Likewise.
14651 * math/s_ldexpf.c: Likewise.
14652 * math/s_ldexpl.c: Likewise.
14653 * math/s_significand.c: Likewise.
14654 * math/s_significandf.c: Likewise.
14655 * math/s_significandl.c: Likewise.
14656 * math/w_acos.c: Likewise.
14657 * math/w_acosf.c: Likewise.
14658 * math/w_acosh.c: Likewise.
14659 * math/w_acoshf.c: Likewise.
14660 * math/w_acoshl.c: Likewise.
14661 * math/w_acosl.c: Likewise.
14662 * math/w_asin.c: Likewise.
14663 * math/w_asinf.c: Likewise.
14664 * math/w_asinl.c: Likewise.
14665 * math/w_atan2.c: Likewise.
14666 * math/w_atan2f.c: Likewise.
14667 * math/w_atan2l.c: Likewise.
14668 * math/w_atanh.c: Likewise.
14669 * math/w_atanhf.c: Likewise.
14670 * math/w_atanhl.c: Likewise.
14671 * math/w_cosh.c: Likewise.
14672 * math/w_coshf.c: Likewise.
14673 * math/w_coshl.c: Likewise.
14674 * math/w_dremf.c: Likewise.
14675 * math/w_exp10.c: Likewise.
14676 * math/w_exp10f.c: Likewise.
14677 * math/w_exp10l.c: Likewise.
14678 * math/w_exp2.c: Likewise.
14679 * math/w_exp2f.c: Likewise.
14680 * math/w_fmod.c: Likewise.
14681 * math/w_fmodf.c: Likewise.
14682 * math/w_fmodl.c: Likewise.
14683 * math/w_hypot.c: Likewise.
14684 * math/w_hypotf.c: Likewise.
14685 * math/w_hypotl.c: Likewise.
14686 * math/w_j0.c: Likewise.
14687 * math/w_j0f.c: Likewise.
14688 * math/w_j0l.c: Likewise.
14689 * math/w_j1.c: Likewise.
14690 * math/w_j1f.c: Likewise.
14691 * math/w_j1l.c: Likewise.
14692 * math/w_jn.c: Likewise.
14693 * math/w_jnf.c: Likewise.
14694 * math/w_jnl.c: Likewise.
14695 * math/w_lgamma.c: Likewise.
14696 * math/w_lgamma_r.c: Likewise.
14697 * math/w_lgammaf.c: Likewise.
14698 * math/w_lgammaf_r.c: Likewise.
14699 * math/w_lgammal.c: Likewise.
14700 * math/w_lgammal_r.c: Likewise.
14701 * math/w_log.c: Likewise.
14702 * math/w_log10.c: Likewise.
14703 * math/w_log10f.c: Likewise.
14704 * math/w_log10l.c: Likewise.
14705 * math/w_log2.c: Likewise.
14706 * math/w_log2f.c: Likewise.
14707 * math/w_log2l.c: Likewise.
14708 * math/w_logf.c: Likewise.
14709 * math/w_logl.c: Likewise.
14710 * math/w_pow.c: Likewise.
14711 * math/w_powf.c: Likewise.
14712 * math/w_powl.c: Likewise.
14713 * math/w_remainder.c: Likewise.
14714 * math/w_remainderf.c: Likewise.
14715 * math/w_remainderl.c: Likewise.
14716 * math/w_scalb.c: Likewise.
14717 * math/w_scalbf.c: Likewise.
14718 * math/w_scalbl.c: Likewise.
14719 * math/w_sinh.c: Likewise.
14720 * math/w_sinhf.c: Likewise.
14721 * math/w_sinhl.c: Likewise.
14722 * math/w_sqrt.c: Likewise.
14723 * math/w_sqrtf.c: Likewise.
14724 * math/w_sqrtl.c: Likewise.
14725 * math/w_tgamma.c: Likewise.
14726 * math/w_tgammaf.c: Likewise.
14727 * math/w_tgammal.c: Likewise.
14729 * po/ja.po: Update from translation team.
14731 2011-09-29 Andreas Jaeger <aj@suse.de>
14734 * sunrpc/netname.c (netname2host): Fix logic.
14738 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14740 * math/w_remainder.c (__remainder): Likewise.
14741 * math/w_remainderf.c (__remainderf): Likewise.
14742 * math/libm-test.inc (remainder_test): Add test cases.
14744 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14746 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14749 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14751 * string/test-memcmp.c: Avoid unncessary #defines.
14752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14754 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14756 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14757 Use new sse2 version for core i3 - i7 as it's faster
14758 than sse42 version.
14759 (bit_Prefer_PMINUB_for_stringop): New.
14760 * sysdeps/x86_64/rawmemchr.S: Update.
14761 Replace with faster SSE2 version.
14762 * sysdeps/x86_64/memrchr.S: New file.
14763 * sysdeps/x86_64/memchr.S: Update.
14764 Replace with faster SSE2 version.
14766 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14768 * elf/dl-load.c (lose): Add cast to avoid warning.
14770 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14772 * po/ca.po: Update from translation team.
14774 * inet/getnetgrent_r.c: Hook up nscd.
14775 * nscd/Makefile (routines): Add nscd_netgroup.
14776 (nscd-modules): Add netgroupcache.
14777 (CFLAGS-netgroupcache.c): Define.
14778 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14779 (cache_search): Add const to second parameter.
14780 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14782 (dbs): Add netgrdb entry.
14783 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14784 (verify_persistent_db): Handle netgrdb.
14785 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14786 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14788 (netgroup_response_header): Define.
14789 (innetgroup_response_header): Define.
14790 (datahead): Add netgroup_response_header and innetgroup_response_header
14792 * nscd/nscd.conf: Add entries for netgroup cache.
14793 * nscd/nscd.h (dbtype): Add netgrdb.
14794 (_PATH_NSCD_NETGROUP_DB): Define.
14795 (netgroup_iov_disabled): Declare.
14796 (xmalloc, xcalloc, xrealloc): Move declarations here.
14797 (cache_search): Adjust prototype.
14798 Add netgroup-related prototypes.
14799 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14800 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14801 (__nscd_innetgr): Declare.
14802 * nscd/selinux.c (perms): Use access_vector_t as element type and
14803 add netgroup-related initializers.
14804 * nscd/netgroupcache.c: New file.
14805 * nscd/nscd_netgroup.c: New file.
14806 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14807 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14808 For four parameters use innetgr.
14809 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14810 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14811 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14812 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14814 * nscd/connections.c (register_traced_file): Don't register file
14815 for disabled databases.
14817 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14819 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14821 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14822 from tree and freeing node.
14824 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14826 * nss/nsswitch.c (__nss_database_lookup): Handle
14827 nss_parse_service_list out of memory case.
14829 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14831 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14832 out of memory case.
14834 2011-10-04 Andreas Schwab <schwab@redhat.com>
14836 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14837 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14839 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14840 elf_machine_rela, elf_machine_lazy_rel.
14841 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14842 (ELF_DYNAMIC_DO_REL): Likewise.
14843 (ELF_DYNAMIC_DO_RELA): Likewise.
14844 (ELF_DYNAMIC_RELOCATE): Likewise.
14845 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14846 to ELF_DYNAMIC_DO_REL.
14847 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14848 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14849 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14852 skip_ifunc, don't call ifunc function if non-zero.
14853 (elf_machine_rela): Likewise.
14854 (elf_machine_lazy_rel): Likewise.
14855 (elf_machine_lazy_rela): Likewise.
14856 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14857 (elf_machine_lazy_rel): Likewise.
14858 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14860 (elf_machine_lazy_rel): Likewise.
14861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14863 (elf_machine_lazy_rel): Likewise.
14864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14865 (elf_machine_lazy_rel): Likewise.
14866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14867 (elf_machine_lazy_rel): Likewise.
14868 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14869 (elf_machine_lazy_rel): Likewise.
14870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14871 (elf_machine_lazy_rel): Likewise.
14872 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14873 (elf_machine_lazy_rel): Likewise.
14874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14875 (elf_machine_lazy_rel): Likewise.
14877 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14879 * nss/nss_files/files-init.c (_nss_files_init): Use static
14880 initialization for all the *_traced_file variables.
14882 2011-09-28 Andreas Schwab <schwab@redhat.com>
14884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14886 2011-09-27 Roland McGrath <roland@hack.frob.com>
14889 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14891 2011-09-27 Andreas Schwab <schwab@redhat.com>
14893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14894 Reread the line before reparsing it.
14896 2011-09-26 Andreas Schwab <schwab@redhat.com>
14898 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14900 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14901 Maxim Kuvyrkov <maxim@codesourcery.com>
14902 Joseph Myers <joseph@codesourcery.com>
14904 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14905 if needed for __stack_chk_guard.
14907 2011-09-19 Roland McGrath <roland@hack.frob.com>
14909 * sysdeps/posix/spawni.c (script_execute): Always define it.
14910 It will be optimized away if unused.
14911 (maybe_script_execute): New function.
14912 (__spawni): Call it.
14914 * Makerules: Don't include tls.make.
14915 (config-tls): Always set to thread.
14916 * tls.make.c: File removed.
14918 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14920 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14921 * config.make.in (CPPFLAGS-config): New substituted variable.
14923 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14928 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14929 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14931 2011-09-15 Roland McGrath <roland@hack.frob.com>
14933 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14934 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14936 (CALL_FAIL): Likewise.
14937 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14938 (CALL_FAIL): Macro removed.
14939 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14941 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14943 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14944 for __FINITE_MATH_ONLY__ == 1.
14946 2011-09-15 Andreas Schwab <schwab@redhat.com>
14948 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14949 __ieee754_sqrt instead of sqrt.
14950 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14951 __ieee754_sqrtf instead of sqrtf.
14952 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14953 __floorf instead of floorf.
14954 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14955 __floorf, __truncf instead of floorf, truncf.
14957 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14959 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14961 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14962 __extern_always_inline.
14963 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14966 2011-09-14 Andreas Schwab <schwab@redhat.com>
14968 * elf/rtld.c (dl_main): Also relocate in dependency order when
14969 doing symbol dependency testing.
14971 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14974 Always define `refsym'.
14976 2011-09-13 Andreas Schwab <schwab@redhat.com>
14978 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14979 (__FD_ELT): Renamed from __FDELT.
14980 * misc/bits/select2.h (__FD_ELT): Likewise.
14981 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14982 __FD_MASK instead of __FDELT, __FDMASK.
14983 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14985 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14988 * elf/Makefile (gen-ldd): Fix pattern.
14990 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14991 (init_tls): Likewise.
14993 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14997 2011-09-12 Andreas Schwab <schwab@redhat.com>
14999 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15000 `struct cmsghdr *' instead of `void *'.
15001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15004 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15006 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15008 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15009 ldd_rewrite_script.
15011 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15013 * configure.in: Remove --with-tls option.
15014 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15015 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15016 out in case it is missing.
15017 * sysdeps/ia64/elf/configure.in: Likewise.
15018 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15019 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15020 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15021 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15022 * sysdeps/sh/elf/configure.in: Likewise.
15023 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15024 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15025 * sysdeps/x86_64/elf/configure.in: Likewise.
15026 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15027 * sysdeps/mach/hurd/tls.h: Likewise.
15030 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15033 * configure.in: Fix use of AC_INIT.
15035 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15037 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15039 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15041 * malloc/hooks.c: Likewise.
15044 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15045 variables statically.
15046 (narenas): Initialize.
15047 (list_lock): Initialize.
15048 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15049 initializtion of main_arena and list_lock. Small cleanups.
15050 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15051 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15052 Add initializers to main_arena and mp_.
15053 (malloc_state): Remove pagesize member. Change all users to use
15056 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15057 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15058 is always initialized.
15060 * malloc/malloc.c: Removed unused configurations and dead code.
15061 * malloc/arena.c: Likewise.
15062 * malloc/hooks.c: Likewise.
15063 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15065 * include/tls.h: Removed. USE___THREAD must always be defined.
15066 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15067 * elf/dl-libc.c: Likewise.
15068 * elf/dl-tsd.c: Likewise.
15069 * include/errno.h: Likewise.
15070 * include/netdb.h: Likewise.
15071 * include/resolv.h: Likewise.
15072 * inet/herrno-loc.c: Likewise.
15073 * inet/herrno.c: Likewise.
15074 * malloc/arena.c: Likewise.
15075 * malloc/hooks.c: Likewise.
15076 * malloc/malloc.c: Likewise.
15077 * resolv/res-state.c: Likewise.
15078 * resolv/res_libc.c: Likewise.
15079 * sysdeps/i386/dl-machine.h: Likewise.
15080 * sysdeps/ia64/dl-machine.h: Likewise.
15081 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15082 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15083 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15084 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15085 * sysdeps/sh/dl-machine.h: Likewise.
15086 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15087 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15088 * sysdeps/unix/i386/sysdep.S: Likewise.
15089 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15090 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15095 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15100 * sysdeps/x86_64/dl-machine.h: Likewise.
15101 * tls.make.c: Likewise.
15103 * configure.in: Remove --with-__thread option. Make tests for
15104 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15105 tls_model attribute fail if no support is available. Remove
15107 * Makeconfig: Adjust for dropped configure option. All features are
15109 * Makerules: Likewise.
15110 * Versions.def: Likewise.
15111 * argp/argp-fmtstream.c: Likewise.
15112 * argp/argp-fmtstream.h: Likewise.
15113 * argp/argp-help.c: Likewise.
15114 * assert/assert.c: Likewise.
15115 * config.h.in: Likewise.
15116 * config.make.in: Likewise.
15117 * configure: Likewise.
15118 * configure.in: Likewise.
15119 * csu/Versions: Likewise.
15120 * csu/init.c: Likewise.
15121 * elf/tst-audit2.c: Likewise.
15122 * elf/tst-tls10.c: Likewise.
15123 * elf/tst-tls10.h: Likewise.
15124 * elf/tst-tls11.c: Likewise.
15125 * elf/tst-tls12.c: Likewise.
15126 * elf/tst-tls14.c: Likewise.
15127 * elf/tst-tlsmod11.c: Likewise.
15128 * elf/tst-tlsmod12.c: Likewise.
15129 * elf/tst-tlsmod13.c: Likewise.
15130 * elf/tst-tlsmod13a.c: Likewise.
15131 * elf/tst-tlsmod14a.c: Likewise.
15132 * elf/tst-tlsmod15b.c: Likewise.
15133 * elf/tst-tlsmod16a.c: Likewise.
15134 * elf/tst-tlsmod16b.c: Likewise.
15135 * elf/tst-tlsmod7.c: Likewise.
15136 * elf/tst-tlsmod8.c: Likewise.
15137 * elf/tst-tlsmod9.c: Likewise.
15138 * gmon/gmon.c: Likewise.
15139 * grp/fgetgrent_r.c: Likewise.
15140 * grp/putgrent.c: Likewise.
15141 * hurd/fopenport.c: Likewise.
15142 * include/libc-symbols.h: Likewise.
15143 * include/tls.h: Likewise.
15144 * intl/gettextP.h: Likewise.
15145 * intl/loadinfo.h: Likewise.
15146 * locale/global-locale.c: Likewise.
15147 * locale/localeinfo.h: Likewise.
15148 * mach/devstream.c: Likewise.
15149 * malloc/arena.c: Likewise.
15150 * malloc/set-freeres.c: Likewise.
15151 * misc/err.c: Likewise.
15152 * misc/getttyent.c: Likewise.
15153 * misc/mntent_r.c: Likewise.
15154 * posix/getopt.c: Likewise.
15155 * posix/wordexp.c: Likewise.
15156 * pwd/fgetpwent_r.c: Likewise.
15157 * resolv/Versions: Likewise.
15158 * resolv/res_hconf.c: Likewise.
15159 * shadow/fgetspent_r.c: Likewise.
15160 * shadow/putspent.c: Likewise.
15161 * stdio-common/printf_fphex.c: Likewise.
15162 * stdio-common/tmpfile.c: Likewise.
15163 * stdlib/abort.c: Likewise.
15164 * stdlib/fmtmsg.c: Likewise.
15165 * sunrpc/auth_unix.c: Likewise.
15166 * sunrpc/clnt_perr.c: Likewise.
15167 * sunrpc/clnt_tcp.c: Likewise.
15168 * sunrpc/clnt_udp.c: Likewise.
15169 * sunrpc/clnt_unix.c: Likewise.
15170 * sunrpc/openchild.c: Likewise.
15171 * sunrpc/svc_simple.c: Likewise.
15172 * sunrpc/svc_tcp.c: Likewise.
15173 * sunrpc/svc_udp.c: Likewise.
15174 * sunrpc/svc_unix.c: Likewise.
15175 * sunrpc/xdr.c: Likewise.
15176 * sunrpc/xdr_array.c: Likewise.
15177 * sunrpc/xdr_rec.c: Likewise.
15178 * sunrpc/xdr_ref.c: Likewise.
15179 * sunrpc/xdr_stdio.c: Likewise.
15181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15183 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15185 2011-07-03 Andreas Jaeger <aj@suse.de>
15187 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15188 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15189 regenerate with gen-libm-tests.pl.
15191 2010-05-12 Petr Baudis <pasky@suse.cz>
15194 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15195 around j0() zero points by switching to j1().
15196 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15201 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15203 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15208 Patch in part by Pavel Roskin <proski@gnu.org>.
15211 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15213 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15214 Free memory block if necessary.
15217 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15218 be NULL. Don't lock in this case.
15220 2011-09-09 Roland McGrath <roland@hack.frob.com>
15222 * elf/elf.h (ELFOSABI_GNU): New macro.
15223 (ELFOSABI_LINUX): Define to that.
15225 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15227 * string/strncat.c (strncat): Undef the symbol in case it has been
15228 defined in bits/string.h.
15230 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15232 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15234 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15237 2011-08-17 Andreas Jaeger <aj@suse.de>
15239 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15241 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15242 Ian Lance Taylor <iant@google.com>
15244 * math/libm-test.inc (lround_test): New testcase.
15245 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15247 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15249 * Makefile: Remove support for automatic cvs check-ins.
15250 * Makerules: Likewise.
15251 * config.make.in: Likewise.
15252 * configure.in: Likewise.
15253 * intl/Makefile: Likewise.
15254 * locale/Makefile: Likewise.
15255 * po/Makefile: Likewise.
15256 * posix/Makefile: Likewise.
15257 * sysdeps/gnu/Makefile: Likewise.
15258 * sysdeps/mach/hurd/Makefile: Likewise.
15259 * sysdeps/sparc/sparc32/Makefile: Likewise.
15262 * posix/Makefile (bug-regex32-ENV): Define.
15263 Patch by John Stanley <jpsinthemix@verizon.net>.
15265 * misc/Makefile (headers): Add bits/select2.h.
15266 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15267 * misc/bits/select2.h: New file.
15268 * include/bits/select2.h: New file.
15269 * debug/Makefile (routines): Add fdelt_chk.
15270 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15271 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15273 * debug/fdelt_chk.c: New file.
15275 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15276 * wcsmbs/test-wmemcmp.c: Likewise.
15277 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15278 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15280 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15282 * string/Makefile (strop-tests): Add memcmp.
15283 * string/test-wmemcmp.c: New file.
15284 * string/test-memcmp.c: Add wmemcmp support.
15286 2011-09-08 Roland McGrath <roland@hack.frob.com>
15289 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15292 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15293 garbage value in a __mach_port_mod_refs call in the cases of the
15294 task-self and thread-self ports.
15296 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15298 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15300 2011-09-08 Andreas Schwab <schwab@redhat.com>
15302 * elf/dl-load.c (lose): Check for non-null L.
15304 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15306 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15308 * elf/dl-libc.c (dlerror_run): Pass back error code from
15312 * elf/dl-load.c (lose): Free l_origin if it is valid.
15314 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15316 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15317 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15319 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15320 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15321 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15323 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15325 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15326 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15329 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15330 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15331 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15332 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15333 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15334 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15336 2011-08-15 Alan Modra <amodra@gmail.com>
15339 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15340 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15341 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15342 ppc_mcount to static-only-routines.
15343 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15345 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15346 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15348 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15351 for finite and infinity parameters.
15353 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15356 and add nop instructions for throughput optimization.
15357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15359 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15361 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15362 aligned copy for power7 with vector-scalar instructions.
15363 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15365 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15370 2011-09-07 Andreas Schwab <schwab@redhat.com>
15373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15376 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15378 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15379 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15380 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15384 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15386 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15387 Forgot to demangle the pointer.
15389 * sysdeps/i386/sysdep.h: Define atom_text_section.
15390 * sysdeps/x86_64/sysdep.h: Likewise.
15391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15392 section with atom_text_section.
15393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15395 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15399 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15400 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15401 already be defined. Change to take two parameters and don't assign
15402 result to variable. Adjust all users.
15403 Define INTERNAL_GETTIME if not already defined.
15404 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15407 HAVE_CLOCK_GETTIME_VSYSCALL.
15408 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15411 gettimeofday vsyscall, just use time.
15413 2011-09-06 Andreas Schwab <schwab@redhat.com>
15415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15418 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15420 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15424 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15426 syscall if possible.
15428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15430 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15431 e_ident. Don't pass to find_mapsXX.
15432 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15434 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15437 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15438 * sysdeps/x86_64/multiarch/strchr.S: Update.
15439 Check bit_slow_BSF bit.
15440 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15447 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15449 (tryshell): Define.
15450 (__spawni): Change last parameter to be flag. Test
15451 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15452 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15453 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15454 * posix/spawni.c: Likewise.
15455 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15456 * posix/spawnp.c: Likewise. Change normal version to use
15457 SPAWN_XFLAGS_USE_PATH.
15458 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15459 SPAWN_XFLAGS_TRY_SHELL.
15462 * posix/glob.h: Remove gcc 1.x support.
15465 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15467 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15470 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15472 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15473 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15474 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15476 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15477 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15479 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15481 * sysdeps/x86_64/wcscmp.S: New file.
15483 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15484 wcscmp-c wcscmp-sse2
15485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15486 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15488 * wcsmbs/wcscmp.c: Allow renaming.
15490 2011-09-05 David S. Miller <davem@davemloft.net>
15492 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15493 stack slot, rather than the struct return pointer slot.
15494 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15495 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15499 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15501 * po/ja.po: Update from translation team.
15504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15505 kernel in 64-bit binaries.
15507 2011-09-01 David S. Miller <davem@davemloft.net>
15509 * elf/elf.h (HWCAP_SPARC_*): Move to..
15510 * sysdeps/sparc/sysdep.h: this new file and add new values.
15511 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15512 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15513 _DL_HWCAP_COUNT to 24.
15514 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15516 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15517 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15518 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15520 instead of magic constants.
15521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15523 2011-08-31 David S. Miller <davem@davemloft.net>
15525 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15527 Reimplement to do errno handling inline.
15528 (SYSCALL_ERROR_HANDLER): New macro.
15529 (__SYSCALL_STRING): Do not do errno handling in asm.
15530 (__CLONE_SYSCALL_STRING): Delete.
15531 (__INTERNAL_SYSCALL_STRING): Delete.
15532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15533 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15534 (PSEUDO): Reimplement to do errno handling inline.
15535 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15536 (SYSCALL_ERROR_HANDLER): New macro.
15537 (__SYSCALL_STRING): Do not do errno handling in asm.
15538 (__CLONE_SYSCALL_STRING): Delete.
15539 (__INTERNAL_SYSCALL_STRING): Delete.
15540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15541 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15543 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15544 (inline_syscall*): Add 'err' argument.
15545 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15546 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15547 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15548 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15550 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15553 2011-08-30 Andreas Schwab <schwab@redhat.com>
15555 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15557 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15559 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15562 2011-08-24 David S. Miller <davem@davemloft.net>
15564 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15566 2011-08-24 Andreas Schwab <schwab@redhat.com>
15568 * elf/Makefile: Add rules to build and run unload8 test.
15569 * elf/unload8.c: New file.
15570 * elf/unload8mod1.c: New file.
15571 * elf/unload8mod1x.c: New file.
15572 * elf/unload8mod2.c: New file.
15573 * elf/unload8mod3.c: New file.
15575 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15578 2011-08-23 David S. Miller <davem@davemloft.net>
15580 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15581 subtract stack bias.
15582 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15583 %sp not %fp in calculations.
15584 (_JMPBUF_UNWINDS_ADJ): Likewise.
15586 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15587 (aio_suspend): Call it to force an exception region around the
15588 AIO_MISC_WAIT() invocation.
15590 2011-08-23 Andreas Schwab <schwab@redhat.com>
15592 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15595 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15597 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15599 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15600 and <dl-machine.h>.
15601 (Elf64_FuncDesc): Remove.
15603 2011-08-22 David S. Miller <davem@davemloft.net>
15605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15606 sigaltstack check, add missing cfi directives.
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15608 missing cfi directives, and sigaltstack handling.
15610 2011-08-16 Andreas Schwab <schwab@redhat.com>
15613 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15614 object is seen twice.
15615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15617 * elf/Makefile (distribute): Add tst-initorder2.c.
15618 (tests): Add tst-initorder2.
15619 (modules-names): Add tst-initorder2a tst-initorder2b
15620 tst-initorder2c tst-initorder2d. Add rules to build them.
15621 ($(objpfx)tst-initorder2.out): New rule.
15622 * elf/tst-initorder2.c: New file.
15623 * elf/tst-initorder2.exp: New file.
15625 2011-08-22 Andreas Schwab <schwab@redhat.com>
15627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15629 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15630 dependencies back to end of function.
15632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15633 $(elfobjdir)/ld.so.
15635 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15638 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15640 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15641 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15642 of __vdso_gettimeofday.
15643 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15644 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15646 (_libc_vdso_platform_setup): Remove initialization of
15647 __vdso_gettimeofday and __vdso_time.
15649 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15651 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15652 and fgetc_unlocked.
15653 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15656 * elf/dl-open.c (add_to_global): Report additions to the global scope
15657 for LD_DEBUG=scopes.
15658 (dl_open_worker): Also print scope of newly loaded dependencies.
15659 (_dl_show_scope): Indicate if there is no scope.
15662 * stdio-common/Makefile (tests): Add bug24.
15663 * stdio-common/bug24.c: New file.
15665 2011-08-19 Andreas Jaeger <aj@suse.de>
15668 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15669 non-existant file when using close-on-exec mode.
15671 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15674 the very first instruction.
15676 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15677 the CFI state in the end.
15678 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15679 inclusion of dl-trampoline.h.
15680 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15682 2011-08-19 Andreas Schwab <schwab@redhat.com>
15684 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15685 expectations for long double.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15688 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15690 2011-08-14 David S. Miller <davem@davemloft.net>
15692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15693 artificual limit depends upon the system page size.
15695 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15697 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15698 * resolv/Makefile: Define CFLAGS-libresolv.
15700 2011-08-17 Andreas Schwab <schwab@redhat.com>
15702 * nss/makedb.c (compute_tables): Make variables used in nested
15705 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15707 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15708 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15709 if buffer was too small.
15711 * elf/pldd.c (main): Attach to all threads in the process.
15712 Rewrite /proc handling to use *at functions.
15714 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15716 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15717 specifies first scope to show.
15718 (dl_open_worker): Update callers. Move printing scope of new
15719 object to before the relocation.
15720 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15721 * sysdeps/generic/ldsodefs.h: Update declaration.
15723 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15724 string for the scope number.
15726 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15728 * nscd/servicescache.c (cache_addserv): Make sure written is always
15731 2011-08-14 Roland McGrath <roland@hack.frob.com>
15733 * sysdeps/i386/i486/bits/atomic.h
15734 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15735 statement expression, so as to suppress "set but not used" warning.
15736 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15738 * string/strncat.c (STRNCAT): Use prototype definition.
15740 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15741 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15743 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15744 (localedef-modules): Add localedef.
15745 (locale-modules): Add locale.
15747 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15748 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15749 to avoid a warning.
15751 2011-08-14 David S. Miller <davem@davemloft.net>
15753 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15754 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15756 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15758 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15759 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15760 * elf/rtld.c (dl_main): Set l_name of vDSO.
15761 Call _dl_show_scope when DL_DEBUG_SCOPES.
15762 (process_dl_debug): Recognize scopes flag and also set it for all.
15763 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15764 Declare _dl_show_scope.
15766 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15767 (do_dlopen): Pass caller_dlopen to dl_open.
15768 (__libc_dlopen_mode): Initialize caller_dlopen.
15770 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15771 of libc. Make tolower call locale-independent. Optimize a bit by
15772 using isdigit instead of isalnum.
15773 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15775 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15777 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15778 was a dependency or dynamically loaded.
15780 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15782 * intl/l10nflist.c: Allow architecture-specific pop function.
15783 * sysdeps/x86_64/l10nflist.c: New file.
15785 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15788 2011-08-10 Andreas Schwab <schwab@redhat.com>
15790 * include/dirent.h: Add libc_hidden_proto for scandirat and
15791 scandirat64. Don't declare __scandirat64.
15792 * dirent/scandirat.c: Add libc_hidden_def.
15793 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15794 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15796 2011-08-10 David S. Miller <davem@davemloft.net>
15798 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15800 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15802 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15804 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15806 * Versions.def [libc]: Add GLIBC_2.15.
15807 * dirent/Makefile (routines): Add scandirat and scandirat64.
15808 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15810 * dirent/dirent.h: Declare scandirat and scandirat64.
15811 * dirent/scandirat.c: New file.
15812 * dirent/scandirat64.c: New file.
15813 * sysdeps/wordsize-64/scandirat.c: New file.
15814 * sysdeps/wordsize-64/scandirat64.c: New file.
15815 * dirent/opendir.c: Define opendirat.
15816 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15818 * dirent/scandir64.c: Adjust for scandir.c change.
15819 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15820 __scandirat64, and __scandir_cancel_handler.
15821 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15822 additional parameter and use openat instead of open (outside of ld.so).
15823 Add new __opendir as wrapper around __opendirat.
15824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15825 here without requiring old scandirat implementation.
15827 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15829 * dirent/scandir.c (cancel_handler): Renamed to
15830 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15831 defined. Adjust users.
15832 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15835 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15837 * string/test-string.h (IMPL): Use __STRING to expand name and then
15840 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15843 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15845 * string/Makefile: Update.
15846 (strop-tests): Append strncat.
15847 * string/test-wcscmp.c: New file.
15848 New comprehensive test for wcscmp.
15849 * string/test-strcmp.c: Update.
15850 (WIDE): New define.
15852 2011-07-22 Andreas Schwab <schwab@redhat.com>
15854 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15857 2011-07-26 Andreas Schwab <schwab@redhat.com>
15859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15860 encoding to ACE if AI_IDN.
15862 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15865 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15867 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15870 Fix overflow bug in strncat.
15871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15873 * string/test-strncat.c: Update.
15874 Add new tests for checking overflow bugs.
15876 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15879 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15880 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15881 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15883 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15884 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15885 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15886 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15889 (USE_AS_STRCAT): Define.
15890 Add strcat and strncat support.
15891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15893 2011-07-25 Andreas Schwab <schwab@redhat.com>
15895 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15896 __n bigger than INT_MAX+1.
15897 (__strncmp_g): Likewise.
15899 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15901 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15902 * libio/stido.h: Likewise.
15904 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15909 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15912 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15916 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15921 (_dl_x86_64_save_sse): Likewise.
15923 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15927 (_dl_x86_64_save_sse): Likewise.
15929 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15931 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15933 2011-07-21 Andreas Schwab <schwab@redhat.com>
15935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15937 (_dl_x86_64_save_sse): Use correct AVX check.
15939 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15942 bug in strncpy/strncat.
15943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15945 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15947 * string/tester.c (test_strcat): Add tests for different alignments
15948 of source and destination.
15949 (test_strncat): Likewise.
15951 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15954 * posix/glob.c (glob): Check passed in values before using them in
15955 expressions to avoid some overflows.
15956 (glob_in_dir): Likewise.
15959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15960 check for AVX enablement so that we don't crash with old kernels and
15962 * elf/tst-audit4.c: Add same checks here.
15963 * elf/tst-audit6.c: Likewise.
15965 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15967 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15969 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15971 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15973 * po/cs.po: Update from translation team.
15974 * po/bg.po: Likewise.
15976 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15978 * misc/sys/cdefs.h: Add support for const attribute.
15979 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15980 to gnu_dev_{major,minor,makedev} functions.
15982 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15984 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15986 2011-07-20 Andreas Schwab <schwab@redhat.com>
15988 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15991 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15994 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15995 register in order to avoid conflicts with the soft frame pointer
15996 being held in r11 when necessary.
15997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15998 (INTERNAL_VSYSCALL_NCS): Likewise.
16000 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16002 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16003 * elf/dl-fini.c (_dl_fini): Adjust caller.
16004 * elf/dl-close.c (_dl_close_worker): Likewise.
16005 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16007 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16009 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16010 "aux_cache->nlibs < 0".
16012 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16013 in the reload-count case.
16015 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16018 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16019 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16020 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16021 * sysdeps/x86_64/multiarch/strcat.S: New file.
16022 * sysdeps/x86_64/multiarch/strncat.S: New file.
16023 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16025 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16026 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16028 (USE_AS_STRCAT): Define.
16029 Add strcat and strncat support.
16030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16032 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16033 * string/strncat.c: Update.
16034 (USE_AS_STRNCAT): Define.
16035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16036 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16038 * sysdeps/x86_64/multiarch/init-arch.h
16039 (bit_Prefer_PMINUB_for_stringop): New.
16040 (index_Prefer_PMINUB_for_stringop): Likewise.
16041 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16042 bit_Prefer_PMINUB_for_stringop.
16044 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16046 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16048 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16049 of casting of buffer.
16050 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16051 buffer32 and buffer64.
16052 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16053 writes instead of casting of buffer.
16054 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16056 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16059 2011-07-19 Andreas Schwab <schwab@redhat.com>
16061 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16063 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16065 * nscd/nscd.c (termination_handler): Don't do anything for a database
16066 if it has not yet been initialized.
16068 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16070 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16072 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16074 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16076 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16078 * po/nl.po: Update from translation team.
16079 * po/sv.po: Likewise.
16081 2011-07-16 Roland McGrath <roland@hack.frob.com>
16083 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16084 now disallowed by GCC.
16086 * configure.in (use-default-link): Default to yes if a test -shared
16087 link meets our qualifications.
16088 * configure: Regenerated.
16090 * config.make.in (output-format): New variable.
16091 * configure.in: Check for ld --print-output-format support.
16092 * configure: Regenerated.
16093 * Makerules ($(common-objpfx)format.lds)
16094 [$(output-format) != unknown]: Just use $(output-format),
16095 instead of the linker-script munging.
16097 2011-07-14 Roland McGrath <roland@hack.frob.com>
16099 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16100 of $(common-objpfx)shlib.lds.
16101 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16103 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16104 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16106 * configure.in (-z relro check): Adjust test code to add a large
16107 writable data section after it.
16108 * configure: Regenerated.
16110 2011-07-11 Roland McGrath <roland@hack.frob.com>
16112 * configure.in (-z relro check): Fix test code to make the variable
16114 * configure: Regenerated.
16116 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16118 * nscd/nscd.h (struct traced_file): Define.
16119 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16120 elements. Add traced_files.
16121 (inotify_fd): Declare.
16122 (register_traced_file): Declare.
16123 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16124 (inotify_fd): Export.
16125 (resolv_conf_descr): Remove.
16126 (nscd_init): Move inotify descriptor creation to main.
16127 Don't register files for notification here.
16128 (register_traced_file): New function.
16129 (invalidate_cache): Don't use reset_res to determine whether to call
16130 res_init, go through the list of registered files.
16131 (main_loop_poll): The inotify descriptors are now stored in the
16132 structures for the traced files.
16133 (main_loop_epoll): Likewise
16134 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16135 to __nss_disable_nscd.
16136 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16137 for a database anymore. Check the records for all the registered
16139 * nss/Makefile (libnss_files-routines): Add files-init.
16140 (libnss_db-routines): Add db-init.
16141 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16142 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16143 * nss/nss_db/db-init.c: New file.
16144 * nss/nss_files/files-init.c: New file.
16145 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16146 __nss_lookup_function.
16147 (__nss_lookup_function): Call nss_load_library.
16148 (nss_load_all_libraries): New function.
16149 (__nss_disable_nscd): Take parameter with callback function for files
16150 to register. Set is_nscd. Load all the DSOs for the NSS modules
16151 used for the cached services.
16152 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16153 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16154 options for features to all the files in nscd.
16156 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16158 2011-07-10 Roland McGrath <roland@hack.frob.com>
16160 * csu/elf-init.c (__libc_csu_init): Comment typo.
16162 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16164 * po/pl.po: Update from translation team.
16165 * po/ja.po: Likewise.
16166 * po/ru.po: Likewise.
16167 * po/ko.po: Likewise.
16168 * po/fr.po: Likewise.
16170 2011-07-09 Roland McGrath <roland@hack.frob.com>
16172 * configure.in (.ctors/.dtors header and trailer check):
16173 Use an empirical test on a built program.
16174 * configure: Regenerated.
16176 * configure.in (-z relro check): Use an empirical test on a built DSO.
16177 Detect, but do not require, on ia64.
16178 * configure: Regenerated.
16180 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16181 Update tests that use readelf to use $READELF instead.
16182 * configure: Regenerated.
16184 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16186 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16187 if the result is not used.
16189 2011-07-05 Andreas Jaeger <aj@suse.de>
16192 * stdlib/tst-strtod.c: Add testcase.
16194 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16196 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16197 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16198 The latter has a higher limit. Take additional parameter to pass to
16200 (__pathconf): Pass file to __statfs_link_max.
16201 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16203 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16207 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16211 (__statfs_filesize_max): Likewise.
16212 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16214 2011-07-05 Andreas Jaeger <aj@suse.de>
16216 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16218 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16220 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16222 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16225 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16227 * Makefile (strop-tests): Add strncat.
16228 * string/test-strncat.c: New file.
16230 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16232 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16234 2011-06-21 Andreas Jaeger <aj@suse.de>
16236 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16237 Copy rule from iconvdata/Makefile.
16239 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16242 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16243 but no long options are defined, just return 'W'.
16245 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16248 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16250 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16252 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16254 (innetgr): Likewise.
16256 2011-07-05 Roland McGrath <roland@hack.frob.com>
16258 * config.make.in (install_root): Default to $(DESTDIR).
16260 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16264 2011-07-02 Roland McGrath <roland@hack.frob.com>
16266 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16268 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16269 containing directory rather than embedding absolute directory names.
16271 * scripts/check-local-headers.sh: Rewritten using awk.
16272 Match by word, not by line. Print error messages for matches.
16273 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16275 * Makerules [shlib-lds-flags empty]:
16276 ($(common-objpfx)libc_pic.opts): New target.
16277 ($(common-objpfx)libc_pic.os.clean): New target.
16278 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16280 * config.make.in (OBJCOPY): New variable.
16281 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16282 * configure: Regenerated.
16284 * config.make.in (use-default-link): New variable.
16285 * configure.in (use_default_link): Grok --with-default-link to set it.
16286 * configure: Regenerated.
16287 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16288 (shlib-lds, shlib-lds-flags): Define to empty.
16290 * Makerules (shlib-lds): New variable.
16291 (shlib-lds-flags): New variable.
16292 (build-shlib, build-moduile, build-module-asneeded): Use it.
16293 ($(common-objpfx)libc.so): Use $(shlib-lds).
16294 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16295 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16297 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16298 DT_FLAGS/DT_FLAGS_1 with zero flags.
16300 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16301 linker script munging.
16303 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16305 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16307 * crypt/sha512.c (sha512_process_block): Perform total addition using
16308 128-bit if possible.
16309 (__sha512_finish_ctx): Likewise.
16310 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16312 * crypt/sha256.c (SWAP64): Define.
16313 (sha256_process_block): Perform total addition using 64-bit if
16315 (__sha256_finish_ctx): Likewise.
16317 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16319 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16321 * nscd/hstcache.c (cache_addhst): Likewise.
16322 * nscd/grpcache.c (cache_addgr): Likewise.
16323 * nscd/aicache.c (addhstaiX): Likewise
16324 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16326 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16328 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16330 * nscd/hstcache.c (cache_addhst): Likewise.
16331 * nscd/grpcache.c (cache_addgr): Likewise.
16332 * nscd/aicache.c (addhstaiX): Likewise
16334 2011-07-01 Andreas Schwab <schwab@redhat.com>
16336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16337 domain only when needed.
16339 2011-06-30 Andreas Schwab <schwab@redhat.com>
16341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16342 is always restored.
16344 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16346 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16347 are re-adding the entry.
16348 * nscd/servicescache.c (cache_addserv): Likewise.
16350 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16352 * sysdeps/generic/dl-irel.h: fix protection against multiple
16354 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16356 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16359 * malloc/memusage.sh: Fix quoting in message.
16360 * debug/xtrace.sh: Likewise.
16362 * configure.in: Remove support for --experimental-malloc option, make
16364 * config.make.in: Likewise.
16365 * malloc/Makefile: Likewise.
16367 2011-06-27 Andreas Schwab <schwab@redhat.com>
16369 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16370 two-byte characters.
16372 2011-06-27 Roland McGrath <roland@hack.frob.com>
16374 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16375 AC_CACHE_CHECK invocation.
16376 * configure: Regenerated.
16378 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16380 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16383 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16384 bit from old_res_options.
16386 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16388 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16389 value type for setfct.
16391 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16394 __gettimeofday instead of gettimeofday.
16396 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16398 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16400 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16407 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16410 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16411 strcpy-sse2-unaligned strncpy-sse2-unaligned
16412 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16413 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16414 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16415 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16416 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16418 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16419 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16420 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16421 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16422 (STRCPY): Support SSE2 and SSSE3 versions.
16424 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16428 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16429 kernels which artificially limit size of requests.
16431 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16434 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16435 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16436 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16437 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16438 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16439 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16440 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16443 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16444 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16445 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16446 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16447 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16449 Enable unaligned load optimization for Intel Core i3, i5 and i7
16451 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16453 (index_Fast_Unaligned_Load): Define.
16454 (HAS_FAST_UNALIGNED_LOAD): Define.
16456 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16458 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16460 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16463 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16464 until it is clear that the information is realy needed.
16465 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16467 2011-06-22 Andreas Schwab <schwab@redhat.com>
16469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16471 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16474 /sys/devices/system/cpu/online if it is usable.
16476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16477 reading the information from the /proc filesystem to once a second.
16479 2011-06-21 Andreas Jaeger <aj@suse.de>
16481 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16482 NULL after inclusion of kernel headers.
16484 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16486 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16487 calls to internal_setent.
16490 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16491 addresses using gethostbyname4_r ignore IPv4 addresses.
16493 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16494 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16496 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16498 2011-06-20 David S. Miller <davem@davemloft.net>
16500 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16502 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16504 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16505 (elf_irel): Use it.
16506 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16507 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16508 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16509 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16510 * sysdeps/x86_64/dl-irel.h: Likewise.
16512 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16513 * elf/dl-sym.c: Likewise.
16515 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16517 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16518 need to dereference resplen2.
16520 2011-06-14 Andreas Schwab <schwab@redhat.com>
16522 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16524 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16526 * Makeconfig: Define vardbdir and inst_vardbdir.
16527 * nss/Makefile: Add rules to install db-Makefile.
16529 * nss/nss_db/db-XXX.c: Cleanup.
16531 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16532 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16534 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16535 * nss/makedb.c: Implement -g option to specify that value strings
16536 are generated and should not be added to table iterated over for
16538 * nss/nss_db/db-initgroups.c: New file.
16540 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16543 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16544 (internal_getgrouplist): Adjust to name change.
16545 Update use_initgroups_entry if this is not the first call.
16546 * nss/databases.def: Add initgroups entry.
16548 * nss/makedb.c (compute_tables): Check result of multiple hash table
16549 sizes to minimize maximum chain length.
16551 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16553 * Versions.def: Add entry for libnss_db.
16554 * shlib-versions: Likewise.
16555 * nss/Makefile: Add rules to build libnss_db.
16556 * nss/Versions: Add libnss_db information. Organize libnss_files
16558 * nss/db-Makefile: Add gshadow support. Change rules for the new
16559 makedb progra. Some minor improvements to generate smaller files.
16560 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16562 * nss/makedb.c: ...here.
16563 Improve database format to be smaller and require less memory at
16565 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16567 * nss/nss_db/db-netgrp.c: Likewise.
16568 * nss/nss_db/db-open.c: Likewise.
16569 * nss/nss_files/flies-XXX.x: Adjust comments.
16570 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16571 * nss/nss_files/files-grp.c: Likewise.
16572 * nss/nss_files/files-hosts.c: Likewise.
16573 * nss/nss_files/files-network.c: Likewise.
16574 * nss/nss_files/files-proto.c: Likewise.
16575 * nss/nss_files/files-pwd.c: Likewise.
16576 * nss/nss_files/files-rpc.c: Likewise.
16577 * nss/nss_files/files-service.c: Likewise.
16578 * nss/nss_files/files-sgrp.c: Likewise.
16579 * nss/nss_files/files-spwd.c: Likewise.
16580 * nss/nss_db/db-alias.c: Removed.
16581 * nss/nss_db/dummy-db.h: Removed.
16583 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16585 * nss/makedb.c: Rewritten to not use database library.
16586 * nss/Makefile: Update to build new makedb program.
16588 2011-06-14 Andreas Jaeger <aj@suse.de>
16590 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16591 memset declaration.
16593 2011-06-10 Andreas Schwab <schwab@redhat.com>
16595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16598 2011-06-10 Roland McGrath <roland@hack.frob.com>
16600 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16601 * elf/Makefile ($(objpfx)ld.so): Likewise.
16603 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16604 Don't list ld.so twice in dependencies.
16606 * posix/bug-regex31.c: Include <stdlib.h>.
16608 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16610 * nis/nss_compat/compat-spwd.c
16611 (getspent_next_nss_netgr): Remove unused variable.
16612 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16614 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16615 nonmembers" output to use the right array.
16617 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16619 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16621 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16622 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16623 * catgets/gencat.c (read_input_file): Likewise.
16624 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16626 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16627 variable definition inside #if's controlling its use.
16629 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16631 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16633 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16635 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16638 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16640 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16641 * configure: Regenerated.
16643 * Makerules: Revert last change.
16644 * elf/Makefile: Likewise.
16646 2011-06-09 Roland McGrath <roland@hack.frob.com>
16648 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16649 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16650 (reloc-link): Likewise.
16652 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16654 * elf/Makefile: Add rules to build pldd.
16655 * elf/pldd.c: New file.
16656 * elf/pldd-xx.c: New file.
16658 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16660 * version.h: Update for 2.15 development version.
16662 2011-06-07 David S. Miller <davem@davemloft.net>
16664 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16667 elf_machine_lazy_rel): Likewise.
16668 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16670 elf_machine_lazy_rel): Likewise.
16671 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16672 dl_hwcap via passed in argument.
16673 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16676 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16678 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16680 2011-06-06 Roland McGrath <roland@hack.frob.com>
16683 * manual/fdl-1.1.texi: New file, verbatim from:
16684 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16685 * manual/lgpl-2.1.texi: New file, verbatim from:
16686 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16687 * manual/Makefile (licenses): New variable, list those new file names.
16689 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16691 * manual/fdl.texi: File removed.
16692 * manual/lesser.texi: File removed.
16693 * manual/libc.texinfo (Copying, Documentation License):
16694 Use new @include file names, put @appendix directive before @include.
16696 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16699 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16700 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16701 (mq_open): Add __NTH.
16703 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16706 Assume Intel Core i3/i5/i7 processor if AVX is available.
16708 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16713 2011-05-31 Andreas Schwab <schwab@redhat.com>
16715 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16716 memory. Use alloca_account. Fix memory leak when retrying.
16718 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16720 * version.h (RELEASE): Bump for 2.14 release.
16721 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16723 * config.make.in (RANLIB): Remove entry.
16725 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16727 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16728 (libc.pot): Work around missing support for .ksh extension in xgettext.
16731 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16732 if both request failed.
16733 (send_dg): In case of server errors clear resplen or *resplen2.
16736 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16737 when there are multiple maps.
16738 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16739 (_dl_fini): Remove test here.
16741 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16743 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16746 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16747 bit from old_res_options.
16748 (gaih_inet): Likewise.
16751 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16754 * resolv/res_init.c (res_setoptions): Make the code more compact.
16757 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16761 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16763 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16766 * malloc/malloc.h: Declare malloc hook variables as volatile.
16768 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16772 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16773 raise in the comment.
16774 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16776 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16778 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16781 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16782 grow the buffers more if it already has to be sufficient.
16783 (build_wcs_upper_buffer): Likewise.
16784 * posix/regexec.c (check_matching): Likewise.
16785 (clean_state_log_if_needed): Likewise.
16786 (extend_buffers): Don't enlarge buffers beyond size of the input
16788 Patches mostly by Emil Wojak <emil@wojak.eu>.
16789 * posix/bug-regex32.c: New file.
16790 * posix/Makefile (tests): Add bug-regex32.
16792 * locale/findlocale.c (_nl_find_locale): Return right away if
16793 _nl_explode_name failed.
16794 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16796 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16798 * debug/xtrace.sh: Unify messages.
16799 * malloc/memusage.sh: Likewise.
16802 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16803 time symbol from vDSO. Substitute with vsyscall if not available.
16804 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16807 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16808 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16809 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16810 Add sendmmsg and internal_sendmmsg.
16811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16812 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16815 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16816 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16819 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16822 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16823 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16829 * iconvdata/Makefile (tests): Add bug-iconv9.
16830 * iconvdata/bug-iconv9.c: New file.
16832 2011-05-27 Andreas Schwab <schwab@redhat.com>
16835 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16837 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16840 (struct user_regs_struct): Change intcs field back to cs.
16842 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16844 * po/ja.po: Update from translation team.
16846 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16849 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16852 2011-05-20 Andreas Schwab <schwab@redhat.com>
16854 * stdlib/longlong.h: Update from GCC.
16856 2011-05-23 Andreas Schwab <schwab@redhat.com>
16858 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16860 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16861 Add parameter name.
16862 (__sysconf): Pass it down.
16864 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16867 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16869 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16870 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16871 add in in __libc_use_alloca calls. Adjust callers.
16872 (glob): Use malloc in some situations.
16874 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16875 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16878 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16880 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16881 and CLOCK_BOOTTIME_ALARM.
16884 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16887 * string/_strerror.c (__strerror_r): Print negative errors as signed
16891 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16892 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16893 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16895 * configure.in: Fix typo in redirection and correct removal of test
16896 files in two cases.
16899 * locale/setlocale.c (new_composite_name): Fix test to check for
16900 identical name of all categories.
16903 * libio/filedoalloc.c (local_isatty): New function.
16904 (_IO_file_doallocate): Use local_isatty.
16905 * stdio-common/perror.c (perror): In case a new stream is used
16906 forward the stream error.
16907 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16910 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16915 * include/alloca.h (extend_alloca_account): Define.
16918 * posix/regex.h: Fix comments with documentation of user-accessible
16919 fields after compilation and describe correct free'ing of pattern
16920 after re_compile_pattern.
16921 Patch by Reuben Thomas <rrt@sc3d.org>.
16923 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16925 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16926 and -mno-altivec to prevent the compiler from using Altivec and/or
16927 VSX instructions when the corresponding registers are not available.
16929 2011-05-19 Andreas Schwab <schwab@redhat.com>
16931 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16933 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16935 * libio/freopen.c (freopen): Use __dup2, not dup2.
16936 * libio/freopen64.c (freopen64): Likewise.
16938 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16941 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16942 * math/Makefile (tests): Add test-powl.
16943 (CFLAGS-test-powl.c): Define.
16944 * math/test-powl.c: New file.
16946 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16948 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16950 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16953 * iconvdata/gb18030.c: Update to GB18020-2005.
16955 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16957 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16958 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16959 Patch by Aharon Robbins <arnold@skeeve.com>.
16962 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16966 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16967 through underflows.
16970 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16971 point to strings before performing equality test for error_one_per_line
16975 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16979 (struct user_fpregs_struct): Avoid __uint*_t types.
16982 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16983 symbol info. Use it instead of calling _dl_addr locally.
16984 (lock_and_info): New function.
16985 (tr_freehook): Call lock_and_info and pass symbol info as additional
16986 parameter to tr_where.
16987 (tr_mallochook): Likewise.
16988 (tr_reallochook): Likewise.
16989 (tr_memalignhook): Likewise.
16991 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16992 used and couldn't be at all thread-safe.
16994 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16996 * libio/freopen.c (freopen): Don't close old file descriptor
16997 before the new one is opened. Instead dup the new file descriptor
16998 to the old one after the new stream is created.
16999 * libio/freopen64.c (freopen64): Likewise.
17000 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17001 * libio/fileops.c (_IO_new_file_close_it): Handle new
17002 _IO_FLAGS2_NOCLOSE flag.
17003 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17004 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17005 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17006 _IO_FLAGS2_NOCLOSE flag.
17007 * include/unistd.h: Add hidden_proto for dup3.
17008 Define __have_dup3.
17009 * io/dup3.c: Define hidden symbol.
17010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17013 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17014 when an incomplete long option is used.
17015 * posix/tst-getopt_long1.c: New file.
17016 * posix/Makefile (tests): Add tst-getopt_long1.
17019 * scripts/config.guess: Update from autoconf-2.68.
17020 * scripts/config.sub: Likewise.
17023 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17025 (has_cpuclock): ...this. New function.
17026 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17027 macro here based on has_cpuclock code.
17030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17031 First byte (not low byte) is now always NUL.
17032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17035 Use non-cancelable interfaces.
17038 * locale/iso-639.def: Add entry for Sorani.
17041 * include/stdlib.h: Move include protection to the right place.
17042 Define abort_msg_s. Declare __abort_msg with it.
17043 * stdlib/abort.c (__abort_msg): Adjust type.
17044 * assert/assert.c (__assert_fail_base): New function. Majority
17045 of code from __assert_fail. Allocate memory for __abort_msg with
17047 (__assert_fail): Now call __assert_fail_base.
17048 * assert/assert-perr.c: Remove bulk of implementation. Use
17049 __assert_fail_base.
17050 * include/assert.hL Declare __assert_fail_base.
17051 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17053 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17055 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17059 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17060 until all modules are registered in the DTV.
17061 * elf/Makefile: Add rules to build and run tst-tls19.
17062 * elf/tst-tls19.c: New file.
17063 * elf/tst-tls19mod1.c: New file.
17064 * elf/tst-tls19mod2.c: New file.
17065 * elf/tst-tls19mod3.c: New file.
17066 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17069 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17073 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17074 two-byte sequence errors.
17075 * iconvdata/Makefile (tests): Add bug-iconv8.
17076 * iconvdata/bug-iconv8.c: New file.
17079 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17082 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17085 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17086 (dummy_getcfa): New function.
17087 (init): Get _Unwind_GetCFA address, use dummy if not found.
17088 (backtrace_helper): In recursion check, also check whether CFA changes.
17089 (__backtrace): Completely initialize arg.
17091 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17092 storing incomplete byte sequence in state object. Avoid testing for
17093 guaranteed too small input if we know there is enough data available.
17095 2011-05-11 Andreas Schwab <schwab@redhat.com>
17097 * Makeconfig (+link-pie): Indent.
17098 * Rules (binaries-pie): Define if $(have-fpie) and
17100 (binaries-shared): Also filter out $(binaries-pie).
17101 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17102 * nscd/Makefile (others-pie): Add nscd.
17103 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17104 ($(objpfx)nscd): Remove command override.
17105 * login/Makefile (others-pie): Add pt_chown.
17106 ($(objpfx)pt_chown): Remove command override.
17107 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17108 remove command overrides.
17110 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17112 * libio/tst_putwc.c: Fix error messages.
17115 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17116 currently writing and seek to current position when not.
17117 * libio/Makefile (tests): Add bug-fclose1.
17118 * libio/bug-fclose1.c: New file.
17120 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17123 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17124 don't set DF_1_NODELETE here.
17125 (do_lookup_x): When entering new entry test for copy relocation
17126 and if necessary set DF_1_NODELETE flag.
17127 * elf/tst-unique4.cc: New file.
17128 * elf/tst-unique4.h: New file.
17129 * elf/tst-unique4lib.cc: New file.
17130 * elf/Makefile: Add rules to build and run tst-unique4.
17131 Patch by Piotr Bury <pbury@goahead.com>.
17133 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17136 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17139 * misc/mntent_r.c (addmntent): Flush the stream after the output
17142 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17143 (is_trusted_path_normalize): Skip initial colon. Append slash
17144 to empty buffer. Duplicate is_trusted_path code but allow
17145 constructed patch to be prefix.
17146 (is_dst): Allow $ORIGIN followed by /.
17147 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17148 Correct testing of result of is_trusted_path_normalize
17149 (decompose_rpath): Fix warning.
17151 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17154 * grp/initgroups.c (internal_getgrouplist): When we found the service
17155 list through the initgroups entry in nsswitch.conf do not always
17156 continue on a successful lookup. Don't always use the
17157 __nss_group_database value if it is set.
17158 * nss/nsswitch.conf (initgroups): Change action for successful db
17159 lookup to continue for compatibility.
17161 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17164 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17166 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17168 * iconvdata/tst-tables.sh: Likewise.
17169 * iconvdata/cp770.c: New file.
17170 * iconvdata/cp771.c: New file.
17171 * iconvdata/cp772.c: New file.
17172 * iconvdata/cp773.c: New file.
17173 * iconvdata/cp774.c: New file.
17174 * iconvdata/testdata/CP770: New file.
17175 * iconvdata/testdata/CP770..UTF8: New file.
17176 * iconvdata/testdata/CP771: New file.
17177 * iconvdata/testdata/CP771..UTF8: New file.
17178 * iconvdata/testdata/CP772: New file.
17179 * iconvdata/testdata/CP772..UTF8: New file.
17180 * iconvdata/testdata/CP773: New file.
17181 * iconvdata/testdata/CP773..UTF8: New file.
17182 * iconvdata/testdata/CP774: New file.
17183 * iconvdata/testdata/CP774..UTF8: New file.
17185 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17187 * iconvdata/gen-8bit-gap.sh: Likewise.
17188 * iconvdata/gen-8bit.sh: Likewise.
17190 * locale/iso-639.def: Add ary entry.
17193 * locale/C-translit.h.in: Add U20A1 transliteration.
17196 * locale/iso-639.def: Add wae entry.
17197 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17200 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17204 * locale/C-translit.h.in: Add entry for U20B9.
17205 Patch by pravin.d.s@gmail.com.
17207 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17210 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17211 ENAMETOOLONG use generic getcwd.
17212 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17213 in rtld. Use *stat64.
17214 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17215 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17216 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17217 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17218 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17219 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17220 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17221 __fstatat64 macros.
17222 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17223 * dirent/rewinddir.c: Add libc_hidden_def.
17224 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17225 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17227 * include/dirent.h (__alloc_dir): Add flags parameter.
17228 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17229 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17231 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17232 from fdopendir if O_CLOEXEC is already set.
17234 2011-03-15 Alan Modra <amodra@gmail.com>
17236 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17237 l_tls_firstbyte_offset non-zero. Save padding offset in
17238 l_tls_firstbyte_offset for later use.
17239 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17240 freeing static tls block.
17242 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17244 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17245 where #ifdef was intended. The intent is to prevent ARG_MAX from
17246 being defined by the kernel headers.
17248 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17251 * resolv/resolv.h: Define RES_NOTLDQUERY.
17252 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17253 no-tld-query and set RES_NOTLDQUERY.
17254 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17255 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17256 modern BIND to search name as TLD unless forbidden.
17258 2011-05-07 Petr Baudis <pasky@suse.cz>
17259 Ulrich Drepper <drepper@gmail.com>
17262 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17263 (is_trusted_path): ...to here.
17264 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17265 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17266 using is_trusted_path_normalize() in setuid scripts.
17268 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17271 __BEGIN/__END_DECLS.
17273 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17276 NSS_STATUS_NOTFOUND if no record was found.
17278 2011-05-05 Andreas Schwab <schwab@redhat.com>
17280 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17281 (headers-not-in-tirpc): Remove rpc/netdb.h
17282 * resolv/netdb.h: Revert last change.
17284 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17286 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17287 circular dependency between libgcc.a and libc.a.
17289 2011-05-05 Andreas Schwab <schwab@redhat.com>
17291 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17292 * nis/Makefile: Don't install rpcsvc/*.
17293 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17294 instead of <rpc/types.h>.
17295 (MAXHOSTNAMELEN): Define.
17297 2011-05-03 Andreas Schwab <schwab@redhat.com>
17299 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17301 2011-04-28 Maciej Babinski <mbabinski@google.com>
17304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17305 gethostbyname4_r when IPv6 results are possible.
17307 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17310 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17311 _PC_PIPE_BUF handling.
17313 2011-04-30 Bruno Haible <bruno@clisp.org>
17316 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17317 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17319 * inet/getnameinfo.c (getnameinfo): Likewise.
17321 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17323 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17324 to groups setting in database lookup.
17325 * nss/nsswitch.conf: Add initgroups entry.
17327 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17330 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17332 Patch by Eric Blake <eblake@redhat.com>.
17334 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17336 * sunrpc/Makefile (need-export-routines): Add svc_run.
17337 (routines): Remove svc_run.
17338 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17339 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17340 * sunrpc/svc_run.c (svc_run): Likewise.
17341 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17343 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17346 problem in reallocation in last patch.
17348 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17350 * sunrpc/Makefile: Move inclusion of Rules.
17352 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17354 * nss/nss_files/files-initgroups.c: New file.
17355 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17356 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17357 _nss_files_initgroups_dyn.
17359 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17361 * elf/elf.h (R_ARM_IRELATIVE): Define.
17363 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17365 * po/ru.po: Update from translation team.
17367 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17369 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17372 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17375 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17376 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17377 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17381 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17383 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17385 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17389 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17392 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17394 * stdlib/bug-getcontext.c: New file.
17395 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17397 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17399 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17400 instructions into .machine "z9-109".
17401 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17402 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17404 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17406 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17407 between environment variables and auxiliary vector.
17409 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17411 * Makefile: Add rules to build linkobj/libc.so.
17412 * include/libc-symbols.h: Define libc_hidden_nolink.
17413 * include/rpc/auth.h: Mark functions which are to be hidden.
17414 * include/rpc/auth_des.h: Likewise.
17415 * include/rpc/auth_unix.h: Likewise.
17416 * include/rpc/clnt.h: Likewise.
17417 * include/rpc/des_crypt.h: Likewise.
17418 * include/rpc/key_prot.h: Likewise.
17419 * include/rpc/pmap_clnt.h: Likewise.
17420 * include/rpc/pmap_prot.h: Likewise.
17421 * include/rpc/pmap_rmt.h: Likewise.
17422 * include/rpc/rpc_msg.h: Likewise.
17423 * include/rpc/svc.h: Likewise.
17424 * include/rpc/svc_auth.h: Likewise.
17425 * include/rpc/xdr.h: Likewise.
17426 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17427 * nss/Makefile: Likewise.
17428 * sunrpc/Makefile: Don't install headers. Build library with normal
17429 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17430 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17431 for the compat linking library. Remove use of INTDEF/INTUSE.
17432 * sunrpc/auth_none.c: Likewise.
17433 * sunrpc/auth_unix.c: Likewise.
17434 * sunrpc/authdes_prot.c: Likewise.
17435 * sunrpc/authuxprot.c: Likewise.
17436 * sunrpc/clnt_gen.c: Likewise.
17437 * sunrpc/clnt_perr.c: Likewise.
17438 * sunrpc/clnt_raw.c: Likewise.
17439 * sunrpc/clnt_simp.c: Likewise.
17440 * sunrpc/clnt_tcp.c: Likewise.
17441 * sunrpc/clnt_udp.c: Likewise.
17442 * sunrpc/clnt_unix.c: Likewise.
17443 * sunrpc/des_crypt.c: Likewise.
17444 * sunrpc/des_soft.c: Likewise.
17445 * sunrpc/get_myaddr.c: Likewise.
17446 * sunrpc/key_call.c: Likewise.
17447 * sunrpc/key_prot.c: Likewise.
17448 * sunrpc/netname.c: Likewise.
17449 * sunrpc/pm_getmaps.c: Likewise.
17450 * sunrpc/pm_getport.c: Likewise.
17451 * sunrpc/pmap_clnt.c: Likewise.
17452 * sunrpc/pmap_prot.c: Likewise.
17453 * sunrpc/pmap_prot2.c: Likewise.
17454 * sunrpc/pmap_rmt.c: Likewise.
17455 * sunrpc/publickey.c: Likewise.
17456 * sunrpc/rpc_cmsg.c: Likewise.
17457 * sunrpc/rpc_common.c: Likewise.
17458 * sunrpc/rpc_dtable.c: Likewise.
17459 * sunrpc/rpc_prot.c: Likewise.
17460 * sunrpc/rpc_thread.c: Likewise.
17461 * sunrpc/rtime.c: Likewise.
17462 * sunrpc/svc.c: Likewise.
17463 * sunrpc/svc_auth.c: Likewise.
17464 * sunrpc/svc_authux.c: Likewise.
17465 * sunrpc/svc_raw.c: Likewise.
17466 * sunrpc/svc_run.c: Likewise.
17467 * sunrpc/svc_simple.c: Likewise.
17468 * sunrpc/svc_tcp.c: Likewise.
17469 * sunrpc/svc_udp.c: Likewise.
17470 * sunrpc/svc_unix.c: Likewise.
17471 * sunrpc/svcauth_des.c: Likewise.
17472 * sunrpc/xcrypt.c: Likewise.
17473 * sunrpc/xdr.c: Likewise.
17474 * sunrpc/xdr_array.c: Likewise.
17475 * sunrpc/xdr_float.c: Likewise.
17476 * sunrpc/xdr_intXX_t.c: Likewise.
17477 * sunrpc/xdr_mem.c: Likewise.
17478 * sunrpc/xdr_rec.c: Likewise.
17479 * sunrpc/xdr_ref.c: Likewise.
17480 * sunrpc/xdr_sizeof.c: Likewise.
17481 * sunrpc/xdr_stdio.c: Likewise.
17483 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17486 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17487 * sysdeps/ia64/dl-tls.h: Likewise.
17488 * sysdeps/powerpc/dl-tls.h: Likewise.
17489 * sysdeps/s390/dl-tls.h: Likewise.
17490 * sysdeps/sh/dl-tls.h: Likewise.
17491 * sysdeps/sparc/dl-tls.h: Likewise.
17492 * sysdeps/x86_64/dl-tls.h: Likewise.
17493 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17495 2011-03-14 Andreas Schwab <schwab@redhat.com>
17497 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17498 rpath element also skip the following colon.
17499 (expand_dynamic_string_token): Add is_path parameter and pass
17500 down to DL_DST_REQUIRED and _dl_dst_substitute.
17501 (decompose_rpath): Call expand_dynamic_string_token with
17502 non-zero is_path. Ignore empty rpaths.
17503 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17506 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17511 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17514 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17515 Patch by Filipe David Manana <fdmanana@apache.org>.
17517 2011-04-07 Andreas Schwab <schwab@redhat.com>
17519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17520 Maintain aligned stack.
17521 (CHECK_RSP): Remove unused macro.
17523 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17525 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17526 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17528 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17530 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17532 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17534 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17537 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17538 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17539 * sysdeps/x86_64/memmove.c: New file.
17540 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17541 (memcpy): Renamed to ...
17542 (__new_memcpy): This.
17543 (memcpy): Provide GLIBC_2_14 memcpy.
17544 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17545 (memcpy): Provide GLIBC_2_2_5 memcpy.
17547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17550 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17552 2011-03-30 Andreas Schwab <schwab@redhat.com>
17554 * misc/syncfs.c: New file.
17555 * misc/Makefile (routines): Add syncfs.
17556 * posix/unistd.h: Declare syncfs.
17557 * sysdeps/unix/syscalls.list: Add syncfs.
17559 2011-04-01 Andreas Schwab <schwab@redhat.com>
17561 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17568 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17571 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17575 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17581 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17582 sync_file_range.c with -fexceptions.
17583 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17584 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17585 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17586 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17587 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17588 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17590 sync_file_range as cancellation point
17591 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17592 now a wrapper around __call_sync_file_range with cancellation handling.
17593 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17594 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17595 function name to __call_sync_file_range.
17596 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17597 Add call_sync_file_range.
17599 2011-04-01 Andreas Schwab <schwab@redhat.com>
17601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17606 * iconv/iconv.h: Fix typo in comment.
17607 * io/fcntl.h: Likewise.
17608 * libio/stdio.h: Likewise.
17609 * posix/spawn.h: Likewise.
17610 * posix/unistd.h: Likewise.
17611 * stdlib/stdlib.h: Likewise.
17612 * time/time.h: Likewise.
17613 * wcsmbs/wchar.h: Likewise.
17615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17616 open_by_handle): Add.
17617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17618 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17619 Augment a few comments.
17620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17625 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17628 * io/fcntl.h (AT_EMPTY_PATH): Define.
17630 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17632 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17633 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17634 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17636 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17637 * Versions.def: Add GLIBC_2.14.
17638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17641 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17643 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17645 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17647 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17650 * string/test-strncmp.c (do_page_test): New function.
17651 (check2): Likewise.
17652 (test_main): Call check2.
17653 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17655 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17659 Handle cache information in CPU leaf 4.
17660 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17662 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17665 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17666 character representation.
17667 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17669 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17671 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17672 END(__isnan) to END(__isnanf) to match function entry point/label
17673 EALIGN(__isnanf,...).
17675 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17677 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17679 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17682 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17683 copy from the symbol referenced in the relocation to initialize the
17685 Patch by Piotr Bury <pbury@goahead.com>.
17686 * elf/Makefile: Add rules to build and tst-unique3.
17687 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17688 * elf/tst-unique3.cc: New file.
17689 * elf/tst-unique3.h: New file.
17690 * elf/tst-unique3lib.cc: New file.
17691 * elf/tst-unique3lib2.cc: New file.
17693 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17695 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17697 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17698 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17701 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17703 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17704 to-be-loaded object along a path to loader is ld.so.
17706 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17707 Ulrich Drepper <drepper@gmail.com>
17709 * sysdeps/x86_64/memset.S: After aligning destination, code
17710 branches to different locations depending on the value of
17711 misalignment, when multiarch is enabled. Fix this.
17713 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17715 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17716 Set _x86_64_preferred_memory_instruction for AMD processsors.
17717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17718 Set bit_Prefer_SSE_for_memop for AMD processors.
17720 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17722 * libio/fmemopen.c (fmemopen): Optimize a bit.
17724 2011-03-03 Andreas Schwab <schwab@redhat.com>
17726 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17728 2011-03-03 Roland McGrath <roland@redhat.com>
17730 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17732 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17734 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17735 __bzero_ultra1 instead of __memset_ultra1.
17737 2011-02-23 Andreas Schwab <schwab@redhat.com>
17738 Ulrich Drepper <drepper@gmail.com>
17741 * include/link.h (struct link_map): Add l_orig_initfini.
17742 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17743 returning unsuccessfully.
17744 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17745 close of a file loaded at startup, restore the original l_initfini
17747 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17748 list, store the pointer.
17749 * elf/Makefile ($(objpfx)noload-mem): New rule.
17750 (noload-ENV): Define.
17751 (tests): Add $(objpfx)noload-mem.
17752 * elf/noload.c: Include <memcheck.h>.
17753 (main): Call mtrace. Close all opened handles.
17755 2011-02-17 Andreas Schwab <schwab@redhat.com>
17758 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17759 dependencies are missing.
17761 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17763 Fix __if_freereq crash: Unlike the generic version which uses free,
17765 * sysdeps/mach/hurd/ifreq.h: New file.
17767 2011-01-27 Petr Baudis <pasky@suse.cz>
17768 Ulrich Drepper <drepper@gmail.com>
17771 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17772 to extend_alloca().
17773 * stdio-common/bug23.c: New file.
17774 * stdio-common/Makefile (tests): Add bug23.
17776 2010-09-28 Andreas Schwab <schwab@redhat.com>
17777 Ulrich Drepper <drepper@gmail.com>
17780 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17781 before performing relro protection. At old place add assertion
17782 to make sure nothing changed.
17784 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17785 Glauber de Oliveira Costa <glommer@gmail.com>
17787 * elf/elf.h: Add new ARM TLS relocs.
17789 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17792 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17794 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17796 * sysdeps/wordsize-64/tst-writev.c: New file.
17798 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17800 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17801 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17802 insns in _dl_start to prevent a TOC reference before relocs are
17805 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17808 * Makeconfig: Remove RANLIB definition.
17809 * Makerules: Don't use RANLIB.
17810 * aclocal.m4: Remove ranlib test.
17811 * configure.in: No need to check for ranlib.
17812 * elf/rtld-Rules: Don't use RANLIB.
17814 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17816 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17818 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17819 inclusion protection macro.
17821 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17822 SIGRTMIN and SIGRTMAX and print information in that case only when
17823 SIGRTMIN is defined.
17825 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17827 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17828 arginfo fn returning -1.
17830 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17831 and thousands string is zero terminated.
17833 2011-02-03 Andreas Schwab <schwab@redhat.com>
17835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17836 sysdeps/unix/sysv/linux/bits/socket.h.
17838 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17840 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17841 (__CPU_COUNT): Remove old macros.
17842 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17843 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17844 (__CPU_ALLOC, __CPU_FREE): Add macros.
17845 (__sched_cpualloc, __sched_cpufree): Add declarations.
17847 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17849 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17850 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17851 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17852 (readdhstai): Return value of addhstaiX call.
17853 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17854 (addgrbyX): Return value returned by cache_addgr.
17855 (readdgrbyname): Return value returned by addgrbyX.
17856 (readdgrbygid): Likewise.
17857 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17858 (addpwbyX): Return value returned by cache_addpw.
17859 (readdpwbyname): Return value returned by addhstbyX.
17860 (readdpwbyuid): Likewise.
17861 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17862 (addservbyX): Return value returned by cache_addserv.
17863 (readdservbyname): Return value returned by addservbyX:
17864 (readdservbyport): Likewise.
17865 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17866 (addhstbyX): Return value returned by cache_addhst.
17867 (readdhstbyname): Return value returned by addhstbyX.
17868 (readdhstbyaddr): Likewise.
17869 (readdhstbynamev6): Likewise.
17870 (readdhstbyaddrv6): Likewise.
17871 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17872 (readdinitgroups): Return value returned by addinitgroupsX.
17873 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17874 (prune_cache): Keep track of timeout value of re-added entries.
17875 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17876 * nscd/nscd.h: Adjust prototypes of readd* functions.
17878 2011-02-04 Roland McGrath <roland@redhat.com>
17880 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17881 (nis_stats): Likewise.
17882 * nis/nis_modify.c (nis_modify): Likewise.
17883 * nis/nis_remove.c (nis_remove): Likewise.
17884 * nis/nis_add.c (nis_add): Likewise.
17886 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17888 * posix/fnmatch_loop.c: Add some consts.
17890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17892 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17895 * config.make.in (config-cflags-novzeroupper): Define.
17896 * configure.in: Substitute libc_cv_cc_novzeroupper.
17897 * elf/Makefile (AVX-CFLAGS): Define.
17898 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17899 (CFLAGS-tst-auditmod4a.c): Likewise.
17900 (CFLAGS-tst-auditmod4b.c): Likewise.
17901 (CFLAGS-tst-auditmod6b.c): Likewise.
17902 (CFLAGS-tst-auditmod6c.c): Likewise.
17903 (CFLAGS-tst-auditmod7b.c): Likewise.
17904 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17906 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17908 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17909 function to the callback.
17910 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17912 2011-02-02 Andreas Schwab <schwab@redhat.com>
17914 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17917 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17920 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17922 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17924 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17927 * elf/Makefile: Add rules to build and run new test.
17928 * elf/tst-initorder.c: New file.
17929 * elf/tst-initorder.exp: New file.
17930 * elf/tst-initordera1.c: New file.
17931 * elf/tst-initordera2.c: New file.
17932 * elf/tst-initordera3.c: New file.
17933 * elf/tst-initordera4.c: New file.
17934 * elf/tst-initorderb1.c: New file.
17935 * elf/tst-initorderb2.c: New file.
17936 * elf/tst-order-a1.c: New file.
17937 * elf/tst-order-a2.c: New file.
17938 * elf/tst-order-a3.c: New file.
17939 * elf/tst-order-a4.c: New file.
17940 * elf/tst-order-b1.c: New file.
17941 * elf/tst-order-b2.c: New file.
17942 * elf/tst-order-main.c: New file.
17943 New test case by George Gensure <werkt0@gmail.com>.
17945 2010-10-01 Andreas Schwab <schwab@redhat.com>
17947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17948 decoding ACE if AI_CANONIDN.
17950 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17952 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17954 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17956 * version.h (RELEASE): Bump for 2.13 release.
17957 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17959 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17963 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17965 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17966 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17970 * posix/getconf.c: Update copyright year.
17971 * catgets/gencat.c: Likewise.
17972 * csu/version.c: Likewise.
17973 * debug/catchsegv.sh: Likewise.
17974 * debug/xtrace.sh: Likewise.
17975 * elf/ldconfig.c: Likewise.
17976 * elf/ldd.bash.in: Likewise.
17977 * elf/sprof.c (print_version): Likewise.
17978 * iconv/iconv_prog.c: Likewise.
17979 * iconv/iconvconfig.c: Likewise.
17980 * locale/programs/locale.c: Likewise.
17981 * locale/programs/localedef.c: Likewise.
17982 * malloc/memusage.sh: Likewise.
17983 * malloc/mtrace.pl: Likewise.
17984 * nscd/nscd.c (print_version): Likewise.
17985 * nss/getent.c: Likewise.
17987 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17988 PF_CAIF, and PF_ALG.
17989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17991 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17993 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17994 (modules-names): Use them.
17995 (ifunc-test-modules, ifunc-pie-tests): Define.
17996 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17997 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17998 (test-extras): Likewise.
17999 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18000 $(compile-command.c).
18001 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18002 (all-built-dso): Define.
18003 (check-textrel.out, check-execstack.out): Depend on it.
18005 * configure.in: Don't override --enable-multi-arch.
18007 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18010 * nscd/hstcache.c (tryagain): Define.
18011 (cache_addhst): Return tryagain not notfound for temporary errors.
18012 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18015 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18018 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18019 to make the syscall.
18020 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18023 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18024 and fall back to matching as normal character if the string ends before
18025 the matching ']' is found. This is what POSIX requires.
18026 * posix/testfnm.c: Adjust test result.
18027 * posix/globtest.sh: Adjust test result. Add new test.
18028 * posix/tst-fnmatch.input: Likewise.
18029 * posix/tst-fnmatch2.c: Add new test.
18031 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18033 * elf/Makefile (check-execstack): Revert last change. Depend on
18035 (check-execstack.h): New target.
18036 (generated): Add check-execstack.h.
18037 * elf/check-execstack.c: Include "check-execstack.h".
18038 (main): Revert last change.
18039 (handle_file): Return zero if GNU_STACK is absent and
18040 DEFAULT_STACK_PERMS doesn't include PF_X.
18042 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18044 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18045 in child fails because the descriptor is already closed.
18046 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18047 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18051 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18055 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18056 temporary buffer used to handle multi lookups locally.
18057 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18059 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18061 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18064 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18066 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18067 alignment for SSE2.
18069 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18072 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18073 characters. When rounding increased number of integer digits recompute
18075 * stdio-common/tst-grouping.c: New file.
18076 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18078 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18080 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18081 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18083 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18085 * bits/select.h: Likewise.
18087 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18089 * po/ja.po: Update from translation team.
18091 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18094 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18095 implementation just like for lxstat, fxstatat, et al.
18097 2010-12-27 Jim Meyering <meyering@redhat.com>
18100 * posix/regexec.c (build_trtable): Return failure indication upon
18101 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18103 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18106 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18107 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18108 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18112 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18115 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18116 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18118 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18120 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18121 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18122 script has SORT_BY_INIT_PRIORITY.
18123 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18124 NO_CTORS_DTORS_SECTIONS is defined.
18125 * elf/soinit.c: Likewise.
18126 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18127 NO_CTORS_DTORS_SECTIONS is defined.
18128 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18129 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18130 * sysdeps/sh/init-first.c: Likewise.
18131 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18133 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18135 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18136 always use the slow path.
18138 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18140 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18141 similar rule which adds the sysdep directories to the header search in
18142 order to pick up the correct platform stackinfo.h.
18143 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18144 perform test if it is, otherwise return successfully without testing.
18145 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18146 DEFAULT_STACK_PERMS define in stackinfo.h.
18147 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18148 defined in stackinfo.h.
18149 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18150 DEFAULT_STACK_PERMS defined in stackinfo.h.
18151 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18152 * sysdeps/ia64/stackinfo.h: Likewise.
18153 * sysdeps/s390/stackinfo.h: Likewise.
18154 * sysdeps/sh/stackinfo.h: Likewise.
18155 * sysdeps/sparc/stackinfo.h: Likewise.
18156 * sysdeps/x86_64/stackinfo.h: Likewise.
18157 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18158 PF_X for powerpc64. Retain PF_X for powerpc32.
18160 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18162 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18165 GETDENTS_64BIT_ALIGNED.
18167 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18169 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18171 2010-12-10 Andreas Schwab <schwab@redhat.com>
18173 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18176 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18177 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18179 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18180 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18182 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18185 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18188 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18190 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18192 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18194 * po/it.po: Update from translation team.
18196 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18201 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18203 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18205 2010-11-24 Andreas Schwab <schwab@redhat.com>
18207 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18209 (gaih_getanswer_slice): Likewise.
18211 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18215 2010-05-31 Petr Baudis <pasky@suse.cz>
18218 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18219 silently even in the chroot mode.
18221 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18224 last patch a bit. Pretty printing
18226 2010-05-31 Petr Baudis <pasky@suse.cz>
18229 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18230 initialization of skip_initgroups_dyn.
18232 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18237 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18239 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18241 2010-11-11 Andreas Schwab <schwab@redhat.com>
18243 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18244 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18245 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18246 ($(objpfx)tst-fnmatch-mem): New rule.
18247 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18248 * posix/tst-fnmatch.c (main): Call mtrace.
18250 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18253 Support Intel processor model 6 and model 0x2c.
18255 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18260 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18263 * string/test-strncasecmp.c (check_result): New function.
18264 (do_one_test): Use it.
18265 (check1): New function.
18266 (test_main): Use it.
18267 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18268 Support strcasecmp and strncasecmp.
18270 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18273 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18276 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18278 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18282 * sysdeps/x86_64/multiarch/bzero.S: New file.
18283 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18284 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18285 * sysdeps/x86_64/multiarch/memset.S: New file.
18286 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18288 Set bit_Prefer_SSE_for_memop for Intel processors.
18289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18291 (index_Prefer_SSE_for_memop): Define.
18292 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18294 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18296 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18297 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18299 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18302 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18303 (__x86_64_raw_data_cache_size_half): Likewise.
18304 (__x86_64_raw_shared_cache_size): Likewise.
18305 (__x86_64_raw_shared_cache_size_half): Likewise.
18307 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18308 (__x86_64_raw_data_cache_size_half): Likewise.
18309 (__x86_64_raw_shared_cache_size): Likewise.
18310 (__x86_64_raw_shared_cache_size_half): Likewise.
18311 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18312 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18313 and __x86_64_raw_shared_cache_size_half. Round
18314 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18315 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18316 to multiple of 256 bytes.
18318 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18322 of inacessible symlinks. Verify result of symlink before returning it.
18323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18324 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18326 2010-10-28 Erich Ritz <erichritz@gmail.com>
18328 * math/math.h (isinf): Fix typo in comment.
18330 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18332 * po/da.po: Update from translation team.
18334 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18336 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18337 is added to the list.
18339 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18340 Ulrich Drepper <drepper@gmail.com>
18342 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18343 the global list here. Move code to...
18344 (_dl_add_to_namespace_list): ...here. New function.
18345 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18346 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18347 * elf/dl-load.c (lose): Don't remove the element from the list.
18348 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18349 (_dl_map_object): Likewise.
18351 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18354 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18355 into all bytes of SSE register.
18356 Patch by Richard Li <richardpku@gmail.com>.
18358 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18361 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18364 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18366 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18367 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18368 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18369 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18374 2010-10-22 Andreas Schwab <schwab@redhat.com>
18376 * include/dlfcn.h (__RTLD_SECURE): Define.
18377 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18378 mode & __RTLD_SECURE instead.
18379 (open_path): Rename preloaded parameter to secure.
18380 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18381 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18382 * elf/dl-deps.c (openaux): Likewise.
18383 * elf/rtld.c (struct map_args): Remove is_preloaded.
18384 (map_doit): Don't use it.
18385 (dl_main): Likewise.
18386 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18387 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18389 2010-09-09 Andreas Schwab <schwab@redhat.com>
18391 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18392 (sysd-rules-targets): Remove duplicates.
18393 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18394 rtld-%.$o dependency.
18396 2010-10-18 Andreas Schwab <schwab@redhat.com>
18398 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18399 _dl_map_object do it.
18401 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18403 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18404 fast fma builtins, define the macros in the C99 standard.
18405 (FP_FAST_FMAF): Likewise.
18406 (FP_FAST_FMAL): Likewise.
18407 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18409 * bits/mathdef.h: Update copyright year.
18410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18412 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18414 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18415 builtins, define the macros in the C99 standard.
18416 (FP_FAST_FMAF): Likewise.
18417 (FP_FAST_FMAL): Likewise.
18418 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18420 (FP_FAST_FMAF): Likewise.
18422 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18425 * math/libm-test.inc (fma_test): Some new testcases.
18426 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18428 y and infinite z. Do multiplication by C already in long double.
18429 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18431 y and infinite z. Do bitwise or of inexact bit into u.d.
18432 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18433 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18434 * sysdeps/i386/fpu/s_fma.S: Removed.
18435 * sysdeps/i386/fpu/s_fmal.S: Removed.
18437 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18440 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18442 computation is not scheduled after fetestexcept. Fix value
18443 of minimum denormal long double.
18445 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18448 * math/libm-test.inc (fma_test): Add some more tests.
18449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18452 2010-10-15 Andreas Schwab <schwab@redhat.com>
18454 * scripts/data/localplt-s390-linux-gnu.data: New file.
18455 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18457 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18460 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18461 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18463 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18465 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18467 if one of x and y is very large and the other is subnormal.
18468 * sysdeps/s390/fpu/s_fmaf.c: New file.
18469 * sysdeps/s390/fpu/s_fma.c: New file.
18470 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18471 * sysdeps/powerpc/fpu/s_fma.S: New file.
18472 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18473 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18474 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18476 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18479 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18481 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18482 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18483 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18484 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18485 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18486 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18489 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18492 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18493 * posix/bug-regex31.input: Add test case.
18495 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18497 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18498 * posix/bug-regex31.input: New file.
18501 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18502 (parse_sub_exp): Fix last change, use postorder.
18504 * posix/bug-regex31.c: New file.
18505 * posix/Makefile: Add rules to build and run bug-regex31.
18507 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18510 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18513 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18514 to have entries in sys_siglist.
18517 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18520 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18523 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18524 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18525 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18526 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18527 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18528 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18529 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18530 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18531 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18532 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18533 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18534 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18535 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18536 * math/ftestexcept.c (fetestexcept): Likewise.
18537 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18538 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18539 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18540 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18541 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18542 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18543 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18545 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18548 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18551 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18553 * string/bug-strstr1.c: New file.
18554 * string/Makefile: Add rules to build and run bug-strstr1.
18556 2010-10-05 Eric Blake <eblake@redhat.com>
18559 * string/str-two-way.h (two_way_long_needle): Always clear memory
18560 when skipping input due to the shift table.
18562 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18565 * malloc/mcheck.c: Handle large requests.
18568 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18569 for strncmp and strncasecmp.
18570 * string/stratcliff.c: Add tests for strcmp and strncmp.
18571 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18573 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18575 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18578 2010-09-30 Andreas Jaeger <aj@suse.de>
18580 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18581 (CGROUP_SUPER_MAGIC): Define.
18582 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18583 Handle btrfs and cgroup file systems.
18584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18587 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18589 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18590 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18592 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18595 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18596 trying to locate the ELF header.
18598 2010-09-27 Andreas Schwab <schwab@redhat.com>
18601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18602 Mask out sign-bit copies when constructing f_fsid.
18604 2010-09-24 Petr Baudis <pasky@suse.cz>
18606 * debug/stack_chk_fail_local.c: Add missing licence exception.
18607 * debug/warning-nop.c: Likewise.
18609 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18612 implementing getdents64 using getdents syscall, set d_type if
18613 __ASSUME_GETDENTS32_D_TYPE.
18615 2010-09-16 Andreas Schwab <schwab@redhat.com>
18617 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18618 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18620 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18623 * posix/unistd.h: Undo change of feature selection for ftruncate from
18626 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18628 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18631 2010-09-20 Andreas Schwab <schwab@redhat.com>
18633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18635 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18637 2010-09-14 Andreas Schwab <schwab@redhat.com>
18639 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18640 variables after CHECK_SP call.
18641 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18643 2010-09-13 Andreas Schwab <schwab@redhat.com>
18644 Ulrich Drepper <drepper@redhat.com>
18646 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18647 re-relocationg ld.so.
18648 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18649 _dl_init_paths call.
18650 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18653 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18655 * resolv/res_init.c (__res_vinit): Count the default server we added.
18657 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18658 Ulrich Drepper <drepper@redhat.com>
18661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18662 (____longjmp_chk): Use %ebx for saving value across system call.
18665 2010-09-06 Andreas Schwab <schwab@redhat.com>
18667 * manual/Makefile: Don't mix pattern rules with normal rules.
18669 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18671 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18673 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18674 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18675 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18676 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18680 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18683 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18684 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18686 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18688 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18689 * sysdeps/x86_64/addmul_1.S: Likewise.
18690 * sysdeps/x86_64/lshift.S: Likewise.
18691 * sysdeps/x86_64/mul_1.S: Likewise.
18692 * sysdeps/x86_64/rshift.S: Likewise.
18693 * sysdeps/x86_64/sub_n.S: Likewise.
18694 * sysdeps/x86_64/submul_1.S: Likewise.
18696 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18698 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18699 Define __sched_param instead of SCHED_* and sched_param when
18700 <bits/sched.h> is included with __need_schedparam defined.
18701 * bits/sched.h [__need_schedparam]
18702 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18703 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18704 (__defined_schedparam): Define to 1.
18705 (__sched_param): New structure, identical to sched_param.
18706 (__need_schedparam): Undefine.
18708 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18711 (epoll_create1): Declare.
18713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18715 2010-08-31 Andreas Schwab <schwab@redhat.com>
18718 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18719 shifting retval into place.
18721 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18723 * nis/rpcsvc/nis.h: Update copyright notice.
18724 * nis/rpcsvc/nis.x: Likewise.
18725 * nis/rpcsvc/nis_callback.h: Likewise.
18726 * nis/rpcsvc/nis_callback.x: Likewise.
18727 * nis/rpcsvc/nis_object.x: Likewise.
18728 * nis/rpcsvc/nis_tags.h: Likewise.
18729 * nis/rpcsvc/yp.h: Likewise.
18730 * nis/rpcsvc/yp.x: Likewise.
18731 * nis/rpcsvc/ypupd.h: Likewise.
18732 * nis/yp_xdr.c: Likewise.
18733 * nis/ypupdate_xdr.c: Likewise.
18735 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18736 mainly the body of pmap_getport. Add parameters to specify timeouts.
18737 (pmap_getport): Use __libc_rpc_getport.
18738 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18739 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18740 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18742 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18747 2010-08-27 Roland McGrath <roland@redhat.com>
18749 * sysdeps/i386/i686/multiarch/Makefile
18750 (CFLAGS-varshift.c): New variable.
18752 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18754 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18755 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18759 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18761 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18763 * sysdeps/x86_64/strlen.S: Unroll the loop.
18764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18765 strlen-sse2 strlen-sse2-bsf.
18766 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18767 __strlen_no_bsf if bit_Slow_BSF is set.
18768 (__strlen_sse42): Removed.
18769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18770 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18772 2010-08-25 Roland McGrath <roland@redhat.com>
18774 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18775 * sysdeps/x86_64/multiarch/varshift.c: New file.
18776 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18777 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18778 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18779 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18781 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18784 strlen-sse2 strlen-sse2-bsf.
18785 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18786 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18787 (__strlen_sse2): Removed.
18788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18791 bit_Slow_BSF for Atom.
18792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18793 (index_Slow_BSF): Define.
18794 (HAS_SLOW_BSF): Define.
18796 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18799 * resolv/res_init.c (__res_vinit): When no server address at all
18800 is given default to loopback.
18802 2010-08-24 Roland McGrath <roland@redhat.com>
18804 * configure.in: Remove config-name.h generation.
18805 * configure: Regenerated.
18806 * config-name.in: File removed.
18807 * scripts/config-uname.sh: New file.
18808 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18809 ($(objdir)config-name.h): New target.
18811 * sunrpc/rpc_parse.h: Avoid nested comment.
18813 2010-08-24 Richard Henderson <rth@redhat.com>
18814 Ulrich Drepper <drepper@redhat.com>
18815 H.J. Lu <hongjiu.lu@intel.com>
18817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18819 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18820 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18821 _mm_alignr_epi8 with _mm_loadu_si128.
18822 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18823 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18824 (__m128i_shift_right): Removed.
18825 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18826 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18827 * sysdeps/x86_64/multiarch/varshift.h: New file.
18828 * sysdeps/x86_64/multiarch/varshift.S: New file.
18830 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18832 * configure.in: Move assembler checks to before sysdep dir checking.
18834 2010-08-20 Petr Baudis <pasky@suse.cz>
18836 * LICENSES: Sync the sunrpc license.
18838 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18840 * sunrpc/auth_des.c: Update copyright notice once again.
18841 * sunrpc/auth_none.c: Likewise.
18842 * sunrpc/auth_unix.c: Likewise.
18843 * sunrpc/authdes_prot.c: Likewise.
18844 * sunrpc/authuxprot.c: Likewise.
18845 * sunrpc/bindrsvprt.c: Likewise.
18846 * sunrpc/clnt_gen.c: Likewise.
18847 * sunrpc/clnt_perr.c: Likewise.
18848 * sunrpc/clnt_raw.c: Likewise.
18849 * sunrpc/clnt_simp.c: Likewise.
18850 * sunrpc/clnt_tcp.c: Likewise.
18851 * sunrpc/clnt_udp.c: Likewise.
18852 * sunrpc/clnt_unix.c: Likewise.
18853 * sunrpc/des_crypt.c: Likewise.
18854 * sunrpc/des_soft.c: Likewise.
18855 * sunrpc/get_myaddr.c: Likewise.
18856 * sunrpc/getrpcport.c: Likewise.
18857 * sunrpc/key_call.c: Likewise.
18858 * sunrpc/key_prot.c: Likewise.
18859 * sunrpc/openchild.c: Likewise.
18860 * sunrpc/pm_getmaps.c: Likewise.
18861 * sunrpc/pm_getport.c: Likewise.
18862 * sunrpc/pmap_clnt.c: Likewise.
18863 * sunrpc/pmap_prot.c: Likewise.
18864 * sunrpc/pmap_prot2.c: Likewise.
18865 * sunrpc/pmap_rmt.c: Likewise.
18866 * sunrpc/rpc/auth.h: Likewise.
18867 * sunrpc/rpc/auth_unix.h: Likewise.
18868 * sunrpc/rpc/clnt.h: Likewise.
18869 * sunrpc/rpc/des_crypt.h: Likewise.
18870 * sunrpc/rpc/key_prot.h: Likewise.
18871 * sunrpc/rpc/netdb.h: Likewise.
18872 * sunrpc/rpc/pmap_clnt.h: Likewise.
18873 * sunrpc/rpc/pmap_prot.h: Likewise.
18874 * sunrpc/rpc/pmap_rmt.h: Likewise.
18875 * sunrpc/rpc/rpc.h: Likewise.
18876 * sunrpc/rpc/rpc_des.h: Likewise.
18877 * sunrpc/rpc/rpc_msg.h: Likewise.
18878 * sunrpc/rpc/svc.h: Likewise.
18879 * sunrpc/rpc/svc_auth.h: Likewise.
18880 * sunrpc/rpc/types.h: Likewise.
18881 * sunrpc/rpc/xdr.h: Likewise.
18882 * sunrpc/rpc_clntout.c: Likewise.
18883 * sunrpc/rpc_cmsg.c: Likewise.
18884 * sunrpc/rpc_common.c: Likewise.
18885 * sunrpc/rpc_cout.c: Likewise.
18886 * sunrpc/rpc_dtable.c: Likewise.
18887 * sunrpc/rpc_hout.c: Likewise.
18888 * sunrpc/rpc_main.c: Likewise.
18889 * sunrpc/rpc_parse.c: Likewise.
18890 * sunrpc/rpc_parse.h: Likewise.
18891 * sunrpc/rpc_prot.c: Likewise.
18892 * sunrpc/rpc_sample.c: Likewise.
18893 * sunrpc/rpc_scan.c: Likewise.
18894 * sunrpc/rpc_scan.h: Likewise.
18895 * sunrpc/rpc_svcout.c: Likewise.
18896 * sunrpc/rpc_tblout.c: Likewise.
18897 * sunrpc/rpc_util.c: Likewise.
18898 * sunrpc/rpc_util.h: Likewise.
18899 * sunrpc/rpcinfo.c: Likewise.
18900 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18901 * sunrpc/rpcsvc/key_prot.x: Likewise.
18902 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18903 * sunrpc/rpcsvc/mount.x: Likewise.
18904 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18905 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18906 * sunrpc/rpcsvc/rex.x: Likewise.
18907 * sunrpc/rpcsvc/rstat.x: Likewise.
18908 * sunrpc/rpcsvc/rusers.x: Likewise.
18909 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18910 * sunrpc/rpcsvc/spray.x: Likewise.
18911 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18912 * sunrpc/rtime.c: Likewise.
18913 * sunrpc/svc.c: Likewise.
18914 * sunrpc/svc_auth.c: Likewise.
18915 * sunrpc/svc_authux.c: Likewise.
18916 * sunrpc/svc_raw.c: Likewise.
18917 * sunrpc/svc_run.c: Likewise.
18918 * sunrpc/svc_simple.c: Likewise.
18919 * sunrpc/svc_tcp.c: Likewise.
18920 * sunrpc/svc_udp.c: Likewise.
18921 * sunrpc/svc_unix.c: Likewise.
18922 * sunrpc/svcauth_des.c: Likewise.
18923 * sunrpc/xcrypt.c: Likewise.
18924 * sunrpc/xdr.c: Likewise.
18925 * sunrpc/xdr_array.c: Likewise.
18926 * sunrpc/xdr_float.c: Likewise.
18927 * sunrpc/xdr_mem.c: Likewise.
18928 * sunrpc/xdr_rec.c: Likewise.
18929 * sunrpc/xdr_ref.c: Likewise.
18930 * sunrpc/xdr_sizeof.c: Likewise.
18931 * sunrpc/xdr_stdio.c: Likewise.
18933 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18936 2010-08-19 Andreas Schwab <schwab@redhat.com>
18938 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18940 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18942 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18945 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18947 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18948 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18949 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18951 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18952 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18954 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18955 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18957 2010-07-26 Anton Blanchard <anton@samba.org>
18959 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18960 * malloc/arena.c (heap_trim): Likewise.
18962 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18964 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18967 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18969 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18971 * sysdeps/i386/elf/Makefile: New file.
18973 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18975 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18976 from fanotify_init.
18977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18980 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18982 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18984 * sysdeps/multiarch/strcmp.S: Likewise.
18986 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18988 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18989 strncase_l-nonascii.
18990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18991 Add strncase_l-ssse3.
18992 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18993 * sysdeps/x86_64/strcmp.S: Likewise.
18994 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18995 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18996 * sysdeps/x86_64/strncase.S: New file.
18997 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18998 * sysdeps/x86_64/strncase_l.S: New file.
18999 * string/Makefile (strop-tests): Add strncasecmp.
19000 * string/test-strncasecmp.c: New file.
19002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19005 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19006 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19008 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19010 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19012 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19014 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19016 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19018 2010-05-01 Alan Modra <amodra@gmail.com>
19020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19021 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19022 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19023 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19024 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19025 tidying. Don't tail-call __sigjmp_save for static lib.
19026 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19028 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19029 (CALL_MCOUNT): Add eh info, and nop after bl.
19030 (TAIL_CALL_SYSCALL_ERROR): New macro.
19031 (PSEUDO_RET): Use it.
19032 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19033 Correct save location of integer regs and cr.
19034 (_dl_profile_resolve): Correct cr save location. Delete nops
19035 after bl when SHARED. Reduce cfi size a little by better
19036 placement of cfi directives.
19037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19038 make a stack frame. Instead use parm save area as a temp.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19040 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19042 Don't make a stack frame for parent, use parm save area.
19043 Increase child stack frame to 112 bytes. Don't save unused reg,
19044 and adjust reg usage. Set up cfi on error recovery and
19045 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19047 (__makecontext): Add dummy nop after jump to exit.
19048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19049 Use correct parm save area and cr save, reduce stack frame.
19050 Correct cfi for possible PSEUDO_RET frame setup.
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19052 Branch to local label emitted by PSEUDO_RET rather than
19055 2010-08-12 Andreas Schwab <schwab@redhat.com>
19058 * locale/programs/locale.c (print_assignment): New function.
19059 (show_locale_vars): Use it.
19061 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19063 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19065 (struct statfs64): Likewise.
19066 (_STATFS_F_FLAGS): Define.
19067 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19068 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19069 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19070 (ST_VALID): Define locally.
19071 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19072 __statvfs_getflags, use the provided value.
19073 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19074 __ASSUME_STATFS_F_FLAGS.
19076 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19079 Add sys/fanotify.h.
19080 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19081 fanotify_mask for GLIBC_2.13.
19082 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19083 fanotify_init and fanotify_mark.
19084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19085 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19087 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19089 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19090 prlimit64 for GLIBC_2.13.
19091 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19097 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19101 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19104 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19105 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19107 * nss/Makefile: Add rules to build and run tst-nss-test1.
19108 * shlib-versions: Add entry for libnss_test1.
19109 * nss/nss_test1.c: New file.
19110 * nss/tst-nss-test1.c: New file.
19112 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19113 (__nss_configure_lookup): Set appropriate entry in
19114 __nss_configure_lookup to true.
19115 * nss/nsswitch.h: Define enum with indeces of databases in
19116 databases and __nss_database_custom arrays. Declare
19117 __nss_database_custom.
19118 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19119 to avoid using nscd when custom rules are installed.
19120 * nss/getXXbyYY_r.c: Likewise.
19121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19123 * nss/nss_files/files-parse.c: Whitespace fixes.
19125 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19128 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19129 * posix/fnmatch_loop.c: Likewise.
19131 2010-07-17 Andi Kleen <ak@linux.intel.com>
19133 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19134 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19135 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19136 * Versions.def [GLIBC_2.13]: Add.
19138 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19140 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19141 Also fail if tpwd after pwuid call is NULL.
19143 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19145 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19146 when converting to ms.
19148 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19150 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19151 EOPNOTSUPP errors with ENOTTY.
19152 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19153 EOPNOTSUPP errors with ENOTTY.
19155 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19157 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19158 Add strcasecmp_l-ssse3.
19159 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19161 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19162 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19163 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19165 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19167 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19169 * string/Makefile (strop-tests): Add strcasecmp.
19170 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19171 strcasecmp_l-nonascii.
19172 (gen-as-const-headers): Add locale-defines.sym.
19173 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19174 * sysdeps/x86_64/strcasecmp.S: New file.
19175 * sysdeps/x86_64/strcasecmp_l.S: New file.
19176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19177 * sysdeps/x86_64/locale-defines.sym: New file.
19178 * string/test-strcasecmp.c: New file.
19180 * string/test-strcasestr.c: Test both ends of the range of characters.
19181 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19183 2010-07-29 Roland McGrath <roland@redhat.com>
19186 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19188 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19190 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19193 2010-07-27 Andreas Schwab <schwab@redhat.com>
19195 * manual/memory.texi (Malloc Tunable Parameters): Document
19198 2010-07-26 Roland McGrath <roland@redhat.com>
19201 * configure.in (-fgnu89-inline check): Set and substitute
19202 gnu89_inline, not libc_cv_gnu89_inline.
19203 * configure: Regenerated.
19204 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19206 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19208 * string/test-strnlen.c: New file.
19209 * string/Makefile (strop-tests): Add strnlen.
19210 * string/tester.c (test_strnlen): Add a few more test cases.
19211 * string/tst-strlen.c: Better error reporting.
19213 * sysdeps/x86_64/strnlen.S: New file.
19215 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19218 lower-latency instructions.
19220 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19222 * string/test-strcasestr.c: New file.
19223 * string/test-strstr.c: New file.
19224 * string/Makefile (strop-tests): Add strstr and strcasestr.
19225 * string/str-two-way.h: Don't undefine MAX.
19226 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19228 2010-07-21 Andreas Schwab <schwab@redhat.com>
19230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19231 strcasestr-nonascii.
19232 (CFLAGS-strcasestr-nonascii.c): Define.
19233 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19235 Remove unused attribute.
19237 2010-07-20 Roland McGrath <roland@redhat.com>
19239 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19240 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19241 ld.so.cache was broken. With it, there is no way to disable dsocaps
19242 like LD_HWCAP_MASK can disable hwcaps.
19244 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19246 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19248 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19250 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19251 call in strcasestr.
19252 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19253 __strcasestr_sse42_nonascii.
19254 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19255 strcasestr-nonascii.c.
19256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19258 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19262 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19263 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19265 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19270 2010-07-06 Andreas Schwab <schwab@redhat.com>
19273 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19276 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19279 _PC_PIPE_BUF using F_GETPIPE_SZ.
19281 2010-07-05 Roland McGrath <roland@redhat.com>
19283 * manual/arith.texi (Rounding Functions): Fix rint description
19284 implicit in round description.
19286 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19288 * elf/Makefile: Fix linking for a few tests to make recent linker
19291 2010-06-30 Andreas Schwab <schwab@redhat.com>
19293 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19294 $(common-objpfx)libc_nonshared.a.
19296 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19298 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19299 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19300 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19301 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19302 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19303 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19304 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19305 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19320 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19321 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19322 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19323 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19324 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19325 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19326 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19327 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19328 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19329 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19330 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19331 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19347 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19349 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19350 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19351 * string/memmove.c (memmove): Renamed to ...
19352 (MEMMOVE): ...this. Default to memmove.
19353 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19354 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19357 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19358 mempcpy-ssse3-back memmove-ssse3-back.
19359 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19362 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19363 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19364 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19365 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19366 * sysdeps/x86_64/multiarch/memmove.c: New file.
19367 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19368 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19369 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19370 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19371 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19374 (index_Fast_Copy_Backward): Define.
19375 (HAS_ARCH_FEATURE): Define.
19376 (HAS_FAST_REP_STRING): Define.
19377 (HAS_FAST_COPY_BACKWARD): Define.
19379 2010-06-21 Andreas Schwab <schwab@redhat.com>
19381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19382 Restore proper fallback handling.
19384 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19387 * posix/group_member.c (__group_member): Correct checking loop.
19389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19390 OOM in getpwuid_r correctly. Return error number when the caller
19391 should return, otherwise -1.
19392 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19393 call returning > 0 value.
19394 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19396 2010-06-07 Andreas Schwab <schwab@redhat.com>
19398 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19399 libc_nonshared.a from targets in modules-names.
19401 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19403 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19406 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19409 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19413 2010-06-02 Andreas Schwab <schwab@redhat.com>
19415 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19417 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19428 2010-06-14 Roland McGrath <roland@redhat.com>
19430 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19432 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19434 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19435 __REDIRECT followed by __THROW.
19436 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19437 * posix/getopt.h (getopt): Likewise.
19439 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19441 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19442 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19443 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19445 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19446 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19448 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19452 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19456 Properly check family and model.
19458 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19460 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19462 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19464 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19466 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19468 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19471 2010-05-19 Andreas Schwab <schwab@redhat.com>
19473 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19476 2010-05-21 Andreas Schwab <schwab@redhat.com>
19478 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19479 and internal_recvmmsg.
19480 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19481 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19483 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19485 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19486 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19487 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19489 2010-05-20 Andreas Schwab <schwab@redhat.com>
19491 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19493 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19495 POWER7 optimizations.
19496 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19497 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19499 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19501 * version.h: Update for 2.13 development version.
19503 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19505 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19506 exceptions. Return 0.
19508 2010-05-07 Roland McGrath <roland@redhat.com>
19510 * elf/ldconfig.c (main): Add a const.
19512 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19514 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19515 (args_options): Add no-idn option.
19516 (ahosts_keys_int): Add idn_flags to ai_flags.
19517 (parse_option): Handle 'i' option to clear idn_flags.
19519 * malloc/malloc.c (_int_free): Possible race in the most recently
19520 added check. Only act on the data if no current modification
19523 See ChangeLog.17 for earlier changes.