1 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11 addresses are in the same scope as 192.0.2/24.
12 * posix/gai.conf: Document new scope table defaults.
14 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18 for ftell. Compute offsets from write pointers instead.
19 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24 * libio/Makefile (tests): New test case tst-fseek.
25 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26 combination works in wide mode.
27 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28 state when the external buffer state changes.
30 2012-09-27 David S. Miller <davem@davemloft.net>
33 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34 pass reloc->r_addend in as the 'high' argument to
35 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41 * rt/tst-aio2.c: Include <pthread.h>.
42 * rt/tst-aio3.c: Likewise.
44 2012-09-27 Steve Ellcey <sellcey@mips.com>
46 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
48 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
50 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53 2012-09-26 Marek Polacek <polacek@redhat.com>
57 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58 for C++ and GCC <4.3 as well as for non GCC compilers.
60 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
62 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64 2012-09-25 Roland McGrath <roland@hack.frob.com>
66 * Makefile.in (all, install): Declare with .PHONY.
67 Reported by Michael Hope <michael.hope@linaro.org>.
69 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76 (sydep_routines): Add the new and the internal functions.
77 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
78 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
80 (GLIBC_2.17): Add the new function.
81 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
82 (GLIBC_2.17): Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
84 (GLIBC_2.17): Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
86 (GLIBC_2.17): Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
89 2012-09-25 Alan Modra <amodra@gmail.com>
91 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
92 Add release barrier before setting once_control to say
93 initialisation is done. Add hints on lwarx. Use macro in
95 (clear_once_control): Add release barrier.
97 2012-09-25 Joseph Myers <joseph@codesourcery.com>
100 * math/s_clog.c (__clog): Handle more values close to |z| = 1
102 * math/s_clog10.c (__clog10): Likewise.
103 * math/s_clog10f.c (__clog10f): Likewise.
104 * math/s_clog10l.c (__clog10l): Likewise.
105 * math/s_clogf.c (__clogf): Likewise.
106 * math/s_clogl.c (__clogl): Likewise.
107 * math/Makefile (libm-calls): Add x2y2m1.
108 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
109 (__x2y2m1): Likewise.
110 (__x2y2m1l): Likewise.
111 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
112 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
113 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
115 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
116 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
117 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
122 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
123 int as type of variable DEPTH.
124 (glob): Use size_t instead of int as type of variables NEWCOUNT
127 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
129 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
132 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
133 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
134 macros for using routine as __sincosf_ia32.
135 Use macro for function declaration and weak_alias.
136 * sysdeps/i386/fpu/libm-test-ulps: Update.
138 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
141 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
143 * math/s_cexpf.c (__cexpf): Likewise.
144 * math/s_csinf.c (__csinf): Likewise.
145 * math/s_csinhf.c (__csinhf): Likewise.
146 * math/s_ctanf.c (__ctanf): Likewise.
147 * math/s_ctanhf.c (__ctanhf): Likewise.
148 * math/s_ccosh.c (__ccoshf): Likewise.
149 * math/s_cexp.c (__cexpl): Likewise.
150 * math/s_csin.c (__csin): Likewise.
151 * math/s_csinh.c (__csinh): Likewise.
152 * math/s_ctan.c (__ctan): Likewise.
153 * math/s_ctanh.c (ctanh): Likewise.
154 * math/s_ccoshl.c (__ccoshl): Likewise.
155 * math/s_cexpl.c (__cexpl): Likewise.
156 * math/s_csinl.c (__csinl): Likewise.
157 * math/s_csinhl.c (__csinhl): Likewise.
158 * math/s_ctanl.c (__ctanl): Likewise.
159 * math/s_ctanhl.c (__ctanhl): Likewise.
161 2012-09-25 Joseph Myers <joseph@codesourcery.com>
163 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
164 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
165 (_IO_off_t): Define to __off_t, not _G_off_t.
166 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
167 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
168 (_IO_wint_t): Define to wint_t, not _G_wint_t.
169 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
170 type of __dummy and __dummy2 fields.
171 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
172 (_G_ssize_t): Likewise.
173 (_G_off_t): Likewise.
174 (_G_pid_t): Likewise.
175 (_G_uid_t): Likewise.
176 (_G_wchar_t): Likewise.
177 (_G_wint_t): Likewise.
178 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
179 (_G_ssize_t): Likewise.
180 (_G_off_t): Likewise.
181 (_G_pid_t): Likewise.
182 (_G_uid_t): Likewise.
183 (_G_wchar_t): Likewise.
184 (_G_wint_t): Likewise.
185 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
186 (_G_ssize_t): Likewise.
187 (_G_off_t): Likewise.
188 (_G_pid_t): Likewise.
189 (_G_uid_t): Likewise.
190 (_G_wchar_t): Likewise.
191 (_G_wint_t): Likewise.
193 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
195 * malloc/arena.c: Include malloc-sysdep.h.
196 (shrink_heap): Use check_may_shrink_heap to decide if madvise
197 is sufficient to shrink the heap or an unmap is needed.
198 * sysdeps/generic/malloc-sysdep.h: New file. Define
199 new function check_may_shrink_heap.
200 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
201 new function check_may_shrink_heap.
203 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
205 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
208 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
210 * catgets/test-gencat.sh: Add "set -e".
211 * elf/tst-pathopt.sh: Likewise.
212 * grp/tst_fgetgrent.sh: Likewise.
213 * iconvdata/run-iconv-test.sh: Likewise.
214 * intl/tst-gettext.sh: Likewise.
215 * intl/tst-gettext2.sh: Likewise.
216 * intl/tst-gettext4.sh: Likewise.
217 * intl/tst-gettext6.sh: Likewise.
218 * intl/tst-translit.sh: Likewise.
219 * io/ftwtest-sh: Likewise.
220 * libio/test-freopen.sh: Likewise.
221 * malloc/tst-mtrace.sh: Likewise.
222 * posix/globtest.sh: Likewise.
223 * posix/tst-getconf.sh: Likewise.
224 * posix/wordexp-tst.sh: Likewise.
225 * stdio-common/tst-printf.sh: Likewise.
226 * stdio-common/tst-unbputc.sh: Likewise.
227 * stdlib/tst-fmtmsg.sh: Likewise.
228 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
229 * catgets/Makefile: Do not specify -e option when running
230 testsuite shell scripts.
231 * elf/Makefile: Likewise.
232 * grp/Makefile: Likewise.
233 * iconvdata/Makefile: Likewise.
234 * intl/Makefile: Likewise.
235 * io/Makefile: Likewise.
236 * libio/Makefile: Likewise.
237 * malloc/Makefile: Likewise.
238 * posix/Makefile: Likewise.
239 * stdio-common/Makefile: Likewise.
240 * stdlib/Makefile: Likewise.
241 * sysdeps/x86_64/Makefile: Likewise.
243 * io/ftwtest-sh: Add copyright header.
244 * posix/globtest.sh: Likewise.
245 * posix/tst-getconf.sh: Likewise.
246 * posix/wordexp-tst.sh: Likewise.
247 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
249 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
252 * Makeconfig (+link): Defined as $(+link-static) if
253 $(build-shared) isn't yes.
254 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
256 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
258 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
261 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
262 new chunk size with MALLOC_ALIGN_MASK.
264 2012-09-24 Joseph Myers <joseph@codesourcery.com>
267 * stdio-common/printf_fphex.c: Include <stdbool.h> and
269 (__printf_fphex): Determine rounding using get_rounding_mode and
271 * stdio-common/tst-printf-round.c (struct hex_test): New
273 (hex_tests): New variable.
274 (test_hex_in_one_mode): New function.
275 (do_test): Also run tests for hex float output.
277 2012-09-21 Joseph Myers <joseph@codesourcery.com>
279 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
280 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
281 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
282 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
283 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
284 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
285 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
286 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
288 2012-09-20 Joseph Myers <joseph@codesourcery.com>
290 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
291 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
292 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
293 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
295 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
298 * elf/rtld.c (dl_main): Limit the check for self loading to normal
300 * elf/tst-rtld-load-self.sh: New test.
301 * elf/Makefile: Run it.
303 2012-09-18 Joseph Myers <joseph@codesourcery.com>
305 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
306 (tst-writev-ENV): Remove.
307 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
309 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
311 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
313 2012-09-17 Joseph Myers <joseph@codesourcery.com>
315 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
317 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
319 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
320 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
321 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
324 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
327 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
328 * config.make.in (have-cpp-asm-debuginfo): Removed.
329 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
330 * configure: Regenerated.
332 2012-09-14 Joseph Myers <joseph@codesourcery.com>
335 * stdio-common/printf_fp.c: Include <stdbool.h> and
337 (___printf_fp): Determine rounding using get_rounding_mode and
339 * stdio-common/tst-printf-round.c: New file.
340 * stdio-common/Makefile (tests): Add tst-printf-round.
341 (link-libm): New variable.
342 ($(objpfx)tst-printf-round): Depend in $(link-libm).
344 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
347 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
348 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
350 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
353 2012-09-13 Joseph Myers <joseph@codesourcery.com>
355 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
356 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
357 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
360 2012-09-12 Joseph Myers <joseph@codesourcery.com>
363 * include/rounding-mode.h: New file.
364 * sysdeps/generic/get-rounding-mode.h: Likewise.
365 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
366 * stdlib/strtod_l.c: Include <rounding-mode.h>.
367 (MAX_VALUE): New macro.
368 (MIN_VALUE): Likewise.
369 (overflow_value): New function.
370 (underflow_value): Likewise.
371 (round_and_return): Use overflow_value and underflow_value to
372 determine return values in overflow and underflow cases. Use
373 round_away to determine rounding depending on rounding mode.
374 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
375 determine return values in overflow and underflow cases.
376 * stdlib/tst-strtod-round.c: Include <fenv.h>.
377 (struct test_results): New structure.
378 (struct test): Use struct test_results to store expected results
379 for all rounding modes.
380 (TEST): Include expected results for all rounding modes.
381 (test_in_one_mode): New function.
382 (do_test): Use test_in_one_mode to compute and check results.
383 Check results for all rounding modes.
384 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
387 2012-12-09 Allan McRae <allan@archlinux.org>
389 * sysdeps/i386/fpu/libm-test-ulps: Update
391 2012-09-11 Joseph Myers <joseph@codesourcery.com>
393 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
394 (_G_int32_t): Likewise.
395 (_G_uint16_t): Likewise.
396 (_G_uint32_t): Likewise.
397 (_G_HAVE_BOOL): Likewise.
398 (_G_HAVE_ATEXIT): Likewise.
399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
400 (_G_HAVE_IO_FILE_OPEN): Likewise.
401 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
402 (_G_int32_t): Likewise.
403 (_G_uint16_t): Likewise.
404 (_G_uint32_t): Likewise.
405 (_G_HAVE_BOOL): Likewise.
406 (_G_HAVE_ATEXIT): Likewise.
407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
408 (_G_HAVE_IO_FILE_OPEN): Likewise.
409 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
410 (_G_int32_t): Likewise.
411 (_G_uint16_t): Likewise.
412 (_G_uint32_t): Likewise.
413 (_G_HAVE_BOOL): Likewise.
414 (_G_HAVE_ATEXIT): Likewise.
415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
416 (_G_HAVE_IO_FILE_OPEN): Likewise.
418 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
420 * csu/libc-tls.c: Update copyright years.
422 2012-09-10 Joseph Myers <joseph@codesourcery.com>
424 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
425 [!_G_USING_THUNKS]: Remove conditional code.
426 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
427 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
429 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
430 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
431 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
432 (_G_VTABLE_LABEL_PREFIX): Likewise.
433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
434 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
435 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
436 (_G_VTABLE_LABEL_PREFIX): Likewise.
437 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
438 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
440 (_G_VTABLE_LABEL_PREFIX): Likewise.
441 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
443 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
445 * libio/Makefile: Include ../Makeconfig before tests.
446 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
447 only if $(build-shared) is yes.
449 * iconv/gconv_db.c: Update copyright years.
451 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
453 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
454 unwind info if defined PIC. Fix special cases description.
455 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
457 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
459 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
461 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
463 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
465 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
468 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
469 (LDLIBS-tst-chk4): This.
470 (LDFLAGS-tst-chk5): Renamed to ...
471 (LDLIBS-tst-chk5): This.
472 (LDFLAGS-tst-chk6): Renamed to ...
473 (LDLIBS-tst-chk6): This.
474 (LDFLAGS-tst-lfschk4): Renamed to ...
475 (LDLIBS-tst-lfschk4): This.
476 (LDFLAGS-tst-lfschk5): Renamed to ...
477 (LDLIBS-tst-lfschk5): This.
478 (LDFLAGS-tst-lfschk6): Renamed to ...
479 (LDLIBS-tst-lfschk6): This.
481 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
482 on $(common-objpfx)soversions.mk.
484 2012-09-07 Joseph Myers <joseph@codesourcery.com>
487 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
490 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
492 * malloc/arena.c (arena_get_retry): New function that gets
493 another arena for the caller to try its request on.
494 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
495 current arena cannot fulfill the request.
496 (__libc_memalign): Likewise.
497 (__libc_memalign): Likewise.
498 (__libc_pvalloc): Likewise.
499 (__libc_calloc): Likewise.
501 2012-09-05 John Tobey <john.tobey@gmail.com>
504 * manual/arith.texi (Operations on Complex): Fix description
507 2012-09-06 Joseph Myers <joseph@codesourcery.com>
510 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
514 * manual/memory.texi (Memory): Make order of menu items match
517 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
519 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
520 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
521 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
525 * csu/libc-tls.c (static_dtv): Renamed to ...
526 (_dl_static_dtv): This. Make it global.
527 (_dl_initial_dtv): Removed.
528 (__libc_setup_tls): Updated.
529 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
530 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
533 2012-09-06 Petr Machata <pmachata@redhat.com>
535 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
536 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
537 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
538 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
540 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
543 * csu/libc-tls.c (_dl_initial_dtv): New variable.
544 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
547 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
550 * Makeconfig (link-static-before-libc): Replace $(+prector)
552 (link-static-after-libc): Replace $(+postctor) with
554 (link-bounded): Replace $(+prector)/$(+postctor) with
555 $(+prectorT)/$(+postctorT).
556 (+prectorT): New macro.
557 (+postctorT): Likewise.
559 2012-09-06 Joseph Myers <joseph@codesourcery.com>
561 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
562 (round_str): Handle values above the maximum for IBM long double
564 * stdlib/tst-strtod-round.c (tests): Regenerated.
566 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
568 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
570 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
571 zarch_nohighgprs around the zarch optimized routines.
572 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
573 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
577 2012-09-05 David S. Miller <davem@davemloft.net>
579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
581 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
582 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
583 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
589 * malloc/arena.c: Fold copyright years.
590 * malloc/mcheck.c, malloc/memusage.c: Likewise.
592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
594 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
598 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
600 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
602 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
603 change internal state upon failure.
605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
607 * malloc/mcheck.c (mcheck_check_all): Fix typo.
608 * malloc/memusage.c (mmap): Likewise.
609 (mmap64, mremap): Likewise. Adjust name in comment.
611 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
613 * libio/fileops.c: Fix typos in comments.
614 * libio/oldfileops.c: Likewise.
615 * libio/wfileops.c: Likewise.
617 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
620 * malloc/Makefile (tests): Add tst-malloc-usable test case.
621 (tst-malloc-usable-ENV): Set environment for test case.
622 * malloc/hooks.c (malloc_check_get_size): New function to get
624 * malloc/malloc.c (musable): Use malloc_check_get_size.
625 * malloc/tst-malloc-usable.c: New test case.
627 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
629 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
631 2012-09-05 Allan McRae <allan@archlinux.org>
634 * configure.in (CXX_SYSINCLUDES): Use compiler output to
635 determine header location.
636 * configure: Regenerated.
638 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
640 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
642 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
643 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
647 2012-09-04 David S. Miller <davem@davemloft.net>
649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
653 2012-09-04 Florian Weimer <fweimer@redhat.com>
655 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
658 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
660 2012-09-04 Joseph Myers <joseph@codesourcery.com>
663 * libio/iogetdelim.c: Include <limits.h>.
664 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
665 + len + 1 would overflow.
667 2012-09-03 Andreas Jaeger <aj@suse.de>
669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
670 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
674 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
675 Add s_sinf-sse2, s_conf-sse2.
677 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
679 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
680 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
682 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
683 for using routine as __sinf_ia32.
684 Use macro for function declaration and weak_alias.
685 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
686 for using routine as __cosf_ia32.
687 Use macro for function declaration and weak_alias.
689 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
690 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
692 * sysdeps/x86_64/fpu/s_sinf.S: New file.
693 * sysdeps/x86_64/fpu/s_cosf.S: New file.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
696 * math/libm-test.inc (cos_test): Add more test cases.
697 (sin_test): Likewise.
698 (sincos_test): Likewise.
700 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
703 (IFUNC_RESOLVE): Make pointers to the specialized implementations
705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
707 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
710 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
711 first element of the GOT.
712 (elf_machine_load_address): Return the difference between
713 the runtime address of _DYNAMIC and elf_machine_dynamic ().
715 2012-09-01 Allan McRae <allan@archlinux.org>
718 * configure.in (AWK): Require gawk version 3.0 or later.
719 * configure: Regenerated.
721 2012-09-01 Joseph Myers <joseph@codesourcery.com>
723 * sysdeps/unix/sysv/linux/kernel-features.h
724 (__ASSUME_POSIX_CPU_TIMERS): Remove.
725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
726 [__NR_clock_getres]: Make code unconditional.
727 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
728 (clock_getcpuclockid): Remove code left unreachable by removal of
730 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
732 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
735 Make code unconditional.
736 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/clock_settime.c
739 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
741 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
742 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
744 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
747 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
748 scripts/test-installation.pl.
750 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
751 and $ld_so_version if it is set.
753 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
757 failure if reading from procfs failed.
758 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
760 2012-08-27 Joseph Myers <joseph@codesourcery.com>
762 * sysdeps/unix/sysv/linux/kernel-features.h
763 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
764 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
765 Remove conditional code.
766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
767 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
768 Remove conditional code.
769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
770 * sysdeps/unix/sysv/linux/i386/fxstat.c
771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
773 * sysdeps/unix/sysv/linux/i386/fxstatat.c
774 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
776 * sysdeps/unix/sysv/linux/i386/lxstat.c
777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
779 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
780 Remove conditional code.
781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
782 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
783 Remove conditional code.
784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
787 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
789 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
790 Remove conditional code.
791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
792 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
795 2012-08-27 Mike Frysinger <vapier@gentoo.org>
798 * NEWS: Add fixed bug number.
800 2012-08-27 Joseph Myers <joseph@codesourcery.com>
803 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
804 underflowing exponent in case of negative sign.
805 * stdlib/tst-strtod-round-data: Add more tests.
806 * stdlib/tst-strtod-round.c (tests): Regenerated.
809 * stdlib/strtod_l.c (NDIG): Remove.
811 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
812 smallest representable value.
813 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
814 lie within an exact representation of 1/2 ulp of the result.
815 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
817 (TENS_P9_IDX): Define unconditionally.
818 (TENS_P9_SIZE): Likewise.
819 (TENS_P10_IDX): Likewise.
820 (TENS_P10_SIZE): Likewise.
821 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
822 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
824 entries for 10^2^13 and 10^2^14.
825 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
826 (TENS_P13_IDX): Define.
827 (TENS_P13_SIZE): Likewise.
828 (TENS_P14_IDX): Likewise.
829 (TENS_P14_SIZE): Likewise.
830 (_fpioconst_pow10): Change array size to
831 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
833 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
834 1024]: Add entries for 10^2^13 and 10^2^14.
835 [LAST_POW10 > _LAST_POW10]: Remove #error.
836 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
837 (_fpioconst_pow10): Change array size to
838 FPIOCONST_POW10_ARRAY_SIZE.
839 * stdlib/gen-fpioconst.c: New file.
840 * stdlib/gen-tst-strtod-round.c: Likewise.
841 * stdlib/tst-strtod-round-data: Likewise.
842 * stdlib/tst-strtod-round.c: Likewise.
843 * stdlib/Makefile (tests): Add tst-strtod-round.
846 * stdlib/strtod_l.c: Include <stdint.h>.
847 (NDEBUG): Do not define.
848 (round_and_return): Change EXPONENT parameter to type intmax_t.
849 Rearrange calculations to avoid internal overflow possibilities.
850 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
851 Rearrange calculations to avoid internal overflow possibilities.
852 Assert that number fits inside MPNSIZE limbs.
853 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
854 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
855 calculations and add assertions to avoid internal overflow
856 possibilities. Add casts to avoid signed/unsigned operations.
857 * stdlib/tst-strtod-overflow.c: New file.
858 * stdlib/Makefile (tests): Add tst-strtod-overflow.
860 2012-08-25 Marek Polacek <polacek@redhat.com>
862 * time/time.h: Fix some typos in comments.
864 2012-08-23 Roland McGrath <roland@hack.frob.com>
866 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
867 * posix/tst-rfc3484-2.c: Likewise.
868 * posix/tst-rfc3484-3.c: Likewise.
870 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
872 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
873 (EF_ARM_ABI_FLOAT_HARD): Likewise.
875 2012-08-23 Joseph Myers <joseph@codesourcery.com>
877 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
878 #include of fxstatat64.c.
880 2012-08-22 Roland McGrath <roland@hack.frob.com>
882 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
883 * shadow/getspent_r.c: Likewise.
884 * shadow/getspnam.c: Likewise.
885 * shadow/getspnam_r.c: Likewise.
886 * gshadow/getsgent.c: Likewise.
887 * gshadow/getsgent_r.c: Likewise.
888 * gshadow/getsgnam.c: Likewise.
889 * gshadow/getsgnam_r.c: Likewise.
890 * inet/getnetbyad.c: Likewise.
891 * inet/getnetbyad_r.c: Likewise.
892 * inet/getnetbynm.c: Likewise.
893 * inet/getnetbynm_r.c: Likewise.
894 * inet/getnetent.c: Likewise.
895 * inet/getnetent_r.c: Likewise.
896 * inet/getproto.c: Likewise.
897 * inet/getproto_r.c: Likewise.
898 * inet/getprtent.c: Likewise.
899 * inet/getprtent_r.c: Likewise.
900 * inet/getprtname.c: Likewise.
901 * inet/getprtname_r.c: Likewise.
902 * inet/getrpcbyname.c: Likewise.
903 * inet/getrpcbyname_r.c: Likewise.
904 * inet/getrpcbynumber.c: Likewise.
905 * inet/getrpcbynumber_r.c: Likewise.
906 * inet/getrpcent.c: Likewise.
907 * inet/getrpcent_r.c: Likewise.
908 * inet/getaliasent.c: Likewise.
909 * inet/getaliasent_r.c: Likewise.
910 * inet/getaliasname.c: Likewise.
911 * inet/getaliasname_r.c: Likewise.
912 * nscd/getgrgid_r.c: Likewise.
913 * nscd/getgrnam_r.c: Likewise.
914 * nscd/gethstbyad_r.c: Likewise.
915 * nscd/gethstbynm3_r.c: Likewise.
916 * nscd/getpwnam_r.c: Likewise.
917 * nscd/getpwuid_r.c: Likewise.
918 * nscd/getsrvbynm_r.c: Likewise.
919 * nscd/getsrvbypt_r.c: Likewise.
920 * nscd/gai.c: Likewise.
922 * configure.in (build_nscd): New substituted variable, set
923 by --disable-build-nscd and defaults to $use_nscd.
924 * configure: Regenerated.
925 * config.make.in (build-nscd): New substituted variable.
926 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
927 Change conditional to require [$(build-nscd) = yes] as well.
928 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
931 * configure.in (use_nscd): New substituted variable, set by
932 --disable-nscd. If enabled, define USE_NSCD.
933 * configure: Regenerated.
934 * config.h.in: Add USE_NSCD.
935 * config.make.in (use-nscd): New substituted variable.
936 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
937 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
938 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
939 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
940 (CFLAGS-getgrnam_r.c): Likewise.
941 (CFLAGS-initgroups.c): Likewise.
942 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
943 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
945 * inet/getnetgrent_r.c
946 (nscd_setnetgrent): New function, broken out of ...
947 (setnetgrent): ... here. Call it.
948 (innetgr): Conditionalize nscd bits on [USE_NSCD].
949 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
950 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
951 * nscd/Makefile (routines, aux): Move definitions after include of
952 Makeconfig. Conditionalize on [$(use-nscd) != no].
953 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
954 Conditionalize on [USE_NSCD].
955 (is_nscd, nscd_init_cb): Likewise.
956 (nss_load_library): Conditionalize init callback on [USE_NSCD].
957 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
958 * nss/nss_db/db-init.c: Likewise.
959 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
961 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
962 (make_request): Use it.
963 (cache_valid_p): New function.
964 (__check_pf): Use it.
965 * NEWS: Add item for --disable-nscd.
967 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
969 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
970 to support sed >= 4.2.1-20-ga9bf076.
971 * configure: Regenerated.
973 2012-08-22 Roland McGrath <roland@hack.frob.com>
975 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
976 Conditionalize whole body on [IREL].
978 2012-08-22 Jeff Law <law@redhat.com>
981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
982 if the family is PF_UNSPEC.
984 2012-08-22 Mike Frysinger <vapier@gentoo.org>
986 * Makerules (lib-version): Rename from V.
987 (install-lib-nosubdir): Change V to lib-version.
989 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
992 * powerpc32/power6/wcschr.c: New file.
993 * powerpc32/power6/wcscpy.c: New file.
994 * powerpc32/power6/wcsrchr.c: New file.
995 * powerpc64/power6/wcschr.c: New file.
996 * powerpc64/power6/wcscpy.c: New file.
997 * powerpc64/power6/wcsrchr.c: New file.
999 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1001 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1002 (two_way_short_needle): Use it.
1003 * string/strstr.c (AVAILABLE1_USES_J): Define.
1004 * string/strcasestr.c: Likewise.
1006 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1008 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1011 * NEWS: Add an entry.
1012 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1013 define their defaults.
1014 (two_way_short_needle): Detect end-of-string on-the-fly.
1015 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1016 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1017 * string/bug-strcasestr1.c: New test.
1018 * string/Makefile: Run it.
1020 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1023 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1024 the first character.
1026 2012-08-21 Roland McGrath <roland@hack.frob.com>
1028 * csu/elf-init.c (__libc_csu_irel): Function removed.
1029 * csu/libc-start.c (apply_irel): New function.
1030 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1032 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1034 * sysdeps/unix/sysv/linux/kernel-features.h
1035 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1036 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1037 <kernel-features.h>.
1038 [__NR_fadvise64_64]: Make code unconditional.
1039 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1040 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1041 !__NR_fadvise64_64)]: Likewise.
1042 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1043 !__NR_fadvise64_64))]: Likewise.
1044 [__NR_fadvise64]: Make code unconditional.
1045 [!__NR_fadvise64]: Remove conditional code.
1046 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1047 <kernel-features.h>.
1048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1053 not include <kernel-features.h>.
1054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1058 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1059 include <kernel-features.h>.
1060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1065 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1068 slight instruction rearrangements per scrollpipe analysis.
1069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1071 2012-08-20 Roland McGrath <roland@hack.frob.com>
1073 * manual/syslog.texi (syslog; vsyslog, closelog):
1074 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1075 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1077 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1078 DSOCAPS to match condition on defining it.
1080 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1082 * sysdeps/unix/sysv/linux/kernel-features.h
1083 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1088 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1089 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1094 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1095 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1097 * sysdeps/unix/sysv/linux/kernel-features.h
1098 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1099 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1101 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1102 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1103 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1104 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1105 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1106 Make code unconditional.
1107 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1108 (__mmap64) [!__NR_mmap2]: Likewise.
1109 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1110 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1111 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1113 [__NR_mmap2]: Make code unconditional.
1114 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1115 (__mmap64) [!__NR_mmap2]: Likewise.
1117 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1119 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1121 2012-08-18 Andreas Jaeger <aj@suse.de>
1123 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1125 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1127 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1128 * include/unistd.h (__have_sock_cloexec): Likewise.
1129 (__have_pipe2): Likewise.
1130 (__have_dup3): Likewise.
1132 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1135 * include/unistd.h (__have_pipe2): Change define into an extern int.
1136 (__have_dup3): Likewise.
1137 * socket/have_sock_cloexec.c: Include fcntl.h.
1138 (__have_pipe2): New variable.
1139 (__have_dup3): Likewise.
1141 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1143 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1145 2012-08-17 Marek Polacek <polacek@redhat.com>
1147 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1148 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1150 2012-08-17 Roland McGrath <roland@hack.frob.com>
1152 * configure.in: Add AC_SUBST for sysheaders.
1153 * configure: Regenerated.
1154 * config.make.in (sysheaders): New substituted variable.
1156 * sysdeps/unix/mkfifo.c: Moved ...
1157 * sysdeps/posix/mkfifo.c: ... here.
1158 * sysdeps/unix/mkfifoat.c: Moved ...
1159 * sysdeps/posix/mkfifoat.c: ... here.
1161 * sysdeps/unix/utime.c: Moved ...
1162 * sysdeps/posix/utime.c: ... here.
1164 * sysdeps/unix/time.c: Moved ...
1165 * sysdeps/posix/time.c: ... here.
1166 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1167 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1169 * sysdeps/unix/nice.c: Moved ...
1170 * sysdeps/posix/nice.c: ... here.
1172 * sysdeps/unix/alarm.c: Moved ...
1173 * sysdeps/posix/alarm.c: ... here.
1175 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1177 2012-08-17 Jeff Law <law@redhat.com>
1179 * intl/Makefile (codeset_mo): New variable.
1180 ($(codeset_mo)): New target.
1181 (tst-codeset.out): Depend on that. Remove explicit rule.
1182 (tst-gettext3.out, tst-gettext5.out): Likewise.
1183 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1184 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1185 * intl/tst-codeset.sh: Remove.
1186 * intl/tst-gettext3.sh: Likewise.
1187 * intl/tst-gettext5.sh: Likewise.
1189 2012-08-17 Roland McGrath <roland@hack.frob.com>
1191 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1192 * sysdeps/unix/syscalls.list: ... here.
1194 * sysdeps/posix/getaddrinfo.c
1195 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1196 (gaiconf_init, gaiconf_reload): Use them.
1198 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1199 Define using time_t rather than struct timespec.
1201 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1202 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1204 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1206 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1207 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1210 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1211 __libc_cleanup_push argument.
1213 * bits/param.h: New file.
1214 * misc/sys/param.h: New file.
1215 * include/sys/param.h: New file.
1216 * misc/Makefile (headers): Add bits/param.h.
1217 * sysdeps/generic/sys/param.h: File removed.
1218 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1219 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1220 * sysdeps/mach/hurd/bits/param.h: New file.
1221 * sysdeps/mach/hurd/sys/param.h: New file.
1223 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1226 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1228 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1229 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1232 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1233 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1234 rather than -D_IO_MTSAFE_IO conditionally.
1235 * stdio-common/Makefile (CPPFLAGS): Likewise.
1236 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1237 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1238 Use $(libio-mtsafe).
1239 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1241 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1242 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1243 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1244 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1245 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1246 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1247 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1248 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1249 (CFLAGS-fread_u_chk.c): Likewise.
1250 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1251 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1252 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1253 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1254 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1255 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1256 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1257 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1258 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1260 * libio/Makefile: Test [$(libc-reentrant) = yes]
1261 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1264 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1265 * sysdeps/pthread/configure: File removed.
1266 * sysdeps/pthread/Makeconfig: New file.
1267 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1268 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1270 2012-08-16 Gary Benson <gbenson@redhat.com>
1272 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1273 unmapping the first object in a namespace.
1275 2012-08-16 Roland McGrath <roland@hack.frob.com>
1277 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1278 (__internal_setnetgrent): ... this. Add internal_function to
1279 definition. Add libc_hidden_def.
1280 (setnetgrent): Update caller.
1281 (internal_endnetgrent): Renamed to ...
1282 (__internal_endnetgrent): ... this. Add internal_function to
1283 definition. Add libc_hidden_def.
1284 (endnetgrent): Update caller.
1285 (internal_getnetgrent_r): Renamed to ...
1286 (__internal_getnetgrent_r): ... this. Add internal_function to
1287 definition. Add libc_hidden_def.
1288 (__getnetgrent_r): Update caller.
1289 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1291 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1293 * stdlib/longlong.h: Update from GCC.
1295 2012-08-16 Roland McGrath <roland@hack.frob.com>
1297 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1298 on _QL, which is set by umul_ppmm but never used.
1299 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1300 variables, which are set by GMP macros but never used.
1301 * stdio-common/_itowa.c (_itowa): Likewise.
1302 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1303 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1305 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1307 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1308 struct La_sh_regs is not constant.
1309 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1310 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1311 and struct La_sparc64_regs are not constant.
1313 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1315 * sysdeps/unix/sysv/linux/kernel-features.h
1316 (__ASSUME_POSIX_TIMERS): Remove.
1317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1319 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1320 Make code unconditional.
1321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1322 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1323 Make code unconditional.
1324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1325 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1326 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1328 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1329 Make code unconditional.
1330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1332 (__libc_missing_posix_timers): Remove.
1334 2012-08-15 Roland McGrath <roland@hack.frob.com>
1336 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1337 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1339 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1341 * elf/dl-sym.c: Include <stdlib.h>.
1343 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1344 constants, which avoids warnings in 32-bit builds.
1346 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1347 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1349 * misc/lseek.c: File moved to ...
1350 * io/lseek.c: ... here.
1352 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1354 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1355 shifting LEN more than 31 bits at once.
1357 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1360 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1361 segmentation fault for a case of two empty input strings.
1362 * string/test-strncasecmp.c (check1): Renamed to...
1364 (bz14195): Add new testcase for two empty input strings and N > 0.
1365 (test_main): Call new testcase, adapt for renamed function.
1367 2012-08-15 Andreas Jaeger <aj@suse.de>
1370 * crypt/md5test2.c: New test, based on test supplied by Serge
1371 Belyshev <belyshev@depni.sinp.msu.ru>.
1372 * crypt/Makefile (xtests): Add md5test-giant..
1373 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1375 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1378 * crypt/md5.c (md5_process_block): Don't assume the buffer
1379 length is less than 2**32.
1380 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1381 length is less than 2**64.
1383 2012-08-15 Roland McGrath <roland@hack.frob.com>
1385 * string/str-two-way.h: Include <sys/param.h>.
1386 (MAX): Macro removed.
1388 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1389 Move #define and #undef of memmove to just before and after
1390 including <string.h>.
1392 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1393 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1394 and after including <string.h>. Move declarations of
1395 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1396 to before #include "string/memmove.c".
1398 * include/dirent.h: Declare __getdirentries.
1400 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1401 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1403 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1405 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1406 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1407 * sysdeps/i386/configure: Regenerated.
1408 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1409 STABS_CURRENT_FILE, and STABS_FUN.
1410 (END): Remove call to STABS_FUN_END.
1411 (STABS_CURRENT_FILE1): Delete.
1412 (STABS_CURRENT_FILE): Likewise.
1413 (STABS_FUN): Likewise.
1414 (STABS_FUN_END): Likewise.
1415 (STABS_FUN2): Likewise.
1416 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1417 * sysdeps/x86_64/configure: Regenerated.
1419 2012-08-14 Roland McGrath <roland@hack.frob.com>
1421 * elf/dl-open.c: Include <atomic.h>.
1422 * elf/dl-lookup.c: Likewise.
1424 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1426 * sysdeps/unix/sysv/linux/kernel-features.h
1427 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1428 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1430 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1432 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1433 condition on __ASSUME_CLONE_THREAD_FLAGS.
1435 2012-08-14 Andreas Jaeger <aj@suse.de>
1437 * sysdeps/i386/fpu/libm-test-ulps: Update.
1439 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1441 * include/atomic.h (atomic_exchange_and_add): Split into ...
1442 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1445 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1449 2012-08-13 Jeff Law <law@redhat.com>
1451 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1452 null byte in the output string.
1454 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1456 * sysdeps/unix/sysv/linux/kernel-features.h
1457 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1458 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1459 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1460 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1461 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1462 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1463 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1465 2012-08-09 Jeff Law <law@redhat.com>
1468 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1469 When avoid_arena is set, don't retry in the that arena. Pick the
1470 next one, whatever it might be.
1471 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1472 (arena_lock): Pass in new parameter to arena_get2.
1473 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1475 (__libc_malloc): Unify retrying after main arena failure with
1476 __libc_memalign version.
1477 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1479 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1482 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1483 to __redirect_strstr.
1484 (__strstr_sse42): Use typeof __redirect_strstr.
1485 (__strstr_ia32): Likewise.
1486 (__libc_strstr): New prototype.
1487 (strstr): Renamed to ...
1488 (__libc_strstr): This.
1489 (strstr): New strong alias of __libc_strstr.
1490 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1491 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1494 (__libc_time): New prototype.
1495 (time_ifunc): Replace time with __libc_time.
1496 (time): New strong alias and hidden definition of __libc_time.
1497 (__GI_time): Remove strong alias.
1498 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1500 (memmove): Redefined to __redirect_memmove.
1501 (__memmove_sse2): Use typeof __redirect_memmove.
1502 (__memmove_ssse3): Likewise.
1503 (__memmove_ssse3_back): Likewise.
1504 (__libc_memmove): New prototype.
1505 (memmove): Renamed to ...
1506 (__libc_memmove): This.
1507 (memmove): New strong alias of __libc_memmove.
1509 2012-08-08 Mark Salter <msalter@redhat.com>
1512 (R_MN10300_TLS_GD): Define.
1513 (R_MN10300_TLS_LD): Likewise.
1514 (R_MN10300_TLS_LDO): Likewise.
1515 (R_MN10300_TLS_GOTIE): Likewise.
1516 (R_MN10300_TLS_IE): Likewise.
1517 (R_MN10300_TLS_LE): Likewise.
1518 (R_MN10300_TLS_DTPMOD): Likewise.
1519 (R_MN10300_TLS_DTPOFF): Likewise.
1520 (R_MN10300_TLS_TPOFF): Likewise.
1521 (R_MN10300_SYM_DIFF): Likewise.
1522 (R_MN10300_ALIGN): Likewise.
1523 (R_MN10300_NUM): Update.
1525 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1530 2012-08-08 Roland McGrath <roland@hack.frob.com>
1532 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1534 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1535 sysdeps/unix -> sysdeps/posix move.
1536 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1538 2012-08-07 Allan McRae <allan@archlinux.org>
1541 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1542 (SUNOS_CPP): Likewise.
1543 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1545 (open_input): Call CPP using execvp.
1547 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1549 * sysdeps/unix/sysv/linux/kernel-features.h
1550 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1551 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1552 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1553 (__ASSUME_WAITID_SYSCALL): Likewise.
1554 * sysdeps/unix/sysv/linux/dl-execstack.c
1555 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1557 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1559 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1560 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1561 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1563 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1565 [__ASSUME_WAITID_SYSCALL]: Likewise.
1566 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1568 2012-08-07 Roland McGrath <roland@hack.frob.com>
1570 * sysdeps/unix/closedir.c: Renamed to ...
1571 * sysdeps/posix/closedir.c: ... here.
1572 * sysdeps/unix/dirfd.c: Renamed to ...
1573 * sysdeps/posix/dirfd.c: ... here.
1574 * sysdeps/unix/dirstream.h: Renamed to ...
1575 * sysdeps/posix/dirstream.h: ... here.
1576 * sysdeps/unix/fdopendir.c: Renamed to ...
1577 * sysdeps/posix/fdopendir.c: ... here.
1578 * sysdeps/unix/opendir.c: Renamed to ...
1579 * sysdeps/posix/opendir.c: ... here.
1580 * sysdeps/unix/readdir.c: Renamed to ...
1581 * sysdeps/posix/readdir.c: ... here.
1582 * sysdeps/unix/readdir_r.c: Renamed to ...
1583 * sysdeps/posix/readdir_r.c: ... here.
1584 * sysdeps/unix/rewinddir.c: Renamed to ...
1585 * sysdeps/posix/rewinddir.c: ... here.
1586 * sysdeps/unix/seekdir.c: Renamed to ...
1587 * sysdeps/posix/seekdir.c: ... here.
1588 * sysdeps/unix/telldir.c: Renamed to ...
1589 * sysdeps/posix/telldir.c: ... here.
1590 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1591 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1592 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1593 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1595 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1596 * bits/fcntl.h: ... here.
1598 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1600 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1601 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1602 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1603 (struct flock): Move l_start, l_len to the beginning.
1604 Use __pid_t for l_pid.
1605 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1606 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1607 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1608 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1609 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1610 [__USE_LARGEFILE64] (struct flock64): New type.
1611 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1613 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1614 * bits/dirent.h: ... here.
1616 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1617 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1619 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1622 Change from 2.6.0 to 2.6.16.
1623 * sysdeps/unix/sysv/linux/configure: Regenerated.
1624 * sysdeps/unix/sysv/linux/kernel-features.h
1625 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1626 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1628 (__ASSUME_UTIMES): Likewise.
1629 (__ASSUME_CLONE_STOPPED): Remove.
1630 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1631 architectures, not kernel version.
1632 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1633 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1634 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1635 (__ASSUME_WAITID_SYSCALL): Likewise.
1636 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1637 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1638 * README: State 2.6.16 as minimum Linux kernel version. Do not
1639 refer to older versions.
1641 2012-08-06 Roland McGrath <roland@hack.frob.com>
1643 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1644 Define alphasort64 as an alias.
1645 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1646 Define versionsort64 as an alias.
1647 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1648 Define scandir64 as an alias.
1649 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1650 Define scandirat64 as an alias.
1651 * dirent/alphasort64.c (alphasort64):
1652 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1653 * dirent/versionsort64.c: Likewise.
1654 * dirent/scandir64.c: Likewise.
1655 * dirent/scandirat64.c: Likewise.
1656 * sysdeps/wordsize-64/alphasort.c: File removed.
1657 * sysdeps/wordsize-64/alphasort64.c: File removed.
1658 * sysdeps/wordsize-64/scandir.c: File removed.
1659 * sysdeps/wordsize-64/scandir64.c: File removed.
1660 * sysdeps/wordsize-64/scandirat.c: File removed.
1661 * sysdeps/wordsize-64/scandirat64.c: File removed.
1662 * sysdeps/wordsize-64/versionsort.c: File removed.
1663 * sysdeps/wordsize-64/versionsort64.c: File removed.
1664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1667 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1669 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1671 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1673 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1675 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1677 [defined __arch64__ || defined __sparcv9]
1678 (__INO_T_MATCHES_INO64_T): New macro.
1679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1680 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1681 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1682 * sysdeps/unix/sysv/linux/bits/dirent.h
1683 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1684 (_DIRENT_MATCHES_DIRENT64): New macro.
1686 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1687 Define lockf64 as an alias.
1688 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1689 Define fseeko64 as an alias.
1690 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1691 Define ftello64 as an alias.
1692 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1693 Define _IO_fgetpos64 and fgetpos64 as aliases.
1694 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1695 Define _IO_fsetpos64 and fsetpos64 as aliases.
1696 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1697 Conditionalize body on this.
1698 * libio/fseeko64.c: Likewise.
1699 * libio/ftello64.c: Likewise.
1700 * libio/iofgetpos64.c: Likewise.
1701 * libio/iofsetpos64.c: Likewise.
1702 * sysdeps/wordsize-64/lockf.c: File removed.
1703 * sysdeps/wordsize-64/lockf64.c: File removed.
1704 * sysdeps/wordsize-64/fseeko.c: File removed.
1705 * sysdeps/wordsize-64/fseeko64.c: File removed.
1706 * sysdeps/wordsize-64/ftello.c: File removed.
1707 * sysdeps/wordsize-64/ftello64.c: File removed.
1708 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1709 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1710 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1711 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1713 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1723 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1725 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1727 [defined __arch64__ || defined __sparcv9]
1728 (__OFF_T_MATCHES_OFF64_T): New macro.
1729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1730 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1732 (__OFF_T_MATCHES_OFF64_T): New macro.
1734 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1736 * stdlib/secure-getenv.c (__secure_getenv): Replace
1737 GLIBC_2_16 with GLIBC_2_17.
1739 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1744 2012-08-03 David S. Miller <davem@davemloft.net>
1746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1748 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1752 (__ASSUME_CORRECT_SI_PID): Likewise.
1753 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1754 (__ASSUME_TMPFS_NAME): Likewise.
1755 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1756 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1757 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1758 (HAVE_AUX_SECURE): Make definition unconditional.
1759 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1760 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1762 2012-08-03 Roland McGrath <roland@hack.frob.com>
1764 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1765 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1766 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1767 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1768 __eloop_threshold instead of SYMLOOP_MAX.
1770 * sysdeps/generic/eloop-threshold.h: New file.
1771 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1773 * elf/chroot_canon.c (chroot_canon): Likewise.
1775 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1779 Change to 2.6.0 everywhere.
1780 * sysdeps/unix/sysv/linux/configure: Regenerated.
1781 * sysdeps/unix/sysv/linux/kernel-features.h
1782 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1783 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1785 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1786 (__ASSUME_FUTEX_REQUEUE): Remove.
1787 (__ASSUME_STATFS64): Define unconditionally.
1788 (__ASSUME_AT_SECURE): Likewise.
1789 (__ASSUME_CORRECT_SI_PID): Likewise.
1790 (__ASSUME_TGKILL): Define without depending on kernel version for
1792 (__ASSUME_UTIMES): Likewise.
1793 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1795 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1796 (__ASSUME_TMPFS_NAME): Likewise.
1797 * README: Update reference to Linux kernel versions.
1799 2012-08-02 Marek Polacek <polacek@redhat.com>
1802 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1803 libc_cv_asm_type_prefix with %.
1804 * configure: Regenerated.
1805 * include/libc-symbols.h: Remove comment about
1806 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1807 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1808 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1809 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1810 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1811 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1813 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1814 * elf/tst-unique2mod1.c: Likewise.
1815 * elf/tst-unique1mod2.c: Likewise.
1816 * elf/tst-unique1mod1.c: Likewise.
1817 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1818 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1819 Replace ASM_TYPE_DIRECTIVE with .type.
1820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1821 * sysdeps/i386/sysdep.h: Likewise.
1822 * sysdeps/x86_64/sysdep.h: Likewise.
1823 * sysdeps/sh/sysdep.h: Likewise.
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1825 Do not define ASM_TYPE_DIRECTIVE.
1826 * sysdeps/powerpc/sysdep.h: Likewise.
1827 * sysdeps/powerpc/powerpc32/sysdep.h:
1828 Replace ASM_TYPE_DIRECTIVE with .type.
1829 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1830 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1831 * sysdeps/i386/fpu/e_powf.S: Likewise.
1832 * sysdeps/i386/fpu/e_expl.S: Likewise.
1833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1834 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1835 * sysdeps/i386/fpu/e_pow.S: Likewise.
1836 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1837 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1838 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1839 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1840 * sysdeps/i386/fpu/e_log2.S: Likewise.
1841 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1842 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1843 * sysdeps/i386/fpu/e_powl.S: Likewise.
1844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1846 * sysdeps/i386/fpu/e_logl.S: Likewise.
1847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1848 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1849 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1852 * sysdeps/i386/fpu/e_log.S: Likewise.
1853 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1854 * sysdeps/i386/fpu/e_logf.S: Likewise.
1855 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1856 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1858 * sysdeps/i386/fpu/e_log10.S: Likewise.
1859 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1860 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1861 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1862 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1866 * sysdeps/i386/i686/strtok.S: Likewise.
1867 * sysdeps/i386/i386-mcount.S: Likewise.
1868 * sysdeps/i386/strtok.S: Likewise.
1869 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1873 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1874 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1875 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1876 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1877 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1878 * sysdeps/x86_64/_mcount.S: Likewise.
1879 * sysdeps/x86_64/strtok.S: Likewise.
1880 * sysdeps/sh/_mcount.S: Likewise.
1882 2012-08-01 Roland McGrath <roland@hack.frob.com>
1884 * libio/iofopen.c: Include <fcntl.h>.
1885 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1886 (_IO_fopen64, fopen64): Define as aliases.
1887 * libio/iofopen64.c: Include <fcntl.h>.
1888 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1889 Conditionalize body on this.
1890 * sysdeps/wordsize-64/iofopen.c: File removed.
1891 * sysdeps/wordsize-64/iofopen64.c: File removed.
1893 2012-08-01 Marek Polacek <polacek@redhat.com>
1895 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1896 Use dlfcn directly instead of a variable.
1897 (binfmt-subdir): Do not define.
1900 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1902 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1903 Remove all definitions.
1904 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1905 <kernel-features.h>.
1906 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1907 (miss_F_GETOWN_EX): Remove all definitions.
1908 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1910 [!__ASSUME_FCNTL64]: Remove conditional code.
1911 [__ASSUME_FCNTL64]: Make code unconditional.
1912 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1913 <kernel-features.h>.
1914 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1915 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1916 (lockf64) [__NR_fcntl64]: Make code unconditional.
1917 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1919 * sysdeps/unix/sysv/linux/kernel-features.h
1920 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1921 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1922 Make code unconditional.
1923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1926 [__NR_vfork]: Make code unconditional.
1927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1930 [__NR_vfork]: Make code unconditional.
1931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1934 2012-08-01 Roland McGrath <roland@hack.frob.com>
1936 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1937 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1939 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1940 Define mkstemp64 as an alias.
1941 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1942 Define mkstemps64 as an alias.
1943 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1944 Define mkostemp64 as an alias.
1945 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1946 Define mkostemps64 as an alias.
1947 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1948 Conditionalize body on this.
1949 * misc/mkostemp64.c: Likewise.
1950 * misc/mkostemps64.c: Likewise.
1951 * misc/mkstemps64.c: Likewise.
1952 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1953 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1954 * sysdeps/wordsize-64/mkostemp.c: File removed.
1955 * sysdeps/wordsize-64/mkstemp.c: File removed.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1962 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1963 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1964 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1965 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1967 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1968 compat_symbol macros from <shlib-compat.h> rather than the underlying
1969 default_symbol_version and symbol_version macros, so that DEFAULT
1970 lines in shlib-versions are respected.
1971 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1973 2012-08-01 Florian Weimer <fweimer@redhat.com>
1975 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1976 Declare with warn_unused_result.
1977 (setgid, setregid, setegid, setresgid): Likewise.
1978 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1980 * WUR-REPORT: Remove set*id functions.
1982 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1984 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1986 2012-07-31 Roland McGrath <roland@hack.frob.com>
1988 * include/sys/socket.h (__libc_accept, __libc_accept4):
1989 Add attribute_hidden.
1990 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1994 * inet/getnetgrent_r.c (setup): Likewise.
1996 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1998 2012-07-31 David S. Miller <davem@davemloft.net>
2000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2002 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2005 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2006 value between 1.0 and 2.0 and smaller part has absolute value less
2008 * math/s_clog10.c (__clog10): Likewise.
2009 * math/s_clog10f.c (__clog10f): Likewise.
2010 * math/s_clog10l.c (__clog10l): Likewise.
2011 * math/s_clogf.c (__clogf): Likewise.
2012 * math/s_clogl.c (__clogl): Likewise.
2013 * math/libm-test.inc (clog_test): Add more tests.
2014 (clog10_test): Likewise.
2015 * sysdeps/i386/fpu/libm-test-ulps: Update.
2016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2018 2012-07-31 Florian Weimer <fweimer@redhat.com>
2020 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2021 Exit with zero in case no suitable GID is found, and write a
2022 message to standard error.
2024 2012-07-30 Roland McGrath <roland@hack.frob.com>
2026 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2028 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2029 (MAXPATHLEN): Removed.
2030 (NOGROUP, NODEV): New macros.
2031 (setbit, clrbit, isset, isclr): New macros.
2032 (howmany, roundup, powerof2): New macros.
2033 (DEV_BSIZE): New macro.
2035 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2036 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2038 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2039 definition on [!__NO_LONG_DOUBLE_MATH].
2041 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2042 PTR_MANGLE and PTR_DEMANGLE.
2044 * socket/accept4.c (accept4): Rename to __libc_accept4.
2045 Define accept4 as a weak alias.
2047 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2048 on [_DIRENT_HAVE_D_TYPE].
2049 * io/ftw.c (ftw_dir): Likewise.
2051 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2053 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2055 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2056 Use the BSD numbers rather than the arbitrary ones we had.
2057 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2058 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2059 (SIGXCPU, SIGXFSZ): New macros.
2062 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2063 initializer on [_LIBC_REENTRANT].
2065 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2066 definitions inside [_POSIX_MAPPED_FILES].
2068 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2070 * dirent/opendir.c: Include <fcntl.h>.
2072 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2073 (__libc_getspecific): Likewise.
2074 (__libc_key_create): Likewise.
2076 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2077 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2078 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2079 (tmpfile64): Define as alias.
2080 * sysdeps/wordsize-64/tmpfile.c: File removed.
2081 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2085 * stdio-common/vfscanf.c: Include <stdbool.h>.
2086 * nss/makedb.c: Likewise.
2087 * stdio-common/_i18n_number.h: Likewise.
2088 * argp/argp-help.c: Likewise.
2089 * posix/wordexp.c: Likewise.
2090 * sysdeps/posix/spawni.c: Likewise.
2091 * nss/nss_files/files-initgroups.c: Likewise.
2092 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2093 * nss/nss_files/files-initgroups.c: Likewise.
2094 * nss/nss_db/db-netgrp.c: Likewise.
2095 * nss/nss_db/db-initgroups.c: Likewise.
2096 * io/fchmodat.c: Include <sys/stat.h>.
2098 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2099 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2101 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2104 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2105 Add multiple inclusion protection.
2107 2012-07-27 David S. Miller <davem@davemloft.net>
2109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2111 2012-07-27 Gary Benson <gbenson@redhat.com>
2114 * elf/rtld.c: Include <stap-probe.h>.
2115 (dl_main): Added static probes "init_start" and "init_complete".
2116 * elf/dl-load.c: Include <stap-probe.h>.
2117 (lose): Take new parameter "nsid".
2118 Added static probe "map_failed".
2119 (_dl_map_object_from_fd): Pass namespace id to lose.
2120 Added static probe "map_start".
2121 (open_verify): Pass namespace id to lose.
2122 * elf/dl-open.c: Include <stap-probe.h>.
2123 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2124 and "reloc_complete".
2125 * elf/dl-close.c: Include <stap-probe.h>.
2126 (_dl_close_worker): Added static probes "unmap_start" and
2128 * elf/rtld-debugger-interface.txt: New file documenting the above.
2130 2012-07-26 Roland McGrath <roland@hack.frob.com>
2132 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2133 rather than a string variable.
2134 * sunrpc/rpc_main.c (h_output): Likewise.
2135 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2137 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2139 * inet/check_native.c: New file.
2141 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2144 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2145 if larger part has absolute value 1.0.
2146 * math/s_clog10.c (__clog10): Likewise.
2147 * math/s_clog10f.c (__clog10f): Likewise.
2148 * math/s_clog10l.c (__clog10l): Likewise.
2149 * math/s_clogf.c (__clogf): Likewise.
2150 * math/s_clogl.c (__clogl): Likewise.
2151 * math/libm-test.inc (clog_test): Add more tests.
2152 (clog10_test): Likewise.
2153 * sysdeps/i386/fpu/libm-test-ulps: Update.
2154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2156 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2157 (pltexit): Likewise.
2158 (La_regs): Likewise.
2159 (La_retval): Likewise.
2160 (int_retval): Likewise.
2161 Update #error for removed macros to refer only to definitions in
2163 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2165 (pltexit): Likewise.
2166 (La_regs): Likewise.
2167 (La_retval): Likewise.
2168 (int_retval): Likewise.
2169 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2171 (pltexit): Likewise.
2172 (La_regs): Likewise.
2173 (La_retval): Likewise.
2174 (int_retval): Likewise.
2175 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2177 (pltexit): Likewise.
2178 (La_regs): Likewise.
2179 (La_retval): Likewise.
2180 (int_retval): Likewise.
2181 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2183 (pltexit): Likewise.
2184 (La_regs): Likewise.
2185 (La_retval): Likewise.
2186 (int_retval): Likewise.
2187 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2189 (pltexit): Likewise.
2190 (La_regs): Likewise.
2191 (La_retval): Likewise.
2192 (int_retval): Likewise.
2193 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2195 (pltexit): Likewise.
2196 (La_regs): Likewise.
2197 (La_retval): Likewise.
2198 (int_retval): Likewise.
2199 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2200 macro definitions in tst-audit.h.
2201 * sysdeps/i386/tst-audit.h: New file.
2202 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2203 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2204 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2205 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2206 * sysdeps/sh/tst-audit.h: Likewise.
2207 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2208 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2209 * sysdeps/x86_64/tst-audit.h: Likewise.
2211 2012-07-26 Andreas Jaeger <aj@suse.de>
2213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2217 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2218 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2220 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2224 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2229 (si_call_addr, si_syscall, si_arch): Define new macro.
2230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2232 (si_call_addr, si_syscall, si_arch): Define new marcro.
2233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2235 (si_call_addr, si_syscall, si_arch): Define new macro.
2236 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2238 (si_call_addr, si_syscall, si_arch): Define new macro.
2240 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2244 Change to 2.4.21 where previously 2.4.1.
2245 * sysdeps/unix/sysv/linux/configure: Regenerated.
2246 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2247 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2248 Linux kernel version.
2249 (__ASSUME_STD_AUXV): Remove.
2250 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2252 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2253 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2254 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2255 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2256 (__ASSUME_NETLINK_SUPPORT): Likewise.
2257 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2258 (__no_netlink_support): Remove conditional definition.
2259 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2261 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2262 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2264 (if_nameindex_ioctl): Remove.
2265 (if_nameindex_netlink): Do not handle __no_netlink_support.
2266 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2268 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2269 Remove conditional code.
2270 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2272 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2274 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2275 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2276 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2278 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2279 [!__ASSUME_STD_AUXV]: Remove conditional code.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2281 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2282 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2294 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2300 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2302 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2304 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2306 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2309 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2311 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2314 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2316 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2318 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2320 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2323 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2325 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2327 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2329 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2332 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2334 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2336 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2337 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2338 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2341 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2342 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2343 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2344 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2345 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2346 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2347 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2348 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2350 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2352 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2354 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2358 2012-07-25 Florian Weimer <fweimer@redhat.com>
2360 * Versions.def: Add GLIBC_2.17.
2361 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2362 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2363 Introduce __libc_secure_getenv.
2364 * stdlib/Versions (2.17): Add secure_getenv
2365 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2366 * stdlib/secure-getenv.c: Rename __secure_getenv to
2367 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2368 symbol __secure_getenv for GLIBC_2.0.
2369 * stdlib/tst-secure-getenv.c: New.
2370 * stdlib/Makefile (tests): Add testcase.
2371 * manual/startup.texi (Environment Access): Document
2373 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2374 __libc_secure_getenv.
2375 * inet/ruserpass.c (ruserpass): Likewise.
2376 * malloc/mtrace.c (mtrace): Likewise.
2377 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2378 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2379 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2380 * sysdeps/posix/tempname.c: Likewise. Evaluate
2382 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2383 __secure_getenv to __libc_secure_getenv.
2384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2399 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2400 (struct La_i86_retval): Likewise.
2401 (struct La_x86_64_regs): Likewise.
2402 (struct La_x86_64_retval): Likewise.
2403 (struct La_x32_regs): Likewise.
2404 (struct La_x32_retval): Likewise.
2405 (struct La_ppc32_regs): Likewise.
2406 (struct La_ppc32_retval): Likewise.
2407 (struct La_ppc64_regs): Likewise.
2408 (struct La_ppc64_retval): Likewise.
2409 (struct La_sh_regs): Likewise.
2410 (struct La_sh_retval): Likewise.
2411 (struct La_s390_32_regs): Likewise.
2412 (struct La_s390_32_retval): Likewise.
2413 (struct La_s390_64_regs): Likewise.
2414 (struct La_s390_64_retval): Likewise.
2415 (struct La_sparc32_regs): Likewise.
2416 (struct La_sparc32_retval): Likewise.
2417 (struct La_sparc64_regs): Likewise.
2418 (struct La_sparc64_retval): Likewise.
2419 (struct audit_ifaces): Remove architecture-specific pltenter and
2421 * sysdeps/i386/ldsodefs.h: New file.
2422 * sysdeps/powerpc/ldsodefs.h: Likewise.
2423 * sysdeps/s390/ldsodefs.h: Likewise.
2424 * sysdeps/sh/ldsodefs.h: Likewise.
2425 * sysdeps/sparc/ldsodefs.h: Likewise.
2426 * sysdeps/x86_64/ldsodefs.h: Likewise.
2428 2012-07-25 Marek Polacek <polacek@redhat.com>
2431 * math/libm-test.inc (yn_test): Add another test.
2432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2433 to ERANGE when the result is +-Inf.
2434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2435 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2439 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2441 * conform/data/time.h-data (NULL): Use macro-constant. Require
2443 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2445 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2447 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2449 * configure.in <sysdeps resolving>: Correct printing
2451 * configure: Regenerate.
2453 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2455 * math/w_ilogb.c: Include <limits.h>.
2456 * math/w_ilogbl.c: Likewise.
2458 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2460 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2461 va_copy. Document allowing for unavailable va_copy only as
2462 pre-C99 compatibility.
2463 * manual/string.texi (Copying and Concatenation): Use va_copy
2464 instead of __va_copy in concat example.
2466 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2468 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2469 (__sendto): Use create_address_port. Initialize APORT and deallocate
2472 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2473 with O_NOLINK passed to __file_name_lookup.
2475 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2476 with O_NOLINK passed to __file_name_lookup.
2478 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2479 negative N or less than NGIDS.
2481 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2482 type to string_t. Set ERANGE as errno and return it if NAME is not big
2483 enough. Use memcpy instead of strncpy.
2485 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2487 * elf/Makefile (check-data): Remove.
2488 (localplt.data): New vpath directive.
2489 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2490 instead of $(check-data).
2491 * scripts/data/localplt-generic.data: Move to ...
2492 * sysdeps/generic/localplt.data: ... here.
2493 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2494 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2495 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2498 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2501 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2504 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2507 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2510 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2514 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2516 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2517 PPC32 and PPC64 files.
2518 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2519 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2521 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2523 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2524 __makecontext_ret to ...
2525 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2526 ... here and call exit if uc_link is NULL. New file.
2527 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2528 __makecontext_ret.S.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2530 __makecontext_ret to ...
2531 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2532 ... here and call exit if uc_link is NULL. New file.
2533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2534 __makecontext_ret.S.
2536 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2538 * elf/elf.h (R_390_IRELATIVE): New definition.
2539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2540 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2541 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2543 (elf_machine_lazy_rel): Likewise.
2544 * sysdeps/s390/dl-irel.h: New file.
2545 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2546 * sysdeps/s390/s390-64/memset.S: New asm code.
2547 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2548 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2550 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2551 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2552 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2554 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2555 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2556 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2557 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2558 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2559 * sysdeps/s390/s390-32/memset.S: New asm code.
2560 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2562 2012-07-17 Marek Polacek <polacek@redhat.com>
2565 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2566 * sysdeps/s390/s390-64/configure.in: Likewise.
2567 * sysdeps/sparc/configure.in: Likewise.
2568 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2569 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2570 * sysdeps/i386/configure.in: Likewise.
2571 * sysdeps/x86_64/configure.in: Likewise.
2572 * sysdeps/sh/configure.in: Likewise.
2573 * sysdeps/s390/s390-32/configure: Regenerated.
2574 * sysdeps/s390/s390-64/configure: Likewise.
2575 * sysdeps/x86_64/configure: Likewise.
2576 * sysdeps/sh/configure: Likewise.
2577 * sysdeps/powerpc/powerpc64/configure: Likewise.
2578 * sysdeps/powerpc/powerpc32/configure: Likewise.
2579 * sysdeps/sparc/configure: Likwise.
2580 * sysdeps/i386/configure: Likewise.
2582 * elf/dl-open.c: Comment fixes.
2584 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2586 * Makefile [CXX] (check-data): Remove.
2587 [CXX] (c++-types.data): New vpath directive.
2588 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2589 vpath. Do not allow for C++ type data being missing.
2590 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2591 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2592 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2593 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2594 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2596 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2599 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2602 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2605 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2608 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2611 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2614 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2617 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2620 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2621 definitions to architecture-specific files.
2625 * sysdeps/i386/tls-macros.h: New file.
2626 * sysdeps/powerpc/tls-macros.h: Likewise.
2627 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2628 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2629 * sysdeps/sh/tls-macros.h: Likewise.
2630 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2631 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2632 * sysdeps/x86_64/tls-macros.h: Likewise.
2634 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2637 zero value for regular exit case.
2639 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2640 (__start_context): Preserve zero value for regular exit case.
2642 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2643 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2645 * manual/setjmp.texi (setcontext): Clarify normal process
2646 termination when uc_link is the null pointer.
2647 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2650 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2652 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2653 preprocessor. Test for each exception mask separately.
2655 2012-07-16 Andreas Jaeger <aj@suse.de>
2657 * po/ru.po: Update from translation team.
2659 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2661 * conform/data/string.h-data (NULL): Use macro-constant. Require
2663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2664 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2665 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2666 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2669 2012-07-13 Andreas Jaeger <aj@suse.de>
2671 * po/fr.po: Update from translation team.
2673 2012-07-12 Marek Polacek <polacek@redhat.com>
2676 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2680 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2684 Change to 2.4.1 where previously 2.4.0.
2685 * sysdeps/unix/sysv/linux/configure: Regenerated.
2686 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2687 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2689 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2690 (__ASSUME_AT_CLKTCK): Remove.
2691 (__ASSUME_AT_PAGESIZE): Likewise.
2692 (__ASSUME_AT_XID): Likewise.
2693 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2694 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2695 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2697 (HAVE_AUX_PAGESIZE): Likewise.
2698 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2699 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2700 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2702 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2706 the temporary buffer used to invoke __gethostbyname2_r,
2707 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2708 host_data / struct gaih_addrtuple.
2709 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2710 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2711 header file nss/nsswitch.h.
2712 * nss/nsswitch.h (global scope): Add definition of implementation
2713 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2714 resolv/nss_dns/dns-host.c).
2716 2012-07-11 Andreas Jaeger <aj@suse.de>
2718 * po/fr.po: Update from translation team.
2720 * po/sv.po: Update from translation team
2721 * po/fr.po: Another update from translation team.
2723 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2726 for subnormals or multiply small sinh result by itself.
2727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2730 2012-07-11 David S. Miller <davem@davemloft.net>
2732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2734 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2737 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2738 (INTERNAL_MARK): Shift it here.
2740 2012-07-10 Marek Polacek <polacek@redhat.com>
2743 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2744 libc_cv_asm_global_directive with .globl.
2745 * configure: Regenerated.
2746 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2748 * sysdeps/i386/configure: Regenerated.
2749 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2751 * sysdeps/x86_64/configure: Regenerated.
2752 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2753 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2754 * elf/tst-unique2mod2.c: Likewise.
2755 * elf/tst-unique2mod1.c: Likewise.
2756 * elf/tst-unique1mod2.c: Likewise.
2757 * elf/tst-unique1mod1.c: Likewise.
2758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2762 * sysdeps/mach/sysdep.h: Likewise.
2763 * sysdeps/i386/sysdep.h: Likewise.
2764 * sysdeps/i386/i386-mcount.S: Likewise.
2765 * sysdeps/x86_64/_mcount.S: Likewise.
2766 * sysdeps/x86_64/sysdep.h: Likewise.
2767 * sysdeps/sh/_mcount.S: Likewise.
2768 * sysdeps/sh/sysdep.h: Likewise.
2769 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2770 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2771 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2773 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2774 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2775 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2776 * locale/localeinfo.h: Likewise.
2777 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2778 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2780 2012-07-09 Roland McGrath <roland@hack.frob.com>
2783 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2785 * manual/message.texi (The Uniforum approach): Likewise.
2786 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2787 (glibc iconv Implementation): Likewise.
2789 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2792 * math/s_clog.c (__clog): Avoid scaling a value down where that
2793 could result in underflow.
2794 * math/s_clog10.c (__clog10): Likewise.
2795 * math/s_clog10f.c (__clog10f): Likewise.
2796 * math/s_clog10l.c (__clog10l): Likewise.
2797 * math/s_clogf.c (__clogf): Likewise.
2798 * math/s_clogl.c (__clogl): Likewise.
2799 * math/libm-test.inc (clog_test): Add more tests.
2800 (clog10_test): Likewise.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2808 by 7 not 8 to examine high bit of fractional part.
2811 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2812 for call to __mcount_internal.
2813 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2814 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2815 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2817 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2820 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2821 approximation for values within 0x1p-13f of an odd multiple of
2823 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2824 exception. Add more tests.
2825 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2829 inputs and return -1 for them. Do not check for +Inf in case not
2831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2832 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2834 and return -1 for them. Do not check for +Inf in case not
2836 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2839 and return -1 for them. Do not check for +Inf in case not
2841 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2843 * sysdeps/i386/fpu/libm-test-ulps: Update.
2844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2846 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2848 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2850 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2854 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2855 could result in spurious underflow. Scale down values above
2856 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2857 * math/s_csqrtf.c (__csqrtf): Likewise.
2858 * math/s_csqrtl.c (__csqrtl): Likewise.
2859 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2861 * sysdeps/i386/fpu/libm-test-ulps: Update.
2862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2864 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2866 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2868 * catgets/xopen-msg.awk: New file.
2869 * catgets/xopen-msg.sed: Removed.
2871 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2873 * intl/po2test.awk: New file.
2874 * intl/po2test.sed: Removed.
2876 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2879 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2880 or multiply small sinh result by itself.
2881 * math/s_ctanf.c (__ctanf): Likewise.
2882 * math/s_ctanh.c (__ctanh): Likewise.
2883 * math/s_ctanhf.c (__ctanhf): Likewise.
2884 * math/s_ctanhl.c (__ctanhl): Likewise.
2885 * math/s_ctanl.c (__ctanl): Likewise.
2886 * math/libm-test.inc (ctan_test_tonearest): New function.
2887 (ctan_test_towardzero): Likewise.
2888 (ctan_test_downward): Likewise.
2889 (ctan_test_upward): Likewise.
2890 (ctanh_test_tonearest): Likewise.
2891 (ctanh_test_towardzero): Likewise.
2892 (ctanh_test_downward): Likewise.
2893 (ctanh_test_upward): Likewise.
2894 (main): Call these new functions.
2895 * sysdeps/i386/fpu/libm-test-ulps: Update.
2896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2898 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2900 * .gitignore: Delete /ports entry.
2902 2012-07-03 Andreas Jaeger <aj@suse.de>
2904 * po/bg.po: Update from translation team.
2905 * po/cs.po: Likewise.
2906 * po/de.po: Likewise.
2907 * po/hr.po: Likewise.
2908 * po/nl.pl: Likewise.
2909 * po/pl.po: Likewise.
2910 * po/vi.po: Likewise.
2912 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2914 * Makeconfig [!+link] (+link-before-libc): New variable.
2915 [!+link] (+link-after-libc): Likewise.
2916 [!+link] (+link-tests): Likewise.
2917 [!+link] (+link): Define in terms of $(+link-before-libc) and
2918 $(+link-after-libc).
2919 [!+link-static] (+link-static-before-libc): New variable.
2920 [!+link-static] (+link-static-after-libc): Likewise.
2921 [!+link-static] (+link-static-tests): Likewise.
2922 [!+link-static] (+link-static): Define in terms of
2923 $(+link-static-before-libc) and $(+link-static-after-libc).
2924 [build-shared] (link-libc-before-gnulib): New variable.
2925 [build-shared] (link-libc-tests): Likewise.
2926 [build-shared] (link-libc): Define in terms of
2927 $(link-libc-before-gnulib).
2928 [!build-shared] (link-libc-tests): New variable.
2929 (link-libc-static-tests): New variable.
2930 [!gnulib] (gnulib-arch): New variable.
2931 [!gnulib] (gnulib-tests): Likewise.
2932 [!gnulib] (static-gnulib-arch): Likewise.
2933 [!gnulib] (static-gnulib-tests): Likewise.
2934 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2935 Define with "=" instead of ":=".
2936 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2937 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2938 * Rules (binaries-all-notests): New variable.
2939 (binaries-all-tests): Likewise.
2940 (binaries-static-notests): Likewise.
2941 (binaries-static-tests): Likewise.
2942 (binaries-all): Define using $(binaries-all-notests) and
2943 $(binaries-all-tests).
2944 (binaries-static): Define using $(binaries-static-notests) and
2945 $(binaries-static-tests).
2946 (binaries-shared-tests): New variable.
2947 (binaries-shared-notests): Likewise.
2948 (binaries-shared): Remove variable.
2949 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2950 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2951 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2952 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2953 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2954 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2955 * elf/Makefile (sln-modules): New variable.
2956 (extra-objs): Add $(sln-modules:=.o).
2957 (ldconfig-modules): Add static-stubs.
2958 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2959 * elf/static-stubs.c: New file.
2962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2963 by 7 not 8 to examine high bit of fractional part. Use volatile
2964 variables when splitting into final array of floats if
2965 __FLT_EVAL_METHOD__ != 0.
2966 * math/libm-test.inc (cos_test): Add another test.
2967 (sin_test): Likewise.
2968 * sysdeps/i386/fpu/libm-test-ulps: Update.
2971 * math/libm-test.inc (cosh_test): Add more tests.
2973 * version.h (RELEASE): Set to "development".
2974 (VERSION): Set to "2.16.90".
2976 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2978 * NEWS: Update copyright. Remove last-updated date.
2979 Mention math library bug fixes and timezone data changes.
2980 * README: Mention GNU/Hurd, x32, and HPPA support status.
2982 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2984 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2986 2012-06-27 Andreas Jaeger <aj@suse.de>
2988 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2990 2012-06-25 Andreas Jaeger <aj@suse.de>
2992 * sysdeps/s390/fpu/libm-test-ulps: Update.
2994 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2995 Thomas Schwinge <thomas@codesourcery.com>
2997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2998 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3002 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3004 * sysdeps/mach/start.c: Remove file.
3005 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3006 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3007 * sysdeps/sh/init-first.c: Likewise.
3009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3010 registers for frame unwinding purposes, add CFI directives.
3011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3013 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3017 __fortify_fail returning.
3018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3020 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3021 sysdeps/sh/____longjmp_chk.S.
3022 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3023 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3024 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3025 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3027 * sysdeps/sh/abort-instr.h: New file.
3028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3029 process in case exit returns.
3031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3032 initialize the GOT register before use.
3034 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3035 calculation of ARGC > 4.
3037 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3038 meaningful names to some local labels.
3040 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3041 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3044 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3045 (__arch_compare_and_exchange_val_16_acq): Likewise.
3046 (__arch_compare_and_exchange_val_32_acq): Likewise.
3047 (atomic_exchange_and_add): Fix gUSA sequence.
3048 (atomic_add): Likewise.
3049 (atomic_add_negative): Likewise.
3050 (atomic_add_zero): Likewise.
3051 (atomic_bit_test_set): Likewise.
3053 2012-06-22 Andreas Schwab <schwab@redhat.com>
3056 * include/link.h (struct link_map): Add l_free_initfini.
3057 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3059 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3060 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3061 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3064 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3066 * configure.in: Use AC_LANG_SOURCE.
3067 * configure: Regenerate.
3069 2012-06-22 Roland McGrath <roland@hack.frob.com>
3071 * configure.in (libc_cv_localstatedir): New substituted variable.
3072 * configure: Regenerated.
3073 * config.make.in (localstatedir): New variable, substituted from
3074 libc_cv_localstatedir.
3075 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3076 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3077 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3078 * sysdeps/gnu/configure: Regenerated.
3080 2012-06-21 Jeff Law <law@redhat.com>
3083 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3084 free. Simplify list management for _LIBC case.
3086 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3090 Clear sign bit of 64-bit integer value before comparing against
3093 * sysdeps/mach/configure: Regenerated.
3095 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3098 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3100 2012-06-21 Jeff Law <law@redhat.com>
3103 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3104 uint16_t for elements in the "seen" array to avoid char overflows.
3105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3106 * elf/dl-open.c (dl_open_worker): Likewise.
3108 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3110 * scripts/list-sources.sh: Scan PORTS for translations.
3111 * po/libc.pot: Regenerated.
3113 2012-06-21 Andreas Jaeger <aj@suse.de>
3116 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3118 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3119 * bits/byteswap-16.h (__bswap_16): Likewise.
3120 * bits/byteswap.h (__bswap_constant_16): Likewise.
3122 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3125 * sysdeps/i386/fpu_control.h: Removed.
3126 * sysdeps/x86_64/fpu_control.h: Moved to ...
3127 * sysdeps/x86/fpu_control.h: Here.
3129 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3130 (_FPU_SETCW): Likewise.
3132 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3135 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3136 * sysdeps/x86/fpu/bits/mathinline.h: This.
3137 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3141 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3142 functions if __x86_64__ is defined.
3144 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3146 * string/endian.h: Add !__ASSEMBLER__ condition for including
3147 conversion interfaces.
3149 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3153 of ABS(x) in calculating zero to negative powers other than odd
3155 * math/libm-test.inc (pow_test): Add more tests.
3157 2012-06-15 Andreas Jaeger <aj@suse.de>
3159 * manual/contrib.texi (Contributors): Update entry of Liubov
3160 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3163 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3165 * string/string.h: Add __wur to GNU version of strerror_r.
3167 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3170 * string/Makefile (tests): Add tst-strtok_r.
3171 * string/tst-strtok_r.c: New file.
3172 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3173 RAX_LP/RDX_LP on SAVE_PTR.
3175 2012-06-14 Roland McGrath <roland@hack.frob.com>
3177 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3179 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3181 * libm_test.inc (csqrt_test): Allow more spurious underflow
3183 (j0_test): Likewise.
3184 (j1_test): Likewise.
3185 (y0_test): Likewise.
3186 (y1_test): Likewise.
3188 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3190 * po/Makefile (libc.pot): Use UTF-8 charset.
3192 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3195 Suppress sign-conversion warning from FD_SET.
3196 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3197 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3198 not unsigned long int.
3199 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3201 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3205 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3206 __extern_always_inline instead of __extern_inline.
3207 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3208 (__signbit): Likewise.
3209 (__signbitl): Support C++ namespace.
3210 (lrintf): New inline function.
3212 (llrintf): Likewise.
3224 (nearbyint): Likewise.
3225 (nearbyintf): Likewise.
3227 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3230 non-default versions.
3232 2012-06-11 Roland McGrath <roland@hack.frob.com>
3235 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3237 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3239 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3240 (FE_UPWARD, FE_DOWNWARD): Don't define.
3241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3249 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3256 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3259 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3260 * sysdeps/i386/fpu/Implies: New file.
3261 * sysdeps/x86_64/fpu/Implies: Likewise.
3262 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3263 * sysdeps/x86/fpu/bits/fenv.h: This.
3265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3268 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3271 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3272 character 0xffff that matches the last element of the
3275 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3280 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3283 values higher than 25.6283.
3285 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3288 subnormal exponent extraction and add some __builtin_expect.
3289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3290 Fix for subnormal mantissa calculation.
3292 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3294 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3295 cpu2 is -1 and errno is not ENOSYS.
3297 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3300 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3301 * sysdeps/x86/bits/string.h: This.
3302 * sysdeps/x86_64/bits/string.h: Removed.
3304 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3305 if not compiling for x86-64, but compiling for >= i486.
3307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3311 New macro from Linux kernel 3.4.0.
3312 (FP_XSTATE_MAGIC2): Likewise.
3313 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3314 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3315 (struct _fpx_sw_bytes): New struct.
3316 (struct _xsave_hdr): Likewise.
3317 (struct _ymmh_state): Likewise.
3318 (struct _xstate): Likewise.
3320 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3321 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3323 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3325 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3327 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3329 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3330 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3331 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3332 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3334 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3337 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3338 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3339 (sysdep_headers): Include sys/platform/ppc.h.
3340 * sysdeps/powerpc/test-gettimebase.c: Test for
3341 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3342 * manual/Makefile (appendices): Include platform.texi.
3343 * manual/contrib.texi (Contributors): Update @node pointers.
3344 * manual/maint.texi (Maintenance): Likewise.
3345 (Platform): New node.
3346 * manual/platform.texi: New file. Document the new features.
3348 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3349 Jakub Jelinek <jakub@redhat.com>
3352 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3353 where __builtin_expect is unavailable.
3355 2012-06-03 David S. Miller <davem@davemloft.net>
3357 * stdlib/longlong.h: Updated from GCC.
3359 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3362 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3363 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3366 (GLIBC_2.16): Likewise.
3368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3372 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3375 (default-abi): New variable.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3381 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3386 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3387 definition. Document in comment.
3389 2012-06-01 David S. Miller <davem@davemloft.net>
3391 * stdlib/longlong.h: Updated from GCC.
3393 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3396 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3397 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3398 sys/debugreg.h sys/io.h here.
3399 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3400 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3402 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3403 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3404 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3405 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3407 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3410 Define only if __x86_64__ is defined.
3412 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3416 Use int64_t for variable i.
3417 * math/libm-test.inc (fmod_test): Add more tests.
3419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3420 z computation is not scheduled after fetestexcept.
3421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3422 Use math_force_eval instead of asm to ensure calculation scheduled
3423 before exception test.
3424 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3425 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3427 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3430 computation is not scheduled after fetestexcept.
3432 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3438 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3440 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3441 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3443 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3448 (__WCHAR_MIN): Support __WORDSIZE == 64.
3449 (__WCHAR_MAX): Likewise.
3451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3456 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3463 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3466 Defined to 1 if __x86_64__ isn't defined.
3467 (_STAT_VER_LINUX_OLD): New.
3468 (st_atime): Remove duplicate.
3469 (st_mtime): Likewise.
3470 (st_ctime): Likewise.
3472 2012-05-31 David S. Miller <davem@davemloft.net>
3474 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3477 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3479 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3483 * elf/dl-reloc.c: Include <_itoa.h>.
3484 (_dl_reloc_bad_type): Remove use of INTUSE.
3485 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3486 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3487 * stdio-common/psiginfo.c (psiginfo): Likewise.
3488 * stdio-common/psignal.c (psignal): Likewise.
3489 * string/strsignal.c (strsignal): Likewise.
3490 * include/signal.h (_sys_siglist): Declare hidden proto.
3491 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3492 INTVARDEF with libc_hidden_data_def.
3493 * stdio-common/itoa-udigits.c: Likewise.
3494 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3495 (_itoa_lower_digits_internal): Remove declaration.
3496 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3497 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3498 (_sys_sigabbrev_internal): Remove aliases.
3499 (_sys_siglist): Define hidden alias.
3501 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3506 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3509 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3510 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3512 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3515 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3517 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3521 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3533 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3542 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3543 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3552 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3553 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3555 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3557 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3559 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3565 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3567 * math/math.h (M_El): Use two more decimal places.
3568 (M_LOG2El): Likewise.
3569 (M_LOG10El): Likewise.
3571 (M_LN10l): Likewise.
3573 (M_PI_2l): Likewise.
3574 (M_PI_4l): Likewise.
3575 (M_1_PIl): Likewise.
3576 (M_2_PIl): Likewise.
3577 (M_2_SQRTPIl): Likewise.
3578 (M_SQRT2l): Likewise.
3579 (M_SQRT1_2l): Likewise.
3581 2012-05-31 David S. Miller <davem@davemloft.net>
3583 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3584 values between float registers.
3585 * sysdeps/sparc/sparc64/memset.S: Likewise.
3586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3588 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3590 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3591 -D_FORTIFY_SOURCE=1.
3592 (CPPFLAGS-tst-longjmp_chk.c): Define.
3593 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3594 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3595 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3596 CFLAGS-tst-wchar-h.c.
3598 2012-05-31 Marek Polacek <polacek@redhat.com>
3601 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3602 __endmntent_internal): Remove declaration.
3603 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3604 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3605 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3607 2012-05-30 David S. Miller <davem@davemloft.net>
3609 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3610 (___Q_simulate_exceptions): Use real FP ops rather than writing
3612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3615 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3618 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3619 * sysdeps/x86/bits/xtitypes.h: This.
3621 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3622 * sysdeps/x86/bits/wordsize.h: This.
3624 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3625 * sysdeps/x86/bits/huge_vall.h: This.
3627 * sysdeps/i386/bits/select.h: Removed.
3628 * sysdeps/x86_64/bits/select.h: Renamed to ...
3629 * sysdeps/x86/bits/select.h: This.
3631 * sysdeps/i386/bits/setjmp.h: Removed.
3632 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3633 * sysdeps/x86/bits/setjmp.h: This.
3635 * sysdeps/i386/bits/mathdef.h: Removed.
3636 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3637 * sysdeps/x86/bits/mathdef.h: This.
3639 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3642 * include/sys/socket.h (__connect_internal)
3643 (__libc_sa_len_internal): Remove declaration.
3644 (__connect, __libc_sa_len): Declare hidden_proto.
3645 (SA_LEN): Remove use of INTUSE.
3646 * socket/connect.c: Add libc_hidden_def.
3647 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3648 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3649 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3653 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3654 of adding _internal alias.
3656 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3659 * sysdeps/i386/bits/link.h: Removed.
3660 * sysdeps/i386/bits/linkmap.h: Likewise.
3661 * sysdeps/x86_64/bits/link.h: Renamed to ...
3662 * sysdeps/x86/bits/link.h: This.
3663 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3664 * sysdeps/x86/bits/linkmap.h: This.
3666 * sysdeps/i386/bits/endian.h: Removed.
3667 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3668 * sysdeps/x86/bits/endian.h: This.
3670 * sysdeps/i386/bits/byteswap.h: Removed.
3671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3672 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3673 * sysdeps/x86/bits/byteswap.h: This.
3674 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3675 * sysdeps/x86/bits/byteswap-16.h: This.
3676 * sysdeps/i386/Implies: Add x86.
3677 * sysdeps/x86_64/Implies: Likewise.
3679 2012-05-30 David S. Miller <davem@davemloft.net>
3681 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3682 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3684 (FP_TRAPPING_EXCEPTIONS): Define.
3685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3686 (FP_TRAPPING_EXCEPTIONS): Define.
3687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3688 subnormals only when inexact has been signalled or underflow
3689 exceptions are enabled.
3690 (_FP_PACK_CANONICAL): Likewise.
3692 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3696 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3698 2012-05-30 Richard Henderson <rth@twiddle.net>
3700 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3701 with #ifndef NOT_IN_libc.
3703 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3704 marked to avoid plt entry.
3706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3709 * Makeconfig (default-abi): New macro.
3710 (abi-includes): Likewise.
3711 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3712 $(abi-$(default-abi)-lib-soname) for soname if defined.
3713 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3715 * Makefile (installed-stubs): Likewise.
3716 * include/stubs-biarch.h: Removed.
3717 * scripts/lib-names.awk: Only handle one library at a time.
3718 * scripts/soversions.awk: Remove WORDSIZE support.
3719 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3721 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3723 (syscall-list-default-condition): Likewise.
3724 (syscall-list-default-condition): Likewise.
3725 (syscall-list-includes): Likewise.
3726 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3727 syscall-list-* with abi-*. Handle undefined abi-variants.
3728 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3729 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3730 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3733 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3735 (syscall-list-32-options): Likewise.
3736 (syscall-list-32-condition): Likewise.
3737 (syscall-list-64-options): Likewise.
3738 (syscall-list-64-condition): Likewise.
3739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3741 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3744 (abi-64-ld-soname): New macro.
3745 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3746 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3749 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3750 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3752 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3754 * sysdeps/unix/sysv/linux/kernel-features.h
3755 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3756 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3757 include <kernel-features.h>.
3758 [!__NR_ftruncate64]: Remove conditional code.
3759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3760 [__NR_ftruncate64]: Make code unconditional.
3761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3762 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3763 include <kernel-features.h>.
3764 [!__NR_ftruncate64]: Remove conditional code.
3765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3766 [__NR_ftruncate64]: Make code unconditional.
3767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3769 include <kernel-features.h>.
3770 [!__NR_ftruncate64]: Remove conditional code.
3771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3772 [__NR_ftruncate64]: Make code unconditional.
3773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3775 include <kernel-features.h>.
3776 [!__NR_ftruncate64]: Remove conditional code.
3777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3778 [__NR_ftruncate64]: Make code unconditional.
3779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3781 * configure.in (libc_cv_fpie): Weaken to a compile test using
3783 * configure: Regenerated.
3785 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3800 2012-05-27 David S. Miller <davem@davemloft.net>
3802 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3804 (__Q_simulate_exceptions): Return void. Change to simulate
3805 exceptions by writing into the %fsr.
3806 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3807 (__Qp_handle_exceptions): Likewise.
3809 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3810 __Qp_handle_exceptions.
3811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3812 __Qp_handle_exceptions.
3813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3814 as unused and give dummy FP_RND_NEAREST initializer.
3815 (FP_INHIBIT_RESULTS): Define.
3816 (___Q_simulate_exceptions): Update declaration.
3817 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3820 as unused and give dummy FP_RND_NEAREST initializer.
3821 (__Qp_handle_exceptions): Update declaration.
3822 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3825 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3828 the temporary FPU control word.
3829 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3830 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3837 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3838 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3841 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3846 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3848 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3849 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3850 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3851 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3853 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3854 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3857 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3859 * po/h.po: Update from translation team.
3861 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3863 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3866 handling of denormals.
3867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3868 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3869 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3870 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3876 2012-05-26 Marek Polacek <polacek@redhat.com>
3879 * math/libm-test.inc (fma_test): Don't always expect underflow
3882 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3885 * elf/tst-execstack.c: Include stackinfo.h.
3886 (do_test): Adjust test case to ensure that pthread_getattr_np
3887 behaviour remains the same after marking stack executable.
3889 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3891 * sysdeps/unix/sysv/linux/kernel-features.h
3892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3897 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3899 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3900 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3902 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3904 * configure.in: Define the default includes to being none.
3905 * configure: Regenerated.
3907 2012-05-25 Roland McGrath <roland@hack.frob.com>
3909 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3910 * sysdeps/x86_64/setjmp.S: Likewise.
3911 * sysdeps/i386/bsd-setjmp.S: Likewise.
3912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3913 * sysdeps/i386/setjmp.S: Likewise.
3914 * sysdeps/i386/__longjmp.S: Likewise.
3915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3918 * include/stap-probe.h: New file.
3919 * configure.in: Handle --enable-systemtap.
3920 * configure: Regenerated.
3921 * config.h.in (USE_STAP_PROBE): New #undef.
3922 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3923 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3924 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3926 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3930 to 2.4.0 where earlier.
3931 * sysdeps/unix/sysv/linux/configure: Regenerated.
3932 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3933 <kernel-features.h>.
3934 [__ASSUME_32BITUIDS]: Make code unconditional.
3935 [!__ASSUME_32BITUIDS]: Remove conditional code.
3936 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3937 <kernel-features.h>.
3938 [__ASSUME_32BITUIDS]: Make code unconditional.
3939 [!__ASSUME_32BITUIDS]: Remove conditional code.
3940 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3941 [__ASSUME_32BITUIDS]: Make code unconditional.
3942 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3943 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3944 <kernel-features.h>.
3945 [__ASSUME_32BITUIDS]: Make code unconditional.
3946 [!__ASSUME_32BITUIDS]: Remove conditional code.
3947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3948 <kernel-features.h>.
3949 [__ASSUME_32BITUIDS]: Make code unconditional.
3950 [!__ASSUME_32BITUIDS]: Remove conditional code.
3951 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3952 <kernel-features.h>.
3953 [__ASSUME_32BITUIDS]: Make code unconditional.
3954 [!__ASSUME_32BITUIDS]: Remove conditional code.
3955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3956 <kernel-features.h>.
3957 [__ASSUME_32BITUIDS]: Make code unconditional.
3958 [!__ASSUME_32BITUIDS]: Remove conditional code.
3959 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3960 <kernel-features.h>.
3961 [__ASSUME_32BITUIDS]: Make code unconditional.
3962 [!__ASSUME_32BITUIDS]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3964 <kernel-features.h>.
3965 [__ASSUME_32BITUIDS]: Make code unconditional.
3966 [!__ASSUME_32BITUIDS]: Remove conditional code.
3967 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3968 <kernel-features.h>.
3969 [__ASSUME_32BITUIDS]: Make code unconditional.
3970 [!__ASSUME_32BITUIDS]: Remove conditional code.
3971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3972 <kernel-features.h>.
3973 [__ASSUME_32BITUIDS]: Make code unconditional.
3974 [!__ASSUME_32BITUIDS]: Remove conditional code.
3975 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3976 <kernel-features.h>.
3977 [__ASSUME_32BITUIDS]: Make code unconditional.
3978 [!__ASSUME_32BITUIDS]: Remove conditional code.
3979 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3980 <kernel-features.h>.
3981 [__ASSUME_32BITUIDS]: Make code unconditional.
3982 [!__ASSUME_32BITUIDS]: Remove conditional code.
3983 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3984 <kernel-features.h>.
3985 [__NR_setresgid] (__setresgid): Do not declare.
3986 [__ASSUME_32BITUIDS]: Make code unconditional.
3987 [!__ASSUME_32BITUIDS]: Remove conditional code.
3988 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3989 <kernel-features.h>.
3990 [__NR_setresuid] (__setresuid): Do not declare.
3991 [__ASSUME_32BITUIDS]: Make code unconditional.
3992 [!__ASSUME_32BITUIDS]: Remove conditional code.
3993 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3994 <kernel-features.h>.
3995 [__ASSUME_32BITUIDS]: Make code unconditional.
3996 [!__ASSUME_32BITUIDS]: Remove conditional code.
3997 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3998 <kernel-features.h>.
3999 [__ASSUME_32BITUIDS]: Make code unconditional.
4000 [!__ASSUME_32BITUIDS]: Remove conditional code.
4001 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4002 <kernel-features.h>.
4003 [__ASSUME_32BITUIDS]: Make code unconditional.
4004 [!__ASSUME_32BITUIDS]: Remove conditional code.
4005 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4006 <kernel-features.h>.
4007 [__ASSUME_32BITUIDS]: Make code unconditional.
4008 [!__ASSUME_32BITUIDS]: Remove conditional code.
4009 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4010 <kernel-features.h>.
4011 [__ASSUME_32BITUIDS]: Make code unconditional.
4012 [!__ASSUME_32BITUIDS]: Remove conditional code.
4013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4014 <kernel-features.h>.
4015 [__ASSUME_32BITUIDS]: Make code unconditional.
4016 [!__ASSUME_32BITUIDS]: Remove conditional code.
4017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4018 <kernel-features.h>.
4019 [__ASSUME_32BITUIDS]: Make code unconditional.
4020 [!__ASSUME_32BITUIDS]: Remove conditional code.
4021 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4022 <kernel-features.h>.
4023 [__ASSUME_32BITUIDS]: Make code unconditional.
4024 [!__ASSUME_32BITUIDS]: Remove conditional code.
4025 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4026 <kernel-features.h>.
4027 [__ASSUME_32BITUIDS]: Make code unconditional.
4028 [!__ASSUME_32BITUIDS]: Remove conditional code.
4029 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4030 <kernel-features.h>.
4031 [__ASSUME_32BITUIDS]: Make code unconditional.
4032 [!__ASSUME_32BITUIDS]: Remove conditional code.
4033 * sysdeps/unix/sysv/linux/kernel-features.h
4034 (__ASSUME_SETRESUID_SYSCALL): Remove.
4035 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4036 (__ASSUME_32BITUIDS): Likewise.
4037 (__ASSUME_LDT_WORKS): Likewise.
4038 (__ASSUME_O_DIRECTORY): Likewise.
4039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4040 architecture but not kernel version.
4041 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4042 (__ASSUME_MMAP2_SYSCALL): Likewise.
4043 (__ASSUME_STAT64_SYSCALL): Likewise.
4044 (__ASSUME_IPC64): Likewise.
4045 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4046 <kernel-features.h>.
4047 [__ASSUME_32BITUIDS]: Make code unconditional.
4048 [!__ASSUME_32BITUIDS]: Remove conditional code.
4049 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4050 <kernel-features.h>.
4051 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4052 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4053 132096]: Remove conditional code.
4054 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4056 <kernel-features.h>.
4057 [__ASSUME_32BITUIDS]: Make code unconditional.
4058 [!__ASSUME_32BITUIDS]: Remove conditional code.
4059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4060 <kernel-features.h>.
4061 [__ASSUME_32BITUIDS]: Make code unconditional.
4062 [!__ASSUME_32BITUIDS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4064 <kernel-features.h>.
4065 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4067 (__setresgid): Do not declare.
4068 [__ASSUME_32BITUIDS]: Make code unconditional.
4069 [!__ASSUME_32BITUIDS]: Remove conditional code.
4070 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4071 <kernel-features.h>.
4072 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4074 (__setresuid): Do not declare.
4075 [__ASSUME_32BITUIDS]: Make code unconditional.
4076 [!__ASSUME_32BITUIDS]: Remove conditional code.
4077 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4078 <kernel-features.h>.
4079 [__ASSUME_32BITUIDS]: Make code unconditional.
4080 [!__ASSUME_32BITUIDS]: Remove conditional code.
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4082 <kernel-features.h>.
4083 [__ASSUME_32BITUIDS]: Make code unconditional.
4084 [!__ASSUME_32BITUIDS]: Remove conditional code.
4086 2012-05-25 Richard Henderson <rth@twiddle.net>
4088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4089 dl_hwcap to ifunc resolver.
4090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4093 dl_hwcap to ifunc resolver.
4094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4096 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4099 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4100 for |x| <= 2**-26, not 2**-57.
4101 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4104 2012-05-24 Jeff Law <law@redhat.com>
4106 * stdio-common/Makefile (tests): Add bug25.
4107 * stdio-common/bug25.c: New test.
4109 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4112 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4113 multiple of MALLOC_ALIGNMENT in size.
4114 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4116 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4118 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4120 (FILENAME_MAX): Use macro-int-constant.
4121 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4122 (_IOFBF): Use macro-int-constant.
4125 (SEEK_CUR): Likewise.
4126 (SEEK_END): Likewise.
4127 (SEEK_SET): Likewise.
4128 (TMP_MAX): Likewise.
4129 (EOF): Use macro-int-constant. Require < 0.
4130 (NULL): Use macro-constant. Require == 0.
4131 (stdin): Require type to be FILE *.
4134 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4136 (EXIT_SUCCESS): Likewise.
4137 (NULL): Use macro-constant. Require == 0.
4138 (RAND_MAX): Use macro-int-constant.
4139 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4140 [C99-based standards] (strtof): Require function.
4141 [C99-based standards] (strtold): Likewise.
4142 [C99-based standards] (strtoll): Likewise.
4143 [C99-based standards] (strtoull): Likewise.
4144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4145 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4146 [ISO || ISO99 || ISO11] (math.h): Likewise.
4147 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4148 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4151 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4154 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4155 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4156 * intl/dgettext.c (DCGETTEXT): Likewise.
4157 * intl/gettext.c (DCGETTEXT): Likewise.
4158 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4159 * posix/regex_internal.h (gettext): Likewise.
4160 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4162 * include/argz.h (__argz_count_internal)
4163 (__argz_stringify_internal): Remove declaration.
4164 (__argz_count, __argz_stringify): Declare hidden proto.
4165 * intl/dcgettext.c: Remove use of INTDEF.
4166 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4167 * string/argz-stringify.c: Likewise.
4168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4170 Declare hidden proto.
4171 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4172 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4173 Declare hidden proto.
4174 * include/stdio.h (__asprintf_internal): Don't declare.
4175 (__asprintf): Don't define as macro. Declare hidden proto.
4176 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4177 (__fsetlocking): Declare hidden proto.
4178 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4179 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4181 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4182 (_IO_setlinebuf): Remove use of INTUSE.
4183 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4184 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4185 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4187 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4188 (_IO_do_flush): Remove use of INTUSE.
4189 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4190 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4191 (_IO_adjust_column, _IO_least_wmarker)
4192 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4193 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4194 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4195 (_IO_default_doallocate, _IO_wdefault_doallocate)
4196 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4197 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4198 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4199 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4200 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4201 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4202 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4203 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4204 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4205 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4206 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4207 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4208 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4210 (_IO_flush_all_internal, _IO_adjust_column_internal)
4211 (_IO_default_uflow_internal, _IO_default_finish_internal)
4212 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4213 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4214 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4215 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4216 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4217 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4218 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4219 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4220 (_IO_file_close_internal, _IO_file_close_it_internal)
4221 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4222 (_IO_file_init_internal, _IO_file_attach_internal)
4223 (_IO_file_fopen_internal, _IO_file_read_internal)
4224 (_IO_file_sync_internal, _IO_file_seek_internal)
4225 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4226 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4227 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4228 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4229 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4230 (_IO_list_all_internal, _IO_link_in_internal)
4231 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4232 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4233 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4234 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4235 (_IO_do_write_internal, _IO_padn_internal)
4236 (_IO_getline_info_internal, _IO_getline_internal)
4237 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4238 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4239 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4240 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4241 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4242 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4243 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4244 with libc_hidden_ver, remove use of INTUSE.
4245 * libio/genops.c: Likewise.
4246 * libio/freopen.c: Likewise.
4247 * libio/freopen64.c: Likewise.
4248 * libio/iofclose.c: Likewise.
4249 * libio/iofdopen.c: Likewise.
4250 * libio/iofflush.c: Likewise.
4251 * libio/iofflush_u.c: Likewise.
4252 * libio/iofgets.c: Likewise.
4253 * libio/iofgets_u.c: Likewise.
4254 * libio/iofopen.c: Likewise.
4255 * libio/iofopncook.c: Likewise.
4256 * libio/iofread.c: Likewise.
4257 * libio/iofread_u.c: Likewise.
4258 * libio/ioftell.c: Likewise.
4259 * libio/iofwrite.c: Likewise.
4260 * libio/iogetline.c: Likewise.
4261 * libio/iogets.c: Likewise.
4262 * libio/iogetwline.c: Likewise.
4263 * libio/iopadn.c: Likewise.
4264 * libio/iopopen.c: Likewise.
4265 * libio/ioseekoff.c: Likewise.
4266 * libio/ioseekpos.c: Likewise.
4267 * libio/iosetbuffer.c: Likewise.
4268 * libio/iosetvbuf.c: Likewise.
4269 * libio/ioungetc.c: Likewise.
4270 * libio/ioungetwc.c: Likewise.
4271 * libio/iovdprintf.c: Likewise.
4272 * libio/iovsprintf.c: Likewise.
4273 * libio/iovsscanf.c: Likewise.
4274 * libio/memstream.c: Likewise.
4275 * libio/obprintf.c: Likewise.
4276 * libio/oldfileops.c: Likewise.
4277 * libio/oldiofclose.c: Likewise.
4278 * libio/oldiofdopen.c: Likewise.
4279 * libio/oldiofopen.c: Likewise.
4280 * libio/oldiopopen.c: Likewise.
4281 * libio/oldstdfiles.c: Likewise.
4282 * libio/putc.c: Likewise.
4283 * libio/setbuf.c: Likewise.
4284 * libio/setlinebuf.c: Likewise.
4285 * libio/stdfiles.c: Likewise.
4286 * libio/strops.c: Likewise.
4287 * libio/vasprintf.c: Likewise.
4288 * libio/vscanf.c: Likewise.
4289 * libio/vsnprintf.c: Likewise.
4290 * libio/vswprintf.c: Likewise.
4291 * libio/wfiledoalloc.c: Likewise.
4292 * libio/wfileops.c: Likewise.
4293 * libio/wgenops.c: Likewise.
4294 * libio/wmemstream.c: Likewise.
4295 * libio/wstrops.c: Likewise.
4296 * libio/__fpurge.c: Likewise.
4297 * libio/__fsetlocking.c: Likewise.
4298 * assert/assert.c: Likewise.
4299 * debug/fgets_chk.c: Likewise.
4300 * debug/fgets_u_chk.c: Likewise.
4301 * debug/fread_chk.c: Likewise.
4302 * debug/fread_u_chk.c: Likewise.
4303 * debug/gets_chk.c: Likewise.
4304 * debug/obprintf_chk.c: Likewise.
4305 * debug/vasprintf_chk.c: Likewise.
4306 * debug/vdprintf_chk.c: Likewise.
4307 * debug/vsnprintf_chk.c: Likewise.
4308 * debug/vsprintf_chk.c: Likewise.
4309 * malloc/mtrace.c: Likewise.
4310 * misc/error.c: Likewise.
4311 * misc/syslog.c: Likewise.
4312 * stdio-common/asprintf.c: Likewise.
4313 * stdio-common/fxprintf.c: Likewise.
4314 * stdio-common/getw.c: Likewise.
4315 * stdio-common/isoc99_fscanf.c: Likewise.
4316 * stdio-common/isoc99_scanf.c: Likewise.
4317 * stdio-common/isoc99_vfscanf.c: Likewise.
4318 * stdio-common/isoc99_vscanf.c: Likewise.
4319 * stdio-common/isoc99_vsscanf.c: Likewise.
4320 * stdio-common/printf-prs.c: Likewise.
4321 * stdio-common/printf_fp.c: Likewise.
4322 * stdio-common/printf_fphex.c: Likewise.
4323 * stdio-common/printf_size.c: Likewise.
4324 * stdio-common/putw.c: Likewise.
4325 * stdio-common/scanf.c: Likewise.
4326 * stdio-common/sprintf.c: Likewise.
4327 * stdio-common/tmpfile.c: Likewise.
4328 * stdio-common/vfprintf.c: Likewise.
4329 * stdio-common/vfscanf.c: Likewise.
4330 * stdlib/strfmon_l.c: Likewise.
4331 * sunrpc/openchild.c: Likewise.
4332 * sunrpc/xdr_stdio.c: Likewise.
4333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4334 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4336 2012-05-24 Roland McGrath <roland@hack.frob.com>
4338 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4340 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4341 in the third column, to generate for the shared library an IFUNC
4342 that uses _dl_vdso_vsym.
4343 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4344 * Makeconfig (object-suffixes-noshared): New variable.
4346 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4347 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4348 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4349 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4352 * include/sys/time.h (__gettimeofday): Remove macro.
4353 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4354 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4356 (__gettimeofday): Add libc_hidden_def.
4357 (gettimeofday): Add libc_hidden_weak.
4358 * sysdeps/mach/gettimeofday.c: Likewise.
4359 * sysdeps/posix/gettimeofday.c: Likewise.
4360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4363 (__gettimeofday_internal): Remove strong_alias.
4364 (__gettimeofday): Add libc_hidden_def.
4365 (gettimeofday): Add libc_hidden_weak.
4366 * sysdeps/unix/syscalls.list (gettimeofday):
4367 Remove __gettimeofday_internal alias.
4369 2012-05-24 Daniel Jacobowitz <drow@false.org>
4370 H.J. Lu <hongjiu.lu@intel.com>
4373 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4374 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4375 (largebin_index_32_big): New.
4376 (largebin_index): Use it for 16-byte alignment.
4377 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4378 correction with front_misalign.
4380 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4408 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4409 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4411 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4415 * math/libm-test.inc (exp_test): Add test from bug 14036.
4416 (pow_test): Add test from bug 10846.
4418 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4420 (special_function): Do not include flags in test name.
4421 (parse_args): Likewise.
4422 * sysdeps/i386/fpu/libm-test-ulps: Update.
4423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4428 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4430 * math/libm-test.inc ("Philosophy"): Update comment about
4432 (UNDERFLOW_EXCEPTION): New macro.
4433 (UNDERFLOW_EXCEPTION_OK): Likewise.
4434 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4435 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4436 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4437 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4438 (INVALID_EXCEPTION_OK): Update value.
4439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4440 (OVERFLOW_EXCEPTION_OK): Likewise.
4441 (IGNORE_ZERO_INF_SIGN): Likewise.
4442 (test_exceptions): Handle underflow exceptions.
4443 (acos_test): Update for underflow exception expectations.
4444 (cexp_test): Likewise.
4445 (clog_test): Likewise.
4446 (clog10_test): Likewise.
4447 (csqrt_test): Likewise.
4448 (ctan_test): Likewise.
4449 (ctanh_test): Likewise.
4450 (exp_test): Likewise.
4451 (exp10_test): Likewise.
4452 (exp2_test): Likewise.
4453 (expm1_test): Likewise.
4454 (fma_test): Likewise.
4455 (j0_test): Likewise.
4456 (jn_test): Likewise.
4457 (nexttoward_test): Likewise.
4458 (pow_test): Likewise.
4459 (scalbn_test): Likewise.
4460 (scalbln_test): Likewise.
4461 (tan_test): Likewise.
4462 (y1_test): Likewise.
4463 * sysdeps/i386/fpu/libm-test-ulps: Update.
4464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4466 2012-05-23 David S. Miller <davem@davemloft.net>
4468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4469 (__libc_sigaction): Remove unused local variables.
4471 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4473 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4475 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4477 mktime: avoid signed integer overflow
4478 * time/mktime.c (__mktime_internal): Do not mishandle the case
4479 where diff == INT_MIN.
4481 mktime: simplify computation of average
4482 * time/mktime.c (ranged_convert): Use new time_t_avg function
4483 instead of rolling our own (probably-slower) code.
4485 mktime: do not assume signed right shift propagates sign bit
4486 * time/mktime.c (isdst_differ): New static function.
4487 (__mktime_internal): No need to normalize tm_isdst now.
4488 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4491 mktime: merge another wrapv change from gnulib
4492 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4493 from some compilers.
4495 mktime: remove incorrect attempt at unusual arithmetics
4496 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4497 The code didn't really work on such machines anyway.
4498 (TYPE_MINIMUM): Assume two's complement.
4499 (twos_complement_arithmetic): Verify that long_int and time_t
4500 are two's complement (or unsigned, in the latter case).
4502 mktime: check signed shifts on long_int and time_t, too
4503 * time/mktime.c (SHR): Check that shifts work as desired
4504 on the types long_int and time_t too, as SHR is used on
4507 mktime: do not assume 'long' is wide enough
4508 * time/mktime.c (verify): Move decl up.
4509 (long_int): New type.
4510 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4511 to remove assumption in the code that 'long' is wide enough to
4512 store year values. This assumption is not true on x32 and on
4513 some non-glibc platforms.
4515 mktime: merge wrapv change from gnulib
4516 * time/mktime.c (WRAPV): New macro.
4517 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4518 (guess_time_tm, __mktime_internal): Do not assume that signed
4519 integer overflow wraps around; modern compilers generate code
4520 where this assumption is no longer valid.
4522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4525 Replace "jmp L(pseudo_end)" with "ret".
4526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4529 2012-05-23 Andreas Jaeger <aj@suse.de>
4531 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4532 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4534 2012-05-23 Andreas Jaeger <aj@suse.de>
4535 Maximilian Attems <max@stro.at>
4537 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4540 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4543 code so that pseudo_end is just ret and the stack pointer is
4544 correct also for static library in error case.
4546 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4548 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4549 move to syscalls.list.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4555 * manual/install.texi (Running make install): Do not mention Linux
4556 kernel version for which pt_chown is not needed.
4557 (Linux): Do not mention problems with nscd with 2.0 kernels.
4558 * INSTALL: Regenerated.
4560 2012-05-23 Andreas Jaeger <aj@suse.de>
4562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4563 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4565 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4567 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4569 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4575 * sysdeps/unix/sysv/linux/bits/in.h
4576 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4578 2012-05-22 Roland McGrath <roland@hack.frob.com>
4580 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4581 (PREPARE_VERSION): Just use assert instead, it will be elided
4582 under [NDEBUG] anyway.
4584 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/unix/sysv/linux/Makefile: Include
4587 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4588 (sysdep_routines): Remove sysctl.
4589 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4590 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4592 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4595 2012-05-22 Andreas Jaeger <aj@suse.de>
4597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4598 that pseudo_end is just ret and the stack pointer is correct also
4599 for static library in error case.
4601 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4604 * nss/nsswitch.c (defconfig_entries): New variable.
4605 (__nss_database_lookup): Don't leak defconfig entries.
4606 (nss_parse_service_list): Don't leak on error paths.
4607 (free_database_entries): New function.
4608 (free_defconfig): New function.
4609 (free_mem): Move common code to free_database_entries.
4611 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4613 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4615 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4618 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4621 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4622 (INTERNAL_SYSCALL_TYPES): Likewise.
4623 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4624 (LOAD_REGS_TYPES_[1-6]): Likewise.
4625 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4626 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4628 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4631 copysignl for GLIBC_2_0.
4632 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4633 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4635 logbl for GLIBC_2_0.
4636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4639 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4647 * time/mktime.c: Update copyright years.
4649 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4651 mktime: merge comment-quoting-style change from gnulib
4652 * time/mktime.c: Quote 'like this' in comments.
4653 The GNU coding standards suggest that we no longer quote `like this',
4654 as "`" and "'" are typically rendered asymmetrically nowadays.
4655 The typical gnulib style is to quote 'like this' when quoting
4656 code, and "like this" when quoting English.
4658 * time/mktime.c (compile-command): Add "-I.".
4660 mktime: merge mktime-internal.h change from gnulib
4661 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4663 mktime: merge time_r change from gnulib
4664 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4666 mktime: merge DEBUG change from gnulib
4667 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4668 case system <time.h> has a #define.
4670 mktime: merge <sys/types.h> change from gnulib
4671 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4672 since <time.t> is now guaranteed to define time_t.
4674 mktime: merge HAVE_CONFIG_H change from gnulib
4675 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4677 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4684 (struct rusage): Use anonymous union to pad each field to
4687 2012-05-21 David S. Miller <davem@davemloft.net>
4689 * Makefules (o-iterator): Remove .s cases.
4690 (compile-command.s): Delete.
4691 (COMPILE.s): Delete.
4692 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4694 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4696 * configure.in (libc_cv_predef_stack_protector): Only consider
4697 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4698 * configure: Regenerated.
4700 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4703 New macro. Use R*LP on int and pointer.
4704 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4709 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4710 [__WORDSIZE_TIME64_COMPAT32] instead of
4711 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4712 (struct utmp): Likewise.
4713 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4714 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4716 (__WORDSIZE_TIME64_COMPAT32): This.
4717 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4718 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4719 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4722 (__WORDSIZE_TIME64_COMPAT32): New macro.
4724 2012-05-21 Andreas Jaeger <aj@suse.de>
4726 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4727 only if [SHARED]. Add prototype for __wcschr_ia32.
4729 2012-05-21 Roland McGrath <roland@hack.frob.com>
4731 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4732 of %rbp unmolested in the jmp_buf while mangling the low bits.
4733 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4734 unmolested high bits of %rbp while demangling the low bits.
4735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4737 2012-05-21 Andreas Jaeger <aj@suse.de>
4739 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4740 * sunrpc/svc_simple.c: Use it for registerrpc.
4741 * sunrpc/xcrypt.c: Use it for passwd2des.
4743 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4745 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4747 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4748 Don't define if [__SYSCALL_WORDSIZE != 32].
4749 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4752 2012-05-21 Bruno Haible <bruno@clisp.org>
4753 Andreas Jaeger <aj@suse.de>
4755 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4756 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4757 inptr and inend for must_buffer_ch.
4758 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4759 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4760 * stdio-common/Makefile (tests): Remove bug15.
4761 (bug15-ENV): Remove macro.
4762 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4765 2012-05-19 Andreas Jaeger <aj@suse.de>
4766 Roland McGrath <roland@hack.frob.com>
4768 * manual/contrib.texi: Completely rewritten. It contains now an
4769 alphabetical list of contributors and their contributions.
4771 2012-05-21 Richard Henderson <rth@twiddle.net>
4773 * misc/getauxval.c (__getauxval): Use unsigned long int.
4774 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4775 (getauxval): Use unsigned long int.
4777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4781 2012-05-21 Roland McGrath <roland@hack.frob.com>
4783 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4784 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4785 __alignof__ (long double).
4787 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4791 2012-05-20 Richard Henderson <rth@twiddle.net>
4793 * misc/getauxval.c: New file.
4794 * misc/sys/auxv.h: New file.
4795 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4796 (routines): Add getauxval.
4797 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4799 * elf/dl-sysdep.c (_dl_auxv): Remove.
4800 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4801 * elf/dl-support.c (_dl_auxv): New variable.
4802 (_dl_aux_init): Initialize it.
4803 * manual/startup.texi (Auxiliary Vector): New node.
4804 * sysdeps/generic/bits/hwcap.h: New file.
4805 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4806 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4807 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4808 * sysdeps/sparc/sysdep.h: ... here. Include it.
4809 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4822 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4826 2012-05-19 David S. Miller <davem@davemloft.net>
4828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4830 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4833 * math/s_ccosh.c: Include <float.h>
4834 (__ccosh): Avoid internal overflow calculating sinh and cosh
4835 values before multiplying by sin and cos values.
4836 * math/s_ccoshf.c: Likewise.
4837 * math/s_ccoshl.c: Likewise.
4838 * math/s_csin.c: Likewise.
4839 * math/s_csinf.c: Likewise.
4840 * math/s_csinl.c: Likewise.
4841 * math/s_csinh.c: Likewise.
4842 * math/s_csinhf.c: Likewise.
4843 * math/s_csinhl.c: Likewise.
4844 * math/libm-test.inc (ccos_test): Add more tests.
4845 (ccosh_test): Likewise.
4846 (csin_test): Likewise.
4847 (csinh_test): Likewise.
4848 * sysdeps/i386/fpu/libm-test-ulps: Update.
4849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4851 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4853 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4854 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4856 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4858 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4861 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4862 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4863 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4864 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4865 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4866 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4867 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4868 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4869 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4870 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4871 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4872 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4873 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4874 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4875 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4876 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4877 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4878 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4879 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4880 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4881 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4882 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4883 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4884 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4885 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4886 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4887 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4888 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4889 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4890 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4892 2012-05-18 Andreas Jaeger <aj@suse.de>
4894 * csu/.gitignore: Delete.
4896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4898 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4899 (timex): Use __syscall_slong_t.
4901 2012-05-18 Andreas Jaeger <aj@suse.de>
4902 Carlos O'Donell <carlos_odonell@mentor.com>
4904 * manual/install.texi (Configuring and compiling): Update
4905 description about files modified in the source directory.
4906 * INSTALL: Regenerated.
4908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4910 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4911 value. Use "or" to set return value to -1.
4912 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4913 negate return value.
4915 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4917 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4918 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4919 failure if the compiler has Graphite support disabled.
4920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4922 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4923 CFLAGS-memmove.c): Likewise.
4924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4929 * sysdeps/x86_64/x32/_itoa.h: New file.
4931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4932 getdents system call only if kernel and user dirents have the
4933 same d_ino and d_off.
4935 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4936 LLONG_MAX != LONG_MAX.
4937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4938 (_fitoa_word): Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4947 include <bits/wordsize.h>. Check __x86_64__ instead of
4949 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4950 if __x86_64__ is defined. Use anonymous union on fpstate.
4952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4955 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4958 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4959 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4960 Refer to _rtld_local_ro instead of _rtld_global_ro.
4961 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4963 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4965 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4967 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4968 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4969 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4971 * sysdeps/powerpc/powerpc32/dl-machine.c
4972 (__elf_machine_runtime_setup) [PROF]: Don't reference
4975 2012-05-18 Andreas Jaeger <aj@suse.de>
4977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4978 function only available for GCCs before 3.4 since GCC 3.4
4979 introduced a builtin.
4981 (llrintf): Likewise.
4989 (nearbyint): Likewise.
4990 (nearbyintf): Likewise.
4996 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4998 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4999 on both fields and cast pointer to __syscall_ulong_t.
5001 * bits/types.h (__fsword_t): New type.
5002 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5003 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5005 (__FSWORD_T_TYPE): Likewise.
5006 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5007 (__FSWORD_T_TYPE): Likewise.
5008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5009 (__FSWORD_T_TYPE): Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5011 (__FSWORD_T_TYPE): Likewise.
5012 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5013 __SWORD_TYPE with __fsword_t.
5014 (statfs64): Likewise.
5016 2012-05-17 David S. Miller <davem@davemloft.net>
5018 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5020 2012-05-17 Andreas Jaeger <aj@suse.de>
5022 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5025 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5027 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5029 2012-05-17 Andreas Jaeger <aj@suse.de>
5031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5034 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5036 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5038 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5041 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5043 2012-05-17 Andreas Jaeger <aj@suse.de>
5044 Carlos O'Donell <carlos_odonell@mentor.com>
5047 * sysdeps/x86_64/multiarch/init-arch.h
5048 (bit_YMM_Usable): Rename to...
5049 (bit_AVX_Usable): ... this.
5050 (bit_FMA4_Usable): New macro.
5051 (bit_XMM_state): New macro.
5052 (bit_YMM_state): New macro.
5053 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5054 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5055 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5056 (CPUID_OSXSAVE): New macro.
5057 (CPUID_AVX): New macro.
5058 (CPUID_FMA4): New macro.
5059 (index_YMM_Usable): Rename to...
5060 (index_AVX_Usable): ... this.
5061 (HAS_AVX): Use HAS_ARCH_FEATURE.
5062 (HAS_FMA4): Likewise.
5063 (HAS_YMM_USABLE): Remove.
5064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5065 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5067 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5068 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5069 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5070 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5071 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5073 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5075 * math/libm-test.c: Support platforms without multiple rounding modes.
5076 * math/bug-nextafter.c: Support platforms without FP exceptions.
5077 * math/bug-nexttoward.c: Likewise.
5078 * math/test-fenv.c: Likewise.
5079 * math/test-misc.c: Likewise.
5080 * stdlib/bug-getcontext.c: Likewise.
5082 2012-05-17 Andreas Jaeger <aj@suse.de>
5084 * manual/examples/search.c (critter_cmp): Change signature to
5086 * manual/string.texi (Collation Functions): Likewise.
5088 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5090 * bits/types.h: Fold copyright years.
5091 * bits/typesizes.h: Likewise.
5092 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5096 * time/time.h: Likewise.
5098 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5101 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5102 in instead of returning them. Return void.
5103 (__libc_mallinfo): Accumulate over all arenas.
5104 (__malloc_stats): Adjust for change in int_mallinfo interface.
5106 2012-05-16 Roland McGrath <roland@hack.frob.com>
5109 * configure.in (NM): Add AC_CHECK_TOOL for it.
5110 (libc_extra_cflags): New substituted variable.
5111 Check for -fstack-protector being used implicitly.
5112 * configure: Regenerated.
5113 * config.make.in (config-extra-cflags): New variable,
5114 gets @libc_extra_cflags@.
5115 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5118 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5119 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5120 * configure: Regenerated.
5121 * config.make.in (CPPUNDEFS): New substituted variable.
5122 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5123 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5124 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5128 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5129 (mq_attr): Use __syscall_slong_t.
5131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5134 Check __x86_64__ instead of __WORDSIZE.
5135 (_STAT_VER_LINUX): Likewise.
5136 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5137 __syscall_ulong_t and __syscall_slong_t.
5140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5144 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5150 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5154 include <bits/wordsize.h>. Check __x86_64__ instead of
5156 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5158 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5161 include <bits/wordsize.h>. Check __x86_64__ instead of
5163 (user_regs_struct): Use "__extension__ unsigned long long"
5164 instead of "unsigned long" if __x86_64__ is defined.
5165 (user): Likewise. Pad after pointer field if __ILP32__ is
5168 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5170 * configure.in (makeinfo): Require version 4.5 or later. Allow
5172 * configure: Regenerated.
5173 * manual/install.texi (texinfo): Increase version requirement to
5175 * INSTALL: Regenerated.
5177 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5181 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5183 * sysdeps/x86_64/x32/ffs.c: New file.
5185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5187 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5188 defined. Use __syscall_ulong_t.
5189 (shminfo): Use __syscall_ulong_t.
5190 (shm_info): Likewise.
5192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5195 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5197 (msgqnum_t): Use __syscall_ulong_t.
5198 (msglen_t): Likewise.
5199 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5205 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5207 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5208 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5210 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5214 include <bits/wordsize.h>. Check __x86_64__ instead of
5217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5218 "unsigned long long int" if __x86_64__ is defined.
5219 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5223 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5225 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5227 (GET_PC): Cast to uintptr_t first.
5228 (GET_FRAME): Likewise.
5229 (GET_STACK): Likewise.
5231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5239 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5261 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5263 * Makerules (+depfiles): Also collect depfiles from .oS in
5265 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5266 .oS, $(libnldbl-routines)).
5268 * Makerules (native-compile-mkdep-flags): Define.
5269 * sunrpc/Makefile (extra-objs): Add $(addprefix
5270 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5271 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5272 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5273 calling $(make-target-directory).
5275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5277 * bits/types.h (__snseconds_t): Removed.
5278 * time/time.h (struct timespec): Replace __snseconds_t with
5280 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5281 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5284 (__SNSECONDS_T_TYPE): Likewise.
5285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5286 (__SNSECONDS_T_TYPE): Likewise.
5287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5288 (__SNSECONDS_T_TYPE): Likewise.
5290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5292 * sysdeps/mach/hurd/bits/typesizes.h
5293 (__SYSCALL_SLONG_TYPE): New macro.
5294 (__SYSCALL_ULONG_TYPE): Likewise.
5296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5298 * bits/types.h (__syscall_slong_t): New type.
5299 (__syscall_ulong_t): Likewise.
5301 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5302 (__SYSCALL_ULONG_TYPE): Likewise.
5303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5304 (__SYSCALL_SLONG_TYPE): Likewise.
5305 (__SYSCALL_ULONG_TYPE): Likewise.
5306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5307 (__SYSCALL_SLONG_TYPE): Likewise.
5308 (__SYSCALL_ULONG_TYPE): Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5310 (__SYSCALL_SLONG_TYPE): Likewise.
5311 (__SYSCALL_ULONG_TYPE): Likewise.
5313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5315 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5316 Add sigaltstack-offsets.sym.
5317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5318 <sigaltstack-offsets.h>.
5319 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5320 longjmp_msg pointer.
5321 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5322 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5324 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5326 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5328 * elf/stackguard-macros.h: Remove file.
5329 * sysdeps/generic/stackguard-macros.h: New file.
5330 * sysdeps/i386/stackguard-macros.h: Likewise.
5331 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5332 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5333 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5334 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5335 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5336 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5337 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5338 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5339 <elf/stackguard-macros.h>.
5342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5343 __aligned__ in attribute.
5344 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5345 (gregset_t): Likewise.
5347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5349 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5350 * sysdeps/x86_64/64/Implies-after: Here. New file.
5351 * sysdeps/x86_64/x32/Implies-after: New file.
5353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5355 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5356 and access return value for _dl_profile_fixup. Use R10_LP to
5359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5365 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5366 * sysdeps/x86_64/x32/sysdep.h: New file.
5368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5370 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5371 * sysdeps/x86_64/setjmp.S: Likewise.
5373 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5377 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5379 remove unused global constant.
5381 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5383 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5384 include of <not-cancel.h>.
5386 2012-05-15 Roland McGrath <roland@hack.frob.com>
5388 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5390 2012-05-15 Jeff Law <law@redhat.com>
5391 Andreas Jaeger <aj@suse.de>
5394 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5396 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5397 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5399 code changing __hst_map_handle.map.
5401 2012-05-15 Roland McGrath <roland@hack.frob.com>
5403 * configure.in (sysnames): Look for Implies-before and Implies-after
5405 * configure: Regenerated.
5407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5409 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5410 8-byte data alignment with LP_SIZE alignment.
5412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5419 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5424 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5431 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5432 (stackinfo_sub_sp): Likewise.
5434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5451 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5455 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5456 into R11_LP and load __x86_64_shared_cache_size_half into
5459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5464 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5473 powerpc32/power7/fpu/s_logb.c via #include.
5474 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5475 powerpc32/power7/fpu/s_logbf.c via #include.
5476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5477 powerpc32/power7/fpu/s_logbl.c via #include.
5479 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5481 * README.libm: Remove file.
5483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5485 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5486 count for x32. Use R*_LP and omit operand-size suffix.
5488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5490 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5491 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5492 * sysdeps/x86_64/x32/shlib-versions: New file.
5494 2012-05-14 Roland McGrath <roland@hack.frob.com>
5496 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5497 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5498 Use _dl_fatal_printf instead.
5500 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5502 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5503 set if not set by the user. Do not allow for being unset.
5504 * sysdeps/unix/sysv/linux/configure: Regenerated.
5506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5508 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5509 the `q' suffix from lea and replace .quad with ASM_ADDR.
5511 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5514 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5516 (PTR_DEMANGLE): Likewise.
5518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5520 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5522 (ASM_ADDR): Likewise.
5540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5542 * sysdeps/x86_64/x32/dl-machine.h: New file.
5544 2012-05-14 Andreas Jaeger <aj@suse.de>
5546 * manual/Makefile (subdir): Remove export of subdir.
5547 (all): Remove target.
5548 (.PHONY): Remove all from list.
5549 (mkinstalldirs): Remove.
5550 (.PHONY): Remove installdirs from list.
5551 ($(inst_infodir)/libc.info): Use make-target-directory.
5552 (installdirs): Remove.
5554 (glibc-targets): Remove.
5557 ($(objpfx)stubs ../po/manual.pot): Remove.
5558 ($(objpfx)stamp%): Remove.
5559 (make-target-directory): Remove.
5560 (subdir_install): Remove.
5568 * manual/.gitignore: Remove, it's not needed anymore.
5569 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5571 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5573 (texis): Renamed to $(objpfx)texis.
5574 (texis-path): New, contains path to generated files.
5575 (chapters.%): Use texis-path for complete path, add extra argument
5577 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5578 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5579 (summary,texi, stamp-summary): Use complete path of
5580 files. Generate files in build dir.
5581 (dir-add.texi): Build in build dir.
5582 (libm-err.texi,stamp-libm-err): Likewise.
5583 (version.texi, stamp-version): Likewise.
5584 (.%c.texi): Likewise.
5585 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5586 (mostlyclean): Remove target.
5587 (realclean): Remove target.
5588 (generated): Add new variable with contents from mostlyclean and
5589 realclean, remove entries duplicated in common-mostlyclean, add
5590 stamp-libm-err and stamp-version.
5591 (generated-dirs): Add libc directory.
5592 ($(inst_infodir)/libc.info): Install files from build dir.
5594 * manual/install.texi (Configuring and compiling): Adjust since
5595 the info files are not part of the tar ball anymore.
5597 2012-05-14 Andreas Jaeger <aj@suse.de>
5599 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5602 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5606 to 2.2.0 where earlier.
5607 * sysdeps/unix/sysv/linux/configure: Regenerated.
5608 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5609 Remove conditional code.
5610 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5611 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5612 Remove conditional code.
5613 [!__NR_lchown]: Likewise.
5614 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5615 [__NR_lchown]: Likewise.
5616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5617 comment referencing __ASSUME_LCHOWN_SYSCALL.
5618 * sysdeps/unix/sysv/linux/i386/sigaction.c
5619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5622 Remove conditional code.
5623 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5624 (__protocol_available): Remove #if 0 code.
5625 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5627 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5628 * sysdeps/unix/sysv/linux/kernel-features.h
5629 (__ASSUME_GETCWD_SYSCALL): Don't define.
5630 (__ASSUME_REALTIME_SIGNALS): Likewise.
5631 (__ASSUME_PREAD_SYSCALL): Likewise.
5632 (__ASSUME_PWRITE_SYSCALL): Likewise.
5633 (__ASSUME_POLL_SYSCALL): Likewise.
5634 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5635 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5637 (__ASSUME_SIOCGIFNAME): Don't define.
5638 (__ASSUME_MSG_NOSIGNAL): Likewise.
5639 (__ASSUME_SENDFILE): Define unconditionally.
5640 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5641 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5643 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5644 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5646 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5647 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5648 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5649 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5674 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5675 Remove conditional code.
5676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5677 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5678 Remove conditional code.
5679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5680 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5681 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5682 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5683 Remove conditional code.
5684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5685 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5686 Remove conditional code.
5687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5688 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5689 Remove conditional code.
5690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5691 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5692 Remove conditional code.
5693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5694 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5695 Remove conditional code.
5696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5697 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5700 * sysdeps/unix/sysv/linux/sigaction.c
5701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5703 * sysdeps/unix/sysv/linux/sigpending.c
5704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5706 * sysdeps/unix/sysv/linux/sigprocmask.c
5707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5709 * sysdeps/unix/sysv/linux/sigsuspend.c
5710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5713 (__libc_missing_rt_sigs): Remove.
5714 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5715 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5716 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5717 Remove conditional code.
5718 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5719 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5722 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5724 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5726 2012-05-14 Andreas Jaeger <aj@suse.de>
5728 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5729 it's not used in glibc.
5730 (__coshm1): Likewise.
5731 (__acosh1p): Likewise.
5734 * manual/string.texi (Copying and Concatenation): Add missing
5735 variable in concat example.
5736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5742 __builtin_clzl with __builtin_clzll.
5744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5747 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5750 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5752 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5753 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5754 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5755 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5757 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5759 * NEWS: Update ia64 info.
5761 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5763 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5766 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5768 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5769 * sysdeps/unix/syscalls.list (dup3): Likewise.
5770 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5771 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5773 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5775 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5776 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5778 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5780 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5782 (TLS_IE): Use mov/add instead of movq/addq to load thread
5784 (TLS_GD_PREFIX): New.
5787 2012-05-11 David S. Miller <davem@davemloft.net>
5789 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5790 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5791 (_FPU_SETCW): Likewise.
5793 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5795 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5798 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5801 * iconvdata/gb18030.c: Update tables.
5802 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5803 characters specially.
5804 (BODY for TO_LOOP): Add encoding of missing ranges.
5806 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5809 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5810 * sysdeps/mach/hurd/dup3.c: Likewise.
5811 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5812 * sysdeps/powerpc/memmove.c:: Likewise.
5814 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5817 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5819 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5821 * elf/elf.h (R_X86_64_RELATIVE64): New.
5822 (R_X86_64_NUM): Updated.
5823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5824 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5825 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5826 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5827 tst-quad1pie tst-quad2pie
5828 (modules-names): Add tst-quadmod1 tst-quadmod2.
5829 ($(objpfx)tst-quad1): New dependency.
5830 ($(objpfx)tst-quad2): Likewise.
5831 ($(objpfx)tst-quad1pie): Likewise.
5832 ($(objpfx)tst-quad2pie): Likewise.
5833 * sysdeps/x86_64/tst-quad1.c: New file.
5834 * sysdeps/x86_64/tst-quad1pie.c: New file.
5835 * sysdeps/x86_64/tst-quad2.c: Likewise.
5836 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5837 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5838 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5839 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5840 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5844 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5845 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5846 * streams/stropts.h (t_scalar_t): Define type.
5848 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5849 (_PATH_PRESERVE): Set to "/var/lib".
5850 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5852 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5855 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5856 if __dir_mkfile succeeded.
5858 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5859 checking for _hurd_dtablesize. Unlock it right after having
5860 finished _hurd_dtable allocation.
5862 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5864 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5865 * sysdeps/mach/hurd/configure: Regenerated.
5866 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5867 special-casing to...
5868 * sysdeps/gnu/configure.in: ... this new file.
5869 * sysdeps/unix/sysv/linux/configure: Regenerated.
5870 * sysdeps/gnu/configure: New generated file.
5872 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5873 for Linux: use nsec instead of usec, as well as:
5874 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5875 members of type struct timespec.
5876 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5878 (struct stat64): Likewise.
5879 (_STATBUF_ST_NSEC): New macro.
5880 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5882 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5883 __strtoul_internal rather than strtoul.
5885 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5887 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5892 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5893 which preserves existing values.
5894 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5896 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5898 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5899 TIMEOUT values. Return EINVAL for NFDS values either negative or
5900 greater than FD_SETSIZE.
5902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5904 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5905 allocated, call __vm_protect to finish enabling the existing space, and
5906 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5907 allocate the remainder.
5909 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5911 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5912 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5916 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5917 sysdeps/mach/hurd/readlink.c.
5919 * posix/tst-sysconf.c (posix_options): Only use
5920 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5921 _POSIX_SYNCHRONIZED_IO when they are defined
5922 * sysdeps/mach/hurd/bits/posix_opt.h:
5923 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5924 (_XOPEN_REALTIME): Undefine macro.
5925 (_XOPEN_REALTIME_THREADS): Undefine macro.
5926 (_XOPEN_SHM): Undefine macro.
5927 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5929 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5931 (_POSIX_ASYNC_IO): Undefine macro.
5932 (_POSIX_PRIORITIZED_IO): Undefine macro.
5933 (_POSIX_SPIN_LOCKS): Define macro to -1.
5935 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5936 SA_NODEFER, SA_RESETHAND.
5937 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5938 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5943 * elf/Makefile (pldd-modules): Define unconditionally.
5945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5947 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5951 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5952 Return ENOENT when name is empty.
5953 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5955 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5957 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5959 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5963 Fix mlock in all cases except non-readable pages.
5964 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5965 instead of VM_PROT_ALL as parameter to __vm_wire function.
5967 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5968 (__mkdir): When path is `/', just fail with EEXIST.
5969 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5973 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5974 <sys/uio.h> (for writev).
5975 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5976 and <sys/param.h> (for MIN).
5978 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5980 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5981 REQUESTED_TIME. Properly set the remaining time and return EINTR
5984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5986 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5987 Depend on against $(link-rpcuserlibs).
5989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5991 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5992 (__libc_stack_end): Do not use attribute_relro.
5993 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5994 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5995 to libthread-provided value.
5996 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6002 * bits/libc-lock.h (__libc_once_get): New macro.
6003 * sysdeps/mach/bits/libc-lock.h: Likewise.
6004 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6006 instead of using implementation details.
6008 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6009 * libio/freopen.c: Likewise.
6010 * libio/freopen64.c: Likewise.
6011 * misc/syslog.c: Likewise.
6012 * nscd/connections.c: Likewise.
6013 * nscd/netgroupcache.c: Likewise.
6014 * sysdeps/posix/getcwd.c: Likewise.
6016 2012-05-10 Roland McGrath <roland@hack.frob.com>
6018 * math/w_ilogbf.c: Add #include <limits.h>.
6020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6022 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6023 path instead of returning without unlocking.
6025 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6026 immediate-write ioctls.
6027 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6031 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6032 __builtin_frame_address instead of making assumptions about the
6033 location of the return address relative to DATA. Force early load of
6035 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6036 __builtin_frame_address.
6039 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6040 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6041 implement dup3 and do some further code clean-ups.
6042 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6043 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6047 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6049 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6050 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6051 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6052 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6053 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6056 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6057 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6058 when handler == SIG_ERR, not when handler != SIG_ERR.
6060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6062 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6063 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6066 accept4 for GNU Hurd.
6067 * include/sys/socket.h (__libc_accept4): New prototype.
6068 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6069 to implement __libc_accept4.
6070 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6072 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6074 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6075 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6076 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6081 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6085 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6086 assertion on O_CLOEXEC flag.
6087 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6088 * hurd/intern-fd.c: Likewise.
6089 * hurd/port2fd.c: Likewise.
6091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6094 * bits/in.h (IPV6_PKTINFO): Define new macro.
6095 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6097 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6104 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6105 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6107 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6108 * math/libm-test.inc (logb_test) : Additional logb tests.
6110 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6111 Andreas Jaeger <aj@suse.de>
6113 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6114 * configure: Regenerated.
6115 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6116 * config.make.in (link-obsolete-rpc): New substituted variable.
6117 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6118 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6119 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6120 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6121 so that libc.a contains the symbols.
6122 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6123 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6124 * sunrpc/auth_none.c: Likewise.
6125 * sunrpc/auth_unix.c: Likewise.
6126 * sunrpc/authdes_prot.c: Likewise.
6127 * sunrpc/authuxprot.c: Likewise.
6128 * sunrpc/clnt_gen.c: Likewise.
6129 * sunrpc/clnt_perr.c: Likewise.
6130 * sunrpc/clnt_raw.c: Likewise.
6131 * sunrpc/clnt_simp.c: Likewise.
6132 * sunrpc/clnt_tcp.c: Likewise.
6133 * sunrpc/clnt_udp.c: Likewise.
6134 * sunrpc/clnt_unix.c: Likewise.
6135 * sunrpc/des_crypt.c: Likewise.
6136 * sunrpc/des_soft.c: Likewise.
6137 * sunrpc/get_myaddr.c: Likewise.
6138 * sunrpc/key_call.c: Likewise.
6139 * sunrpc/key_prot.c: Likewise.
6140 * sunrpc/netname.c: Likewise.
6141 * sunrpc/pm_getmaps.c: Likewise.
6142 * sunrpc/pm_getport.c: Likewise.
6143 * sunrpc/pmap_clnt.c: Likewise.
6144 * sunrpc/pmap_prot.c: Likewise.
6145 * sunrpc/pmap_prot2.c: Likewise.
6146 * sunrpc/pmap_rmt.c: Likewise.
6147 * sunrpc/publickey.c: Likewise.
6148 * sunrpc/rpc_cmsg.c: Likewise.
6149 * sunrpc/rpc_common.c: Likewise.
6150 * sunrpc/rpc_dtable.c: Likewise.
6151 * sunrpc/rpc_prot.c: Likewise.
6152 * sunrpc/rpc_thread.c: Likewise.
6153 * sunrpc/rtime.c: Likewise.
6154 * sunrpc/svc.c: Likewise.
6155 * sunrpc/svc_auth.c: Likewise.
6156 * sunrpc/svc_raw.c: Likewise.
6157 * sunrpc/svc_run.c: Likewise.
6158 * sunrpc/svc_tcp.c: Likewise.
6159 * sunrpc/svc_udp.c: Likewise.
6160 * sunrpc/svc_unix.c: Likewise.
6161 * sunrpc/svcauth_des.c: Likewise.
6162 * sunrpc/xcrypt.c: Likewise.
6163 * sunrpc/xdr.c: Likewise.
6164 * sunrpc/xdr_array.c: Likewise.
6165 * sunrpc/xdr_float.c: Likewise.
6166 * sunrpc/xdr_intXX_t.c: Likewise.
6167 * sunrpc/xdr_mem.c: Likewise.
6168 * sunrpc/xdr_rec.c: Likewise.
6169 * sunrpc/xdr_ref.c: Likewise.
6170 * sunrpc/xdr_sizeof.c: Likewise.
6171 * sunrpc/xdr_stdio.c: Likewise.
6173 2012-05-10 Roland McGrath <roland@hack.frob.com>
6175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6176 change. Update copyright years.
6178 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6180 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6182 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6183 Joseph Myers <joseph@codesourcery.com>
6184 Paul Pluzhnikov <ppluzhnikov@google.com>
6187 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6189 [cross-compiling] (extra-libs): Likewise.
6190 [cross-compiling] (extra-libs-others): Likewise.
6191 [cross-compiling] (librpcsvc-routines): Likewise.
6192 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6193 [cross-compiling] (omit-deps): Likewise.
6194 (sunrpc-CPPFLAGS): New variable.
6195 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6196 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6197 (cross-rpcgen-objs): New variable.
6198 (extra-objs): Append $(cross-rpcgen-objs).
6199 ($(cross-rpcgen-objs)): New rule.
6200 ($(objpfx)cross-rpcgen): Likewise.
6201 (rpcgen-cmd): Define to use $(built-program-file). Expand
6203 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6204 ($(objpfx)x%.stmp): Likewise.
6205 * sunrpc/proto.h [IS_IN_build] (_): Define.
6206 [IS_IN_build] (_libc_intl_domainname): Likewise.
6208 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6211 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6212 and R_X86_64_TPOFF64.
6214 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6216 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6217 sysdeps/unix/sysv/syscalls.list.
6220 * sysdeps/unix/sysv/syscalls.list: Remove file.
6222 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6225 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6226 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6227 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6228 (__LC_IDENTIFICATION): Make these macros useful in #if
6229 expressions, as required by C99.
6231 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6233 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6234 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6237 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6239 * stdlib/longlong.h: Updated from GCC.
6241 2012-05-09 Andreas Jaeger <aj@suse.de>
6243 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6244 default is first entry.
6245 (run_mode): Set type.
6246 (main): Remove informal message about syslog.
6247 (options): Fix typo.
6250 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6253 (llrintf): Likewise.
6257 (nearbyint): Likewise.
6258 (nearbyintf): Likewise.
6260 2012-05-09 Andreas Jaeger <aj@suse.de>
6261 Pedro Alves <palves@redhat.com>
6263 * nscd/nscd.c (run_mode): Use enum.
6264 (main): Cleanup coding style issue.
6266 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6267 Andreas Jaeger <aj@suse.de>
6269 * nscd/nscd.c (go_background): Replaced with...
6270 (run_mode): ... this.
6271 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6272 (options): Add -F --foreground.
6273 (main): Implement it.
6274 (parse_opt): Parse it.
6276 2012-05-09 Andreas Jaeger <aj@suse.de>
6279 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6280 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6281 -Wconversion warning.
6282 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6285 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6287 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6289 (LC_ALL): Use macro-int-constant.
6290 (LC_COLLATE): Likewise.
6291 (LC_CTYPE): Likewise.
6292 (LC_MESSAGES): Likewise.
6293 (LC_MONETARY): Likewise.
6294 (LC_NUMERIC): Likewise.
6295 (LC_TIME): Likewise.
6296 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6297 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6299 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6301 [C99-based standards] (float_t): Expect type.
6302 [C99-based standards] (double_t): Expect type.
6303 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6305 [C99-based standards] (HUGE_VALL): Likewise.
6306 [C99-based standards] (INFINITY): Likewise.
6307 [C99-based standards] (NAN): Likewise.
6308 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6309 [C99-based standards] (FP_NAN): Likewise.
6310 [C99-based standards] (FP_NORMAL): Likewise.
6311 [C99-based standards] (FP_SUBNORMAL): Likewise.
6312 [C99-based standards] (FP_ZERO): Likewise.
6313 [C99-based standards] (FP_FAST_FMA): Use
6314 optional-macro-int-constant. Specify type. Require == 1.
6315 [C99-based standards] (FP_FAST_FMAF): Likewise.
6316 [C99-based standards] (FP_FAST_FMAL): Likewise.
6317 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6318 [C99-based standards] (FP_ILOGBNAN): Likewise.
6319 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6321 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6322 [C99-based standards] (math_errhandling): Specify type.
6323 [ISO99 || ISO11] (signgam): Do not allow.
6324 [non-C99-based standards] (copysignf): Do not allow.
6325 [non-C99-based standards] (exp2f): Likewise.
6326 [non-C99-based standards] (log2f): Likewise.
6327 [non-C99-based standards] (modff): Allow.
6328 [non-C99-based standards] (erff): Do not allow.
6329 [non-C99-based standards] (erfcf): Likewise.
6330 [non-C99-based standards] (gammaf): Likewise.
6331 [non-C99-based standards] (hypotf): Likewise.
6332 [non-C99-based standards] (j0f): Likewise.
6333 [non-C99-based standards] (j1f): Likewise.
6334 [non-C99-based standards] (jnf): Likewise.
6335 [non-C99-based standards] (lgammaf): Likewise.
6336 [non-C99-based standards] (tgammaf): Likewise.
6337 [non-C99-based standards] (y0f): Likewise.
6338 [non-C99-based standards] (y1f): Likewise.
6339 [non-C99-based standards] (ynf): Likewise.
6340 [non-C99-based standards] (isnanf): Likewise.
6341 [non-C99-based standards] (acoshf): Likewise.
6342 [non-C99-based standards] (asinhf): Likewise.
6343 [non-C99-based standards] (atanhf): Likewise.
6344 [non-C99-based standards] (cbrtf): Likewise.
6345 [non-C99-based standards] (expm1f): Likewise.
6346 [non-C99-based standards] (ilogbf): Likewise.
6347 [non-C99-based standards] (log1pf): Likewise.
6348 [non-C99-based standards] (logbf): Likewise.
6349 [non-C99-based standards] (nextafterf): Likewise.
6350 [non-C99-based standards] (remainderf): Likewise.
6351 [non-C99-based standards] (rintf): Likewise.
6352 [non-C99-based standards] (scalbf): Likewise.
6353 [non-C99-based standards] (copysignl): Likewise.
6354 [non-C99-based standards] (exp2l): Likewise.
6355 [non-C99-based standards] (log2l): Likewise.
6356 [non-C99-based standards] (modfl): Allow.
6357 [non-C99-based standards] (erfl): Do not allow.
6358 [non-C99-based standards] (erfcl): Likewise.
6359 [non-C99-based standards] (gammal): Likewise.
6360 [non-C99-based standards] (hypotl): Likewise.
6361 [non-C99-based standards] (j0l): Likewise.
6362 [non-C99-based standards] (j1l): Likewise.
6363 [non-C99-based standards] (jnl): Likewise.
6364 [non-C99-based standards] (lgammal): Likewise.
6365 [non-C99-based standards] (tgammal): Likewise.
6366 [non-C99-based standards] (y0l): Likewise.
6367 [non-C99-based standards] (y1l): Likewise.
6368 [non-C99-based standards] (ynl): Likewise.
6369 [non-C99-based standards] (isnanl): Likewise.
6370 [non-C99-based standards] (acoshl): Likewise.
6371 [non-C99-based standards] (asinhl): Likewise.
6372 [non-C99-based standards] (atanhl): Likewise.
6373 [non-C99-based standards] (cbrtl): Likewise.
6374 [non-C99-based standards] (expm1l): Likewise.
6375 [non-C99-based standards] (ilogbl): Likewise.
6376 [non-C99-based standards] (log1pl): Likewise.
6377 [non-C99-based standards] (logbl): Likewise.
6378 [non-C99-based standards] (nextafterl): Likewise.
6379 [non-C99-based standards] (remainderl): Likewise.
6380 [non-C99-based standards] (rintl): Likewise.
6381 [non-C99-based standards] (scalbl): Likewise.
6382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6383 [non-C99-based standards] (FP_*): Do not allow.
6384 [C99-based standards] (FP_*): Change to
6385 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6386 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6388 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6389 (SIG_ERR): Likewise.
6390 [X/Open-based standards] (SIG_HOLD): Likewise.
6391 (SIG_IGN): Likewise.
6392 (SIGABRT): Use macro-int-constant. Specify type. Require
6397 (SIGSEGV): Likewise.
6399 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6406 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6407 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6408 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6409 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6411 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6412 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6413 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6414 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6415 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6416 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6417 [X/Open-based standards] (SIGTRAP): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6422 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6425 2012-05-08 Ian Wienand <ianw@vmware.com>
6428 * time/tzset.c (__tzset_parse_tz): Update default rules for
6429 daylight time changes in the Energy Policy Act of 2005.
6431 2012-05-09 Andreas Jaeger <aj@suse.de>
6434 * elf/ldconfig.c (parse_conf): Change string to make clear that
6435 ldconfig only issued a warning if ld.so.conf does not exist.
6437 2012-05-08 David S. Miller <davem@davemloft.net>
6439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6440 movxtod instead of popping the value on the stack.
6442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6444 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6446 * config.h.in: Add HAVE_ARM_PCS_VFP.
6448 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6451 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6452 checking but the checks are disabled for any reason.
6454 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6456 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6457 and ELF64_R_TYPE with ELFW(R_TYPE).
6459 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6461 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6464 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6465 (settimeofday): Likewise.
6467 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6469 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6470 a struct th_u2 inside the union, and move tu_block/tu_code into
6471 a new th_u3 union of tu_block/tu_code inside of that. Move
6472 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6473 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6474 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6475 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6476 (th_stuff): Change to th_u1.tu_stuff.
6478 (th_msg): Change to th_u1.th_u2.tu_data.
6480 2012-05-07 David S. Miller <davem@davemloft.net>
6482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6486 (SETUP_PIC_REG): Use it.
6487 (SETUP_PIC_REG_LEAF): Use it.
6489 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6495 (EXPL_FINITE): Likewise.
6497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6498 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6500 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6502 (EXPL_FINITE): Likewise.
6504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6505 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6507 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6508 test of -max_value argument for long double.
6509 * sysdeps/i386/fpu/libm-test-ulps: Update.
6510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6512 2012-05-06 David S. Miller <davem@davemloft.net>
6514 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6515 quad soft-float symbols whose references which are compiler
6517 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6519 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6525 (EXPL_FINITE): Likewise.
6529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6530 Adjust comments for base varying.
6531 (__expl_finite): Change alias to EXPL_FINITE.
6532 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6534 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6535 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6537 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6540 (EXPL_FINITE): Likewise.
6544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6545 Adjust comments for base varying.
6546 (__expl_finite): Change alias to EXPL_FINITE.
6547 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6552 * math/libm-test.inc (check_float_internal): Correct ulp
6553 calculation for subnormal expected results.
6555 2012-05-06 Andreas Jaeger <aj@suse.de>
6557 * Makeconfig (+math-flags): New, set to -frounding-math.
6558 (+cflags): Add +math-flags so that all of glibc gets compiled with
6561 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6563 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6565 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6571 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6572 (__ieee754_expl): Allow for and saturate large arguments.
6573 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6574 (u_threshold): Likewise.
6575 (__exp): Call __ieee754_exp before checking for overflow and
6577 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6578 (u_threshold): Likewise.
6579 (__expf): Call __ieee754_expf before checking for overflow and
6581 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6582 (u_threshold): Likewise.
6583 (__expl): Call __ieee754_expl before checking for overflow and
6585 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6586 (__ieee754_expl): Allow for and saturate large arguments.
6587 * math/libm-test.inc (exp_test): Add another test. Do not allow
6588 missing overflow exception on overflow.
6589 (expm1_test): Do not allow missing overflow exception on overflow.
6591 * sysdeps/i386/fpu/e_expl.c: Move to ...
6592 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6593 rather than using inline asm.
6594 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6595 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6596 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6598 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6605 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6607 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6608 sysdeps/unix/common/syscalls.list.
6611 (ftruncate): Likewise.
6612 (getrusage): Likewise.
6613 (gettimeofday): Likewise.
6614 (setpgid): Likewise.
6615 (setregid): Likewise.
6616 (setreuid): Likewise.
6617 (sigaction): Likewise.
6618 (truncate): Likewise.
6619 (vhangup): Likewise.
6620 * sysdeps/unix/common/syscalls.list: Remove file.
6621 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6622 * sysdeps/unix/sysv/linux/Implies: Likewise.
6624 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6632 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6635 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6641 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6644 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6650 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6654 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6665 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6669 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/unix/common/bits/dirent.h: Remove file.
6672 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6674 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6675 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6676 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6677 * sysdeps/unix/bsd/isatty.c: Likewise.
6678 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6679 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6680 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6682 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6686 long double comparison inaccuracies.
6687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6690 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6692 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6695 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6698 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6699 nonzero digits before rounding a hex value.
6700 * stdlib/tst-strtod.c (tests): Add another test.
6702 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6704 * sysdeps/s390/fpu/libm-test-ulps: Update.
6706 2012-05-03 Andreas Jaeger <aj@suse.de>
6708 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6709 does not get optimized out.
6710 (malloc_opt_barrier): New.
6712 2012-05-03 Andreas Jaeger <aj@suse.de>
6713 Roland McGrath <roland@hack.frob.com>
6715 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6716 intermediate file deletion.
6717 (generated): Add .symlist files.
6719 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6722 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6723 Redirect under this condition.
6724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6725 [__USE_GNU] (__dprintf_chk): Not under this condition.
6726 [__USE_GNU] (__vdprintf_chk): Likewise.
6727 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6728 under this condition.
6729 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6730 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6731 [__USE_XOPEN2K8] (vdprintf): Likewise.
6732 [__USE_GNU] (__dprintf_chk): Not under this condition.
6733 [__USE_GNU] (__vdprintf_chk): Likewise.
6734 [__USE_GNU] (dprintf): Likewise.
6735 [__USE_GNU] (vdprintf): Likewise.
6737 2012-05-03 Roland McGrath <roland@hack.frob.com>
6739 * elf/Makefile (common-generated): Set this instead of generated for
6740 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6741 $(all-built-dso)-derived lists.
6743 2012-05-03 Andreas Jaeger <aj@suse.de>
6745 * sysdeps/i386/fpu/libm-test-ulps: Update.
6749 * scripts/gen-FAQ.pl: Likewise.
6750 * manual/install.texi (Installation): Point to online location of
6752 * Makefile (files-for-dist): Remove FAQ.
6755 2012-05-02 Allan McRae <allan@archlinux.org>
6757 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6758 (LDFLAGS-reldepmod5.so): Likewise.
6759 (LDFLAGS-reldep6mod1.so): Likewise.
6760 (LDFLAGS-reldep6mod4.so): Likewise.
6761 (LDFLAGS-reldep8mod3.so): Likewise.
6762 (LDFLAGS-unload4mod1.so): Likewise.
6763 (LDFLAGS-unload4mod2.so): Likewise.
6764 (LDFLAGS-tst-initorder): Likewise.
6765 (LDFLAGS-tst-initordera2.so): Likewise.
6766 (LDFLAGS-tst-initordera3.so): Likewise.
6767 (LDFLAGS-tst-initordera4.so): Likewise.
6768 (LDFLAGS-tst-initorderb2.so): Likewise.
6769 (LDFLAGS-noload): Likewise.
6770 (LDFLAGS-next): Likewise.
6771 (LDFLAGS-order2mod1.so): Likewise.
6772 (LDFLAGS-order2mod2.so): Likewise.
6773 (LDFLAGS-tst-initorder2): Likewise.
6774 (LDFLAGS-tst-initorder2a.so): Likewise.
6775 (LDFLAGS-tst-initorder2b.so): Likewise.
6776 (LDFLAGS-tst-initorder2c.so): Likewise.
6777 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6779 2012-05-02 David S. Miller <davem@davemloft.net>
6781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6783 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6786 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6788 2012-05-02 Andreas Jaeger <aj@suse.de>
6790 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6791 since we manipulate rounding mode.
6792 (CPPFLAGS-test-idouble.c): Likewise.
6793 (CPPFLAGS-test-ifloat.c): Likewise.
6794 (CFLAGS-test-ldouble.c): Likewise.
6795 (CFLAGS-test-double.c): Likewise.
6796 (CFLAGS-test-float.c): Likewise.
6797 (CFLAGS-test-misc.c): Likewise.
6798 (CFLAGS-test-test-fenv.c): Likewise.
6800 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6805 comparisons to determine direction to adjust input.
6807 2012-05-01 Roland McGrath <roland@hack.frob.com>
6809 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6810 output to the target.
6812 * scripts/localplt.awk: New file.
6813 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6814 (check-localplt-CFLAGS): Variable removed.
6815 ($(all-built-dso:=.jmprel)): New static pattern rule.
6816 (generated): Add those targets.
6817 (localplt-built-dso): New variable.
6818 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6820 * elf/check-localplt.c: File removed.
6822 * scripts/check-execstack.awk: New file.
6823 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6824 (check-execstack-CFLAGS): Variable removed.
6825 ($(objpfx)check-execstack.h): Target removed.
6826 ($(objpfx)execstack-default): New target.
6827 (generated): Add that instead of check-execstack.h.
6828 ($(all-built-dso:=.phdr)): New static pattern rule.
6829 (generated): Add those targets.
6830 * elf/check-execstack.c: File removed.
6832 * scripts/check-textrel.awk: New file.
6833 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6834 (check-textrel-CFLAGS): Variable removed.
6835 (all-built-dso): Use := to define.o
6836 ($(all-built-dso:=.dyn)): New static pattern rule.
6837 (generated): Add those targets.
6838 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6839 * config.make.in (READELF): New substituted variable.
6840 * elf/check-textrel.c: File removed.
6842 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6844 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6846 * conform/data/ctype.h-data [C99-based standards] (isblank):
6848 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6849 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6851 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6852 Specify type. Require positive value.
6855 [ISO || POSIX] (EILSEQ): Do not expect.
6856 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6857 Specify type. Require positive value.
6858 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6859 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6860 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6861 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6862 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6863 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6864 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6865 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6866 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6867 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6868 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6869 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6870 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6871 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6872 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6873 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6874 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6875 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6876 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6877 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6878 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6879 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6880 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6881 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6882 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6883 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6884 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6885 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6886 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6887 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6888 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6889 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6890 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6891 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6892 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6893 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6894 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6895 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6896 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6897 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6898 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6899 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6900 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6901 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6902 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6903 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6904 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6905 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6906 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6907 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6908 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6909 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6910 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6911 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6912 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6913 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6914 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6915 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6916 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6917 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6932 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6933 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6934 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6936 (FLT_ROUNDS): Expect as macro, not constant.
6937 (FLT_MANT_DIG): Use macro-int-constant.
6938 (DBL_MANT_DIG): Likewise.
6939 (LDBL_MANT_DIG): Likewise.
6940 (FLT_DIG): Likewise.
6941 (DBL_DIG): Likewise.
6942 (LDBL_DIG): Likewise.
6943 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6944 (DBL_MIN_EXP): Likewise.
6945 (LDBL_MIN_EXP): Likewise.
6946 (FLT_MAX_EXP): Use macro-int-constant.
6947 (DBL_MAX_EXP): Likewise.
6948 (LDBL_MAX_EXP): Likewise.
6949 (FLT_MAX_10_EXP): Likewise.
6950 (DBL_MAX_10_EXP): Likewise.
6951 (LDBL_MAX_10_EXP): Likewise.
6952 (FLT_MAX): Use macro-constant.
6953 (DBL_MAX): Likewise.
6954 (LDBL_MAX): Likewise.
6955 (FLT_EPSILON): Use macro-constant. Give upper bound.
6956 (DBL_EPSILON): Likewise.
6957 (LDBL_EPSILON): Likewise.
6958 (FLT_MIN): Likewise.
6959 (DBL_MIN): Likewise.
6960 (LDBL_MIN): Likewise.
6961 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6962 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6963 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6964 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6965 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6966 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6967 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6968 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6969 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6970 [ISO11] (FLT_TRUE_MIN): Likewise.
6971 [ISO11] (LDBL_TRUE_MIN): Likewise.
6972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6973 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6974 (SCHAR_MIN): Use macro-int-constant. Specify type.
6975 (SCHAR_MAX): Likewise.
6976 (UCHAR_MAX): Likewise.
6977 (CHAR_MIN): Likewise.
6978 (CHAR_MAX): Likewise.
6979 (MB_LEN_MAX): Use macro-int-constant.
6980 (SHRT_MIN): Use macro-int-constant. Specify type.
6981 (SHRT_MAX): Likewise.
6982 (USHRT_MAX): Likewise.
6983 (INT_MAX): Likewise.
6984 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6986 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6988 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6990 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6991 bound negative. Suffix upper bound with "L".
6992 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6994 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6996 [C99-based standards] (LLONG_MAX): Likewise.
6997 [C99-based standards] (ULLONG_MAX): Likewise.
6998 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7000 [ISO11] (max_align_t): Require type.
7001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7003 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7004 from $CFLAGS, without defining away __attribute__ calls.
7005 (checknamespace): Use $CFLAGS_namespace.
7007 * conform/conformtest.pl (@keywords): Only include C99 keywords
7008 for standards based on C99 or C11.
7010 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7012 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7015 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7016 usability of symbols in #if.
7018 * conform/conformtest.pl: If macro or constant types start
7019 "promoted:", expect the symbol to be of the following type
7020 promoted by the integer promotions.
7022 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7023 in one place. Also handle "macro-constant".
7025 * conform/conformtest.pl: Only accept expected macro values with
7026 "==". Parse all "macro" lines in one place.
7027 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7029 * conform/conformtest.pl: Handle braced types on "constant" lines
7030 instead of handling "typed-constant".
7031 * conform/data/signal.h-data: Use "constant" instead of
7034 * conform/conformtest.pl: Handle "optional-" at start of lines in
7035 one place rather than duplicating several cases. Handle each
7036 format of "macro" line with initial "optional-".
7038 * conform/conformtest.pl: Only accept expected constant or
7039 optional-constant values with "==". Parse all "constant" lines in
7040 one place. Parse all "optional-constant" lines in one place.
7041 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7042 * conform/data/fmtmsg.h-data: Likewise.
7043 * conform/data/netinet/in.h-data: Likewise.
7044 * conform/data/tar.h-data: Likewise.
7045 * conform/data/limits.h-data: Use "==" form on "constant" and
7046 "optional-constant" lines.
7048 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7049 Use -std=c99 for XOPEN2K.
7050 (@knownproblems): Remove.
7051 (newtoken): Don't check %isknown.
7053 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7054 Do not expect macro.
7055 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7056 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7057 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7058 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7059 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7060 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7061 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7062 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7063 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7064 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7065 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7066 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7067 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7068 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7069 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7070 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7071 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7072 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7073 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7074 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7075 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7079 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7080 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7081 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7082 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7083 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7084 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7085 [XPG3] (acosh): Likewise.
7086 [XPG3] (asinh): Likewise.
7087 [XPG3] (atanh): Likewise.
7088 [XPG3] (cbrt): Likewise.
7089 [XPG3] (expm1): Likewise.
7090 [XPG3] (ilogb): Likewise.
7091 [XPG3] (log1p): Likewise.
7092 [XPG3] (logb): Likewise.
7093 [XPG3] (nextafter): Likewise.
7094 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7095 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7096 [XPG3] (remainder): Likewise.
7097 [XPG3] (rint): Likewise.
7098 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7099 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7100 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7101 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7102 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7103 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7104 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7105 [UNIX98 || XOPEN2K] (scalb): Expect.
7106 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7107 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7108 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7109 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7110 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7119 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7120 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7121 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7122 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7123 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7126 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7127 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7140 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7141 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7142 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7143 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7144 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7145 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7147 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7148 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7161 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7162 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7244 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7245 _XOPEN_SOURCE_EXTENDED for XPG4.
7247 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7249 * Makeconfig (localtime): Remove variable.
7250 (inst_localtime-file): Likewise.
7252 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7273 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7277 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7278 comparisons to determine direction to adjust input.
7279 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7280 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7283 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7290 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7292 * math/libm-test.inc (nexttoward_test): Add more tests.
7294 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7298 in version GLIBC_2.1, not GLIBC_2.0.
7299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7302 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7305 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7308 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7309 * math/libm-test.inc (acos_test): Add more tests.
7310 (asin_test): Likewise.
7311 * sysdeps/i386/fpu/libm-test-ulps: Update.
7312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7315 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7317 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7319 * math/libm-test.inc (acos_test_tonearest): New function.
7320 (acos_test_towardzero): Likewise.
7321 (acos_test_downward): Likewise.
7322 (acos_test_upward): Likewise.
7323 (asin_test_tonearest): Likewise.
7324 (asin_test_towardzero): Likewise.
7325 (asin_test_downward): Likewise.
7326 (asin_test_upward): Likewise.
7327 (main): Call the new functions.
7328 * sysdeps/i386/fpu/libm-test-ulps: Update.
7329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7333 * math/e_exp10.c: Include <float.h>.
7334 (__ieee754_exp10): Handle underflow here rather than multiplying
7335 large negative argument by M_LN10.
7336 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7338 * math/e_exp10l.c: Include <float.h>.
7339 (__ieee754_exp10l): Handle underflow here rather than multiplying
7340 large negative argument by M_LN10l.
7341 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7342 spurious overflow exception on underflow.
7344 2012-04-29 Marek Polacek <polacek@redhat.com>
7346 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7347 (__fortify_function): New macro.
7348 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7349 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7350 __extern_always_inline.
7351 * libio/bits/stdio2.h: Likewise.
7352 * libio/bits/stdio.h: Likewise.
7353 * string/string.h: Likewise.
7354 * string/bits/string3.h: Likewise.
7355 * include/stdio.h: Likewise.
7356 * stdlib/bits/stdlib.h: Likewise.
7357 * stdlib/stdlib.h: Likewise.
7358 * rt/bits/mqueue2.h: Likewise.
7359 * rt/mqueue.h: Likewise.
7360 * posix/bits/unistd.h: Likewise.
7361 * posix/unistd.h: Likewise.
7362 * io/bits/poll2.h: Likewise.
7363 * io/bits/fcntl2.h: Likewise.
7364 * io/fcntl.h: Likewise.
7365 * io/sys/poll.h: Likewise.
7366 * misc/bits/syslog.h: Likewise.
7367 * misc/bits/syslog-ldbl.h: Likewise.
7368 * misc/sys/syslog.h: Likewise.
7369 * socket/bits/socket2.h: Likewise.
7370 * socket/sys/socket.h: Likewise.
7371 * debug/tst-chk1.c: Likewise.
7372 * wcsmbs/bits/wchar2.h: Likewise.
7373 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7374 * wcsmbs/wchar.h: Likewise.
7376 2012-04-29 Andreas Jaeger <aj@suse.de>
7378 * Makerules (tests): Remove enable-check-abi protection.
7379 (check-abi-warn): Remove.
7380 (check-abi-%): Remove check-abi-warn usage.
7382 * configure.in: Remove check-abi configure option.
7383 * configure: Regenerated.
7384 * config.make.in (enable-check-abi): Remove.
7386 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7389 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7390 double functions to double *_finite functions.
7393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7394 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7396 * stdio-common/Makefile (tests): Add tst-sprintf3.
7397 * stdio-common/tst-sprintf3.c: New file.
7399 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7400 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7402 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7404 * conform/conformtest.pl: Remove duplicate typed-constant
7407 2012-04-28 David S. Miller <davem@davemloft.net>
7409 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7410 (check-abi-%): Remove AWK script prerequisite and explicit
7412 (check-abi): Rewrite to just diff the symlist with the abilist.
7413 (config-tls, config-abi-config): Delete, no longer used.
7414 (update-abi-%): Remove AWK script and explicit abilist directory.
7415 (update-abi): Rewrite to simply compare and conditionally copy the
7416 symlist and the sysdep abilist file. Remove update-abi-config
7418 * abilist/ld.abilist: Remove.
7419 * abilist/libBrokenLocale.abilist: Remove.
7420 * abilist/libanl.abilist: Remove.
7421 * abilist/libcrypt.abilist: Remove.
7422 * abilist/libdl.abilist: Remove.
7423 * abilist/librt.abilist: Remove.
7424 * abilist/libthread_db.abilist: Remove.
7425 * abilist/libutil.abilist: Remove.
7426 * scripts/extract-abilist.awk: Remove.
7427 * scripts/merge-abilist.awk: Remove.
7428 * sysdeps/generic/libcidn.abilist: New file.
7429 * sysdeps/generic/libnss_compat.abilist: New file.
7430 * sysdeps/generic/libnss_db.abilist: New file.
7431 * sysdeps/generic/libnss_dns.abilist: New file.
7432 * sysdeps/generic/libnss_files.abilist: New file.
7433 * sysdeps/generic/libnss_hesiod.abilist: New file.
7434 * sysdeps/generic/libnss_nis.abilist: New file.
7435 * sysdeps/generic/libnss_nisplus.abilist: New file.
7436 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7437 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7438 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7441 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7442 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7443 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7444 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7445 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7446 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7447 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7448 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7450 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7451 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7452 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7453 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7455 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7457 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7458 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7459 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7460 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7463 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7464 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7569 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7570 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7571 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7574 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7577 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7578 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7579 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7580 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7582 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7634 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7636 * conform/conformtest.pl: Fix typo in handling typed-constant from
7639 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7641 * README: Cut down references to pre-2.6 Linux kernels and
7642 Linuxthreads. Update lists of configurations in libc and ports
7643 and sort alphabetically. Say "or newer" with Linux kernel version
7646 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7648 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7651 * math/libm-test.inc (logb_test_downward): New test to expose
7652 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7655 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7658 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7660 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7661 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7663 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7665 * sysdeps/unix/i386/brk.S: Remove file.
7666 * sysdeps/unix/i386/dl-brk.S: Likewise.
7667 * sysdeps/unix/i386/pipe.S: Likewise.
7668 * sysdeps/unix/i386/sigreturn.S: Likewise.
7669 * sysdeps/unix/i386/syscall.S: Likewise.
7670 * sysdeps/unix/i386/vfork.S: Likewise.
7671 * sysdeps/unix/i386/wait.S: Likewise.
7673 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7674 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7676 * configure.in (arm*-none*): Do not allow without
7677 --enable-hacker-mode.
7678 (netbsd*): Remove case setting base_os.
7679 (386bsd*): Likewise.
7680 (freebsd*): Likewise.
7684 (ultrix*): Likewise.
7685 (newsos*): Likewise.
7695 (solaris[2-9]*): Likewise.
7697 * configure: Regenerated.
7699 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7703 overflow or cancellation in calculating denominator.
7704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7706 down expression to avoid unexpected rounding in newer GCCs.
7707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7709 2012-04-26 David S. Miller <davem@davemloft.net>
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7712 long-double compat symbols.
7713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7727 2012-04-25 David S. Miller <davem@davemloft.net>
7729 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7730 HWCAP_* values only after the memory barriers have been defined.
7731 (atomic_full_barrier): Define.
7732 (atomic_read_barrier): Define.
7733 (atomic_write_barrier): Define.
7735 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7737 * shlib-versions: Add libgcc_s version information.
7738 * sysdeps/generic/libgcc_s.h: Remove.
7739 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7741 * sysdeps/gnu/unwind-resume.c: Likewise.
7742 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7744 2012-04-25 David S. Miller <davem@davemloft.net>
7746 * sysdeps/unix/sparc/brk.S: Delete.
7747 * sysdeps/unix/sparc/dl-brk.S: Delete.
7748 * sysdeps/unix/sparc/pipe.S: Delete.
7749 * sysdeps/unix/sparc/sysdep.S: Delete.
7750 * sysdeps/unix/sparc/sysdep.h: Delete.
7751 * sysdeps/unix/sparc/vfork.S: Delete.
7752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7753 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7755 ret_ERRVAL, r0, r1, MOVE): Define.
7756 (JUMPTARGET): Remove.
7757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7758 sysdeps/unix/sparc/sysdep.h
7759 (ENTRY, END): Remove.
7760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7762 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7764 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7765 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7768 * timezone/README: Update upstream location and email address for
7770 * timezone/zdump.c: Update from tzcode 2012b.
7771 * timezone/zic.c: Likewise.
7773 * configure.in (libc_cv_as_needed): Remove test.
7774 * configure: Regenerated.
7775 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7776 conditional definition.
7777 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7778 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7779 * config.make.in (have-as-needed): Remove variable.
7781 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7782 Paul Pluzhnikov <ppluzhnikov@google.com>
7784 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7787 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7789 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7790 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7791 * sysdeps/sh/strlen.S: Likewise.
7793 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7795 * sysdeps/unix/fork.S: Remove file.
7796 * sysdeps/unix/i386/fork.S: Likewise.
7797 * sysdeps/unix/sparc/fork.S: Likewise.
7799 * sysdeps/unix/system.c: Remove file.
7800 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7802 * sysdeps/unix/getegid.S: Remove file.
7803 * sysdeps/unix/geteuid.S: Likewise.
7805 2012-04-24 Roland McGrath <roland@hack.frob.com>
7807 * scripts/check-localplt.awk: New file.
7808 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7810 * scripts/data/localplt-generic.data: Add a comment.
7812 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7813 NODE when __dir_mkfile failed.
7814 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7815 Reported by Ludovic Courtès <ludo@gnu.org>.
7817 2012-04-24 Andreas Jaeger <aj@suse.de>
7819 * Makerules (common-clean): Also remove gen-as-const-headers
7822 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7824 * Makerules (native-compile): Do not change working directory for
7825 build. Use $(OUTPUT_OPTION) in command.
7826 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7828 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7832 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7833 * math/libm-test.inc (floor_test): Add more tests.
7834 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7836 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7838 * sysdeps/unix/getdents.c: Remove file.
7839 * sysdeps/unix/sysv/getdents.c: Likewise.
7840 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7842 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7843 sysdeps/unix/mman/syscalls.list.
7845 (mprotect): Likewise.
7848 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7849 * sysdeps/unix/mman/syscalls.list: Remove.
7850 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7852 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7853 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7854 * configure: Regenerated.
7855 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7857 * config.make.in (libgcc_s_suffix): Remove variable.
7859 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/unix/sysv/gethostname.c: Move to ...
7862 * sysdeps/posix/gethostname.c: ... here.
7864 * sysdeps/unix/execve.S: Remove file.
7866 * sysdeps/unix/_exit.S: Remove file.
7868 2012-04-23 Andreas Jaeger <aj@suse.de>
7871 * manual/Makefile: Remove make dist support, there's no
7872 need for a stand-alone documentation tar ball.
7873 (TEXI2DVI): Define always, it's not in Makeconfig.
7877 (glibc-doc-$(edition).tar): Removed
7881 (ETAGS): Remove, it's in Makeconfig.
7882 (move-if-change): Remove, it's in Makeconfig.
7884 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7887 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7888 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7889 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7890 (strtod_l, strtof_l, strtold_l): Remove __wur.
7891 It is not necessarily an error to ignore strtol's return value.
7892 One can reliably look at the stored endptr to decide whether
7893 the number had valid syntax.
7895 2012-04-21 Andreas Jaeger <aj@suse.de>
7898 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7900 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7903 * sysdeps/unix/sysv/Versions: Remove file.
7905 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7910 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7914 version from __vm86.
7916 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7918 * sysdeps/unix/common/lxstat.c: Remove file.
7919 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7921 * sysdeps/unix/sysv/Makefile: Remove file.
7923 * sysdeps/unix/sysv/direct.h: Remove file.
7925 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7926 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7927 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7928 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7929 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7930 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7931 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7933 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7935 * sysdeps/unix/xmknod.c: Remove file.
7936 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7938 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7940 * sysdeps/unix/sysv/i386/time.S: Remove file.
7942 * sysdeps/unix/fxstat.c: Remove file.
7943 * sysdeps/unix/xstat.c: Likewise.
7944 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7946 * sysdeps/unix/sysv/sigaction.c: Remove file.
7948 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7949 (sysdep_headers): Remove variable.
7950 [termio.h not in sysdep_headers] (generated): Likewise.
7951 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7952 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7953 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7954 * sysdeps/unix/sysv/tcflow.c: Likewise.
7955 * sysdeps/unix/sysv/tcflush.c: Likewise.
7956 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7957 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7958 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7959 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7960 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7962 * sysdeps/unix/siglist.c: Remove file.
7964 * sysdeps/unix/getppid.S: Remove file.
7966 * sysdeps/unix/mkdir.c: Remove file.
7967 * sysdeps/unix/rmdir.c: Likewise.
7969 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7971 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7974 errlist-compat value.
7976 2012-04-18 David S. Miller <davem@davemloft.net>
7978 * sysdeps/generic/memcopy.h (reg_char): Delete.
7979 * debug/strcat_chk.c: Use char, not reg_char.
7980 * debug/strcpy_chk.c: Likewise.
7981 * debug/strncat_chk.c: Likewise.
7982 * debug/strncpy_chk.c: Likewise.
7983 * string/memchr.c: Likewise.
7984 * string/memrchr.c: Likewise.
7985 * string/rawmemchr.c: Likewise.
7986 * string/strcat.c: Likewise.
7987 * string/strchr.c: Likewise.
7988 * string/strchrnul.c: Likewise.
7989 * string/strcmp.c: Likewise.
7990 * string/strcpy.c: Likewise.
7991 * string/strncat.c: Likewise.
7992 * string/strncmp.c: Likewise.
7993 * string/strncpy.c: Likewise.
7995 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7997 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7998 __builtin_memcopy is called when src and dest ranges are known to not
8001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8004 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8005 fwd_align_merge macro call.
8006 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8007 bwd_align_merge macro call.
8008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8010 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8012 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8013 bwd_align_merge macros.
8014 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8015 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8018 2012-04-18 David S. Miller <davem@davemloft.net>
8020 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8022 2012-04-18 Andreas Jaeger <aj@suse.de>
8025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8026 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8029 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8030 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8033 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8034 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8035 Adjust for changed ldbl-128 files.
8037 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8038 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8041 2012-04-17 David S. Miller <davem@davemloft.net>
8043 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8045 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8047 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8048 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8049 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8050 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8052 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8054 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8057 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8058 * math/libm-test.inc: Add ilogb errno and exception tests.
8059 * math/w_ilogb.c: New file: ilogb wrapper.
8060 * math/w_ilogbf.c: New file: ilogbf wrapper.
8061 * math/w_ilogbl.c: New file: ilogbl wrapper.
8062 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8063 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8064 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8065 exception being thrown with 0.0 as argument.
8066 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8067 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8068 exception being thrown with 0.0 as argument.
8069 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8070 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8071 exception being thrown with 0.0 as argument.
8072 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8073 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8074 exception being thrown with 0.0 as argument.
8075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8076 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8078 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8081 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8082 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8083 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8085 2012-04-17 Petr Baudis <pasky@ucw.cz>
8087 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8090 2012-04-16 Marek Polacek <polacek@redhat.com>
8092 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8094 2012-04-16 Marek Polacek <polacek@redhat.com>
8096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8097 operands of fdivp instruction.
8099 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8101 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8102 * elf/tst-auditmod3b.c: Likewise.
8103 * elf/tst-auditmod4b.c: Likewise.
8104 * elf/tst-auditmod5b.c: Likewise.
8105 * elf/tst-auditmod6b.c: Likewise.
8106 * elf/tst-auditmod6c.c: Likewise.
8107 * elf/tst-auditmod7b.c: Likewise.
8108 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8109 * sysdeps/x86_64/preconfigure.in: Likewise.
8110 * sysdeps/x86_64/preconfigure: Regenerated.
8112 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8117 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8120 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8122 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8125 * locale/iso-639.def: Fix gl language name. Spotted by
8128 2012-04-12 Roland McGrath <roland@hack.frob.com>
8131 * libio/libio.h (__io_write_fn): Update comment.
8133 2012-04-12 Petr Baudis <pasky@ucw.cz>
8136 * stdio.texi (Hook Functions): The user provided writer function
8137 is not allowed to return -1.
8139 2012-04-11 David S. Miller <davem@davemloft.net>
8141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8143 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8145 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8146 Add a leading slash to rtkaio.
8148 2012-04-11 Jim Meyering <meyering@redhat.com>
8151 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8152 It is not necessarily an error to ignore fwrite's return
8153 value. One can reliably use ferror to test for errors after
8156 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8158 * bits/types.h (__snseconds_t): New type.
8159 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8161 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8163 (__SNSECONDS_T_TYPE): Likewise.
8164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8165 (__SNSECONDS_T_TYPE): Likewise.
8166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8167 (__SNSECONDS_T_TYPE): Likewise.
8169 2012-04-10 Andreas Jaeger <aj@suse.de>
8172 * manual/time.texi (Processor Time): Return type of times is
8173 elapsed real time since an arbitrary point in the past.
8174 (CPU Time): Move CLK_TCK from here...
8175 (Processor Time): ...to here. Correct description.
8176 * manual/conf.texi (Constants for Sysconf): Correct description of
8179 2012-04-10 David S. Miller <davem@davemloft.net>
8182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8183 where the is a gap between DT_REL(A) and DT_JMPREL.
8185 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8187 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8191 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8193 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8194 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8195 (dl_main): Handle --inhibit-cache.
8196 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8198 * elf/dl-load.c (_dl_map_object): Use it.
8199 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8201 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8204 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8205 (__ieee754_powl): Saturate large exponents rather than testing for
8206 overflow of y*log2(x).
8207 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8208 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8212 * math/s_ctan.c: Include <float.h>.
8213 (__ctan): Avoid internal overflow or cancellation in calculating
8215 * math/s_ctanf.c: Likewise.
8216 * math/s_ctanl.c: Likewise.
8217 * math/s_ctanh.c: Likewise.
8218 * math/s_ctanhf.c: Likewise.
8219 * math/s_ctanhl.c: Likewise.
8220 * math/libm-test.inc (ctan_test): Add more tests.
8221 (ctanh_test): Likewise.
8222 * sysdeps/i386/fpu/libm-test-ulps: Update.
8223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225 2012-04-09 Andreas Jaeger <aj@suse.de>
8228 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8229 is an optional BSD extension.
8232 * manual/stdio.texi (Opening Streams): Document additional fopen
8235 2012-04-09 Roland McGrath <roland@hack.frob.com>
8237 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8238 %eax without telling the compiler.
8240 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8243 * manual/install.texi: Use sourceware.org.
8245 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8248 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8249 (__ieee754_pow): Generate overflow and underflow using huge*huge
8250 and tiny*tiny rather than just returning constant infinity or zero
8251 for large exponents.
8252 * math/libm-test.inc (pow_test): Require overflow exceptions for
8253 applicable cases of large exponents.
8256 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8257 (__ieee754_pow): Use iterative multiplication algorithm only for
8258 integer exponents with absolute value below 1024. Check for odd
8259 integer exponents when using algorithm for real exponents.
8260 * math/libm-test.inc (pow_test): Add more tests.
8261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8263 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8266 * math/libm-test.inc (exp_test): Do not allow overflow exception
8269 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8272 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8273 instead of __kernel_standard_f.
8275 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8277 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8278 * sysdeps/x86_64/memset_chk.S: Likewise.
8280 2012-04-08 Andreas Jaeger <aj@suse.de>
8283 * manual/startup.texi (Environment Access): Describe return value
8284 for putenv and setenv.
8287 * manual/filesys.texi (Directory Entries): Add description for
8291 * manual/filesys.texi (Directory Entries): Clarify that it's file
8292 system not operating system in the description of DT_UNKNOWN.
8295 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8297 2012-04-08 Stephen Compall <s11@member.fsf.org>
8300 * manual/llio.texi (Opening and Closing Files): Add cross
8301 reference to explain mode argument.
8303 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8305 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8306 * sysdeps/x86_64/memset_chk.S: Likewise.
8308 2012-04-07 David S. Miller <davem@davemloft.net>
8310 * elf/elf.h (R_SPARC_WDISP10): Define.
8311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8314 R_SPARC_SIZE64 and R_SPARC_H34.
8316 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8319 conditions and remove no longer applicable assertion.
8321 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8323 * bits/byteswap.h: Include <features.h>.
8324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8327 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8329 * bits/byteswap.h (__bswap_16): Removed.
8330 Include <bits/byteswap-16.h> to get __bswap_16.
8331 * sysdeps/i386/bits/byteswap.h: Likewise.
8332 * sysdeps/s390/bits/byteswap.h: Likewise.
8333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8334 * bits/byteswap-16.h: New file.
8335 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8336 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8337 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8338 * string/Makefile (headers): Add bits/byteswap-16.h.
8340 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8343 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8345 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8346 * nss/tst-nss-static.c: New.
8348 2012-04-06 Robert Millan <rmh@gnu.org>
8351 * manual/llio.texi (File Position Primitive): lseek
8352 refers to WHENCE when it really means OFFSET.
8354 2012-04-06 Andreas Jaeger <aj@suse.de>
8356 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8357 strncmp declarations.
8359 * abilist/libc.abilist: Add __poll and __ppoll.
8361 2012-04-05 David S. Miller <davem@davemloft.net>
8363 * scripts/check-local-headers.sh: Accept a host triplet in the
8364 path matched by the exclude regexp.
8366 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8368 * sysdeps/powerpc/powerpc32/dl-machine.h
8369 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8370 * sysdeps/s390/s390-32/dl-machine.h
8371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8372 * sysdeps/sparc/sparc32/dl-machine.h
8373 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8374 * sysdeps/sparc/sparc64/dl-machine.h
8375 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8377 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8379 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8380 undefined symbol errors.
8382 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8385 2012-04-05 Michael Matz <matz@suse.de>
8388 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8390 2012-04-05 Andreas Jaeger <aj@suse.de>
8393 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8399 which ROUND is no valid rounding mode.
8401 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8405 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8410 an exception using FPU order intentionally.
8412 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8415 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8416 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8417 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8419 2012-04-05 Simon Josefsson <simon@josefsson.org>
8422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8423 EINVAL when BUFLEN is too smal.
8425 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8428 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8429 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8431 2012-04-03 Andreas Jaeger <aj@suse.de>
8434 * manual/setjmp.texi (System V contexts): Fix sentence.
8437 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8438 New macro for this case.
8439 [!__GNUC__] (__bswap_64): New inline function for this case.
8440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8441 * bits/byteswap.h: Likewise.
8442 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8443 ull, guard with __GLIBC_HAVE_LONG_LONG.
8445 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8446 __GLIBC_HAVE_LONG_LONG.
8448 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8449 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8451 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8455 inptr and inend, rather than using last_ch.
8457 2012-04-02 David S. Miller <davem@davemloft.net>
8459 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8460 * stdio-common/printf-parse.h (read_int): Change return type to
8461 'int', return -1 on INT_MAX overflow.
8462 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8463 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8464 overflows INT_MAX. Check for overflow of in-format-string precision
8465 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8466 SIZE_MAX not INT_MAX for integer overflow test.
8467 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8468 skip the construct in the format string but do not record anything.
8469 * stdio-common/bug22.c: Adjust to test both width/prevision
8470 INT_MAX overflow as well as total length INT_MAX overflow. Check
8471 explicitly for proper errno values.
8473 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8475 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8477 * string/test-strcmp.c [! WIDE]: Likewise.
8478 * time/tst-mktime2.c: Likewise for INT_MAX.
8479 * string/test-string.h: #include <sys/param.h> for MIN.
8481 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8482 * sysdeps/i386/init-first.c (init): Likewise.
8483 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8484 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8485 * sysdeps/sh/init-first.c (init): Likewise.
8487 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8489 * po/ru.po: Update from translation team.
8490 * po/vi.po: Likewise.
8492 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8494 * resolv/nss_dns/dns-host.c: Merge copyright years.
8496 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8499 Optimize memcpy with prefetch if
8500 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8501 src, dst pointers have unequal 16 byte alignments.
8503 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8506 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8507 from a CNAME entry and return the minimum ttl for the query.
8508 (gaih_getanswer_slice): Likewise.
8510 2012-03-30 Jeff Law <law@redhat.com>
8512 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8514 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8515 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8517 * resolv/nss_dns/dns-host.c: Update copyright year.
8519 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8521 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8522 requests to save a system call. Fix check that all bytes are sent.
8524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8525 comments for sendmmsg.
8527 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8531 with only 1 character between 0x0041 and 0x01b0.
8532 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8533 * wcsmbs/tst-mbsnrtowcs.c: New file.
8535 2012-03-29 David S. Miller <davem@davemloft.net>
8537 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8538 small copies by hand.
8540 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8543 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8544 _nss_compat_initgroups_dyn): Fall back to malloc/free
8545 for large group memberships.
8547 2012-03-28 David S. Miller <davem@davemloft.net>
8549 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8550 that branches into memcpy.
8551 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8554 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8557 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8559 * sysdeps/sparc/mempcpy.S: New file.
8561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8562 the IFUNC routine in the libc case.
8563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8567 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8568 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8569 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8570 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8571 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8572 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8574 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8575 loop to 256 bytes instead of 64 bytes and fix test signedness.
8577 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8578 * sysdeps/sparc/sparc32/Makefile: rather than here...
8579 * sysdeps/sparc/sparc64/Makefile: and here.
8581 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8583 * malloc/mallocbug.c: Avoid warnings about unused variables.
8585 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8588 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8589 in the right place. Discard and retry query if response is
8590 larger than input buffer size.
8592 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8598 x for large integer exponent.
8599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8601 sign of result as needed afterwards.
8602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8603 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8604 result for underflowing pow the same as for overflow.
8605 (__kernel_standard_l): Handle powl overflow and underflow here
8606 rather than calling __kernel_standard.
8607 * math/libm-test.inc (pow_test): Add more tests.
8622 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8623 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8624 (__kernel_standard_l): New function.
8625 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8627 * math/w_acosl.c (__acosl): Likewise.
8628 * math/w_asinl.c (__asinl): Likewise.
8629 * math/w_atan2l.c (__atan2l): Likewise.
8630 * math/w_atanhl.c (__atanhl): Likewise.
8631 * math/w_coshl.c (__coshl): Likewise.
8632 * math/w_exp10l.c (__exp10l): Likewise.
8633 * math/w_exp2l.c (__exp2l): Likewise.
8634 * math/w_fmodl.c (__fmodl): Likewise.
8635 * math/w_hypotl.c (__hypotl): Likewise.
8636 * math/w_j0l.c (__j0l, __y0l): Likewise.
8637 * math/w_j1l.c (__j1l, __y1l): Likewise.
8638 * math/w_jnl.c (__jnl, __ynl): Likewise.
8639 * math/w_lgammal.c (__lgammal): Likewise.
8640 * math/w_log10l.c (__log10l): Likewise.
8641 * math/w_log2l.c (__log2l): Likewise.
8642 * math/w_logl.c (__logl): Likewise.
8643 * math/w_powl.c (__powl): Likewise.
8644 * math/w_remainderl.c (__remainderl): Likewise.
8645 * math/w_scalbl.c (sysv_scalbl): Likewise.
8646 * math/w_sinhl.c (__sinhl): Likewise.
8647 * math/w_sqrtl.c (__sqrtl): Likewise.
8648 * math/w_tgammal.c (__tgammal): Likewise.
8649 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8650 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8651 * math/libm-test.inc (acos_test): Add more tests.
8652 (acosh_test): Likewise.
8653 (asin_test): Likewise.
8654 (atanh_test): Likewise.
8655 (exp_test): Likewise.
8656 (exp10_test): Likewise.
8657 (exp2_test): Likewise.
8658 (expm1_test): Likewise.
8659 (lgamma_test): Likewise.
8660 (log_test): Likewise.
8661 (log10_test): Likewise.
8662 (log1p_test): Likewise.
8663 (log2_test): Likewise.
8664 (pow_test): Do not allow some spurious overflow exceptions.
8665 (sqrt_test): Add more tests.
8666 (tgamma_test): Likewise.
8667 (y0_test): Likewise.
8668 (y1_test): Likewise.
8669 (yn_test): Likewise.
8671 2012-03-27 Anton Blanchard <anton@samba.org>
8673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8675 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8676 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8679 2012-03-27 David S. Miller <davem@davemloft.net>
8681 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8683 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8686 2012-03-27 Andreas Jaeger <aj@suse.de>
8688 * sysdeps/x86_64/elf/configure.in: Moved to ...
8689 * sysdeps/x86_64/configure.in: ... here.
8690 * sysdeps/x86_64/elf/start.S: Moved to ...
8691 * sysdeps/x86_64/start.S: ... here.
8692 * sysdeps/x86_64/elf/configure: Delete.
8694 * sysdeps/x86_64/configure.in: Merge contents from
8695 sysdeps/i386/configure.in (without i686 check).
8697 * sysdeps/i386/elf/Versions: Merge into ...
8698 * sysdeps/i386/Versions: ... this.
8699 * sysdeps/i386/elf/Versions: Delete file.
8700 * sysdeps/i386/elf/start.S: Moved to ...
8701 * sysdeps/i386/start.S: ...here.
8702 * sysdeps/i386/elf/configure.in: Merge into...
8703 * sysdeps/i386/configure.in: ...here.
8704 * sysdeps/i386/elf/configure.in: Delete file.
8705 * sysdeps/i386/elf/configure: Delete file.
8707 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8708 * debug/backtracesyms.c: ... here.
8709 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8710 * debug/backtracesymsfd.c: ... here.
8711 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8712 * sysdeps/generic/ifunc-sel.h: ... here.
8714 * sysdeps/unix/i386/start.c: Delete file.
8715 * sysdeps/unix/sparc/start.c: Delete file.
8716 * sysdeps/unix/start.c: Delete file.
8718 * sysdeps/sh/elf/configure.in: Moved to ...
8719 * sysdeps/sh/configure.in: ... here.
8720 * sysdeps/sh/elf/start.S: Moved to ...
8721 * sysdeps/sh/start.S: ... here.
8722 * sysdeps/sh/elf/configure: Delete file.
8724 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8725 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8726 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8727 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8728 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8729 * sysdeps/powerpc/powerpc64/start.S: here.
8730 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8731 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8732 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8733 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8734 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8736 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8737 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8738 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8739 * sysdeps/powerpc/powerpc32/start.S: ... here.
8740 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8741 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8742 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8744 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8745 * sysdeps/powerpc/ifunc-sel.h: ... here.
8746 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8747 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8749 * sysdeps/sparc/elf/configure.in: Moved to ...
8750 * sysdeps/sparc/configure.in: ... here.
8751 * sysdeps/sparc/elf/configure: Delete file.
8752 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8753 * sysdeps/sparc/sparc32/start.S: ... here.
8754 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8755 * sysdeps/sparc/sparc64/start.S: ... here.
8756 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8757 * sysdeps/sparc/sparc32/Makefile: ... this.
8758 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8759 * sysdeps/sparc/sparc64/Makefile: ... this.
8761 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8762 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8763 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8764 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8765 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8766 * sysdeps/s390/s390-32/setjmp.S: ... here.
8767 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8768 * sysdeps/s390/s390-32/configure.in: ... here.
8769 * sysdeps/s390/s390-32/elf/configure: Delete file.
8770 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8771 * sysdeps/s390/s390-32/start.S: ... here.
8773 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8774 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8775 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8776 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8777 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8778 * sysdeps/s390/s390-64/setjmp.S: ... here.
8779 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8780 * sysdeps/s390/s390-64/configure.in: ... here
8781 * sysdeps/s390/s390-64/elf/configure: Delete file.
8782 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8783 * sysdeps/s390/s390-64/start.S: ... here.
8784 * sysdeps/s390/s390-64/elf/configure: Delete.
8786 * configure.in: Remove support for elf directories in sysdeps.
8788 * configure: Regenerated.
8789 * sysdeps/i386/configure: Regenerated.
8790 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8791 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8792 * sysdeps/s390/s390-32/configure: Regenerated.
8793 * sysdeps/s390/s390-64/configure: Regenerated.
8794 * sysdeps/sh/configure: Regenerated.
8795 * sysdeps/sparc/configure: Regenerated.
8796 * sysdeps/x86_64/configure: Regenerated.
8798 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8803 denormal result into account.
8805 2012-03-25 Roland McGrath <roland@hack.frob.com>
8807 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8808 Reported by Allan McRae <allan@archlinux.org>.
8810 2012-03-23 Jeff Law <law@redhat.com>
8812 * nss/getnssent.c (__nss_getent): Fix typo.
8814 2012-03-23 David S. Miller <davem@davemloft.net>
8816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8818 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8820 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8821 to pad to uint64_t for each field.
8822 (dl_tls_index): Replace unsigned long with uint64_t.
8824 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8825 Paul Pluzhnikov <ppluzhnikov@google.com>
8828 * grp/Makefile (otherlibs): Don't set it.
8829 * inet/Makefile (otherlibs): Likewise.
8830 * login/Makefile (otherlibs): Likewise.
8831 * nscd/Makefile (otherlibs): Likewise.
8832 * posix/Makefile (otherlibs): Likewise.
8833 * pwd/Makefile (otherlibs): Likewise.
8834 * rt/Makefile (otherlibs): Likewise.
8835 * sunrpc/Makefile (otherlibs): Likewise.
8836 * nss/Makefile (otherlibs): Likewise.
8837 Add libnss_files to routines and static-only-routines.
8838 ($(objpfx)getent): Remove rule.
8839 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8840 static-only-routines.
8842 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8845 * math/s_cexp.c: Include <float.h>.
8846 (__cexp): Handle exp result overflowing not necessarily
8847 overflowing both real and imaginary parts of result.
8848 * math/s_cexpf.c: Likewise.
8849 * math/s_cexpl.c: Likewise.
8850 * math/libm-test.inc (cexp_test): Add more tests.
8851 * sysdeps/i386/fpu/libm-test-ulps: Update.
8852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8854 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8856 * include/link.h (ELFW): New macro.
8857 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8858 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8862 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8865 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8867 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8869 (struct La_x32_retval): Likewise.
8871 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/x86_64/preconfigure.in: New file.
8874 * sysdeps/x86_64/preconfigure: New generated file.
8876 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8879 * math/e_exp2l.c: Include <float.h>.
8880 (__ieee754_exp2l): Handle overflow and underflow cases
8881 separately. Only pass fractional part of argument to
8883 * math/libm-test.inc (exp2_test): Add more tests.
8885 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8886 negating x to take absolute value.
8887 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8892 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8893 computing low part if x was negated.
8894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8896 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8898 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8900 (pltexit): Cast int_retval to ptrdiff_t.
8901 * elf/tst-auditmod3b.c: Likewise.
8902 * elf/tst-auditmod4b.c: Likewise.
8903 * elf/tst-auditmod5b.c: Likewise.
8904 * elf/tst-auditmod6b.c: Likewise.
8905 * elf/tst-auditmod6c.c: Likewise.
8906 * elf/tst-auditmod7b.c: Likewise.
8908 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8909 and x32_gnu_pltexit.
8911 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8913 (La_x32_regs): New macro.
8914 (La_x32_retval): Likewise.
8915 (la_x32_gnu_pltenter): New function prototype.
8916 (la_x32_gnu_pltexit): Likewise.
8918 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8925 * configure.in (libc_cv_cc_nofma): Check for option to disable
8926 generation of FMA instructions.
8927 * configure: Regenerate.
8928 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8929 * sysdeps/ieee754/dbl-64/Makefile: New file.
8930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8931 Remove brandred-fma4.
8932 (CFLAGS-brandred-fma4.c): Remove.
8933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8939 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8942 LLONG_MAX != LONG_MAX.
8943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8944 (_fitoa_word): Likewise.
8945 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8946 LLONG_MAX != LONG_MAX.
8947 * stdio-common/_itowa.h: Include <_itoa.h>.
8948 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8949 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8950 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8951 only if not defined.
8952 (_ITOA_WORD_TYPE): Likewise.
8953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8954 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8956 2012-03-21 David S. Miller <davem@davemloft.net>
8958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8960 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8962 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8963 of x86_64 when setting libc_cv_slibdir, libdir and
8965 * sysdeps/unix/sysv/linux/configure: Regenerated.
8967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8969 * manual/lang.texi (Old Varargs): Remove section.
8970 (How Variadic): Update menu.
8971 (va_start): Do not mention varargs.h.
8973 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8974 Joseph Myers <joseph@codesourcery.com>
8976 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8978 * configure: Regenerated.
8980 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8982 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8983 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8986 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8989 * Makefile (files-for-dist): Remove NOTES.
8990 (NOTES): Remove rule.
8991 * README: Don't refer to NOTES.
8992 * manual/creature.texi: Don't include macros.texi.
8993 * manual/intro.texi (creature.texi): Remove comment referring to
8996 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8997 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8998 * configure: Regenerated.
8999 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9001 (libc_cv_as_i686): Likewise.
9002 (libc_cv_cc_avx): Likewise.
9003 (libc_cv_cc_sse2avx): Likewise.
9004 (libc_cv_cc_fma4): Likewise.
9005 (libc_cv_cc_novzeroupper): Likewise.
9006 * sysdeps/i386/configure: Regenerated.
9009 * sysdeps/i386/fpu/s_cexp.S: Remove.
9010 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9011 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9012 * math/libm-test.inc (cexp_test): Add more tests.
9013 * sysdeps/i386/fpu/libm-test-ulps: Update.
9014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9016 2012-03-21 Allan McRae <allan@archlinux.org>
9018 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9020 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9023 * math/w_exp2.c: Do not include <float.h>.
9024 (o_threshold, u_threshold): Remove.
9025 (__exp2): Calculate result before checking finiteness and calling
9027 * math/w_exp2f.c: Likewise.
9028 * math/w_exp2l.c: Likewise.
9029 * math/libm-test.inc (exp2_test): Require overflow exception for
9033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9034 range of signed 64-bit integers before using fistpll. Remove
9035 checks for whether integers fit in mantissa bits.
9036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9037 the range of signed 32-bit integers before using fistpl. Remove
9038 checks for whether integers fit in mantissa bits.
9039 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9040 (__ieee754_powl): Test for y outside the range of signed 64-bit
9041 integers before using fistpll. Reduce 64-bit values to 63-bit
9043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9044 divide-by-zero is raised for zero to large negative powers.
9045 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9046 (__ieee754_powl): Test for y outside the range of signed 64-bit
9047 integers before using fistpll. Reduce 64-bit values to 63-bit
9049 * math/libm-test.inc (pow_test): Add more tests.
9051 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9053 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9054 <stdio-common/_itoa.h>.
9055 * debug/segfault.c: Likewise.
9056 * elf/dl-cache.c: Likewise.
9057 * elf/dl-minimal.c: Likewise.
9058 * elf/dl-misc.c: Likewise.
9059 * elf/dl-sysdep.c: Likewise.
9060 * elf/dl-version.c: Likewise.
9061 * elf/rtld.c: Likewise.
9062 * hurd/hurdsock.c: Likewise.
9063 * hurd/lookup-retry.c: Likewise.
9064 * malloc/malloc.c: Likewise.
9065 * malloc/mtrace.c: Likewise.
9066 * nscd/nscd_getgr_r.c: Likewise.
9067 * nscd/nscd_getpw_r.c: Likewise.
9068 * nscd/nscd_getserv_r.c: Likewise.
9069 * posix/getopt_init.c: Likewise.
9070 * posix/wordexp.c: Likewise.
9071 * stdio-common/_itoa.c: Likewise.
9072 * stdio-common/printf_fphex.c: Likewise.
9073 * stdio-common/vfprintf.c: Likewise.
9074 * string/_strerror.c: Likewise.
9075 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9076 * sysdeps/i386/i686/hp-timing.h: Likewise.
9077 * sysdeps/mach/_strerror.c: Likewise.
9078 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9079 * sysdeps/mach/hurd/sethostid.c: Likewise.
9080 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9081 * sysdeps/mach/xpg-strerror.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9084 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9085 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9086 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9087 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9090 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9091 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9092 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9093 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9094 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9095 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9098 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9099 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9100 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9101 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9102 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9104 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9106 * stdio-common/_itoa.h: Moved to ...
9107 * sysdeps/generic/_itoa.h: Here.
9109 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9111 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9112 instead of "_itoa.h" and "_itowa.h".
9113 * stdio-common/vfprintf.: Likewise.
9115 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9117 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9119 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9120 (__signbit): Likwise.
9124 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9126 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9129 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9131 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9132 OVERFLOW_EXCEPTION_OK.
9133 * math/libm-test.inc ("Philosophy"): Update comment about
9135 (OVERFLOW_EXCEPTION): Define.
9136 (OVERFLOW_EXCEPTION_OK): Likewise.
9137 (INVALID_EXCEPTION_OK): Renumber.
9138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9139 (IGNORE_ZERO_INF_SIGN): Likewise.
9140 (test_exceptions): Handle FE_OVERFLOW.
9141 (exp10_test): Expect overflow exceptions.
9142 (exp2_test): Likewise.
9143 (expm1_test): Likewise.
9144 (nextafter_test): Likewise.
9145 (pow_test): Likewise.
9146 (scalbn_test): Likewise.
9147 (scalbln_test): Likewise.
9149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9151 * sysdeps/x86_64/bits/atomic.h
9152 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9154 (atomic_exchange_acq): Likewise.
9155 (__arch_exchange_and_add_body): Likewise.
9156 (__arch_add_body): Likewise.
9157 (atomic_add_negative): Likewise.
9158 (atomic_add_zero): Likewise.
9160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9162 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9163 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9167 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9168 Check __x86_64__ instead of __WORDSIZE.
9170 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9172 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9174 2012-03-19 David S. Miller <davem@davemloft.net>
9176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9178 * sysdeps/sparc/fpu/fenv_private.h: New file.
9179 * sysdeps/sparc/fpu/math_private.h: Use it.
9180 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9182 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9183 (libc_feholdexcept_setroundl): Remove.
9184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9186 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9187 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9189 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9191 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9192 int64_t instead of long int.
9193 (INSERT_WORDS64): Likwise.
9195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9197 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9198 _Unwind_GetCFA return to _Unwind_Ptr first.
9200 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9203 * math/s_clog.c: Include <float.h>.
9204 (__clog): Scale large or subnormal inputs.
9205 * math/s_clogf.c: Likewise.
9206 * math/s_clogl.c: Likewise.
9207 * math/s_clog10.c: Include <float.h>.
9208 (M_LOG10_2): Define.
9209 (__clog10): Scale large or subnormal inputs.
9210 * math/s_clog10f.c: Likewise.
9211 * math/s_clog10l.c: Likewise.
9212 * math/libm-test.inc (clog_test): Add more tests.
9213 (clog10_test): Likewise.
9214 * sysdeps/i386/fpu/libm-test-ulps: Update.
9215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9218 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9220 * math/libm-test.inc (atan2_test): Add another test.
9222 * Makerules (common-objdir-compile): Remove.
9223 * sysdeps/unix/Makefile (config-generated): Do not add
9224 $(unix-generated) to variable.
9225 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9226 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9228 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9230 [generic bits/local_lim.h] (before-compile): Do not append to
9232 [generic bits/local_lim.h] (common-generated): Likewise.
9233 [generic sys/param.h] (before-compile): Do not append to variable.
9234 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9235 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9239 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9240 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9241 [generic sys/param.h] ($(addprefix
9242 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9243 [generic sys/param.h] (common-generated): Do not append to
9245 [generic sys/param.h] (sysdep_headers): Likewise.
9246 [generic bits/errno.h] (before-compile): Do not append to
9248 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9250 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9251 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9252 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9253 [generic bits/errno.h] (common-generated): Do not append to
9255 [generic bits/ioctls.h] (before-compile): Do not append to
9257 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9259 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9260 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9261 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9263 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9264 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9265 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9266 [generic bits/ioctls.h] (common-generated): Do not append to
9268 [generic sys/syscall.h] (syscall.h): Remove variable.
9269 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9271 [generic sys/syscall.h] (before-compile): Do not append to
9273 [generic sys/syscall.h] (common-generated): Likewise.
9274 * sysdeps/unix/errnos-tmpl.c: Remove file.
9275 * sysdeps/unix/errnos.awk: Likewise.
9276 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9277 * sysdeps/unix/ioctls.awk: Likewise.
9278 * sysdeps/unix/mk-local_lim.c: Likewise.
9279 * sysdeps/unix/snarf-ioctls: Likewise.
9281 2012-03-19 Richard Henderson <rth@twiddle.net>
9283 * sysdeps/i386/fpu/fenv_private.h: New file.
9284 * sysdeps/i386/fpu/math_private.h: Use it.
9285 (math_opt_barrier, math_force_eval): Remove.
9286 (libc_feholdexcept_setround_53bit): Remove.
9287 (libc_feupdateenv_53bit): Remove.
9288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9289 (math_opt_barrier, math_force_eval): Remove.
9290 (libc_feholdexcept): Remove.
9291 (libc_feholdexcept_setround): Remove.
9292 (libc_fetestexcept, libc_fesetenv): Remove.
9293 (libc_feupdateenv_test): Remove.
9294 (libc_feupdateenv, libc_feholdsetround): Remove.
9295 (libc_feresetround): Remove.
9297 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9298 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9300 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9301 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9302 (libc_feupdateenv_testl): New.
9303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9304 (libc_feupdateenv_testf): New.
9305 (libc_feupdateenv): Use libc_feupdateenv_test.
9306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9309 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9310 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9311 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9312 (libc_feresetround_noex): New.
9313 (libc_feresetround_noexf): New.
9314 (libc_feresetround_noexl): New.
9315 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9316 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9317 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9323 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9325 SET_RESTORE_ROUND_NOEX.
9326 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9327 SET_RESTORE_ROUND_NOEXF.
9328 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9329 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9330 (libc_feholdsetroundf): New.
9331 (libc_feresetround, libc_feresetroundf): New.
9333 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9334 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9335 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9337 * sysdeps/generic/math_private.h: Include <fenv.h>.
9338 (default_libc_feholdexcept): New.
9339 (default_libc_feholdexcept_setround): New.
9340 (default_libc_fesetenv, default_libc_feupdateenv): New.
9341 (libc_feholdexcept): Only define if undefined.
9342 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9343 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9344 (libc_feholdexcept_setroundl): Likewise.
9345 (libc_feholdexcept_setround_53bit): Likewise.
9346 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9347 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9348 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9349 (libc_feupdateenv_53bit): Likewise.
9350 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9351 (libc_feholdexcept): Convert from macro to inline function.
9352 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9353 (libc_fesetenv, libc_feupdateenv): Likewise.
9355 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9356 not previously defined.
9357 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9358 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9359 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9360 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9361 * sysdeps/ieee754/flt-32/math_private.h: New file.
9362 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9363 math_private.h below SET_FLOAT_WORD.
9364 (__isnan, __isinf_ns, __finite): Remove.
9365 (__isnanf, __isinf_nsf, __finitef): Remove.
9367 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9371 2012-03-17 David S. Miller <davem@davemloft.net>
9374 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9377 2012-03-16 David S. Miller <davem@davemloft.net>
9379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9385 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9386 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9387 sysdep_routines when subdir is sysvipc.
9388 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9391 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9395 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9402 (__lround): Renamed to ...
9403 (__llround): This. Replace long int with long long int.
9404 Define lround functions as aliases of llround functions.
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9409 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9410 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9411 adresses to uintptr_t. Replace "long int" and "unsigned long
9412 int" with "greg_t" on va_arg.
9414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9416 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9417 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9419 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9420 Move e_machine check before EI_CLASS check. Handle x32
9421 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9422 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9423 SKIP_EM_IA_64 and include
9424 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9426 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9427 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9428 (add_system_dir): New macro.
9430 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9431 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9433 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9444 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9446 * math/w_j0f.c (j0f): Likewise.
9448 * math/w_j0l.c (__j0l): Likewise.
9450 * math/w_j1.c (j1): Likewise.
9452 * math/w_j1f.c (j1f): Likewise.
9454 * math/w_j1l.c (__j1l): Likewise.
9456 * math/w_jn.c (jn): Likewise.
9458 * math/w_jnf.c (jnf): Likewise.
9460 * math/w_jnl.c (__jnl): Likewise.
9462 * math/libm-test.inc (j0_test): Add more tests.
9463 (j1_test): Likewise.
9464 (jn_test): Likewise. Add trailing semicolon to existing test.
9465 (y0_test): Likewise.
9466 (y1_test): Likewise.
9467 * sysdeps/i386/fpu/libm-test-ulps: Update.
9468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9473 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9474 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9475 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9476 (__tanl): Set errno for infinite argument.
9477 * sysdeps/i386/fpu/mptan.c: Remove.
9478 * sysdeps/i386/fpu/s_tan.S: Likewise.
9479 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9480 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9481 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9482 * math/libm-test.inc (tan_test): Add more tests and enable more
9483 tests for double and long double.
9484 * sysdeps/i386/fpu/libm-test-ulps: Update.
9485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9487 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9489 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9490 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9492 2012-03-16 Roland McGrath <roland@hack.frob.com>
9494 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9495 * configure.in: Use it for both main tree and add-ons.
9496 * configure: Regenerated.
9498 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9500 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9502 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9508 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9509 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9514 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9517 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9518 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9519 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9520 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9521 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9522 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9523 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9524 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9525 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9526 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9527 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9528 * math/libm-test.inc (cos_test): Add more tests and enable more
9529 tests for long double.
9530 (sin_test): Likewise.
9531 (sincos_test): Likewise.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9535 2012-03-16 David S. Miller <davem@davemloft.net>
9537 * sysdeps/sparc/fpu/math_private.h: New file.
9539 2012-03-15 David S. Miller <davem@davemloft.net>
9541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9555 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9556 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9558 * sysdeps/sparc/sparc-ifunc.h: New file.
9559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9604 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9606 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9610 2012-03-15 Andreas Jaeger <aj@suse.de>
9613 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9614 ieee754/flt-32 implementation for sin, cos and sincos.
9615 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9616 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9617 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9618 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9619 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9620 ieee754/flt-32 implementation for tan.
9622 * math/libm-test.inc (cos_test): Enable some large input tests for
9624 (sin_test): Likewise.
9625 (sincos_test): Likewise.
9626 (tan_test): Add tests for large input.
9628 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 2012-03-15 Andreas Jaeger <aj@suse.de>
9633 * math/libm-test.inc (cos_test): Add more test cases.
9634 (sin_test): Likewise.
9635 (sincos_test): Likewise.
9637 2012-03-15 Andreas Jaeger <aj@suse.de>
9640 * math/libm-test.inc (cos_test): Add a test case for large input
9642 (sin_test): Likewise.
9643 (sincos_test): Likewise.
9645 2012-03-15 Andreas Jaeger <aj@suse.de>,
9646 Joseph Myers <joseph@codesourcery.com>
9649 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9650 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9651 * sysdeps/i386/fpu/branred.c: Likewise.
9652 * sysdeps/i386/fpu/dosincos.c: Likewise.
9653 * sysdeps/i386/fpu/mpa.c: Likewise.
9654 * sysdeps/i386/fpu/s_cos.S: Likewise.
9655 * sysdeps/i386/fpu/s_sin.S: Likewise.
9656 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9657 * sysdeps/i386/fpu/sincos32.c: Likewise.
9659 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9661 (libc_feupdateenv_53bit): Define.
9662 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9664 (libc_feupdateenv_53bit): Define.
9666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9667 53 bit (without extend i386 double precision).
9669 * math/libm-test.inc (sincos_test): Add tests for large input.
9673 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9675 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9679 2012-03-15 David S. Miller <davem@davemloft.net>
9681 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9682 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9683 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9684 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9709 fmin/fmax sysdep routines.
9710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9712 2012-03-14 David S. Miller <davem@davemloft.net>
9714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9786 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9791 * sysdeps/sparc/configure.in: New file.
9792 * sysdeps/sparc/configure: Generate.
9793 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9794 * configure: Regenerate.
9795 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9796 * config.make.in (have-as-vis3): New.
9797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9798 available use -Av9d instead of -Av9a.
9799 * sysdeps/sparc/sparc64/Makefile: Likewise.
9800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9816 fzeros/fnegs to load 0x80000000 into a float register instead of
9818 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9820 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9824 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9825 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9826 ($(inst_includedir)/bits/syscall.h): Remove rule.
9827 ($(objpfx)bits/syscall.d): Include instead of
9828 $(objpfx)syscall-list.d.
9829 (generated): Change syscall-list.h and syscall-list.d to
9830 bits/syscall.h and bits/syscall.d.
9832 2012-03-14 Roland McGrath <roland@hack.frob.com>
9835 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9837 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9840 * math/s_csqrt.c: Include <float.h>.
9841 (__csqrt): Scale large or subnormal inputs.
9842 * math/s_csqrtf.c: Likewise.
9843 * math/s_csqrtl.c: Likewise.
9844 * math/libm-test.inc (csqrt_test): Add more tests.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9849 * math/libm-test.inc (hypot_test): Add more tests.
9851 2012-03-13 David S. Miller <davem@davemloft.net>
9854 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9855 double-precision for the calculation instead of scaling.
9857 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9860 manipulate bits before adding and subtracting TWO52[sx].
9861 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9864 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9866 2012-03-13 David S. Miller <davem@davemloft.net>
9868 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9869 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9871 rtld-global-offsets.h
9872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9874 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9877 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9880 'err' in the ifdef scope in which it is actually used.
9882 * nss/nss_db/db-init.c: Include string.h
9884 2012-03-12 David S. Miller <davem@davemloft.net>
9886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9887 masking out of the most significant byte of random value used.
9888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9889 Fix coding style in previous change.
9891 * sysdeps/unix/sysv/linux/kernel-features.h
9892 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9893 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9895 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9898 2012-03-11 David S. Miller <davem@davemloft.net>
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9901 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9903 for 'resultvar' otherwise things get truncated on 64-bit.
9905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9906 Fix masking out of the most significant byte of random value used.
9908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9910 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9914 2012-03-09 David S. Miller <davem@davemloft.net>
9916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9917 variables with appropriate CPP guards.
9918 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9919 frame pointer, not the stack pointer. Correct layout comments. Fix test
9920 on resulting framesize and the management of the outregs buffer for pltexit.
9921 Preserve floating point return values across _dl_call_pltexit call.
9922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9923 framesize and the management of the outregs buffer for pltexit.
9924 Preserve floating point return values across _dl_call_pltexit
9926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9927 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9928 (print_exit): Fix format string for return register value.
9930 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9932 * sunrpc/Makefile (others): Add rpcgen.
9933 ($(objpfx)rpcgen): Remove special build rule and dependency on
9935 * sunrpc/rpcgen.c: New file.
9937 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9940 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9941 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9942 * sysdeps/i386/crti.S: Likewise.
9943 * sysdeps/i386/crtn.S: Likewise.
9944 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9945 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9946 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9947 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9948 * sysdeps/sh/crti.S: Likewise.
9949 * sysdeps/sh/crtn.S: Likewise.
9950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9953 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9955 * locale/programs/locfile-kw.gperf: Likewise.
9956 * locale/programs/charmap-kw.h: Regenerated.
9957 * locale/programs/locfile-kw.h: Likewise.
9960 * intl/plural.y: Replace FSF snail mail address with URL.
9961 * intl/plural.c: Regenerated.
9963 2012-03-09 Richard Henderson <rth@twiddle.net>
9965 * include/math_private.h: Remove file.
9966 * math/math_private.h: Move file ...
9967 * sysdeps/generic/math_private.h: ... here.
9969 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9970 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9973 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9974 and <math_private.h>.
9975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9980 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10072 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10075 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10076 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10077 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10078 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10083 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10094 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10102 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10113 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10116 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10118 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10119 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10124 * sysdeps/ieee754/k_standard.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10142 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10144 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10146 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10285 * sysdeps/ieee754/s_lib_version.c: Likewise.
10286 * sysdeps/ieee754/s_matherr.c: Likewise.
10287 * sysdeps/ieee754/s_signgam.c: Likewise.
10288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10291 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10294 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10295 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10296 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10297 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10298 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10299 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10300 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10305 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10306 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10310 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10312 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10313 * sunrpc/rpc_main.c: Likewise.
10314 * sunrpc/rpc_svcout.c: Likewise.
10316 2012-03-09 David S. Miller <davem@davemloft.net>
10318 * include/math_private.h: New file.
10320 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10322 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10323 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10324 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10325 from <bits/socket_type.h>.
10326 (enum __socket_type): Don't define here.
10327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10329 bits/socket_type.h.
10332 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10333 checking __USE_GNU.
10335 * Makerules ($(inst_includedir)/%.h): New rule.
10336 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10337 (install-others): Remove variable setting.
10338 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10340 2012-03-08 Richard Henderson <rth@twiddle.net>
10342 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10343 from macro to inline function; merge with the
10344 !__LIBC_INTERNAL_MATH_INLINES version.
10345 (__ieee754_sqrtf): Likewise.
10347 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10348 to inline function.
10349 (__rintf, __floor, __floorf): Likewise.
10351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10352 macro to inline function.
10353 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10356 not <math/math_private.h>.
10358 2012-03-08 David S. Miller <davem@davemloft.net>
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10362 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10364 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10366 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10368 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10369 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10371 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10373 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10374 be defined individually, they must be defined as a block. Define
10375 S for printing a string instead of hidint the different by using a
10376 macro for adding the 'l'.
10377 * stdio-common/tst-fphex-wide.c: Adjust.
10379 2012-03-07 Marek Polacek <polacek@redhat.com>
10381 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10383 2012-03-08 Marek Polacek <polacek@redhat.com>
10386 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10387 * stdio-common/tst-fphex.c: Define a few macros to make the
10388 test reusable. Use them.
10389 * stdio-common/tst-fphex-wide.c: New file.
10391 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10394 * manual/macros.texi (gnusystems): New macro.
10395 (nongnusystems): Likewise.
10396 (gnulinuxhurdsystems): Likewise.
10397 (gnuhurdsystems): Likewise..
10398 (gnulinuxsystems): Likewise.
10399 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10400 variants of the GNU system, not "GNU system".
10401 * manual/conf.texi: Likewise.
10402 * manual/errno.texi: Likewise. Update example of errno macro
10404 * manual/filesys.texi: Likewise.
10405 (getumask): Document as specific to GNU/Hurd.
10406 * manual/install.texi: Likewise. Reword some references to
10408 * manual/intro.texi: Likewise.
10409 * manual/io.texi: Likewise.
10410 (File Name Portability): Detail which constraints are inapplicable
10411 to all GNU systems and which are only inapplicable to GNU/Hurd.
10412 * manual/job.texi: Likewise.
10413 * manual/llio.texi: Likewise.
10414 (O_NOCTTY): Document as present on GNU/Linux.
10415 * manual/maint.texi: Likewise.
10416 * manual/memory.texi: Likewise.
10417 * manual/pattern.texi: Likewise.
10418 * manual/pipe.texi: Likewise.
10419 * manual/process.texi: Likewise.
10420 * manual/resource.texi: Likewise.
10421 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10423 * manual/setjmp.texi: Likewise.
10424 * manual/signal.texi: Likewise.
10425 * manual/startup.texi: Likewise.
10426 * manual/stdio.texi: Likewise.
10427 * manual/terminal.texi: Likewise.
10428 (ONLCR): Document as POSIX.
10429 (OXTABS): Document availability on GNU/Linux as XTABS.
10430 (ONOEOT): Document availability separately from other bits.
10431 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10432 * manual/time.texi: Likewise.
10433 * manual/users.texi: Likewise.
10434 * INSTALL: Regenerated.
10435 * sysdeps/gnu/errlist.c: Regenerated.
10437 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10438 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10439 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10441 * configure: Regenerated.
10443 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10445 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10446 default includes instead of AC_HEADER_CHECK.
10447 * sysdeps/i386/configure: Regenerated.
10450 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10451 * math/s_cacoshf.c (__cacoshf): Likewise.
10452 * math/s_cacoshl.c (__cacoshl): Likewise.
10453 * math/s_casinh.c (__casinh): Set signs of result from argument.
10454 * math/s_casinhf.c (__casinhf): Likewise.
10455 * math/s_casinhl.c (__casinhl): Likewise.
10456 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10457 (casinh_test): Add more tests.
10458 * sysdeps/i386/fpu/libm-test-ulps: Update.
10459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10461 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10463 * po/zh_TW.po: Update from translation team.
10465 * login/Makefile (distribute): Remove variable.
10466 * catgets/Makefile: Likewise.
10467 * mach/Makefile: Likewise.
10468 * malloc/Makefile: Likewise.
10469 * misc/Makefile: Likewise.
10470 * iconv/Makefile: Likewise.
10471 * nscd/Makefile: Likewise.
10472 * hurd/Makefile: Likewise.
10473 * manual/Makefile: Likewise.
10474 * locale/Makefile: Likewise.
10475 * intl/Makefile: Likewise.
10476 * conform/Makefile: Likewise.
10477 * nss/Makefile: Likewise.
10478 * time/Makefile: Likewise.
10479 * soft-fp/Makefile: Likewise.
10480 * dirent/Makefile: Likewise.
10481 * gmon/Makefile: Likewise.
10482 * po/Makefile: Likewise.
10483 * rt/Makefile: Likewise.
10484 * socket/Makefile: Likewise.
10485 * math/Makefile: Likewise.
10486 * signal/Makefile: Likewise.
10487 * debug/Makefile: Likewise.
10488 * elf/Makefile: Likewise.
10489 * timezone/Makefile: Likewise.
10490 * stdlib/Makefile: Likewise.
10491 * iconvdata/Makefile: Likewise.
10492 * sunrpc/Makefile: Likewise.
10493 * io/Makefile: Likewise.
10494 * argp/Makefile: Likewise.
10495 * inet/Makefile: Likewise.
10496 * hesiod/Makefile: Likewise.
10497 * grp/Makefile: Likewise.
10498 * csu/Makefile: Likewise.
10499 * wctype/Makefile: Likewise.
10500 * crypt/Makefile: Likewise.
10501 * libio/Makefile: Likewise.
10502 * string/Makefile: Likewise.
10503 * nis/Makefile: Likewise.
10504 * resolv/Makefile: Likewise.
10505 * stdio-common/Makefile: Likewise.
10506 * wcsmbs/Makefile: Likewise.
10507 * dlfcn/Makefile: Likewise.
10508 * posix/Makefile: Likewise.
10511 * timezone/Makefile: Don't install timezone files, just the programs
10514 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10516 * nss/databases.def: Add missing gshadow entry.
10518 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10520 2012-03-06 Marek Polacek <polacek@redhat.com>
10523 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10524 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10525 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10526 * stdio-common/tst-long-dbl-fphex.c: New file.
10528 2012-03-06 David S. Miller <davem@davemloft.net>
10530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10531 (set_obp_int): New function.
10532 (get_obp_int): New function.
10533 (__get_clockfreq_via_dev_openprom): Likewise.
10534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10535 Avoid unused variable warnings on 'val' and use builtin_expect.
10536 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10538 (INLINE_CLONE_SYSCALL): Likewise.
10540 2012-03-05 David S. Miller <davem@davemloft.net>
10542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10544 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10549 only for |x| >= 40.
10550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10552 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10555 Replace gettimeofday with __vdso_gettimeofday.
10557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10558 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10559 __vdso_clock_gettime and __vdso_getcpu.
10561 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10562 time with __vdso_time.
10564 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10566 * manual/lang.texi (size_t): Note types to which size_t may be
10567 equivalent with the GNU C Library, but do not describe when
10568 differences between them are significant.
10570 2012-03-05 Andreas Jaeger <aj@suse.de>
10572 * sysdeps/i386/fpu/libm-test-ulps: Update.
10574 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10577 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10578 (__ieee754_pow): Save and restore rounding mode and use
10579 round-to-nearest for main computations.
10580 * math/libm-test.inc (pow_test_tonearest): New function.
10581 (pow_test_towardzero): Likewise.
10582 (pow_test_downward): Likewise.
10583 (pow_test_upward): Likewise.
10584 (main): Call the new functions.
10585 * sysdeps/i386/fpu/libm-test-ulps: Update.
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10589 * math/libm-test.inc (cosh_test_tonearest): New function.
10590 (cosh_test_towardzero): Likewise.
10591 (cosh_test_downward): Likewise.
10592 (cosh_test_upward): Likewise.
10593 (sinh_test_tonearest): Likewise.
10594 (sinh_test_towardzero): Likewise.
10595 (sinh_test_downward): Likewise.
10596 (sinh_test_upward): Likewise.
10597 (main): Call the new functions.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10601 2012-03-05 Tom de Vries <tom@codesourcery.com>
10603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10604 default stack guard is set in last bytes.
10605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10607 2012-03-05 Kees Cook <keescook@chromium.org>
10609 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10612 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10613 possibly allocate from heap instead of stack.
10614 * stdio-common/bug-vfprintf-nargs.c: New file.
10615 * stdio-common/Makefile (tests): Add nargs overflow test.
10617 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10621 2012-03-03 Marek Polacek <polacek@redhat.com>
10623 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10624 * math/math_private.h: Likewise.
10625 * stdlib/tst-strtod.c: Likewise.
10626 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10627 * sysdeps/x86_64/bits/atomic.h: Likewise.
10629 2012-03-02 David S. Miller <davem@davemloft.net>
10631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10638 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10640 2012-03-02 Roland McGrath <roland@hack.frob.com>
10643 * manual/examples/README: New file, says the example source files
10644 can be used under GPL>=2.
10645 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10646 line containing just "*/".
10647 * manual/examples/add.c: Add copyright header (GPL>=2).
10648 * manual/examples/argp-ex1.c: Likewise.
10649 * manual/examples/argp-ex2.c: Likewise.
10650 * manual/examples/argp-ex3.c: Likewise.
10651 * manual/examples/argp-ex4.c: Likewise.
10652 * manual/examples/atexit.c: Likewise.
10653 * manual/examples/db.c: Likewise.
10654 * manual/examples/dir.c: Likewise.
10655 * manual/examples/dir2.c: Likewise.
10656 * manual/examples/execinfo.c: Likewise.
10657 * manual/examples/filecli.c: Likewise.
10658 * manual/examples/filesrv.c: Likewise.
10659 * manual/examples/fmtmsgexpl.c: Likewise.
10660 * manual/examples/genpass.c: Likewise.
10661 * manual/examples/inetcli.c: Likewise.
10662 * manual/examples/inetsrv.c: Likewise.
10663 * manual/examples/isockad.c: Likewise.
10664 * manual/examples/longopt.c: Likewise.
10665 * manual/examples/memopen.c: Likewise.
10666 * manual/examples/memstrm.c: Likewise.
10667 * manual/examples/mkfsock.c: Likewise.
10668 * manual/examples/mkisock.c: Likewise.
10669 * manual/examples/mygetpass.c: Likewise.
10670 * manual/examples/pipe.c: Likewise.
10671 * manual/examples/popen.c: Likewise.
10672 * manual/examples/rprintf.c: Likewise.
10673 * manual/examples/search.c: Likewise.
10674 * manual/examples/select.c: Likewise.
10675 * manual/examples/setjmp.c: Likewise.
10676 * manual/examples/sigh1.c: Likewise.
10677 * manual/examples/sigusr.c: Likewise.
10678 * manual/examples/stpcpy.c: Likewise.
10679 * manual/examples/strdupa.c: Likewise.
10680 * manual/examples/strftim.c: Likewise.
10681 * manual/examples/strncat.c: Likewise.
10682 * manual/examples/subopt.c: Likewise.
10683 * manual/examples/swapcontext.c: Likewise.
10684 * manual/examples/termios.c: Likewise.
10685 * manual/examples/testopt.c: Likewise.
10686 * manual/examples/testpass.c: Likewise.
10687 * manual/examples/timeval_subtract.c: Likewise.
10690 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10692 * manual/timeval_subtract.c.texi: ... here, new file.
10694 2012-03-02 David S. Miller <davem@davemloft.net>
10696 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10698 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10701 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10702 (__sin): Save and restore rounding mode and use round-to-nearest
10703 for all computations.
10704 (__cos): Save and restore rounding mode and use round-to-nearest
10705 for all computations.
10706 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10708 (tan): Save and restore rounding mode and use round-to-nearest for
10710 * math/libm-test.inc (cos_test_tonearest): New function.
10711 (cos_test_towardzero): Likewise.
10712 (cos_test_downward): Likewise.
10713 (cos_test_upward): Likewise.
10714 (sin_test_tonearest): Likewise.
10715 (sin_test_towardzero): Likewise.
10716 (sin_test_downward): Likewise.
10717 (sin_test_upward): Likewise.
10718 (tan_test_tonearest): Likewise.
10719 (tan_test_towardzero): Likewise.
10720 (tan_test_downward): Likewise.
10721 (tan_test_upward): Likewise.
10722 (main): Call the new functions.
10723 * sysdeps/i386/fpu/libm-test-ulps: Update.
10724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10728 small n, then large n, before computing and testing k+n.
10729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10734 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10735 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10742 * math/libm-test.inc (scalbn_test): Add more tests.
10743 (scalbln_test): Likewise.
10745 * manual/filesys.texi (mode_t): Describe constraints on size and
10746 signedness, not exact equivalence to a particular type.
10748 (ino64_t): Likewise.
10750 (nlink_t): Likewise.
10751 (blkcnt_t): Likewise.
10752 (blkcnt64_t): Likewise.
10753 * manual/llio.texi (off_t): Likewise.
10756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10757 (__ieee754_exp): Save and restore rounding mode and use
10758 round-to-nearest for all computations.
10759 * math/libm-test.inc (exp_test_tonearest): New function.
10760 (exp_test_towardzero): Likewise.
10761 (exp_test_downward): Likewise.
10762 (exp_test_upward): Likewise.
10763 (main): Call the new functions.
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10767 2012-03-01 Chris Demetriou <cgd@google.com>
10769 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10770 have predictable order.
10772 2012-03-01 David S. Miller <davem@davemloft.net>
10774 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10776 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10777 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10778 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10779 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10781 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10782 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10783 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10785 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10786 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10787 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10788 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10789 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10794 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10797 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10813 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10814 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10815 * sysdeps/sparc/elf/configure: Regenerated.
10817 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10819 * configure.in (AS, LD): Require binutils 2.20 or later.
10820 * configure: Regenerated.
10821 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10822 as required minimum version.
10823 * INSTALL: Regenerated.
10827 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10828 before squaring exponent.
10829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10830 bottom long double and 27 bits of top long double before squaring
10832 * math/libm-test.inc (erfc_test): Add more tests.
10833 * sysdeps/i386/fpu/libm-test-ulps: Update.
10834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10837 2012-03-01 Kai Tietz <ktietz@redhat.com>
10839 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10840 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10841 containing bit-fields.
10842 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10843 * soft-fp/single.h (_FP_UNION_S): Likewise.
10844 * soft-fp/double.h (_FP_UNION_D): Likewise.
10846 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10849 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10850 not include ../strcmp.S.
10851 [USE_AS_STRNCASECMP_L]: Likewise.
10852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10853 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10854 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10855 (__strncasecmp_l_ia32): Define as alias to
10856 __strncasecmp_l_nonascii.
10859 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10860 * sysdeps/i386/fpu/libm-test-ulps: Update.
10861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10863 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10866 2012-02-29 Jeff Law <law@redhat.com>
10868 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10869 out of bounds read.
10871 2012-02-29 Marek Polacek <polacek@redhat.com>
10874 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10875 * elf/Makefile: Add rules to run tst-unused-dep.out.
10877 2012-02-28 David S. Miller <davem@davemloft.net>
10879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10886 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10888 * math/libm-test.inc (llround_test): Move one test from
10889 lround_test. Use TEST_f_L in moved test.
10890 (lround_test): Move misplaced test to llround_test. Add testcase
10893 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10895 * sysdeps/x86_64/fpu/e_expf.S: New file.
10896 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10898 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10901 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10902 of remain_len that may cause incomplete multi-byte character and
10904 * posix/bug-regex33.c: New file.
10905 * posix/Makefile (tests): Add bug-regex33.
10907 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10909 * manual/macros.texi: New file.
10910 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10911 * manual/libc.texinfo: Include macros.texi.
10912 * manual/creatute.texi: Likewise.
10913 * manual/install.texi: Likewise.
10914 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10915 @glibcadj{} in references to the GNU C Library.
10916 * manual/charset.texi: Likewise.
10917 * manual/conf.texi: Likewise.
10918 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10919 when not using those macros.
10920 * manual/creature.texi: Likewise.
10921 * manual/crypt.texi: Likewise.
10922 * manual/errno.texi: Likewise.
10923 * manual/filesys.texi: Likewise.
10924 * manual/header.texi: Likewise.
10925 * manual/install.texi: Likewise.
10926 * manual/intro.texi: Likewise.
10927 * manual/io.texi: Likewise.
10928 * manual/job.texi: Likewise.
10929 * manual/lang.texi: Likewise.
10930 * manual/libc.texiinfo: Likewise.
10931 * manual/llio.texi: Likewise.
10932 * manual/locale.texi: Likewise.
10933 * manual/maint.texi: Likewise.
10934 * manual/math.texi: Likewise.
10935 * manual/memory.texi: Likewise.
10936 * manual/message.texi: Likewise.
10937 * manual/nss.texi: Likewise.
10938 * manual/pattern.texi: Likewise.
10939 * manual/process.texi: Likewise.
10940 * manual/resource.texi: Likewise.
10941 * manual/search.texi: Likewise.
10942 * manual/setjmp.texi: Likewise.
10943 * manual/signal.texi: Likewise.
10944 * manual/socket.texi: Likewise.
10945 * manual/startup.texi: Likewise.
10946 * manual/stdio.texi: Likewise.
10947 * manual/string.texi: Likewise.
10948 * manual/sysinfo.texi: Likewise.
10949 * manual/syslog.texi: Likewise.
10950 * manual/terminal.texi: Likewise.
10951 * manual/time.texi: Likewise.
10952 * manual/users.texi: Likewise.
10953 * INSTALL: Regenerated.
10954 * NOTES: Regenerated.
10955 * sysdeps/gnu/errlist.c: Regenerated.
10957 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10959 * include/dirent.h: Include <dirstream.h> before
10962 2012-02-28 David S. Miller <davem@davemloft.net>
10964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10965 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10966 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10969 2012-02-27 David S. Miller <davem@davemloft.net>
10971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10973 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10974 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10977 frame pointer instead of stack pointer relative arg slot.
10978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10982 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10985 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10987 2012-02-27 David S. Miller <davem@davemloft.net>
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10995 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10998 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11000 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11001 later. Allow versions 5-9.
11002 * configure: Regenerated.
11003 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11004 required minimum version and 4.6 as recommended version. Do not
11005 mention bugs in GCC 2.7 and 2.8.
11006 * INSTALL: Regenerated.
11008 2012-02-27 David S. Miller <davem@davemloft.net>
11010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11016 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11020 manipulate bits before adding and subtracting TWO112[sx].
11021 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11023 2012-02-27 Roland McGrath <roland@hack.frob.com>
11026 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11027 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11028 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11029 being in POSIX, because they are in 1003.1-2008.
11031 * rt/tst-aio.c: Include <fcntl.h>.
11032 * rt/tst-aio7.c: Likewise.
11033 * rt/tst-aio64.c: Likewise.
11035 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11037 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11039 * manual/install.texi (--with-headers): Describe headers as
11040 interface headers, not private headers.
11041 (Specific advice for GNU/Linux systems): Describe use of headers
11042 from "make headers_install", not private headers from older
11044 * INSTALL: Regenerated.
11045 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11047 * sysdeps/unix/sysv/linux/configure: Regenerated.
11049 * manual/llio.texi (fclean): Remove documentation.
11051 * manual/Makefile (libc-texi-generated): New variable. Include
11053 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11054 $(libc-texi-generated), not duplicated list of files.
11055 (version.texi, stamp-version): New rules.
11056 (realclean): Remove $(libc-texi-generated), not individual files
11057 from that list. Do not remove dir-add.texinfo.
11058 * manual/libc.texinfo: Comment out uses of edition numbers and
11059 references to printed manual. Remove last-updated dates.
11060 (EDITION): Comment out.
11062 (VERSION, UPDATED): Remove.
11063 (version.texi): Include.
11065 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11067 * sysdeps/posix/spawni.c: Include <signal.h>.
11068 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11069 * sysdeps/pthread/aio_fsync.c: Likewise.
11071 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11073 * conform/Makefile (tests): Run only when not cross-compiling and
11074 when fast-check is not defined.
11076 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11077 * conform/data/limits.h-data: Fixes for POSIX2008.
11078 * conform/run-conformtest.sh: Run all tests.
11079 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11081 * include/bits/dlfcn.h: Likewise.
11082 * include/langinfo.h: Likewise.
11083 * include/monetary.h: Likewise.
11084 * include/sys/poll.h: Likewise.
11086 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11088 * posix/spawn.h: Define __need_sigset_t.
11089 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11090 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11091 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11092 to get sigevent_t only.
11093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11094 only for __USE_GNU.
11095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11097 process_vm_writev only for __USE_GNU.
11098 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11100 * conform/Makefile: For now ignore errors from run-conformtest.
11101 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11102 POSIX to avoid namespace pollution. Don't prepend headers.
11103 * conform/data/aio.h-data: Fixes for POSIX testing.
11104 * conform/data/fcntl.h-data: Likewise.
11105 * conform/data/glob.h-data: Likewise.
11106 * conform/data/grp.h-data: Likewise.
11107 * conform/data/pthread.h-data: Likewise.
11108 * conform/data/pwd.h-data: Likewise.
11109 * conform/data/signal.h-data: Likewise.
11110 * conform/data/spawn.h-data: Likewise.
11111 * conform/data/stdio.h-data: Likewise.
11112 * conform/data/stdlib.h-data: Likewise.
11113 * conform/data/stropts.h-data: Likewise.
11114 * conform/data/sys/mman.h-data: Likewise.
11115 * conform/data/sys/stat.h-data: Likewise.
11116 * conform/data/sys/types.h-data: Likewise.
11117 * conform/data/sys/wait.h-data: Likewise.
11118 * conform/data/time.h-data: Likewise.
11119 * conform/data/unistd.h-data: Likewise.
11120 * conform/data/utime.h-data: Likewise.
11122 * io/sys/stat.h: fchmod was always in POSIX.
11123 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11124 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11125 * rt/aio.h: Define __need_timespec before including <time.h>.
11126 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11127 struct. Add forward declaration of pthread_attr_t and use it in
11129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11131 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11132 always remove CLK_TCK definition.
11134 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11136 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11138 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11140 * conform/run-conformtest.sh: New file.
11141 * conform/Makefile: Run run-conformtest for tests.
11142 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11145 * conform/data/uchar.h-data: New file.
11146 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11147 * conform/data/arpa/inet.h-data: Likewise.
11148 * conform/data/assert.h-data: Likewise.
11149 * conform/data/complex.h-data: Likewise.
11150 * conform/data/cpio.h-data: Likewise.
11151 * conform/data/ctype.h-data: Likewise.
11152 * conform/data/dirent.h-data: Likewise.
11153 * conform/data/dlfcn.h-data: Likewise.
11154 * conform/data/errno.h-data: Likewise.
11155 * conform/data/fcntl.h-data: Likewise.
11156 * conform/data/float.h-data: Likewise.
11157 * conform/data/fmtmsg.h-data: Likewise.
11158 * conform/data/fnmatch.h-data: Likewise.
11159 * conform/data/ftw.h-data: Likewise.
11160 * conform/data/glob.h-data: Likewise.
11161 * conform/data/grp.h-data: Likewise.
11162 * conform/data/iconv.h-data: Likewise.
11163 * conform/data/inttypes.h-data: Likewise.
11164 * conform/data/langinfo.h-data: Likewise.
11165 * conform/data/libgen.h-data: Likewise.
11166 * conform/data/limits.h-data: Likewise.
11167 * conform/data/locale.h-data: Likewise.
11168 * conform/data/math.h-data: Likewise.
11169 * conform/data/monetary.h-data: Likewise.
11170 * conform/data/mqueue.h-data: Likewise.
11171 * conform/data/ndbm.h-data: Likewise.
11172 * conform/data/net/if.h-data: Likewise.
11173 * conform/data/netdb.h-data: Likewise.
11174 * conform/data/netinet/in.h-data: Likewise.
11175 * conform/data/nl_types.h-data: Likewise.
11176 * conform/data/poll.h-data: Likewise.
11177 * conform/data/pthread.h-data: Likewise.
11178 * conform/data/pwd.h-data: Likewise.
11179 * conform/data/regex.h-data: Likewise.
11180 * conform/data/sched.h-data: Likewise.
11181 * conform/data/search.h-data: Likewise.
11182 * conform/data/semaphore.h-data: Likewise.
11183 * conform/data/setjmp.h-data: Likewise.
11184 * conform/data/signal.h-data: Likewise.
11185 * conform/data/spawn.h-data: Likewise.
11186 * conform/data/stdarg.h-data: Likewise.
11187 * conform/data/stdio.h-data: Likewise.
11188 * conform/data/stdlib.h-data: Likewise.
11189 * conform/data/string.h-data: Likewise.
11190 * conform/data/strings.h-data: Likewise.
11191 * conform/data/stropts.h-data: Likewise.
11192 * conform/data/sys/ipc.h-data: Likewise.
11193 * conform/data/sys/mman.h-data: Likewise.
11194 * conform/data/sys/msg.h-data: Likewise.
11195 * conform/data/sys/resource.h-data: Likewise.
11196 * conform/data/sys/select.h-data: Likewise.
11197 * conform/data/sys/sem.h-data: Likewise.
11198 * conform/data/sys/shm.h-data: Likewise.
11199 * conform/data/sys/socket.h-data: Likewise.
11200 * conform/data/sys/stat.h-data: Likewise.
11201 * conform/data/sys/statvfs.h-data: Likewise.
11202 * conform/data/sys/time.h-data: Likewise.
11203 * conform/data/sys/timeb.h-data: Likewise.
11204 * conform/data/sys/times.h-data: Likewise.
11205 * conform/data/sys/types.h-data: Likewise.
11206 * conform/data/sys/uio.h-data: Likewise.
11207 * conform/data/sys/un.h-data: Likewise.
11208 * conform/data/sys/utsname.h-data: Likewise.
11209 * conform/data/sys/wait.h-data: Likewise.
11210 * conform/data/syslog.h-data: Likewise.
11211 * conform/data/tar.h-data: Likewise.
11212 * conform/data/termios.h-data: Likewise.
11213 * conform/data/utime.h-data: Likewise.
11214 * conform/data/utmpx.h-data: Likewise.
11215 * conform/data/varargs.h-data: Likewise.
11216 * conform/data/wchar.h-data: Likewise.
11217 * conform/data/wctype.h-data: Likewise.
11218 * conform/data/wordexp.h-data: Likewise.
11220 * include/stropts.h: New file.
11221 * include/uchar.h: New file.
11222 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11223 * include/assert.h: Likewise.
11224 * include/ctype.h: Likewise.
11225 * include/dirent.h: Likewise.
11226 * include/dlfcn.h: Likewise.
11227 * include/fcntl.h: Likewise.
11228 * include/fnmatch.h: Likewise.
11229 * include/glob.h: Likewise.
11230 * include/grp.h: Likewise.
11231 * include/libio.h: Likewise.
11232 * include/locale.h: Likewise.
11233 * include/math.h: Likewise.
11234 * include/net/if.h: Likewise.
11235 * include/netdb.h: Likewise.
11236 * include/netinet/in.h: Likewise.
11237 * include/pthread.h: Likewise.
11238 * include/pwd.h: Likewise.
11239 * include/regex.h: Likewise.
11240 * include/sched.h: Likewise.
11241 * include/search.h: Likewise.
11242 * include/setjmp.h: Likewise.
11243 * include/signal.h: Likewise.
11244 * include/stdio.h: Likewise.
11245 * include/stdlib.h: Likewise.
11246 * include/string.h: Likewise.
11247 * include/sys/cdefs.h: Likewise.
11248 * include/sys/mman.h: Likewise.
11249 * include/sys/msg.h: Likewise.
11250 * include/sys/resource.h: Likewise.
11251 * include/sys/select.h: Likewise.
11252 * include/sys/socket.h: Likewise.
11253 * include/sys/stat.h: Likewise.
11254 * include/sys/statvfs.h: Likewise.
11255 * include/sys/time.h: Likewise.
11256 * include/sys/times.h: Likewise.
11257 * include/sys/uio.h: Likewise.
11258 * include/sys/utsname.h: Likewise.
11259 * include/sys/wait.h: Likewise.
11260 * include/termios.h: Likewise.
11261 * include/time.h: Likewise.
11262 * include/ulimit.h: Likewise.
11263 * include/unistd.h: Likewise.
11264 * include/utime.h: Likewise.
11265 * include/wchar.h: Likewise.
11266 * include/wctype.h: Likewise.
11267 * include/wordexp.h: Likewise.
11269 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11271 * time/time.h: TIME_UTC must be a macro.
11272 Make timespec_get available for ISO C11 only as well.
11274 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11276 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11277 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11279 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11281 * configure.in: Use -o not -a in test for unsupported multi-arch.
11283 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11285 * manual/texinfo.tex: Update to version 2012-01-19.16.
11287 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11289 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11291 2012-02-24 Roland McGrath <roland@hack.frob.com>
11294 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11295 * manual/fdl-1.3.texi: New file.
11296 * manual/fdl-1.1.texi: File removed.
11299 * manual/libc.texinfo (FDL_VERSION): New @set.
11300 Use it for mention of FDL in cover text.
11301 (Documentation License): Use it in @include file name.
11303 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11304 Roland McGrath <roland@hack.frob.com>
11307 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11308 not LONG_LONG_MAX and LONG_LONG_MIN.
11309 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11310 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11312 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11314 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11319 manipulate bits before adding and subtracting TWO23[sx].
11320 * math/libm-test.inc (nearbyint_test): Add more tests.
11322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11325 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11326 bits before adding and subtracting TWO23[sx].
11327 * math/libm-test.inc (rint_test): Add more tests.
11328 (rint_test_tonearest): Likewise.
11329 (rint_test_towardzero): Likewise.
11330 (rint_test_downward): Likewise.
11331 (rint_test_upward: Likewise.
11333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11336 * include/stdc-predef.h: New file. Extracted from features.h.
11337 * include/features.h: Include stdc-predef.h.
11338 * Makefile (headers): Add stdc-predef.h.
11339 * CONFORMANCE (Compiler limitations): Update.
11341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11343 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11345 2012-02-21 David S. Miller <davem@davemloft.net>
11347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11350 2012-02-20 David S. Miller <davem@davemloft.net>
11352 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11353 using a normal save/restore sequence, rather than allocating a
11354 dummy stack frame just to store a frame pointer and restore.
11355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11359 * manual/install.texi: Fix stray word in line-wrapped comment.
11361 2012-02-20 David S. Miller <davem@davemloft.net>
11363 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11364 both binutils and gcc support GOTDATA.
11366 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11367 "rd %pc" in the PIC register setup sequences.
11369 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11370 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11372 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11378 (SYSCALL_ERROR_HANDLER): Likewise.
11379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11382 (SYSCALL_ERROR_HANDLER): Likewise.
11384 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11385 (HAVE_GCC_GOTDATA): New.
11386 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11387 relocation support in both binutils and gcc.
11388 * sysdeps/sparc/elf/configure: Regenerate.
11390 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11391 * sysdeps/sparc/sparc32/elf/configure: Delete.
11392 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11393 * sysdeps/sparc/sparc64/elf/configure: Delete.
11394 * sysdeps/sparc/elf/configure.in: New file.
11395 * sysdeps/sparc/elf/configure: Generate.
11397 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11398 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11400 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11401 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11405 * manual/install.texi: Do not mention specific glibc version
11407 * manual/libc.texinfo (VERSION, UPDATED): Update.
11408 (@copying): Use @copyright{} and range of years.
11410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11413 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11414 [crti.S not in sysdirs] (generated): Do not append.
11415 [crti.S not in sysdirs] (omit-deps): Likewise.
11416 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11417 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11418 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11419 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11420 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11422 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11423 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11424 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11425 * csu/defs.awk: Remove file.
11426 * sysdeps/generic/initfini.c: Likewise.
11427 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11429 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11432 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11434 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11439 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11441 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11442 (__EPOLL_PACKED): Define to empty if not defined by
11444 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11448 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11450 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11451 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11453 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11455 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11459 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11461 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11468 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11473 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11475 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11476 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11478 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11480 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11483 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11485 * math/w_acos.c: Use non-signaling floating-point comparisons.
11486 * math/w_acosf.c: Likewise.
11487 * math/w_acosh.c: Likewise.
11488 * math/w_acoshf.c: Likewise.
11489 * math/w_acoshl.c: Likewise.
11490 * math/w_acosl.c: Likewise.
11491 * math/w_asin.c: Likewise.
11492 * math/w_asinf.c: Likewise.
11493 * math/w_asinl.c: Likewise.
11494 * math/w_atanh.c: Likewise.
11495 * math/w_atanhf.c: Likewise.
11496 * math/w_atanhl.c: Likewise.
11497 * math/w_exp2.c: Likewise.
11498 * math/w_exp2f.c: Likewise.
11499 * math/w_exp2l.c: Likewise.
11500 * math/w_j0.c: Likewise.
11501 * math/w_j0f.c: Likewise.
11502 * math/w_j0l.c: Likewise.
11503 * math/w_j1.c: Likewise.
11504 * math/w_j1f.c: Likewise.
11505 * math/w_j1l.c: Likewise.
11506 * math/w_jn.c: Likewise.
11507 * math/w_jnf.c: Likewise.
11508 * math/w_log.c: Likewise.
11509 * math/w_log10.c: Likewise.
11510 * math/w_log10f.c: Likewise.
11511 * math/w_log10l.c: Likewise.
11512 * math/w_log2.c: Likewise.
11513 * math/w_log2f.c: Likewise.
11514 * math/w_log2l.c: Likewise.
11515 * math/w_logf.c: Likewise.
11516 * math/w_logl.c: Likewise.
11517 * math/w_sqrt.c: Likewise.
11518 * math/w_sqrtf.c: Likewise.
11519 * math/w_sqrtl.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11526 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11529 * manual/string.texi (strnlen): Use correct parameter name in
11530 equivalent expression.
11532 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11535 * manual/users.texi (seteuid): Consistently use neweuid for
11538 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11541 * manual/nss.texi (Services in the NSS configuration): Correct
11542 list of services in example configuration file.
11544 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11547 * manual/arith.texi: Remove statements about negative zero
11548 behaving identically to zero.
11550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11553 * manual/install.texi: Do not document upgrading from libc5.
11555 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11558 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11560 2012-02-18 David S. Miller <davem@davemloft.net>
11562 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11563 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11564 %o7 across the call.
11565 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11568 SETUP_PIC_REG_LEAF.
11569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11570 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11571 * sysdeps/sparc/crtn.S: Likewise.
11573 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11575 * aout/Makefile: Remove.
11577 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11580 * manual/examples/argp-ex1.c (main): Format definition in GNU
11582 * manual/examples/argp-ex2.c (main): Likewise.
11583 * manual/examples/argp-ex3.c (main): Likewise.
11584 * manual/examples/argp-ex4.c (main): Likewise.
11585 * manual/examples/longopt.c (main): Use new-style prototype
11587 * manual/examples/strncat.c (main): Specify return type and use
11588 (void) for arguments.
11589 * manual/examples/subopt.c (main): Use char **argv argument.
11591 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11594 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11597 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11600 * manual/string.texi (strchr): Change when strchrnul is
11603 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11606 * manual/locale.texi (setlocale): Document LOCPATH.
11608 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11611 * manual/process.texi (execle): Move @dots{} before last argument.
11613 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11616 * manual/charset.texi (Generic Charset Conversion): Fix typo
11617 (LC_TYPE -> LC_CTYPE).
11619 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11622 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11623 (scalbnf): Likewise.
11624 (scalbnl): Likewise.
11625 (scalbln): Likewise.
11626 (scalblnf): Likewise.
11627 (scalblnl): Likewise.
11628 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11629 (vwarnx): Likewise.
11632 * manual/filesys.texi (telldir): Use braces around return type.
11633 * manual/llio.texi (mmap): Add space after comma.
11634 (mmap64): Likewise.
11635 * manual/math.texi (jn): Use @var{} on parameter names.
11641 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11643 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11645 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11646 (sched_get_priority_max): Likewise.
11647 * manual/signal.texi (sigvec): Add space after comma.
11648 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11650 (if_indextoname): Likewise.
11651 (if_freenameindex): Likewise.
11652 (sendto): Use ',' instead of '.' in prototype.
11653 * manual/startup.texi (syscall): Use @dots{} instead of literal
11655 * manual/stdio.texi (__fpending): Separate initial words of
11656 paragraph from @deftypefun line.
11657 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11659 (vsyslog): Use @var{} on parameter names.
11660 * manual/terminal.texi (stty): Use @var{} on parameter names.
11661 * manual/users.texi (getutmp): Use @var{} on parameter names.
11662 (getutmpx): Likewise.
11664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11667 * manual/stdio.texi (fopen): Fix typos in description of
11670 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11673 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11674 get clock_id definition.
11676 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11679 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11680 (madvise): Cast every argument to void on its own.
11682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11685 * manual/startup.texi (Exit Status): Fix typo.
11687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11690 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11691 * manual/examples/argp-ex2.c: Likewise.
11692 * manual/examples/argp-ex3.c: Likewise.
11694 2012-02-16 Richard Henderson <rth@redhat.com>
11696 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11697 * sysdeps/s390/s390-32/initfini.c: Remove.
11698 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11699 * sysdeps/s390/s390-64/initfini.c: Remove.
11701 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11703 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11704 compiler output for sysdeps/generic/initfini.c.
11705 * sysdeps/sh/elf/initfini.c: Remove file.
11707 2012-02-16 David S. Miller <davem@davemloft.net>
11710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11712 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11713 * sysdeps/sparc/crti.S: New file.
11714 * sysdeps/sparc/crtn.S: New file.
11715 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11716 * sysdeps/sparc/sparc64/Makefile: Likewise.
11718 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11721 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11723 2012-02-15 Roland McGrath <roland@hack.frob.com>
11726 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11728 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11729 (write, read, close): Likewise.
11730 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11732 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11734 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11735 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11737 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11739 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11743 2012-02-14 Marek Polacek <polacek@redhat.com>
11745 * sysdeps/x86_64/crti.S: New file.
11746 * sysdeps/x86_64/crtn.S: New file.
11747 * sysdeps/x86_64/elf/initfini.c: Remove file.
11749 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11751 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11752 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11753 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11754 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11756 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11760 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11762 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11763 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11764 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11765 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11767 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11771 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11774 __feraiseexcept instead of feraiseexcept.
11776 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11777 nanosleep invocations.
11778 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11779 strings, and add error checking for a nanosleep invocations.
11781 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11783 Replace FSF snail mail address with URLs, as per GNU coding standards.
11784 Most of the snail mail addresses were wrong anyway, and omitting
11785 them makes the source code easier to maintain. Almost all of the
11786 changes are to license notices and to locale LC_IDENTIFICATION
11787 addresses, except for this one:
11788 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11789 not its snail mail address.
11791 2012-02-09 Richard Henderson <rth@twiddle.net>
11793 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11794 of kernel-features.h.
11796 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11798 2012-02-08 Marek Polacek <polacek@redhat.com>
11800 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11801 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11802 * sysdeps/gnu/_G_config.h: Likewise.
11803 * sysdeps/generic/_G_config.h: Likewise.
11805 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11807 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11811 * sysdeps/powerpc/powerpc32/crti.S: New file.
11812 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11813 * sysdeps/powerpc/powerpc64/crti.S: New file.
11814 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11816 * Makeconfig (have-initfini): Don't set.
11817 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11818 * configure.in (nopic_initfini): Don't substitute.
11819 * config.h.in (HAVE_INITFINI): Don't #undef.
11820 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11821 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11823 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11825 Support crti.S and crtn.S provided directly by architectures.
11826 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11827 [crti.S in sysdirs] (omit-deps): Likewise.
11828 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11829 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11830 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11831 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11832 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11833 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11834 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11835 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11836 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11837 compiler output for sysdeps/generic/initfini.c.
11838 * sysdeps/i386/elf/Makefile: Remove file.
11839 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11841 2012-02-07 Marek Polacek <polacek@redhat.com>
11843 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11844 * sysdeps/gnu/_G_config.h: Likewise.
11845 * sysdeps/mach/hurd/_G_config.h: Likewise.
11847 2012-02-07 Marek Polacek <polacek@redhat.com>
11849 * math/Makefile (tests): Add tst-CMPLX2.
11850 * math/tst-CMPLX2.c: New file.
11852 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11856 * math/libm-test.inc (jn_test): Add missing L suffix.
11858 2012-02-06 Marek Polacek <polacek@redhat.com>
11860 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11861 * sysdeps/i386/fpu/e_powf.S: Likewise.
11862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11865 * sysdeps/i386/fpu/e_pow.S: Likewise.
11866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11870 * sysdeps/i386/fpu/e_log2.S: Likewise.
11871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11873 * sysdeps/i386/fpu/e_powl.S: Likewise.
11874 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11877 * sysdeps/i386/fpu/e_logl.S: Likewise.
11878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11879 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11884 * sysdeps/i386/fpu/e_log.S: Likewise.
11885 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11887 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11888 * sysdeps/i386/fpu/e_logf.S: Likewise.
11889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11891 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11894 * sysdeps/i386/fpu/e_log10.S: Likewise.
11895 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11897 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11898 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11901 * sysdeps/i386/asm-syntax.h: Likewise.
11902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11905 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11906 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11911 * sysdeps/powerpc/sysdep.h: Likewise.
11912 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11918 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11920 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11922 * sysdeps/i386/sysdep.h: Include <features.h>.
11923 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11926 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11930 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11935 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11936 (SETUP_PIC_REG): Use GET_PC_THUNK.
11937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11940 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11942 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11943 for non-PIC compilation.
11944 (SETUP_PIC_REG): Add .p2align directive.
11945 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11946 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11987 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11989 * math/tst-CMPLX.c: Include <stdio.h>.
11991 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11993 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11996 * sysdeps/sparc/bits/mathdef.h: Likewise.
11998 2012-01-31 Marek Polacek <polacek@redhat.com>
12000 * libio/libio.h: Don't define _PARAMS.
12001 * locale/programs/config.h: Don't define PARAMS.
12002 * stdlib/strtol_l.c: Likewise.
12003 (__strtol_l): Remove PARAMS from the prototype.
12005 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12007 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12008 names. Just use the correct names. Remove unnecessary wrapper
12010 * malloc/arena.c: Likewise.
12011 * malloc/hooks.c: Likewise.
12013 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12014 ARENA_TEST says not to. Simplify test for creation of a new arena.
12015 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12017 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12019 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12021 (update_get_addr): New function.
12022 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12023 GET_ADDR_MODULE parameter.
12025 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12027 * crypt/cert.c: Remove __STDC__ conditionals.
12028 * crypt/crypt-entry.c: Likewise.
12029 * crypt/crypt_util.c: Likewise.
12030 * libio/filedoalloc.c: Likewise.
12031 * libio/fileops.c: Likewise.
12032 * libio/genops.c: Likewise.
12033 * libio/iofclose.c: Likewise.
12034 * libio/iofdopen.c: Likewise.
12035 * libio/iofopen.c: Likewise.
12036 * libio/iofopen64.c: Likewise.
12037 * libio/iogetdelim.c: Likewise.
12038 * libio/iopopen.c: Likewise.
12039 * libio/obprintf.c: Likewise.
12040 * libio/oldfileops.c: Likewise.
12041 * libio/oldiofclose.c: Likewise.
12042 * libio/oldiofdopen.c: Likewise.
12043 * libio/oldiofopen.c: Likewise.
12044 * libio/oldiopopen.c: Likewise.
12045 * libio/wfiledoalloc.c: Likewise.
12046 * libio/wgenops.c: Likewise.
12047 * locale/programs/xmalloc.c: Likewise.
12048 * misc/syslog.c: Likewise.
12049 * stdio-common/xbug.c: Likewise.
12050 * string/memchr.c: Likewise.
12051 * string/memcmp.c: Likewise.
12052 * string/memrchr.c: Likewise.
12053 * string/rawmemchr.c: Likewise.
12054 * sysdeps/posix/getcwd.c: Likewise.
12055 * time/strftime_l.c: Likewise.
12057 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12059 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12060 * config.make.in (config-cflags-sse2avx): Define.
12061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12064 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12066 * scripts/config.guess: Update from upstream config git repository.
12067 * scripts/config.sub: Likewise.
12069 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12071 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12073 (R_TILEPRO_*, R_TILEGX_*): New macros.
12075 * scripts/firstversions.awk: Fix bug in version range handling.
12077 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12079 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12081 * include/sys/epoll.h: New file.
12082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12085 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12087 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12088 Avoid unnecessary __WORDSIZE == 64 test.
12089 (fmaxf): Use VEX format if possible.
12094 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12095 * math/math_private.h: Remove libc_fegetround* and
12097 * sysdeps/i386/configure.in: Check for -msse2avx.
12098 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12099 also if SSE2AVX is defined.
12100 Remove libc_fegetround* and libc_fesetround*.
12101 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12102 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12111 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12113 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12119 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12122 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12124 * Makeconfig (libm): Define.
12125 * elf/Makefile: Add rules to build and run tst-relsort1.
12126 * elf/tst-relsort1.c: New file.
12127 * elf/tst-relsort1mod1.c: New file.
12128 * elf/tst-relsort1mod2.c: New file.
12130 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12132 * math/s_ldexp.c: Remove __STDC__ conditionals.
12133 * math/s_ldexpf.c: Likewise.
12134 * math/s_ldexpl.c: Likewise.
12135 * math/s_nextafter.c: Likewise.
12136 * math/s_nexttowardf.c: Likewise.
12137 * math/s_significand.c: Likewise.
12138 * math/s_significandf.c: Likewise.
12139 * math/s_significandl.c: Likewise.
12140 * math/w_jnl.c: Likewise.
12141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12181 * sysdeps/ieee754/k_standard.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12261 * sysdeps/ieee754/s_matherr.c: Likewise.
12262 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12263 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12267 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12269 * crypt/md5.h: Remove __STDC__ conditionals.
12270 * libio/libioP.h: Likewise.
12271 * locale/programs/config.h: Likewise.
12272 * sysdeps/generic/sysdep.h: Likewise.
12273 * sysdeps/i386/asm-syntax.h: Likewise.
12274 * sysdeps/s390/asm-syntax.h: Likewise.
12275 * sysdeps/unix/sysdep.h: Likewise.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12279 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12281 * libio/libio.h: Remove __STDC__ conditionals.
12282 * malloc/obstack.h: Likewise.
12283 * math/complex.h: Likewise.
12284 * math/math.h: Likewise.
12285 * sysdeps/generic/_G_config.h: Likewise.
12286 * sysdeps/gnu/_G_config.h: Likewise.
12287 * sysdeps/mach/hurd/_G_config.h: Likewise.
12288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12290 * sysdeps/sparc/bits/mathdef.h: Likewise.
12292 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12296 Clean up HAS_* macros.
12297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12298 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12308 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12310 * elf/tst-unique3.cc (gets): Remove declaration.
12311 * elf/tst-unique3lib.cc (gets): Likewise.
12312 * elf/tst-unique3lib2.cc (gets): Likewise.
12313 * elf/tst-unique4.cc (gets): Likewise.
12315 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12317 * include/stdio.h: Add C++ protection. Add gets declarations and
12319 * debug/tst-chk1.c: Don't declare gets here.
12320 * stdio-common/tst-gets.c: Likewise.
12322 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12324 * posix/glob: Remove directory.
12326 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12328 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12330 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12332 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12333 of the non-standard EPFNOSUPPORT.
12335 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12337 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12338 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12339 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12341 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12343 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12345 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12347 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12349 * nscd/grpcache.c (cache_addgr): Likewise.
12350 * nscd/hstcache.c (cache_addhst): Likewise.
12351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12352 * nscd/pwdcache.c (cache_addpw): Likewise.
12353 * nscd/servicescache.c (cache_addserv): Likewise.
12355 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12357 * malloc/malloc.c: Various cleanups.
12358 * malloc/hooks.c: Likewise.
12360 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12361 * stdlib/bug-fmtmsg1.c: New file.
12363 * stdlib/fmtmsg.c (init): Add missing unlock.
12364 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12366 2012-01-12 Marek Polacek <polacek@redhat.com>
12368 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12371 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12373 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12375 macro to ensure uniqueness of label name.
12376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12379 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12383 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12388 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12392 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12393 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12396 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12398 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12403 * math/bits/math-finite.h: Add ldexp support.
12405 2012-01-10 Marek Polacek <polacek@redhat.com>
12407 * locale/programs/localedef.h (show_archive_content): Add noreturn
12410 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12412 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12414 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12416 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12418 * io/Makefile (headers): Add bits/poll2.h.
12420 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12423 typo #include statement.
12425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12427 * include/sys/cdefs.h: Define __attribute_alloc_size.
12428 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12429 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12430 * elf/pldd.c: Likewise.
12431 * iconv/iconv_charmap.c: Likewise.
12432 * iconv/iconvconfig.c: Likewise.
12433 * iconv/strtab.c: Likewise.
12434 * locale/programs/locale.c: Likewise.
12435 * locale/programs/localedef.h: Likewise.
12436 * locale/programs/simple-hash.c: Likewise.
12437 * nscd/nscd.h: Likewise.
12438 * nss/makedb.c: Likewise.
12439 * sysdeps/generic/ldconfig.h: Likewise.
12440 * locale/programs/localedef.c: Remove xmalloc prototype.
12441 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12443 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12448 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12450 * math/Makefile (tests): Add tst-CMPLX.
12451 * math/tst-CMPLX.c: New file.
12453 * math/complex.h (CMPLXL): Fix typo.
12455 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12456 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12458 * debug/tst-chk1.c: Add poll and ppoll tests.
12459 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12460 * include/sys/poll.h: Add hidden proto for ppoll.
12461 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12462 * sysdeps/mach/hurd/ppoll.c: Likewise.
12463 * io/ppoll.c: Likewise.
12464 * debug/poll_chk.c: New file.
12465 * debug/ppoll_chk.c: New file.
12466 * include/bits/poll2.h: New file.
12467 * io/bits/poll2.h: New file.
12470 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12472 * configure.in: static is always set to yes. Remove.
12473 * config.make.in: Don't set build-static.
12474 * Makeconfig: Remove use of build-static.
12475 * dlfcn/Makefile: Likewise.
12476 * elf/Makefile: Likewise.
12477 * math/Makefile: Likewise.
12478 * misc/Makefile: Likewise.
12479 * nptl/Makefile: Likewise.
12480 * sysdeps/mach/hurd/Makefile: Likewise.
12482 * configure.in: PWD_P is not used anymore.
12483 * config.make.in: Remove PWD_P entry.
12485 * configure.in: Remove last remnants of RANLIB.
12486 No need to check for signed size_t anymore.
12487 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12489 Remove __builtin_expect test because we require at least gcc 3.4.
12490 * aclocal.m4: Likewise.
12492 * wcsmbs/mbrtoc16.c: Implement using towc function.
12493 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12494 * wcsmbs/wcsmbsload.c: Likewise.
12495 * iconv/gconv_simple.c: Likewise.
12496 * iconv/gconv_int.h: Likewise.
12497 * iconv/gconv_builtin.h: Likewise.
12498 * iconv/iconv_prog.c: Remove CHAR16 handling.
12500 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12502 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12504 * configure.in: Remove --with-elf and --enable-bounded options.
12505 Dont set base_machine for ia64. More non-ELF conditions removed.
12506 Remove testing and setting of leading underscore information.
12507 * config.make.in (build-bounded): Set to no.
12508 * config.h.in: Remove NO_UNDERSCORES entry.
12509 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12511 * csu/start.c: Remove !NO_UNDERSCORE code.
12512 * locale/localeinfo.h: Likewise.
12513 * sysdeps/generic/machine-gmon.h: Likewise.
12514 * sysdeps/generic/sysdep.h: Likewise.
12515 * sysdeps/i386/sysdep.h: Likewise.
12516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12517 * sysdeps/mach/sysdep.h: Likewise.
12518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12520 * sysdeps/sh/sysdep.h: Likewise.
12521 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12522 * sysdeps/unix/i386/sysdep.S: Likewise.
12523 * sysdeps/unix/sparc/start.c: Likewise.
12524 * sysdeps/unix/sparc/sysdep.S: Likewise.
12525 * sysdeps/unix/sparc/sysdep.h: Likewise.
12526 * sysdeps/unix/start.c: Likewise.
12527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12528 * sysdeps/x86_64/sysdep.h: Likewise.
12530 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12533 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12535 * argp/argp-fmtstream.h: Use const instead __const.
12536 * argp/argp.h: Likewise.
12537 * assert/assert.h: Likewise.
12538 * bits/fenv.h: Likewise.
12539 * bits/sched.h: Likewise.
12540 * bits/sigset.h: Likewise.
12541 * bits/sigthread.h: Likewise.
12542 * catgets/nl_types.h: Likewise.
12543 * conform/data/pthread.h-data: Likewise.
12544 * crypt/crypt-private.h: Likewise.
12545 * crypt/crypt.h: Likewise.
12546 * crypt/crypt_util.c: Likewise.
12547 * ctype/ctype.h: Likewise.
12548 * debug/execinfo.h: Likewise.
12549 * debug/mbsnrtowcs_chk.c: Likewise.
12550 * debug/mbsrtowcs_chk.c: Likewise.
12551 * debug/wcsnrtombs_chk.c: Likewise.
12552 * debug/wcsrtombs_chk.c: Likewise.
12553 * debug/wcstombs_chk.c: Likewise.
12554 * dirent/dirent.h: Likewise.
12555 * dlfcn/dlfcn.h: Likewise.
12556 * elf/neededtest4.c: Likewise.
12557 * grp/grp.h: Likewise.
12558 * gshadow/gshadow.h: Likewise.
12559 * iconv/gconv.h: Likewise.
12560 * iconv/gconv_int.h: Likewise.
12561 * iconv/gconv_simple.c: Likewise.
12562 * iconv/iconv.h: Likewise.
12563 * iconv/loop.c: Likewise.
12564 * iconv/skeleton.c: Likewise.
12565 * include/aio.h: Likewise.
12566 * include/aliases.h: Likewise.
12567 * include/argz.h: Likewise.
12568 * include/arpa/inet.h: Likewise.
12569 * include/assert.h: Likewise.
12570 * include/dirent.h: Likewise.
12571 * include/dlfcn.h: Likewise.
12572 * include/execinfo.h: Likewise.
12573 * include/fcntl.h: Likewise.
12574 * include/fenv.h: Likewise.
12575 * include/glob.h: Likewise.
12576 * include/grp.h: Likewise.
12577 * include/libintl.h: Likewise.
12578 * include/mntent.h: Likewise.
12579 * include/netdb.h: Likewise.
12580 * include/pwd.h: Likewise.
12581 * include/rpc/netdb.h: Likewise.
12582 * include/sched.h: Likewise.
12583 * include/search.h: Likewise.
12584 * include/shadow.h: Likewise.
12585 * include/signal.h: Likewise.
12586 * include/stdio.h: Likewise.
12587 * include/stdlib.h: Likewise.
12588 * include/string.h: Likewise.
12589 * include/sys/socket.h: Likewise.
12590 * include/sys/stat.h: Likewise.
12591 * include/sys/statfs.h: Likewise.
12592 * include/sys/statvfs.h: Likewise.
12593 * include/sys/syslog.h: Likewise.
12594 * include/sys/time.h: Likewise.
12595 * include/sys/uio.h: Likewise.
12596 * include/time.h: Likewise.
12597 * include/unistd.h: Likewise.
12598 * include/utmp.h: Likewise.
12599 * include/wchar.h: Likewise.
12600 * include/wctype.h: Likewise.
12601 * inet/aliases.h: Likewise.
12602 * inet/arpa/inet.h: Likewise.
12603 * inet/netinet/ether.h: Likewise.
12604 * inet/netinet/in.h: Likewise.
12605 * intl/libintl.h: Likewise.
12606 * io/bits/fcntl2.h: Likewise.
12607 * io/fcntl.h: Likewise.
12608 * io/ftw.h: Likewise.
12609 * io/sys/poll.h: Likewise.
12610 * io/sys/stat.h: Likewise.
12611 * io/sys/statfs.h: Likewise.
12612 * io/sys/statvfs.h: Likewise.
12613 * io/utime.h: Likewise.
12614 * libio/bits/stdio.h: Likewise.
12615 * libio/bits/stdio2.h: Likewise.
12616 * libio/libio.h: Likewise.
12617 * libio/libioP.h: Likewise.
12618 * libio/stdio.h: Likewise.
12619 * locale/lc-ctype.c: Likewise.
12620 * locale/locale.h: Likewise.
12621 * login/utmp.h: Likewise.
12622 * malloc/arena.c: Likewise.
12623 * malloc/malloc.c: Likewise.
12624 * malloc/malloc.h: Likewise.
12625 * malloc/mcheck.c: Likewise.
12626 * malloc/mtrace.c: Likewise.
12627 * math/bits/mathcalls.h: Likewise.
12628 * math/fenv.h: Likewise.
12629 * math/math_private.h: Likewise.
12630 * misc/bits/error.h: Likewise.
12631 * misc/bits/syslog.h: Likewise.
12632 * misc/err.h: Likewise.
12633 * misc/error.h: Likewise.
12634 * misc/fstab.h: Likewise.
12635 * misc/mntent.h: Likewise.
12636 * misc/regexp.h: Likewise.
12637 * misc/search.h: Likewise.
12638 * misc/sgtty.h: Likewise.
12639 * misc/sys/mman.h: Likewise.
12640 * misc/sys/syslog.h: Likewise.
12641 * misc/sys/uio.h: Likewise.
12642 * misc/sys/xattr.h: Likewise.
12643 * misc/ttyent.h: Likewise.
12644 * nis/rpcsvc/ypclnt.h: Likewise.
12645 * nss/nss.h: Likewise.
12646 * posix/bits/unistd.h: Likewise.
12647 * posix/fnmatch.h: Likewise.
12648 * posix/glob.h: Likewise.
12649 * posix/sched.h: Likewise.
12650 * posix/spawn.h: Likewise.
12651 * posix/sys/wait.h: Likewise.
12652 * posix/unistd.h: Likewise.
12653 * posix/wordexp.h: Likewise.
12654 * pwd/pwd.h: Likewise.
12655 * resolv/netdb.h: Likewise.
12656 * resource/sys/resource.h: Likewise.
12657 * rt/aio.h: Likewise.
12658 * rt/bits/mqueue2.h: Likewise.
12659 * rt/mqueue.h: Likewise.
12660 * shadow/shadow.h: Likewise.
12661 * signal/signal.h: Likewise.
12662 * socket/send.c: Likewise.
12663 * socket/sendto.c: Likewise.
12664 * socket/sys/socket.h: Likewise.
12665 * stdio-common/printf.h: Likewise.
12666 * stdlib/bits/stdlib.h: Likewise.
12667 * stdlib/fmtmsg.h: Likewise.
12668 * stdlib/monetary.h: Likewise.
12669 * stdlib/stdlib.h: Likewise.
12670 * stdlib/ucontext.h: Likewise.
12671 * streams/stropts.h: Likewise.
12672 * string/argz.h: Likewise.
12673 * string/bits/string2.h: Likewise.
12674 * string/string.h: Likewise.
12675 * string/strings.h: Likewise.
12676 * sunrpc/rpc/auth.h: Likewise.
12677 * sunrpc/rpc/auth_des.h: Likewise.
12678 * sunrpc/rpc/clnt.h: Likewise.
12679 * sunrpc/rpc/netdb.h: Likewise.
12680 * sunrpc/rpc/pmap_clnt.h: Likewise.
12681 * sunrpc/rpc/xdr.h: Likewise.
12682 * sysdeps/generic/inttypes.h: Likewise.
12683 * sysdeps/generic/net/if.h: Likewise.
12684 * sysdeps/generic/sys/swap.h: Likewise.
12685 * sysdeps/gnu/net/if.h: Likewise.
12686 * sysdeps/gnu/utmpx.h: Likewise.
12687 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12688 * sysdeps/i386/i486/bits/string.h: Likewise.
12689 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12690 * sysdeps/s390/bits/string.h: Likewise.
12691 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12692 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12693 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12694 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12695 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12696 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12698 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12699 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12700 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12701 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12702 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12703 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12704 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12705 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12712 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12713 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12714 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12715 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12716 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12719 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12721 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12722 * sysvipc/sys/ipc.h: Likewise.
12723 * sysvipc/sys/msg.h: Likewise.
12724 * sysvipc/sys/sem.h: Likewise.
12725 * sysvipc/sys/shm.h: Likewise.
12726 * termios/termios.h: Likewise.
12727 * time/sys/time.h: Likewise.
12728 * time/time.h: Likewise.
12729 * wcsmbs/bits/wchar2.h: Likewise.
12730 * wcsmbs/uchar.h: Likewise.
12731 * wcsmbs/wchar.h: Likewise.
12732 * wctype/wctype.h: Likewise.
12735 * Makeconfig: Remove all but ELF support including AIX support.
12736 * Makerules: Likewise.
12737 * config.h.in: Likewise.
12738 * config.make.in: Likewise.
12739 * configure: Likewise.
12740 * configure.in: Likewise.
12741 * csu/Makefile: Likewise.
12742 * csu/version.c: Likewise.
12743 * debug/Makefile: Likewise.
12744 * dlfcn/Makefile: Likewise.
12745 * elf/Makefile: Likewise.
12746 * extra-lib.mk: Likewise.
12747 * iconv/Makefile: Likewise.
12748 * include/libc-symbols.h: Likewise.
12749 * include/shlib-compat.h: Likewise.
12750 * resolv/Makefile: Likewise.
12751 * resolv/res_libc.c: Likewise.
12752 * rt/Makefile: Likewise.
12753 * sysdeps/i386/asm-syntax.h: Likewise.
12754 * sysdeps/i386/sysdep.h: Likewise.
12755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12756 * sysdeps/mach/sysdep.h: Likewise.
12757 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12758 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12759 * sysdeps/s390/asm-syntax.h: Likewise.
12760 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12762 * sysdeps/sh/sysdep.h: Likewise.
12763 * sysdeps/unix/sparc/sysdep.h: Likewise.
12764 * sysdeps/wordsize-32/divdi3.c: Likewise.
12765 * sysdeps/x86_64/sysdep.h: Likewise.
12767 * argp/Versions: Remove _argp_unlock_xxx.
12770 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12771 * abilist/libBrokenLocale.abilist: Likewise.
12772 * abilist/libanl.abilist: Likewise.
12773 * abilist/libc.abilist: Likewise.
12774 * abilist/libcrypt.abilist: Likewise.
12775 * abilist/libdl.abilist: Likewise.
12776 * abilist/libm.abilist: Likewise.
12777 * abilist/libnsl.abilist: Likewise.
12778 * abilist/libpthread.abilist: Likewise.
12779 * abilist/libresolv.abilist: Likewise.
12780 * abilist/librt.abilist: Likewise.
12781 * abilist/libthread_db.abilist: Likewise.
12782 * abilist/libutil.abilist: Likewise.
12783 * abilist/libnss_db.abilist: New file.
12785 * scripts/abilist.awk: Add support for indirect functions.
12787 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12789 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12791 * shlib-versions: Remove entries for ports architectures.
12793 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12795 * elf/stackguard-macros.h: Remove support for IA-64.
12796 * elf/tst-auditmod1.c: Likewise.
12797 * sysdeps/generic/ldsodefs.h: Likewise.
12799 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12800 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12804 * configure.in: Remove --enable-omitfp support.
12806 * config.make.in: Likewise.
12807 * Makeconfig: Likewise.
12808 * manual/install.texi: Likewise.
12810 In case anyone cares, the IA-64 architecture could move to ports.
12811 * sysdeps/ia64/*: Removed.
12812 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12813 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12816 * configure.in: Remove entries for unsupported architectures.
12819 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12820 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12822 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12823 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12824 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12825 fall back to using wcrtomb.
12826 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12827 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12829 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12830 * wcsmbs/tst-c16c32-1.c: New file.
12832 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12835 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12837 * elf/tst-unique3.cc: Add explicit declaration of gets.
12838 * elf/tst-unique3lib.cc: Likewise.
12839 * elf/tst-unique3lib2.cc: Likewise.
12840 * elf/tst-unique4.cc: Likewise.
12842 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12844 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12847 * assert/assert.h (static_assert): Don't define for C++.
12848 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12849 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12851 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12853 * iconv/loop.c (single loop): Fix assertion in storing of
12856 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12858 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12860 * posix/getconf.c: Update copyright year.
12861 * nss/getent.c: Likewise.
12862 * nss/makedb.c: Likewise.
12863 * iconv/iconvconfig.c: Likewise.
12864 * iconv/iconv_prog.c: Likewise.
12865 * elf/ldconfig.c: Likewise.
12866 * elf/pldd.c: Likewise.
12867 * elf/sotruss.ksh: Likewise.
12868 * catgets/gencat.c: Likewise.
12869 * csu/version.c: Likewise.
12870 * elf/ldd.bash.in: Likewise.
12871 * elf/sprof.c (print_version): Likewise.
12872 * locale/programs/locale.c: Likewise.
12873 * locale/programs/localedef.c: Likewise.
12874 * login/programs/pt_chown.c: Likewise.
12875 * nscd/nscd.c (print_version): Likewise.
12876 * debug/xtrace.sh: Likewise.
12877 * malloc/memusage.sh: Likewise.
12878 * malloc/mtrace.pl: Likewise.
12879 * debug/catchsegv.sh: Likewise.
12881 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12883 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12886 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12889 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12890 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12892 * iconv/gconv_int.h: Likewise.
12893 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12894 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12895 from libc for GLIBC_2.16.
12896 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12897 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12898 * wcsmbs/uchar.h: Really define mbstate_t.
12899 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12900 * wcsmbs/c16rtomb.c: New file.
12901 * wcsmbs/mbrtoc16.c: New file.
12902 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12903 for C/POSIX locale.
12904 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12905 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12907 * wcsmbs/wchar.h: Add missing __restrict.
12909 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12912 * time/Makefile (routines): Add timespec_get.
12913 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12914 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12915 timespec for ISO C11.
12916 * time/timespec_get.c: New file.
12917 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12918 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12921 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12922 * stdlib/stdlib.h: Declare aligned_alloc.
12923 * Versions.def: Add GLIBC_2.16 for libc.
12924 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12927 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12930 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12934 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12937 * assert/assert.h (static_assert): Define.
12939 * version.h: Update for 2.16 development version.
12942 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12945 * version.h (RELEASE): Bump for 2.15 release.
12946 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12948 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12949 Patch by Marek Polacek <mpolacek@redhat.com>.
12951 * bits/byteswap.h: Protect long long constants with __extension__.
12952 * sysdeps/i386/bits/byteswap.h: Likewise.
12953 * sysdeps/ia64/bits/byteswap.h: Likewise.
12954 * sysdeps/s390/bits/byteswap.h: Likewise.
12955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12957 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12961 destination buffer.
12962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12964 2011-12-23 Marek Polacek <polacek@redhat.com>
12966 * elf/dl-addr.c (determine_info): Add inline keyword.
12967 * elf/tst-auditmod4b.c (check_avx): Likewise.
12968 * elf/tst-auditmod6b.c (check_avx): Likewise.
12969 * elf/tst-auditmod6c.c (check_avx): Likewise.
12970 * elf/tst-auditmod7b.c (check_avx): Likewise.
12972 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12977 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12981 processing for last bytes.
12983 2011-08-06 Bruno Haible <bruno@clisp.org>
12986 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12987 U+0385, not to U+1FEE.
12990 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12991 entry for U+00A5 U+0301.
12993 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12996 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12997 buffer for the output is too small.
12999 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13003 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13004 SSE flags if possible.
13006 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13010 processing for last bytes.
13012 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13014 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13015 (syscall-list-default-options, syscall-list-default-condition)
13016 (syscall-list-includes): Define.
13017 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13018 list of ABIs and options and #if conditions for each ABI. Do not
13019 handle common syscalls between ABIs specially.
13020 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13022 (syscall-list-variants, syscall-list-32bit-options)
13023 (syscall-list-32bit-condition, syscall-list-64bit-options)
13024 (syscall-list-64bit-condition): Define.
13025 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13026 (syscall-list-variants, syscall-list-32bit-options)
13027 (syscall-list-32bit-condition, syscall-list-64bit-options)
13028 (syscall-list-64bit-condition): Define.
13029 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13031 (syscall-list-variants, syscall-list-32bit-options)
13032 (syscall-list-32bit-condition, syscall-list-64bit-options)
13033 (syscall-list-64bit-condition): Define.
13034 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13036 (syscall-list-variants, syscall-list-32bit-options)
13037 (syscall-list-32bit-condition, syscall-list-64bit-options)
13038 (syscall-list-64bit-condition): Define.
13040 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13042 * locale/iso-639.def: Add brx entry.
13045 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13046 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13048 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13049 __feraiseexcept_renamed.
13051 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13054 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13055 EPOLLET with unsigned values.
13056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13059 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13060 to large cancellation.
13061 * math/s_cacoshf.c: Likewise.
13062 * math/s_cacoshl.c: Likewise.
13064 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13068 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13069 * math/s_cacoshf.c: Likewise.
13070 * math/s_cacoshl.c: Likewise.
13072 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13075 * iconv/gconv.h: Define __GCONV_SWAP.
13076 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13077 * iconvdata/utf-16.c: Likewise.
13078 * iconvdata/utf-32.c: Likewise.
13080 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13084 numerator after shifting it by one limb.
13086 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13088 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13089 under [__USE_EXTERN_INLINES].
13091 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13094 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13096 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13098 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13099 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13101 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13102 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13103 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13104 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13105 for strncasecmp/strncasecmp_l compilation.
13106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13107 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13109 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13112 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13118 * time/tzfile.c (__tzfile_read): Check values from file header.
13120 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13122 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13123 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13124 * powerpc/powerpc32/dl-start.S: Likewise.
13125 * powerpc/powerpc32/elf/start.S: Likewise.
13126 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13127 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13128 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13129 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13130 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13131 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13132 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13133 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13134 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13135 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13136 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13137 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13138 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13139 * powerpc/powerpc32/memset.S: Likewise.
13140 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13141 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13142 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13143 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13144 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13145 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13146 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13147 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13148 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13149 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13150 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13154 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13156 * math/libm-test.inc: Added more nearbyint tests.
13157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13162 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13164 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13167 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13169 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13170 Add wcscpy-ssse3 wcscpy-c.
13171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13172 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13173 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13174 * sysdeps/x86_64/wcschr.S: New file.
13175 * sysdeps/x86_64/wcsrchr.S: New file.
13176 * string/test-strcmp.c: Remove checking of wcscmp function for
13178 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13179 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13180 wcsrchr-sse2 wcsrchr-c.
13181 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13182 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13183 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13184 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13185 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13186 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13187 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13190 * wcsmbc/wcschr.c (WCSCHR): New macro.
13192 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13194 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13195 * wcsmbs/test-wcsrchr.c: New file.
13196 * string/test-strrchr.c: Add wcsrchr support.
13198 * wcsmbs/test-wcscpy.c: New file.
13199 * string/test-strcpy.c: Add wcscpy support.
13202 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13207 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13210 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13212 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13215 Minor optimizations.
13217 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13218 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13219 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13221 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13223 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13224 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13225 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13226 for gcc to avoid warnings.
13227 * inet/Makefile (tests): Add tst-checks.
13228 * inet/tst-checks.c: New file.
13230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13236 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13237 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13239 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13241 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13246 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13248 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13251 conditional on GCC version.
13252 (__arch_compare_and_exchange_val_8_acq)
13253 (__arch_compare_and_exchange_val_16_acq)
13254 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13255 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13256 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13258 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13260 * sysdeps/sh/backtrace.c: New file.
13262 2011-12-02 Andreas Schwab <schwab@redhat.com>
13264 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13267 2011-12-01 Andreas Schwab <schwab@redhat.com>
13269 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13270 falling back to utime.
13272 2011-11-30 Andreas Schwab <schwab@redhat.com>
13274 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13275 expectations for float.
13277 2011-11-29 Andreas Schwab <schwab@redhat.com>
13279 * locale/weight.h (findidx): Add parameter len.
13280 * locale/weightwc.h (findidx): Likewise.
13281 * posix/fnmatch_loop.c (FCT): Adjust caller.
13282 * posix/regcomp.c (build_equiv_class): Likewise.
13283 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13284 * posix/regexec.c (check_node_accept_bytes): Likewise.
13285 * string/strcoll_l.c (STRCOLL): Likewise.
13286 * string/strxfrm_l.c (STRXFRM): Likewise.
13288 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13290 * Makefile.in: Remove CVSOPT handling.
13291 * configure.in: Remove use of AC_REVISION.
13292 * iconvdata/Makefile (distribute): No need to filter out CVS.
13293 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13296 2011-11-16 Andreas Schwab <schwab@redhat.com>
13298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13299 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13300 [USE_AS_STRNCASECMP_L]: Likewise.
13301 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13302 NO_TLS_DIRECT_SEG_REFS.
13303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13304 Fix argument offsets for non-PIC.
13305 [USE_AS_STRNCASECMP_L]: Likewise.
13306 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13307 NO_TLS_DIRECT_SEG_REFS.
13309 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13311 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13313 * locale/loadlocale.c (_nl_load_locale): Likewise.
13315 2011-11-15 Andreas Schwab <schwab@redhat.com>
13317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13318 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13320 (SYSCALL_GETTIME): Set errno on error.
13322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13323 count references to noai6ai_cached.
13325 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13327 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13330 FD_CLOEXEC for /proc/self/maps.
13332 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13333 FD_CLOEXEC for /proc/meminfo.
13335 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13338 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13339 FD_CLOEXEC for given file.
13341 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13343 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13344 FD_CLOEXEC for /etc/hosts.
13345 (_gethtent): Likewise.
13347 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13350 cancellation and set FD_CLOEXEC for /etc/netgroup.
13352 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13353 reading /etc/publickey.
13355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13356 allow cancellation when reading /etc/group.
13358 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13360 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13362 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13363 when using data file.
13365 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13367 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13368 (write_nis_obj): Use "c" and "e" in fopen.
13370 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13372 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13374 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13376 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13378 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13381 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13383 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13385 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13387 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13388 file parsing and set FD_CLOEXEC.
13390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13392 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13394 2011-11-14 Andreas Schwab <schwab@redhat.com>
13396 * malloc/arena.c (arena_get2): Don't call reused_arena when
13397 _int_new_arena failed.
13399 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13402 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13407 to compile strcasecmp and strncasecmp.
13408 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13409 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13413 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13415 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13416 locale-defines.sym to gen-as-const-headers.
13417 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13418 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13420 to compile strcasecmp and strncasecmp.
13421 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13422 strcasecmp_l and strncasecmp_l.
13423 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13424 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13425 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13427 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13429 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13430 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13431 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13432 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13433 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13435 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13437 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13438 result of SYSDEP_GETTIME_CPU to retval.
13439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13440 parameter list to macro. Remove trailing semicolon. Adjust users.
13442 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13445 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13449 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13450 from unused variable.
13452 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13454 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13457 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13460 * sunrpc/rpc_prot.c (rejected): Fix case value.
13462 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13463 unsigned long long int to avoid warnings in shift.
13465 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13467 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13470 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13471 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13474 * nis/nis_table.c (nis_list): Use variable of correct type for
13475 result of __follow_path call.
13477 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13479 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13480 of math functions ceil, trunc, floor, round, and sqrt, when
13481 avaliable on the platform.
13482 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13488 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13490 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13493 2011-11-11 Roland McGrath <roland@hack.frob.com>
13495 * include/unistd.h: Fix __readlink return type.
13496 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13498 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13500 * stdlib/ucontext.h: Undo last change for makecontext.
13502 2011-11-11 Andreas Schwab <schwab@redhat.com>
13504 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13506 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13507 * setjmp/setjmp.h: Mark functions as non-leaf.
13508 * setjmp/bits/setjmp2.h: Likewise.
13509 * stdlib/ucontext.h: Likewise.
13511 2011-11-10 Andreas Schwab <schwab@redhat.com>
13513 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13514 (reused_arena): Don't check arena limit.
13515 (arena_get2): Atomically check arena limit.
13517 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13519 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13520 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13525 2011-11-07 Andreas Schwab <schwab@redhat.com>
13527 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13528 handler when locking.
13530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13531 Fix size of allocated buffer.
13533 2011-11-04 Andreas Schwab <schwab@redhat.com>
13536 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13537 declarations for long double functions.
13538 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13540 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13542 2011-11-03 Andreas Schwab <schwab@redhat.com>
13544 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13547 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13550 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13552 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13554 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13556 * include/alloca.h (stackinfo_alloca_round): Define.
13557 (extend_alloca): Use it.
13558 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13559 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13562 * scripts/check-local-headers.sh: Ignore libaudit.h.
13564 * nscd/Makefile (extra-objs): Make recursively expanded.
13566 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13568 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13571 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13572 * posix/tst-rfc3484-2.c: Likewise.
13573 * posix/tst-rfc3484-3.c: Likewise.
13575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13577 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13579 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13580 process_vm_writev from libc using GLIBC_2.15 version.
13582 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13584 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13586 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13589 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13592 * nss/getent.c (initgroups_keys): Show error message in case no group
13595 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13596 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13597 __bump_nl_timestamp.
13598 * nscd/connections (nscd_init): When host database is served open
13599 netlink socket and request notification about configuration changes.
13600 (main_loop_poll): Track netlink file descriptor and bump timestamp
13601 in case data becomes available.
13602 (main_loop_epoll): Likewise.
13603 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13604 (database_pers_head): Add extra_data fileds.
13605 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13607 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13610 in6ai data, call __free_in6ai.
13611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13612 Add -DHAVE_NETLINK.
13613 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13614 interface information. Reuse previous data if netlink timestamp
13616 (__bump_nl_timestamp): New function.
13617 (__free_in6ai): New function.
13619 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13622 close_not_cancel_no_status here.
13623 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13625 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13628 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13631 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13632 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13633 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13635 2011-07-03 Andreas Jaeger <aj@suse.de>
13638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13639 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13640 * math/libm-test.inc (sin_test): Add test case.
13642 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13645 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13648 * elf/chroot_canon.c (chroot_canon): Cleanups.
13650 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13653 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13656 * string/test-strchr.c: Make usable for strchrnul testing.
13657 * string/test-strchrnul.c: New file.
13658 * string/Makefile (strop-tests): Add strchrnul.
13660 * po/it.po: Update from translation team.
13661 * po/es.po: Likewise.
13663 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13666 the three constants needed as parameters. Drop the others.
13667 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13668 __m128i_strloadu_tolower.
13669 Create and initialize variable zero and use it in all the places
13670 where _mm_setzero_si128 was used.
13672 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13673 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13674 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13677 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13680 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13682 __mpranred, __mptan.
13683 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13684 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13685 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13686 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13687 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13688 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13691 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13693 2011-10-28 Andreas Schwab <schwab@redhat.com>
13695 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13696 redefine if SHARED.
13697 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13700 wide char related routines to wcsmbs subdir.
13702 2011-10-27 Andreas Schwab <schwab@redhat.com>
13705 * misc/sys/cdefs.h (__THROWNL): Define.
13706 * posix/unistd.h: Use __THREADNL instead of __THREAD
13707 for memory synchronization functions.
13709 2011-10-26 Roland McGrath <roland@hack.frob.com>
13712 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13714 * manual/stdio.texi (Obstack Streams): Node removed.
13716 2011-10-26 Andreas Schwab <schwab@redhat.com>
13718 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13722 * math/math_private.h (math_force_eval): Allow non-addressable
13724 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13726 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13729 file is not needed.
13731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13738 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13740 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13741 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13742 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13743 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13744 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13746 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13750 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13751 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13758 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13760 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13761 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13764 place. Use VEX encoding when compiling for AVX.
13766 2011-10-25 Andreas Schwab <schwab@redhat.com>
13768 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13771 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13773 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13775 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13776 useless if() expression.
13777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13791 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13797 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13799 2011-10-25 Andreas Schwab <schwab@redhat.com>
13801 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13807 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13808 .text section. Avoid duplicate constants.
13809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13833 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13834 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13835 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13836 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13840 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13842 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13843 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13845 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13847 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13855 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13857 * sysdeps/x86_64/dla.h: Move to ...
13858 * sysdeps/x86_64/fpu/dla.h: ...here.
13859 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13860 situations. Use __builtin_fma only for gcc 4.6 and up.
13862 * config.make.in: Add have-mfma4 entry.
13863 * configure.in: Substitute libc_cv_cc_fma4.
13864 * math/Makefile (dbl-only-routines): Add sincostab.
13865 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13866 Use __sincostab not sincos.
13867 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13874 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13875 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13876 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13877 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13880 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13882 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13883 define aliases when function name is a macro.
13884 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13885 sysdeps/ieee754/dbl-64/sincos.tbl.
13886 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13887 fma4-enabled routines.
13888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13898 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13900 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13919 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13930 2011-10-24 Andreas Schwab <schwab@redhat.com>
13932 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13934 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13942 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13943 Remove unused variable magic_bits.
13944 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13946 * string/strnlen.c: Define and use STRNLEN macro.
13947 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13948 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13950 * wcsmbs/wcslen.c: Define and use WCSLEN.
13951 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13952 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13953 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13954 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13956 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13959 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13962 strnlen-sse2-no-bsf.
13963 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13965 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13966 Add strnlen support.
13967 (USE_AS_STRNLEN): New macro.
13968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13970 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13971 * sysdeps/x86_64/wcslen.S: New file.
13973 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13976 XMM-moves are used for copying on small sizes.
13978 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13980 * wcsmbs/Makefile (strop-tests): Add wcschr.
13981 * wcsmbs/test-wcschr.c: New file.
13982 * string/test-strchr.c: Update.
13983 Add wcschr support.
13986 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13988 * wcsmbs/Makefile (strop-tests): Add wcslen.
13989 * wcsmbs/test-wcslen.c: New file.
13990 * string/test-strlen.c: Update.
13991 Add wcslen support.
13994 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13996 * po/it.po: Update from translation team.
13998 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14000 * sysdeps/x86_64/wcscmp.S: Update.
14001 Fix wrong comparison semantics.
14002 wcscmp shall use signed comparison not unsigned.
14003 Don't use substraction to avoid overflow bug.
14004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14005 * wcsmbc/wcscmp.c: Likewise.
14006 * string/test-strcmp.c: Likewise.
14007 Add new tests to check cases with negative values.
14009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14011 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14012 * sysdeps/x86_64/dla.h: ...here. New file.
14013 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14023 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14026 __ynl_finite aliases.
14028 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14032 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14034 [DLA_FMA] (EMULV): Use DLA_FMA.
14035 [DLA_FMA] (MUL12): Use EMULV.
14036 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14037 that are not needed.
14038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14046 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14048 * math/s_nan.c: Undef __nan.
14049 * math/s_nanf.c: Undef __nanf.
14050 * math/s_nanl.c: Undef __nanl.
14051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14054 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14056 * math/s_catan.c: Add branch predictions.
14057 * math/s_catanf.c: Likewise.
14058 * math/s_catanh.c: Likewise.
14059 * math/s_catanhf.c: Likewise.
14060 * math/s_catanhl.c: Likewise.
14061 * math/s_catanl.c: Likewise.
14062 * math/s_cexp.c: Likewise.
14063 * math/s_cexpf.c: Likewise.
14064 * math/s_cexpl.c: Likewise.
14065 * math/s_clog.c: Likewise.
14066 * math/s_clog10.c: Likewise.
14067 * math/s_clog10f.c: Likewise.
14068 * math/s_clog10l.c: Likewise.
14069 * math/s_clogf.c: Likewise.
14070 * math/s_clogl.c: Likewise.
14071 * math/s_csqrt.c: Likewise.
14072 * math/s_csqrtf.c: Likewise.
14073 * math/s_csqrtl.c: Likewise.
14074 * math/s_ctanf.c: Likewise.
14075 * math/s_ctanh.c: Likewise.
14076 * math/s_ctanhf.c: Likewise.
14077 * math/s_ctanhl.c: Likewise.
14078 * math/s_ctanl.c: Likewise.
14080 * math/math_private.h: Define __nan, __nanf, __nanl.
14081 * math/s_cacosh.c: Include <math_private.h>.
14082 * math/s_cacoshl.c: Likewise.
14083 * math/s_casinh.c: Likewise.
14084 * math/s_casinhf.c: Likewise.
14085 * math/s_casinhl.c: Likewise.
14086 * math/s_ccos.c: Rely entire on ccosh.
14087 * math/s_ccosf.c: Rely entire on ccoshf.
14088 * math/s_ccosl.c: Rely entirely on ccoshl.
14089 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14090 Remove tests for FE_INVALID.
14091 * math/s_ccoshf.c: Likewise.
14092 * math/s_ccoshl.c: Likewise.
14093 * math/s_csin.c: Likewise.
14094 * math/s_csinf.c: Likewise.
14095 * math/s_csinh.c Likewise.
14096 * math/s_csinhf.c: Likewise.
14097 * math/s_csinhl.c: Likewise.
14098 * math/s_csinl.c: Likewise.
14099 * math/s_ctan.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14101 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14102 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14104 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14107 compilation problems.
14109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14112 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14114 * sysdeps/i386/configure.in: Test for -mfma4 option.
14115 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14116 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14117 COMMON_CPUID_INDEX_80000001.
14118 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14120 use it if FMA3 is not supported.
14121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14123 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14126 2011-10-20 Andreas Schwab <schwab@redhat.com>
14129 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14130 it would create a cycle with a link time dependency.
14132 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14134 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14136 * string/Makefile (strop-tests): Add rawmemchr.
14137 * string/test-rawmemchr.c: New file.
14139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14141 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14142 when compiling str{,n}casecmp and when AVX is available. Hook up
14143 new optimized code in initializers.
14145 2011-10-19 Andreas Schwab <schwab@redhat.com>
14147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14148 __feraiseexcept instead of feraiseexcept.
14150 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14152 * math/math_private.h: Define defaults for libc_fetestexcept and
14154 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14155 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14158 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14159 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14160 libc_fetestexcept and libc_feupdateenv.
14162 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14163 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14164 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14165 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14166 libc_feholdexcept_setround.
14168 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14169 Add s_nearbyint-c and s_nearbyintf-c.
14170 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14171 nearbyintf inlines.
14172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14177 * math/math_private.h: Define defaults for libc_fegetround,
14178 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14179 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14180 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14182 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14183 standard functions.
14184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14185 Remove comments and hacks for old compiler versions.
14186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14187 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14188 libc_feholdexceptl.
14190 2011-10-18 Andreas Schwab <schwab@redhat.com>
14192 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14193 (__feraiseexcept_renamed): Add __NTH.
14194 (feraiseexcept): Add __NTH. Rename local variables to fix
14195 namespace violations.
14197 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14203 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14204 recently added interfaces.
14205 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14207 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14208 about macro parameter expansion.
14210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14211 __NO_MATH_INLINES is defined. Cleanups.
14213 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14214 and __floorf is target has SSE4.1.
14215 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14216 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14217 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14220 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14222 (floorf): Likewise.
14224 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14226 2011-10-17 Andreas Schwab <schwab@redhat.com>
14228 * misc/sys/cdefs.h: Fix last change.
14230 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14233 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14235 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14237 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14246 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14247 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14248 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14249 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14252 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14255 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14257 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14258 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14261 ceil, ceilf, floor, floorf.
14263 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14264 Perform IRELATIVE relocations last.
14266 * elf/do-rel.h: Add another parameter nrelative, replacing the
14267 local variable with the same name. Change name of the function
14268 to end in Rel or Rela (uppercase).
14269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14270 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14271 elf_dynamic_do_##reloc function.
14273 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14275 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14276 is sufficient, at least on modern CPUs.
14278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14280 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14283 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14285 * math/bits/math-finite.h: Add entries for exp.
14286 * math/e_expl.c: Add __*_finite alias.
14287 * sysdeps/i386/fpu/e_exp.S: Likewise.
14288 * sysdeps/i386/fpu/e_expf.S: Likewise.
14289 * sysdeps/i386/fpu/e_expl.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14291 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14295 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14296 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14298 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14299 is sufficient, at least on modern CPUs.
14301 * ctype/ctype-info.c (__ctype_init): Define.
14302 * include/ctype.h (__ctype_init): Declare.
14303 (__ctype_b_loc): The variable is always initialized.
14304 (__ctype_toupper_loc): Likewise.
14305 (__ctype_tolower_loc): Likewise.
14306 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14307 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14309 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14311 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14313 * configure.in: Also look in $cxxmachine/include for C++ system
14316 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14318 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14319 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14320 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14321 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14323 (USE_AS_WMEMCMP): New macro.
14325 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14326 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14327 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14328 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14330 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14331 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14333 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14334 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14336 (USE_AS_WMEMCMP): New macro.
14337 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14338 * sysdeps/string/test-memcmp.c: Update.
14339 Fix simple_wmemcmp.
14341 * wcsmbs/wmemcmp.c: Update.
14342 (WMEMCMP): New macro.
14345 2011-10-12 Andreas Jaeger <aj@suse.de>
14348 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14350 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14352 * libio/iofwide.c (do_length): Avoid warning.
14354 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14356 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14358 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14360 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14361 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14362 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14363 * sysdeps/i386/i686/fpu/e_log.S: New file.
14364 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14365 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14367 * ctype/ctype.h: Add support for inlined isXXX functions when
14368 compiling C++ code.
14370 2011-10-14 Andreas Schwab <schwab@redhat.com>
14372 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14376 2011-10-13 Roland McGrath <roland@hack.frob.com>
14379 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14381 2011-10-13 Andreas Schwab <schwab@redhat.com>
14383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14384 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14387 * sysdeps/x86_64/memrchr.S: Check for zero size.
14389 * string/stratcliff.c: Add memrchr tests.
14391 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14394 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14395 rawmemchr-sse2 rawmemchr-sse2-bsf.
14396 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14397 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14398 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14399 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14400 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14402 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14403 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14406 * string/memrchr.c (MEMRCHR): New macro.
14408 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14410 Add integration with gcc's -ffinite-math-only and optimize wrapper
14412 * Versions.def: Define GLIBC_2.15 version for libm.
14413 * math/Makefile (headers): Add bits/math-finite.h.
14414 * math/bits/math-finite.h: New file.
14415 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14416 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14417 * math/e_acoshl.c: Add __*_finite alias.
14418 * math/e_acosl.c: Likewise.
14419 * math/e_asinl.c: Likewise.
14420 * math/e_atan2l.c: Likewise.
14421 * math/e_atanhl.c: Likewise.
14422 * math/e_coshl.c: Likewise.
14423 * math/e_exp10.c: Likewise.
14424 * math/e_exp10f.c: Likewise.
14425 * math/e_exp10l.c: Likewise.
14426 * math/e_exp2l.c: Likewise.
14427 * math/e_fmodl.c: Likewise.
14428 * math/e_gammal_r.c: Likewise.
14429 * math/e_hypotl.c: Likewise.
14430 * math/e_j0l.c: Likewise.
14431 * math/e_j1l.c: Likewise.
14432 * math/e_jnl.c: Likewise.
14433 * math/e_lgammal_r.c: Likewise.
14434 * math/e_log10l.c: Likewise.
14435 * math/e_log2l.c: Likewise.
14436 * math/e_logl.c: Likewise.
14437 * math/e_powl.c: Likewise.
14438 * math/e_sinhl.c: Likewise.
14439 * math/e_sqrtl.c: Likewise.
14440 * math/e_scalb.c: Completely rewritten and optimized.
14441 * math/e_scalbf.c: Likewise.
14442 * math/e_scalbl.c: Likewise.
14443 * math/w_acos.c: Likewise.
14444 * math/w_acosf.c: Likewise.
14445 * math/w_acosl.c: Likewise.
14446 * math/w_acosh.c: Likewise.
14447 * math/w_acoshf.c: Likewise.
14448 * math/w_acoshl.c: Likewise.
14449 * math/w_asin.c: Likewise.
14450 * math/w_asinf.c: Likewise.
14451 * math/w_asinl.c: Likewise.
14452 * math/w_atan2.c: Likewise.
14453 * math/w_atan2f.c: Likewise.
14454 * math/w_atan2l.c: Likewise.
14455 * math/w_atanh.c: Likewise.
14456 * math/w_atanhf.c: Likewise.
14457 * math/w_atanhl.c: Likewise.
14458 * math/w_exp10.c: Likewise.
14459 * math/w_exp10f.c: Likewise.
14460 * math/w_exp10l.c: Likewise.
14461 * math/w_fmod.c: Likewise.
14462 * math/w_fmodf.c: Likewise.
14463 * math/w_fmodl.c: Likewise.
14464 * math/w_j0.c: Likewise.
14465 * math/w_j0f.c: Likewise.
14466 * math/w_j0l.c: Likewise.
14467 * math/w_j1.c: Likewise.
14468 * math/w_j1f.c: Likewise.
14469 * math/w_j1l.c: Likewise.
14470 * math/w_jn.c: Likewise.
14471 * math/w_jnf.c: Likewise.
14472 * math/w_log.c: Likewise.
14473 * math/w_logf.c: Likewise.
14474 * math/w_logl.c: Likewise.
14475 * math/w_log10.c: Likewise.
14476 * math/w_log10f.c: Likewise.
14477 * math/w_log10l.c: Likewise.
14478 * math/w_log2.c: Likewise.
14479 * math/w_log2f.c: Likewise.
14480 * math/w_log2l.c: Likewise.
14481 * math/w_pow.c: Likewise.
14482 * math/w_powf.c: Likewise.
14483 * math/w_powl.c: Likewise.
14484 * math/w_remainder.c: Likewise.
14485 * math/w_remainderf.c: Likewise.
14486 * math/w_remainderl.c: Likewise.
14487 * math/w_scalb.c: Likewise.
14488 * math/w_scalbf.c: Likewise.
14489 * math/w_scalbl.c: Likewise.
14490 * math/w_sqrt.c: Likewise.
14491 * math/w_sqrtf.c: Likewise.
14492 * math/w_sqrtl.c: Likewise.
14493 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14494 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14496 * math/math_private.h: Declare __kernel_standard_f.
14497 * math/w_cosh.c: Remove cruft and optimize a bit.
14498 * math/w_coshf.c: Likewise.
14499 * math/w_coshl.c: Likewise.
14500 * math/w_exp2.c: Likewise.
14501 * math/w_exp2f.c: Likewise.
14502 * math/w_exp2l.c: Likewise.
14503 * math/w_hypot.c: Likewise.
14504 * math/w_hypotf.c: Likewise.
14505 * math/w_hypotl.c: Likewise.
14506 * math/w_lgamma.c: Likewise.
14507 * math/w_lgamma_r.c: Likewise.
14508 * math/w_lgammaf.c: Likewise.
14509 * math/w_lgammaf_r.c: Likewise.
14510 * math/w_lgammal.c: Likewise.
14511 * math/w_lgammal_r.c: Likewise.
14512 * math/w_sinh.c: Likewise.
14513 * math/w_sinhf.c: Likewise.
14514 * math/w_sinhl.c: Likewise.
14515 * math/w_tgamma.c: Likewise.
14516 * math/w_tgammaf.c: Likewise.
14517 * math/w_tgammal.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14520 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14521 Minor optimizations. Pretty printing. Remove cruft.
14522 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14526 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14527 * sysdeps/i386/fpu/e_asin.S: Likewise.
14528 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14529 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14530 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14531 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14535 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14536 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14537 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14538 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14539 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14540 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14541 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14542 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14543 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14544 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14545 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14546 * sysdeps/i386/fpu/e_log.S: Likewise.
14547 * sysdeps/i386/fpu/e_log10.S: Likewise.
14548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14550 * sysdeps/i386/fpu/e_log2.S: Likewise.
14551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14553 * sysdeps/i386/fpu/e_logf.S: Likewise.
14554 * sysdeps/i386/fpu/e_logl.S: Likewise.
14555 * sysdeps/i386/fpu/e_pow.S: Likewise.
14556 * sysdeps/i386/fpu/e_powf.S: Likewise.
14557 * sysdeps/i386/fpu/e_powl.S: Likewise.
14558 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14559 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14560 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14564 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14565 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14566 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14664 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14665 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14666 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14667 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14668 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14669 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14670 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14671 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14675 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14677 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14678 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14679 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14680 (__isnanf): Likewise.
14681 (__isinf_ns): Likewise.
14682 (__isinf_nsf): Likewise.
14683 (__finite): Likewise.
14684 (__finitef): Likewise.
14685 (__ieee754_sqrt): Define as macro.
14686 (__ieee754_sqrtf): Define as macro.
14687 (__ieee754_sqrtl): Define as macro.
14688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14690 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14691 __FINITE_MATH_ONLY__ consistent.
14692 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14694 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14696 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14701 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14703 * po/ja.po: Update from translation team.
14705 2011-10-08 Roland McGrath <roland@hack.frob.com>
14707 * locale/programs/locarchive.c (prepare_address_space): New function.
14708 (create_archive, enlarge_archive, open_archive): Use it.
14710 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14711 inside [SHARED], where it is used.
14713 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14715 * nss/getent.c (netgroup_keys): Remove unused variable.
14716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14718 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14720 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14726 * math/Makefile (libm-calls): Add s_isinf_ns.
14727 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14728 * math/multc3.c: Likewise.
14729 * math/s_casin.c: Likewise.
14730 * math/s_casinf.c: Likewise.
14731 * math/s_casinl.c: Likewise.
14732 * math/s_ccos.c: Likewise.
14733 * math/s_ccosf.c: Likewise.
14734 * math/s_ccosl.c: Likewise.
14735 * math/s_ctan.c: Likewise.
14736 * math/s_ctanf.c: Likewise.
14737 * math/s_ctanh.c: Likewise.
14738 * math/s_ctanhf.c: Likewise.
14739 * math/s_ctanhl.c: Likewise.
14740 * math/s_ctanl.c: Likewise.
14741 * math/w_fmod.c: Likewise.
14742 * math/w_fmodf.c: Likewise.
14743 * math/w_fmodl.c: Likewise.
14744 * math/w_remainder.c: Likewise.
14745 * math/w_remainderf.c: Likewise.
14746 * math/w_remainderl.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14748 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14751 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14752 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14753 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14754 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14756 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14758 * stdio-common/printf_fphex.c: Likewise.
14759 * stdio-common/printf_size.c: Likewise.
14761 * math/e_exp10.c: Include math_private.h using <...> not "...".
14762 * math/e_exp10f.c: Likewise.
14763 * math/e_exp10l.c: Likewise.
14764 * math/e_exp2l.c: Likewise.
14765 * math/e_j0l.c: Likewise.
14766 * math/e_j1l.c: Likewise.
14767 * math/e_jnl.c: Likewise.
14768 * math/e_lgammal_r.c: Likewise.
14769 * math/e_rem_pio2l.c: Likewise.
14770 * math/e_scalb.c: Likewise.
14771 * math/e_scalbf.c: Likewise.
14772 * math/e_scalbl.c: Likewise.
14773 * math/k_cosl.c: Likewise.
14774 * math/k_sinl.c: Likewise.
14775 * math/k_tanl.c: Likewise.
14776 * math/s_cacoshf.c: Likewise.
14777 * math/s_catan.c: Likewise.
14778 * math/s_catanf.c: Likewise.
14779 * math/s_catanh.c: Likewise.
14780 * math/s_catanhf.c: Likewise.
14781 * math/s_catanhl.c: Likewise.
14782 * math/s_catanl.c: Likewise.
14783 * math/s_ccosh.c: Likewise.
14784 * math/s_ccoshf.c: Likewise.
14785 * math/s_ccoshl.c: Likewise.
14786 * math/s_cexp.c: Likewise.
14787 * math/s_cexpf.c: Likewise.
14788 * math/s_cexpl.c: Likewise.
14789 * math/s_clog.c: Likewise.
14790 * math/s_clog10.c: Likewise.
14791 * math/s_clog10f.c: Likewise.
14792 * math/s_clog10l.c: Likewise.
14793 * math/s_clogf.c: Likewise.
14794 * math/s_clogl.c: Likewise.
14795 * math/s_csin.c: Likewise.
14796 * math/s_csinf.c: Likewise.
14797 * math/s_csinh.c: Likewise.
14798 * math/s_csinhf.c: Likewise.
14799 * math/s_csinhl.c: Likewise.
14800 * math/s_csinl.c: Likewise.
14801 * math/s_csqrt.c: Likewise.
14802 * math/s_csqrtf.c: Likewise.
14803 * math/s_csqrtl.c: Likewise.
14804 * math/s_ctan.c: Likewise.
14805 * math/s_ctanf.c: Likewise.
14806 * math/s_ctanh.c: Likewise.
14807 * math/s_ctanhf.c: Likewise.
14808 * math/s_ctanhl.c: Likewise.
14809 * math/s_ctanl.c: Likewise.
14810 * math/s_ldexp.c: Likewise.
14811 * math/s_ldexpf.c: Likewise.
14812 * math/s_ldexpl.c: Likewise.
14813 * math/s_significand.c: Likewise.
14814 * math/s_significandf.c: Likewise.
14815 * math/s_significandl.c: Likewise.
14816 * math/w_acos.c: Likewise.
14817 * math/w_acosf.c: Likewise.
14818 * math/w_acosh.c: Likewise.
14819 * math/w_acoshf.c: Likewise.
14820 * math/w_acoshl.c: Likewise.
14821 * math/w_acosl.c: Likewise.
14822 * math/w_asin.c: Likewise.
14823 * math/w_asinf.c: Likewise.
14824 * math/w_asinl.c: Likewise.
14825 * math/w_atan2.c: Likewise.
14826 * math/w_atan2f.c: Likewise.
14827 * math/w_atan2l.c: Likewise.
14828 * math/w_atanh.c: Likewise.
14829 * math/w_atanhf.c: Likewise.
14830 * math/w_atanhl.c: Likewise.
14831 * math/w_cosh.c: Likewise.
14832 * math/w_coshf.c: Likewise.
14833 * math/w_coshl.c: Likewise.
14834 * math/w_dremf.c: Likewise.
14835 * math/w_exp10.c: Likewise.
14836 * math/w_exp10f.c: Likewise.
14837 * math/w_exp10l.c: Likewise.
14838 * math/w_exp2.c: Likewise.
14839 * math/w_exp2f.c: Likewise.
14840 * math/w_fmod.c: Likewise.
14841 * math/w_fmodf.c: Likewise.
14842 * math/w_fmodl.c: Likewise.
14843 * math/w_hypot.c: Likewise.
14844 * math/w_hypotf.c: Likewise.
14845 * math/w_hypotl.c: Likewise.
14846 * math/w_j0.c: Likewise.
14847 * math/w_j0f.c: Likewise.
14848 * math/w_j0l.c: Likewise.
14849 * math/w_j1.c: Likewise.
14850 * math/w_j1f.c: Likewise.
14851 * math/w_j1l.c: Likewise.
14852 * math/w_jn.c: Likewise.
14853 * math/w_jnf.c: Likewise.
14854 * math/w_jnl.c: Likewise.
14855 * math/w_lgamma.c: Likewise.
14856 * math/w_lgamma_r.c: Likewise.
14857 * math/w_lgammaf.c: Likewise.
14858 * math/w_lgammaf_r.c: Likewise.
14859 * math/w_lgammal.c: Likewise.
14860 * math/w_lgammal_r.c: Likewise.
14861 * math/w_log.c: Likewise.
14862 * math/w_log10.c: Likewise.
14863 * math/w_log10f.c: Likewise.
14864 * math/w_log10l.c: Likewise.
14865 * math/w_log2.c: Likewise.
14866 * math/w_log2f.c: Likewise.
14867 * math/w_log2l.c: Likewise.
14868 * math/w_logf.c: Likewise.
14869 * math/w_logl.c: Likewise.
14870 * math/w_pow.c: Likewise.
14871 * math/w_powf.c: Likewise.
14872 * math/w_powl.c: Likewise.
14873 * math/w_remainder.c: Likewise.
14874 * math/w_remainderf.c: Likewise.
14875 * math/w_remainderl.c: Likewise.
14876 * math/w_scalb.c: Likewise.
14877 * math/w_scalbf.c: Likewise.
14878 * math/w_scalbl.c: Likewise.
14879 * math/w_sinh.c: Likewise.
14880 * math/w_sinhf.c: Likewise.
14881 * math/w_sinhl.c: Likewise.
14882 * math/w_sqrt.c: Likewise.
14883 * math/w_sqrtf.c: Likewise.
14884 * math/w_sqrtl.c: Likewise.
14885 * math/w_tgamma.c: Likewise.
14886 * math/w_tgammaf.c: Likewise.
14887 * math/w_tgammal.c: Likewise.
14889 * po/ja.po: Update from translation team.
14891 2011-09-29 Andreas Jaeger <aj@suse.de>
14894 * sunrpc/netname.c (netname2host): Fix logic.
14898 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14900 * math/w_remainder.c (__remainder): Likewise.
14901 * math/w_remainderf.c (__remainderf): Likewise.
14902 * math/libm-test.inc (remainder_test): Add test cases.
14904 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14906 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14909 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14911 * string/test-memcmp.c: Avoid unncessary #defines.
14912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14914 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14916 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14917 Use new sse2 version for core i3 - i7 as it's faster
14918 than sse42 version.
14919 (bit_Prefer_PMINUB_for_stringop): New.
14920 * sysdeps/x86_64/rawmemchr.S: Update.
14921 Replace with faster SSE2 version.
14922 * sysdeps/x86_64/memrchr.S: New file.
14923 * sysdeps/x86_64/memchr.S: Update.
14924 Replace with faster SSE2 version.
14926 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14928 * elf/dl-load.c (lose): Add cast to avoid warning.
14930 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14932 * po/ca.po: Update from translation team.
14934 * inet/getnetgrent_r.c: Hook up nscd.
14935 * nscd/Makefile (routines): Add nscd_netgroup.
14936 (nscd-modules): Add netgroupcache.
14937 (CFLAGS-netgroupcache.c): Define.
14938 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14939 (cache_search): Add const to second parameter.
14940 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14942 (dbs): Add netgrdb entry.
14943 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14944 (verify_persistent_db): Handle netgrdb.
14945 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14946 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14948 (netgroup_response_header): Define.
14949 (innetgroup_response_header): Define.
14950 (datahead): Add netgroup_response_header and innetgroup_response_header
14952 * nscd/nscd.conf: Add entries for netgroup cache.
14953 * nscd/nscd.h (dbtype): Add netgrdb.
14954 (_PATH_NSCD_NETGROUP_DB): Define.
14955 (netgroup_iov_disabled): Declare.
14956 (xmalloc, xcalloc, xrealloc): Move declarations here.
14957 (cache_search): Adjust prototype.
14958 Add netgroup-related prototypes.
14959 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14960 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14961 (__nscd_innetgr): Declare.
14962 * nscd/selinux.c (perms): Use access_vector_t as element type and
14963 add netgroup-related initializers.
14964 * nscd/netgroupcache.c: New file.
14965 * nscd/nscd_netgroup.c: New file.
14966 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14967 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14968 For four parameters use innetgr.
14969 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14970 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14971 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14972 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14974 * nscd/connections.c (register_traced_file): Don't register file
14975 for disabled databases.
14977 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14979 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14981 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14982 from tree and freeing node.
14984 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14986 * nss/nsswitch.c (__nss_database_lookup): Handle
14987 nss_parse_service_list out of memory case.
14989 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14991 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14992 out of memory case.
14994 2011-10-04 Andreas Schwab <schwab@redhat.com>
14996 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14997 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14999 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15000 elf_machine_rela, elf_machine_lazy_rel.
15001 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15002 (ELF_DYNAMIC_DO_REL): Likewise.
15003 (ELF_DYNAMIC_DO_RELA): Likewise.
15004 (ELF_DYNAMIC_RELOCATE): Likewise.
15005 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15006 to ELF_DYNAMIC_DO_REL.
15007 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15008 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15009 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15012 skip_ifunc, don't call ifunc function if non-zero.
15013 (elf_machine_rela): Likewise.
15014 (elf_machine_lazy_rel): Likewise.
15015 (elf_machine_lazy_rela): Likewise.
15016 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15017 (elf_machine_lazy_rel): Likewise.
15018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15020 (elf_machine_lazy_rel): Likewise.
15021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15023 (elf_machine_lazy_rel): Likewise.
15024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15025 (elf_machine_lazy_rel): Likewise.
15026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15027 (elf_machine_lazy_rel): Likewise.
15028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15029 (elf_machine_lazy_rel): Likewise.
15030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15031 (elf_machine_lazy_rel): Likewise.
15032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15033 (elf_machine_lazy_rel): Likewise.
15034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15035 (elf_machine_lazy_rel): Likewise.
15037 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15039 * nss/nss_files/files-init.c (_nss_files_init): Use static
15040 initialization for all the *_traced_file variables.
15042 2011-09-28 Andreas Schwab <schwab@redhat.com>
15044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15046 2011-09-27 Roland McGrath <roland@hack.frob.com>
15049 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15051 2011-09-27 Andreas Schwab <schwab@redhat.com>
15053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15054 Reread the line before reparsing it.
15056 2011-09-26 Andreas Schwab <schwab@redhat.com>
15058 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15060 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15061 Maxim Kuvyrkov <maxim@codesourcery.com>
15062 Joseph Myers <joseph@codesourcery.com>
15064 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15065 if needed for __stack_chk_guard.
15067 2011-09-19 Roland McGrath <roland@hack.frob.com>
15069 * sysdeps/posix/spawni.c (script_execute): Always define it.
15070 It will be optimized away if unused.
15071 (maybe_script_execute): New function.
15072 (__spawni): Call it.
15074 * Makerules: Don't include tls.make.
15075 (config-tls): Always set to thread.
15076 * tls.make.c: File removed.
15078 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15080 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15081 * config.make.in (CPPFLAGS-config): New substituted variable.
15083 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15088 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15089 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15091 2011-09-15 Roland McGrath <roland@hack.frob.com>
15093 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15094 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15096 (CALL_FAIL): Likewise.
15097 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15098 (CALL_FAIL): Macro removed.
15099 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15101 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15104 for __FINITE_MATH_ONLY__ == 1.
15106 2011-09-15 Andreas Schwab <schwab@redhat.com>
15108 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15109 __ieee754_sqrt instead of sqrt.
15110 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15111 __ieee754_sqrtf instead of sqrtf.
15112 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15113 __floorf instead of floorf.
15114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15115 __floorf, __truncf instead of floorf, truncf.
15117 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15119 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15121 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15122 __extern_always_inline.
15123 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15126 2011-09-14 Andreas Schwab <schwab@redhat.com>
15128 * elf/rtld.c (dl_main): Also relocate in dependency order when
15129 doing symbol dependency testing.
15131 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15134 Always define `refsym'.
15136 2011-09-13 Andreas Schwab <schwab@redhat.com>
15138 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15139 (__FD_ELT): Renamed from __FDELT.
15140 * misc/bits/select2.h (__FD_ELT): Likewise.
15141 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15142 __FD_MASK instead of __FDELT, __FDMASK.
15143 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15145 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15148 * elf/Makefile (gen-ldd): Fix pattern.
15150 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15151 (init_tls): Likewise.
15153 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15157 2011-09-12 Andreas Schwab <schwab@redhat.com>
15159 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15160 `struct cmsghdr *' instead of `void *'.
15161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15164 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15166 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15168 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15169 ldd_rewrite_script.
15171 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15173 * configure.in: Remove --with-tls option.
15174 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15175 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15176 out in case it is missing.
15177 * sysdeps/ia64/elf/configure.in: Likewise.
15178 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15179 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15180 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15181 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15182 * sysdeps/sh/elf/configure.in: Likewise.
15183 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15185 * sysdeps/x86_64/elf/configure.in: Likewise.
15186 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15187 * sysdeps/mach/hurd/tls.h: Likewise.
15190 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15193 * configure.in: Fix use of AC_INIT.
15195 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15197 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15199 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15201 * malloc/hooks.c: Likewise.
15204 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15205 variables statically.
15206 (narenas): Initialize.
15207 (list_lock): Initialize.
15208 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15209 initializtion of main_arena and list_lock. Small cleanups.
15210 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15211 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15212 Add initializers to main_arena and mp_.
15213 (malloc_state): Remove pagesize member. Change all users to use
15216 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15217 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15218 is always initialized.
15220 * malloc/malloc.c: Removed unused configurations and dead code.
15221 * malloc/arena.c: Likewise.
15222 * malloc/hooks.c: Likewise.
15223 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15225 * include/tls.h: Removed. USE___THREAD must always be defined.
15226 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15227 * elf/dl-libc.c: Likewise.
15228 * elf/dl-tsd.c: Likewise.
15229 * include/errno.h: Likewise.
15230 * include/netdb.h: Likewise.
15231 * include/resolv.h: Likewise.
15232 * inet/herrno-loc.c: Likewise.
15233 * inet/herrno.c: Likewise.
15234 * malloc/arena.c: Likewise.
15235 * malloc/hooks.c: Likewise.
15236 * malloc/malloc.c: Likewise.
15237 * resolv/res-state.c: Likewise.
15238 * resolv/res_libc.c: Likewise.
15239 * sysdeps/i386/dl-machine.h: Likewise.
15240 * sysdeps/ia64/dl-machine.h: Likewise.
15241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15245 * sysdeps/sh/dl-machine.h: Likewise.
15246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15248 * sysdeps/unix/i386/sysdep.S: Likewise.
15249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15260 * sysdeps/x86_64/dl-machine.h: Likewise.
15261 * tls.make.c: Likewise.
15263 * configure.in: Remove --with-__thread option. Make tests for
15264 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15265 tls_model attribute fail if no support is available. Remove
15267 * Makeconfig: Adjust for dropped configure option. All features are
15269 * Makerules: Likewise.
15270 * Versions.def: Likewise.
15271 * argp/argp-fmtstream.c: Likewise.
15272 * argp/argp-fmtstream.h: Likewise.
15273 * argp/argp-help.c: Likewise.
15274 * assert/assert.c: Likewise.
15275 * config.h.in: Likewise.
15276 * config.make.in: Likewise.
15277 * configure: Likewise.
15278 * configure.in: Likewise.
15279 * csu/Versions: Likewise.
15280 * csu/init.c: Likewise.
15281 * elf/tst-audit2.c: Likewise.
15282 * elf/tst-tls10.c: Likewise.
15283 * elf/tst-tls10.h: Likewise.
15284 * elf/tst-tls11.c: Likewise.
15285 * elf/tst-tls12.c: Likewise.
15286 * elf/tst-tls14.c: Likewise.
15287 * elf/tst-tlsmod11.c: Likewise.
15288 * elf/tst-tlsmod12.c: Likewise.
15289 * elf/tst-tlsmod13.c: Likewise.
15290 * elf/tst-tlsmod13a.c: Likewise.
15291 * elf/tst-tlsmod14a.c: Likewise.
15292 * elf/tst-tlsmod15b.c: Likewise.
15293 * elf/tst-tlsmod16a.c: Likewise.
15294 * elf/tst-tlsmod16b.c: Likewise.
15295 * elf/tst-tlsmod7.c: Likewise.
15296 * elf/tst-tlsmod8.c: Likewise.
15297 * elf/tst-tlsmod9.c: Likewise.
15298 * gmon/gmon.c: Likewise.
15299 * grp/fgetgrent_r.c: Likewise.
15300 * grp/putgrent.c: Likewise.
15301 * hurd/fopenport.c: Likewise.
15302 * include/libc-symbols.h: Likewise.
15303 * include/tls.h: Likewise.
15304 * intl/gettextP.h: Likewise.
15305 * intl/loadinfo.h: Likewise.
15306 * locale/global-locale.c: Likewise.
15307 * locale/localeinfo.h: Likewise.
15308 * mach/devstream.c: Likewise.
15309 * malloc/arena.c: Likewise.
15310 * malloc/set-freeres.c: Likewise.
15311 * misc/err.c: Likewise.
15312 * misc/getttyent.c: Likewise.
15313 * misc/mntent_r.c: Likewise.
15314 * posix/getopt.c: Likewise.
15315 * posix/wordexp.c: Likewise.
15316 * pwd/fgetpwent_r.c: Likewise.
15317 * resolv/Versions: Likewise.
15318 * resolv/res_hconf.c: Likewise.
15319 * shadow/fgetspent_r.c: Likewise.
15320 * shadow/putspent.c: Likewise.
15321 * stdio-common/printf_fphex.c: Likewise.
15322 * stdio-common/tmpfile.c: Likewise.
15323 * stdlib/abort.c: Likewise.
15324 * stdlib/fmtmsg.c: Likewise.
15325 * sunrpc/auth_unix.c: Likewise.
15326 * sunrpc/clnt_perr.c: Likewise.
15327 * sunrpc/clnt_tcp.c: Likewise.
15328 * sunrpc/clnt_udp.c: Likewise.
15329 * sunrpc/clnt_unix.c: Likewise.
15330 * sunrpc/openchild.c: Likewise.
15331 * sunrpc/svc_simple.c: Likewise.
15332 * sunrpc/svc_tcp.c: Likewise.
15333 * sunrpc/svc_udp.c: Likewise.
15334 * sunrpc/svc_unix.c: Likewise.
15335 * sunrpc/xdr.c: Likewise.
15336 * sunrpc/xdr_array.c: Likewise.
15337 * sunrpc/xdr_rec.c: Likewise.
15338 * sunrpc/xdr_ref.c: Likewise.
15339 * sunrpc/xdr_stdio.c: Likewise.
15341 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15343 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15345 2011-07-03 Andreas Jaeger <aj@suse.de>
15347 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15348 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15349 regenerate with gen-libm-tests.pl.
15351 2010-05-12 Petr Baudis <pasky@suse.cz>
15354 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15355 around j0() zero points by switching to j1().
15356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15361 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15368 Patch in part by Pavel Roskin <proski@gnu.org>.
15371 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15373 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15374 Free memory block if necessary.
15377 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15378 be NULL. Don't lock in this case.
15380 2011-09-09 Roland McGrath <roland@hack.frob.com>
15382 * elf/elf.h (ELFOSABI_GNU): New macro.
15383 (ELFOSABI_LINUX): Define to that.
15385 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15387 * string/strncat.c (strncat): Undef the symbol in case it has been
15388 defined in bits/string.h.
15390 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15392 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15397 2011-08-17 Andreas Jaeger <aj@suse.de>
15399 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15401 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15402 Ian Lance Taylor <iant@google.com>
15404 * math/libm-test.inc (lround_test): New testcase.
15405 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15407 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15409 * Makefile: Remove support for automatic cvs check-ins.
15410 * Makerules: Likewise.
15411 * config.make.in: Likewise.
15412 * configure.in: Likewise.
15413 * intl/Makefile: Likewise.
15414 * locale/Makefile: Likewise.
15415 * po/Makefile: Likewise.
15416 * posix/Makefile: Likewise.
15417 * sysdeps/gnu/Makefile: Likewise.
15418 * sysdeps/mach/hurd/Makefile: Likewise.
15419 * sysdeps/sparc/sparc32/Makefile: Likewise.
15422 * posix/Makefile (bug-regex32-ENV): Define.
15423 Patch by John Stanley <jpsinthemix@verizon.net>.
15425 * misc/Makefile (headers): Add bits/select2.h.
15426 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15427 * misc/bits/select2.h: New file.
15428 * include/bits/select2.h: New file.
15429 * debug/Makefile (routines): Add fdelt_chk.
15430 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15431 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15433 * debug/fdelt_chk.c: New file.
15435 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15436 * wcsmbs/test-wmemcmp.c: Likewise.
15437 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15438 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15440 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15442 * string/Makefile (strop-tests): Add memcmp.
15443 * string/test-wmemcmp.c: New file.
15444 * string/test-memcmp.c: Add wmemcmp support.
15446 2011-09-08 Roland McGrath <roland@hack.frob.com>
15449 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15452 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15453 garbage value in a __mach_port_mod_refs call in the cases of the
15454 task-self and thread-self ports.
15456 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15458 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15460 2011-09-08 Andreas Schwab <schwab@redhat.com>
15462 * elf/dl-load.c (lose): Check for non-null L.
15464 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15466 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15468 * elf/dl-libc.c (dlerror_run): Pass back error code from
15472 * elf/dl-load.c (lose): Free l_origin if it is valid.
15474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15481 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15483 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15485 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15486 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15488 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15489 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15490 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15491 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15492 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15493 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15494 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15496 2011-08-15 Alan Modra <amodra@gmail.com>
15499 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15500 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15501 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15502 ppc_mcount to static-only-routines.
15503 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15505 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15506 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15508 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15511 for finite and infinity parameters.
15513 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15516 and add nop instructions for throughput optimization.
15517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15519 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15522 aligned copy for power7 with vector-scalar instructions.
15523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15525 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15530 2011-09-07 Andreas Schwab <schwab@redhat.com>
15533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15536 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15539 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15540 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15544 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15547 Forgot to demangle the pointer.
15549 * sysdeps/i386/sysdep.h: Define atom_text_section.
15550 * sysdeps/x86_64/sysdep.h: Likewise.
15551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15552 section with atom_text_section.
15553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15555 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15561 already be defined. Change to take two parameters and don't assign
15562 result to variable. Adjust all users.
15563 Define INTERNAL_GETTIME if not already defined.
15564 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15567 HAVE_CLOCK_GETTIME_VSYSCALL.
15568 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15571 gettimeofday vsyscall, just use time.
15573 2011-09-06 Andreas Schwab <schwab@redhat.com>
15575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15578 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15580 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15584 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15586 syscall if possible.
15588 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15590 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15591 e_ident. Don't pass to find_mapsXX.
15592 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15594 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15597 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15598 * sysdeps/x86_64/multiarch/strchr.S: Update.
15599 Check bit_slow_BSF bit.
15600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15604 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15607 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15609 (tryshell): Define.
15610 (__spawni): Change last parameter to be flag. Test
15611 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15612 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15613 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15614 * posix/spawni.c: Likewise.
15615 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15616 * posix/spawnp.c: Likewise. Change normal version to use
15617 SPAWN_XFLAGS_USE_PATH.
15618 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15619 SPAWN_XFLAGS_TRY_SHELL.
15622 * posix/glob.h: Remove gcc 1.x support.
15625 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15627 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15630 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15632 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15633 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15637 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15639 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15641 * sysdeps/x86_64/wcscmp.S: New file.
15643 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15644 wcscmp-c wcscmp-sse2
15645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15646 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15648 * wcsmbs/wcscmp.c: Allow renaming.
15650 2011-09-05 David S. Miller <davem@davemloft.net>
15652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15653 stack slot, rather than the struct return pointer slot.
15654 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15655 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15661 * po/ja.po: Update from translation team.
15664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15665 kernel in 64-bit binaries.
15667 2011-09-01 David S. Miller <davem@davemloft.net>
15669 * elf/elf.h (HWCAP_SPARC_*): Move to..
15670 * sysdeps/sparc/sysdep.h: this new file and add new values.
15671 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15672 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15673 _DL_HWCAP_COUNT to 24.
15674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15676 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15677 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15678 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15680 instead of magic constants.
15681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15683 2011-08-31 David S. Miller <davem@davemloft.net>
15685 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15687 Reimplement to do errno handling inline.
15688 (SYSCALL_ERROR_HANDLER): New macro.
15689 (__SYSCALL_STRING): Do not do errno handling in asm.
15690 (__CLONE_SYSCALL_STRING): Delete.
15691 (__INTERNAL_SYSCALL_STRING): Delete.
15692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15693 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15694 (PSEUDO): Reimplement to do errno handling inline.
15695 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15696 (SYSCALL_ERROR_HANDLER): New macro.
15697 (__SYSCALL_STRING): Do not do errno handling in asm.
15698 (__CLONE_SYSCALL_STRING): Delete.
15699 (__INTERNAL_SYSCALL_STRING): Delete.
15700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15701 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15703 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15704 (inline_syscall*): Add 'err' argument.
15705 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15706 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15707 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15708 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15710 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15713 2011-08-30 Andreas Schwab <schwab@redhat.com>
15715 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15717 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15722 2011-08-24 David S. Miller <davem@davemloft.net>
15724 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15726 2011-08-24 Andreas Schwab <schwab@redhat.com>
15728 * elf/Makefile: Add rules to build and run unload8 test.
15729 * elf/unload8.c: New file.
15730 * elf/unload8mod1.c: New file.
15731 * elf/unload8mod1x.c: New file.
15732 * elf/unload8mod2.c: New file.
15733 * elf/unload8mod3.c: New file.
15735 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15738 2011-08-23 David S. Miller <davem@davemloft.net>
15740 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15741 subtract stack bias.
15742 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15743 %sp not %fp in calculations.
15744 (_JMPBUF_UNWINDS_ADJ): Likewise.
15746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15747 (aio_suspend): Call it to force an exception region around the
15748 AIO_MISC_WAIT() invocation.
15750 2011-08-23 Andreas Schwab <schwab@redhat.com>
15752 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15755 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15757 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15759 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15760 and <dl-machine.h>.
15761 (Elf64_FuncDesc): Remove.
15763 2011-08-22 David S. Miller <davem@davemloft.net>
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15766 sigaltstack check, add missing cfi directives.
15767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15768 missing cfi directives, and sigaltstack handling.
15770 2011-08-16 Andreas Schwab <schwab@redhat.com>
15773 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15774 object is seen twice.
15775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15777 * elf/Makefile (distribute): Add tst-initorder2.c.
15778 (tests): Add tst-initorder2.
15779 (modules-names): Add tst-initorder2a tst-initorder2b
15780 tst-initorder2c tst-initorder2d. Add rules to build them.
15781 ($(objpfx)tst-initorder2.out): New rule.
15782 * elf/tst-initorder2.c: New file.
15783 * elf/tst-initorder2.exp: New file.
15785 2011-08-22 Andreas Schwab <schwab@redhat.com>
15787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15789 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15790 dependencies back to end of function.
15792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15793 $(elfobjdir)/ld.so.
15795 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15798 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15800 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15801 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15802 of __vdso_gettimeofday.
15803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15804 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15806 (_libc_vdso_platform_setup): Remove initialization of
15807 __vdso_gettimeofday and __vdso_time.
15809 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15811 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15812 and fgetc_unlocked.
15813 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15816 * elf/dl-open.c (add_to_global): Report additions to the global scope
15817 for LD_DEBUG=scopes.
15818 (dl_open_worker): Also print scope of newly loaded dependencies.
15819 (_dl_show_scope): Indicate if there is no scope.
15822 * stdio-common/Makefile (tests): Add bug24.
15823 * stdio-common/bug24.c: New file.
15825 2011-08-19 Andreas Jaeger <aj@suse.de>
15828 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15829 non-existant file when using close-on-exec mode.
15831 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15834 the very first instruction.
15836 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15837 the CFI state in the end.
15838 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15839 inclusion of dl-trampoline.h.
15840 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15842 2011-08-19 Andreas Schwab <schwab@redhat.com>
15844 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15845 expectations for long double.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15848 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15850 2011-08-14 David S. Miller <davem@davemloft.net>
15852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15853 artificual limit depends upon the system page size.
15855 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15857 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15858 * resolv/Makefile: Define CFLAGS-libresolv.
15860 2011-08-17 Andreas Schwab <schwab@redhat.com>
15862 * nss/makedb.c (compute_tables): Make variables used in nested
15865 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15867 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15868 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15869 if buffer was too small.
15871 * elf/pldd.c (main): Attach to all threads in the process.
15872 Rewrite /proc handling to use *at functions.
15874 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15876 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15877 specifies first scope to show.
15878 (dl_open_worker): Update callers. Move printing scope of new
15879 object to before the relocation.
15880 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15881 * sysdeps/generic/ldsodefs.h: Update declaration.
15883 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15884 string for the scope number.
15886 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15888 * nscd/servicescache.c (cache_addserv): Make sure written is always
15891 2011-08-14 Roland McGrath <roland@hack.frob.com>
15893 * sysdeps/i386/i486/bits/atomic.h
15894 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15895 statement expression, so as to suppress "set but not used" warning.
15896 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15898 * string/strncat.c (STRNCAT): Use prototype definition.
15900 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15901 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15903 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15904 (localedef-modules): Add localedef.
15905 (locale-modules): Add locale.
15907 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15908 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15909 to avoid a warning.
15911 2011-08-14 David S. Miller <davem@davemloft.net>
15913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15914 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15916 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15918 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15919 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15920 * elf/rtld.c (dl_main): Set l_name of vDSO.
15921 Call _dl_show_scope when DL_DEBUG_SCOPES.
15922 (process_dl_debug): Recognize scopes flag and also set it for all.
15923 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15924 Declare _dl_show_scope.
15926 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15927 (do_dlopen): Pass caller_dlopen to dl_open.
15928 (__libc_dlopen_mode): Initialize caller_dlopen.
15930 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15931 of libc. Make tolower call locale-independent. Optimize a bit by
15932 using isdigit instead of isalnum.
15933 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15935 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15937 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15938 was a dependency or dynamically loaded.
15940 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15942 * intl/l10nflist.c: Allow architecture-specific pop function.
15943 * sysdeps/x86_64/l10nflist.c: New file.
15945 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15948 2011-08-10 Andreas Schwab <schwab@redhat.com>
15950 * include/dirent.h: Add libc_hidden_proto for scandirat and
15951 scandirat64. Don't declare __scandirat64.
15952 * dirent/scandirat.c: Add libc_hidden_def.
15953 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15954 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15956 2011-08-10 David S. Miller <davem@davemloft.net>
15958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15964 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15966 * Versions.def [libc]: Add GLIBC_2.15.
15967 * dirent/Makefile (routines): Add scandirat and scandirat64.
15968 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15970 * dirent/dirent.h: Declare scandirat and scandirat64.
15971 * dirent/scandirat.c: New file.
15972 * dirent/scandirat64.c: New file.
15973 * sysdeps/wordsize-64/scandirat.c: New file.
15974 * sysdeps/wordsize-64/scandirat64.c: New file.
15975 * dirent/opendir.c: Define opendirat.
15976 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15978 * dirent/scandir64.c: Adjust for scandir.c change.
15979 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15980 __scandirat64, and __scandir_cancel_handler.
15981 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15982 additional parameter and use openat instead of open (outside of ld.so).
15983 Add new __opendir as wrapper around __opendirat.
15984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15985 here without requiring old scandirat implementation.
15987 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15989 * dirent/scandir.c (cancel_handler): Renamed to
15990 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15991 defined. Adjust users.
15992 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15995 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15997 * string/test-string.h (IMPL): Use __STRING to expand name and then
16000 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16003 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16005 * string/Makefile: Update.
16006 (strop-tests): Append strncat.
16007 * string/test-wcscmp.c: New file.
16008 New comprehensive test for wcscmp.
16009 * string/test-strcmp.c: Update.
16010 (WIDE): New define.
16012 2011-07-22 Andreas Schwab <schwab@redhat.com>
16014 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16017 2011-07-26 Andreas Schwab <schwab@redhat.com>
16019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16020 encoding to ACE if AI_IDN.
16022 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16025 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16030 Fix overflow bug in strncat.
16031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16033 * string/test-strncat.c: Update.
16034 Add new tests for checking overflow bugs.
16036 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16039 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16040 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16041 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16043 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16044 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16045 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16046 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16049 (USE_AS_STRCAT): Define.
16050 Add strcat and strncat support.
16051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16053 2011-07-25 Andreas Schwab <schwab@redhat.com>
16055 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16056 __n bigger than INT_MAX+1.
16057 (__strncmp_g): Likewise.
16059 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16061 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16062 * libio/stido.h: Likewise.
16064 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16069 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16076 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16081 (_dl_x86_64_save_sse): Likewise.
16083 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16087 (_dl_x86_64_save_sse): Likewise.
16089 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16091 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16093 2011-07-21 Andreas Schwab <schwab@redhat.com>
16095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16097 (_dl_x86_64_save_sse): Use correct AVX check.
16099 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16102 bug in strncpy/strncat.
16103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16105 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16107 * string/tester.c (test_strcat): Add tests for different alignments
16108 of source and destination.
16109 (test_strncat): Likewise.
16111 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16114 * posix/glob.c (glob): Check passed in values before using them in
16115 expressions to avoid some overflows.
16116 (glob_in_dir): Likewise.
16119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16120 check for AVX enablement so that we don't crash with old kernels and
16122 * elf/tst-audit4.c: Add same checks here.
16123 * elf/tst-audit6.c: Likewise.
16125 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16127 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16129 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16131 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16133 * po/cs.po: Update from translation team.
16134 * po/bg.po: Likewise.
16136 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16138 * misc/sys/cdefs.h: Add support for const attribute.
16139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16140 to gnu_dev_{major,minor,makedev} functions.
16142 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16144 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16146 2011-07-20 Andreas Schwab <schwab@redhat.com>
16148 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16151 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16154 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16155 register in order to avoid conflicts with the soft frame pointer
16156 being held in r11 when necessary.
16157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16158 (INTERNAL_VSYSCALL_NCS): Likewise.
16160 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16162 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16163 * elf/dl-fini.c (_dl_fini): Adjust caller.
16164 * elf/dl-close.c (_dl_close_worker): Likewise.
16165 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16167 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16169 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16170 "aux_cache->nlibs < 0".
16172 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16173 in the reload-count case.
16175 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16178 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16179 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16180 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16181 * sysdeps/x86_64/multiarch/strcat.S: New file.
16182 * sysdeps/x86_64/multiarch/strncat.S: New file.
16183 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16185 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16186 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16188 (USE_AS_STRCAT): Define.
16189 Add strcat and strncat support.
16190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16193 * string/strncat.c: Update.
16194 (USE_AS_STRNCAT): Define.
16195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16196 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16198 * sysdeps/x86_64/multiarch/init-arch.h
16199 (bit_Prefer_PMINUB_for_stringop): New.
16200 (index_Prefer_PMINUB_for_stringop): Likewise.
16201 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16202 bit_Prefer_PMINUB_for_stringop.
16204 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16206 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16208 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16209 of casting of buffer.
16210 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16211 buffer32 and buffer64.
16212 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16213 writes instead of casting of buffer.
16214 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16216 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16219 2011-07-19 Andreas Schwab <schwab@redhat.com>
16221 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16223 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16225 * nscd/nscd.c (termination_handler): Don't do anything for a database
16226 if it has not yet been initialized.
16228 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16230 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16232 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16234 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16236 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16238 * po/nl.po: Update from translation team.
16239 * po/sv.po: Likewise.
16241 2011-07-16 Roland McGrath <roland@hack.frob.com>
16243 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16244 now disallowed by GCC.
16246 * configure.in (use-default-link): Default to yes if a test -shared
16247 link meets our qualifications.
16248 * configure: Regenerated.
16250 * config.make.in (output-format): New variable.
16251 * configure.in: Check for ld --print-output-format support.
16252 * configure: Regenerated.
16253 * Makerules ($(common-objpfx)format.lds)
16254 [$(output-format) != unknown]: Just use $(output-format),
16255 instead of the linker-script munging.
16257 2011-07-14 Roland McGrath <roland@hack.frob.com>
16259 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16260 of $(common-objpfx)shlib.lds.
16261 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16263 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16264 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16266 * configure.in (-z relro check): Adjust test code to add a large
16267 writable data section after it.
16268 * configure: Regenerated.
16270 2011-07-11 Roland McGrath <roland@hack.frob.com>
16272 * configure.in (-z relro check): Fix test code to make the variable
16274 * configure: Regenerated.
16276 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16278 * nscd/nscd.h (struct traced_file): Define.
16279 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16280 elements. Add traced_files.
16281 (inotify_fd): Declare.
16282 (register_traced_file): Declare.
16283 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16284 (inotify_fd): Export.
16285 (resolv_conf_descr): Remove.
16286 (nscd_init): Move inotify descriptor creation to main.
16287 Don't register files for notification here.
16288 (register_traced_file): New function.
16289 (invalidate_cache): Don't use reset_res to determine whether to call
16290 res_init, go through the list of registered files.
16291 (main_loop_poll): The inotify descriptors are now stored in the
16292 structures for the traced files.
16293 (main_loop_epoll): Likewise
16294 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16295 to __nss_disable_nscd.
16296 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16297 for a database anymore. Check the records for all the registered
16299 * nss/Makefile (libnss_files-routines): Add files-init.
16300 (libnss_db-routines): Add db-init.
16301 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16302 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16303 * nss/nss_db/db-init.c: New file.
16304 * nss/nss_files/files-init.c: New file.
16305 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16306 __nss_lookup_function.
16307 (__nss_lookup_function): Call nss_load_library.
16308 (nss_load_all_libraries): New function.
16309 (__nss_disable_nscd): Take parameter with callback function for files
16310 to register. Set is_nscd. Load all the DSOs for the NSS modules
16311 used for the cached services.
16312 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16314 options for features to all the files in nscd.
16316 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16318 2011-07-10 Roland McGrath <roland@hack.frob.com>
16320 * csu/elf-init.c (__libc_csu_init): Comment typo.
16322 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16324 * po/pl.po: Update from translation team.
16325 * po/ja.po: Likewise.
16326 * po/ru.po: Likewise.
16327 * po/ko.po: Likewise.
16328 * po/fr.po: Likewise.
16330 2011-07-09 Roland McGrath <roland@hack.frob.com>
16332 * configure.in (.ctors/.dtors header and trailer check):
16333 Use an empirical test on a built program.
16334 * configure: Regenerated.
16336 * configure.in (-z relro check): Use an empirical test on a built DSO.
16337 Detect, but do not require, on ia64.
16338 * configure: Regenerated.
16340 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16341 Update tests that use readelf to use $READELF instead.
16342 * configure: Regenerated.
16344 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16346 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16347 if the result is not used.
16349 2011-07-05 Andreas Jaeger <aj@suse.de>
16352 * stdlib/tst-strtod.c: Add testcase.
16354 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16356 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16357 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16358 The latter has a higher limit. Take additional parameter to pass to
16360 (__pathconf): Pass file to __statfs_link_max.
16361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16363 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16367 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16371 (__statfs_filesize_max): Likewise.
16372 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16374 2011-07-05 Andreas Jaeger <aj@suse.de>
16376 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16378 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16380 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16382 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16385 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16387 * Makefile (strop-tests): Add strncat.
16388 * string/test-strncat.c: New file.
16390 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16392 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16394 2011-06-21 Andreas Jaeger <aj@suse.de>
16396 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16397 Copy rule from iconvdata/Makefile.
16399 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16402 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16403 but no long options are defined, just return 'W'.
16405 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16408 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16410 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16412 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16414 (innetgr): Likewise.
16416 2011-07-05 Roland McGrath <roland@hack.frob.com>
16418 * config.make.in (install_root): Default to $(DESTDIR).
16420 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16424 2011-07-02 Roland McGrath <roland@hack.frob.com>
16426 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16428 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16429 containing directory rather than embedding absolute directory names.
16431 * scripts/check-local-headers.sh: Rewritten using awk.
16432 Match by word, not by line. Print error messages for matches.
16433 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16435 * Makerules [shlib-lds-flags empty]:
16436 ($(common-objpfx)libc_pic.opts): New target.
16437 ($(common-objpfx)libc_pic.os.clean): New target.
16438 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16440 * config.make.in (OBJCOPY): New variable.
16441 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16442 * configure: Regenerated.
16444 * config.make.in (use-default-link): New variable.
16445 * configure.in (use_default_link): Grok --with-default-link to set it.
16446 * configure: Regenerated.
16447 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16448 (shlib-lds, shlib-lds-flags): Define to empty.
16450 * Makerules (shlib-lds): New variable.
16451 (shlib-lds-flags): New variable.
16452 (build-shlib, build-moduile, build-module-asneeded): Use it.
16453 ($(common-objpfx)libc.so): Use $(shlib-lds).
16454 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16457 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16458 DT_FLAGS/DT_FLAGS_1 with zero flags.
16460 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16461 linker script munging.
16463 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16465 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16467 * crypt/sha512.c (sha512_process_block): Perform total addition using
16468 128-bit if possible.
16469 (__sha512_finish_ctx): Likewise.
16470 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16472 * crypt/sha256.c (SWAP64): Define.
16473 (sha256_process_block): Perform total addition using 64-bit if
16475 (__sha256_finish_ctx): Likewise.
16477 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16479 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16481 * nscd/hstcache.c (cache_addhst): Likewise.
16482 * nscd/grpcache.c (cache_addgr): Likewise.
16483 * nscd/aicache.c (addhstaiX): Likewise
16484 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16486 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16488 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16490 * nscd/hstcache.c (cache_addhst): Likewise.
16491 * nscd/grpcache.c (cache_addgr): Likewise.
16492 * nscd/aicache.c (addhstaiX): Likewise
16494 2011-07-01 Andreas Schwab <schwab@redhat.com>
16496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16497 domain only when needed.
16499 2011-06-30 Andreas Schwab <schwab@redhat.com>
16501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16502 is always restored.
16504 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16506 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16507 are re-adding the entry.
16508 * nscd/servicescache.c (cache_addserv): Likewise.
16510 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16512 * sysdeps/generic/dl-irel.h: fix protection against multiple
16514 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16516 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16519 * malloc/memusage.sh: Fix quoting in message.
16520 * debug/xtrace.sh: Likewise.
16522 * configure.in: Remove support for --experimental-malloc option, make
16524 * config.make.in: Likewise.
16525 * malloc/Makefile: Likewise.
16527 2011-06-27 Andreas Schwab <schwab@redhat.com>
16529 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16530 two-byte characters.
16532 2011-06-27 Roland McGrath <roland@hack.frob.com>
16534 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16535 AC_CACHE_CHECK invocation.
16536 * configure: Regenerated.
16538 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16540 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16543 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16544 bit from old_res_options.
16546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16548 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16549 value type for setfct.
16551 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16554 __gettimeofday instead of gettimeofday.
16556 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16558 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16560 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16564 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16567 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16570 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16571 strcpy-sse2-unaligned strncpy-sse2-unaligned
16572 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16573 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16574 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16575 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16576 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16579 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16580 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16581 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16582 (STRCPY): Support SSE2 and SSSE3 versions.
16584 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16588 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16589 kernels which artificially limit size of requests.
16591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16594 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16595 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16596 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16597 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16598 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16599 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16600 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16603 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16604 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16605 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16606 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16607 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16609 Enable unaligned load optimization for Intel Core i3, i5 and i7
16611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16613 (index_Fast_Unaligned_Load): Define.
16614 (HAS_FAST_UNALIGNED_LOAD): Define.
16616 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16618 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16620 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16624 until it is clear that the information is realy needed.
16625 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16627 2011-06-22 Andreas Schwab <schwab@redhat.com>
16629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16631 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16634 /sys/devices/system/cpu/online if it is usable.
16636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16637 reading the information from the /proc filesystem to once a second.
16639 2011-06-21 Andreas Jaeger <aj@suse.de>
16641 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16642 NULL after inclusion of kernel headers.
16644 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16646 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16647 calls to internal_setent.
16650 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16651 addresses using gethostbyname4_r ignore IPv4 addresses.
16653 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16654 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16656 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16658 2011-06-20 David S. Miller <davem@davemloft.net>
16660 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16662 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16664 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16665 (elf_irel): Use it.
16666 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16667 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16668 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16669 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16670 * sysdeps/x86_64/dl-irel.h: Likewise.
16672 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16673 * elf/dl-sym.c: Likewise.
16675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16677 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16678 need to dereference resplen2.
16680 2011-06-14 Andreas Schwab <schwab@redhat.com>
16682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16684 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16686 * Makeconfig: Define vardbdir and inst_vardbdir.
16687 * nss/Makefile: Add rules to install db-Makefile.
16689 * nss/nss_db/db-XXX.c: Cleanup.
16691 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16692 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16694 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16695 * nss/makedb.c: Implement -g option to specify that value strings
16696 are generated and should not be added to table iterated over for
16698 * nss/nss_db/db-initgroups.c: New file.
16700 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16703 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16704 (internal_getgrouplist): Adjust to name change.
16705 Update use_initgroups_entry if this is not the first call.
16706 * nss/databases.def: Add initgroups entry.
16708 * nss/makedb.c (compute_tables): Check result of multiple hash table
16709 sizes to minimize maximum chain length.
16711 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16713 * Versions.def: Add entry for libnss_db.
16714 * shlib-versions: Likewise.
16715 * nss/Makefile: Add rules to build libnss_db.
16716 * nss/Versions: Add libnss_db information. Organize libnss_files
16718 * nss/db-Makefile: Add gshadow support. Change rules for the new
16719 makedb progra. Some minor improvements to generate smaller files.
16720 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16722 * nss/makedb.c: ...here.
16723 Improve database format to be smaller and require less memory at
16725 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16727 * nss/nss_db/db-netgrp.c: Likewise.
16728 * nss/nss_db/db-open.c: Likewise.
16729 * nss/nss_files/flies-XXX.x: Adjust comments.
16730 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16731 * nss/nss_files/files-grp.c: Likewise.
16732 * nss/nss_files/files-hosts.c: Likewise.
16733 * nss/nss_files/files-network.c: Likewise.
16734 * nss/nss_files/files-proto.c: Likewise.
16735 * nss/nss_files/files-pwd.c: Likewise.
16736 * nss/nss_files/files-rpc.c: Likewise.
16737 * nss/nss_files/files-service.c: Likewise.
16738 * nss/nss_files/files-sgrp.c: Likewise.
16739 * nss/nss_files/files-spwd.c: Likewise.
16740 * nss/nss_db/db-alias.c: Removed.
16741 * nss/nss_db/dummy-db.h: Removed.
16743 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16745 * nss/makedb.c: Rewritten to not use database library.
16746 * nss/Makefile: Update to build new makedb program.
16748 2011-06-14 Andreas Jaeger <aj@suse.de>
16750 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16751 memset declaration.
16753 2011-06-10 Andreas Schwab <schwab@redhat.com>
16755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16758 2011-06-10 Roland McGrath <roland@hack.frob.com>
16760 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16761 * elf/Makefile ($(objpfx)ld.so): Likewise.
16763 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16764 Don't list ld.so twice in dependencies.
16766 * posix/bug-regex31.c: Include <stdlib.h>.
16768 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16770 * nis/nss_compat/compat-spwd.c
16771 (getspent_next_nss_netgr): Remove unused variable.
16772 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16774 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16775 nonmembers" output to use the right array.
16777 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16779 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16781 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16782 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16783 * catgets/gencat.c (read_input_file): Likewise.
16784 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16787 variable definition inside #if's controlling its use.
16789 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16791 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16793 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16795 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16798 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16800 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16801 * configure: Regenerated.
16803 * Makerules: Revert last change.
16804 * elf/Makefile: Likewise.
16806 2011-06-09 Roland McGrath <roland@hack.frob.com>
16808 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16809 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16810 (reloc-link): Likewise.
16812 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16814 * elf/Makefile: Add rules to build pldd.
16815 * elf/pldd.c: New file.
16816 * elf/pldd-xx.c: New file.
16818 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16820 * version.h: Update for 2.15 development version.
16822 2011-06-07 David S. Miller <davem@davemloft.net>
16824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16827 elf_machine_lazy_rel): Likewise.
16828 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16830 elf_machine_lazy_rel): Likewise.
16831 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16832 dl_hwcap via passed in argument.
16833 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16836 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16838 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16840 2011-06-06 Roland McGrath <roland@hack.frob.com>
16843 * manual/fdl-1.1.texi: New file, verbatim from:
16844 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16845 * manual/lgpl-2.1.texi: New file, verbatim from:
16846 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16847 * manual/Makefile (licenses): New variable, list those new file names.
16849 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16851 * manual/fdl.texi: File removed.
16852 * manual/lesser.texi: File removed.
16853 * manual/libc.texinfo (Copying, Documentation License):
16854 Use new @include file names, put @appendix directive before @include.
16856 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16859 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16860 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16861 (mq_open): Add __NTH.
16863 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16866 Assume Intel Core i3/i5/i7 processor if AVX is available.
16868 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16873 2011-05-31 Andreas Schwab <schwab@redhat.com>
16875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16876 memory. Use alloca_account. Fix memory leak when retrying.
16878 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16880 * version.h (RELEASE): Bump for 2.14 release.
16881 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16883 * config.make.in (RANLIB): Remove entry.
16885 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16887 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16888 (libc.pot): Work around missing support for .ksh extension in xgettext.
16891 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16892 if both request failed.
16893 (send_dg): In case of server errors clear resplen or *resplen2.
16896 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16897 when there are multiple maps.
16898 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16899 (_dl_fini): Remove test here.
16901 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16903 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16906 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16907 bit from old_res_options.
16908 (gaih_inet): Likewise.
16911 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16914 * resolv/res_init.c (res_setoptions): Make the code more compact.
16917 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16921 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16923 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16926 * malloc/malloc.h: Declare malloc hook variables as volatile.
16928 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16932 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16933 raise in the comment.
16934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16938 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16941 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16942 grow the buffers more if it already has to be sufficient.
16943 (build_wcs_upper_buffer): Likewise.
16944 * posix/regexec.c (check_matching): Likewise.
16945 (clean_state_log_if_needed): Likewise.
16946 (extend_buffers): Don't enlarge buffers beyond size of the input
16948 Patches mostly by Emil Wojak <emil@wojak.eu>.
16949 * posix/bug-regex32.c: New file.
16950 * posix/Makefile (tests): Add bug-regex32.
16952 * locale/findlocale.c (_nl_find_locale): Return right away if
16953 _nl_explode_name failed.
16954 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16958 * debug/xtrace.sh: Unify messages.
16959 * malloc/memusage.sh: Likewise.
16962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16963 time symbol from vDSO. Substitute with vsyscall if not available.
16964 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16968 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16970 Add sendmmsg and internal_sendmmsg.
16971 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16975 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16976 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16979 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16982 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16983 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16989 * iconvdata/Makefile (tests): Add bug-iconv9.
16990 * iconvdata/bug-iconv9.c: New file.
16992 2011-05-27 Andreas Schwab <schwab@redhat.com>
16995 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16997 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17000 (struct user_regs_struct): Change intcs field back to cs.
17002 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17004 * po/ja.po: Update from translation team.
17006 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17010 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17012 2011-05-20 Andreas Schwab <schwab@redhat.com>
17014 * stdlib/longlong.h: Update from GCC.
17016 2011-05-23 Andreas Schwab <schwab@redhat.com>
17018 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17020 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17021 Add parameter name.
17022 (__sysconf): Pass it down.
17024 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17027 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17030 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17031 add in in __libc_use_alloca calls. Adjust callers.
17032 (glob): Use malloc in some situations.
17034 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17035 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17038 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17040 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17041 and CLOCK_BOOTTIME_ALARM.
17044 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17047 * string/_strerror.c (__strerror_r): Print negative errors as signed
17051 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17052 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17053 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17055 * configure.in: Fix typo in redirection and correct removal of test
17056 files in two cases.
17059 * locale/setlocale.c (new_composite_name): Fix test to check for
17060 identical name of all categories.
17063 * libio/filedoalloc.c (local_isatty): New function.
17064 (_IO_file_doallocate): Use local_isatty.
17065 * stdio-common/perror.c (perror): In case a new stream is used
17066 forward the stream error.
17067 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17070 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17075 * include/alloca.h (extend_alloca_account): Define.
17078 * posix/regex.h: Fix comments with documentation of user-accessible
17079 fields after compilation and describe correct free'ing of pattern
17080 after re_compile_pattern.
17081 Patch by Reuben Thomas <rrt@sc3d.org>.
17083 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17085 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17086 and -mno-altivec to prevent the compiler from using Altivec and/or
17087 VSX instructions when the corresponding registers are not available.
17089 2011-05-19 Andreas Schwab <schwab@redhat.com>
17091 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17093 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17095 * libio/freopen.c (freopen): Use __dup2, not dup2.
17096 * libio/freopen64.c (freopen64): Likewise.
17098 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17101 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17102 * math/Makefile (tests): Add test-powl.
17103 (CFLAGS-test-powl.c): Define.
17104 * math/test-powl.c: New file.
17106 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17108 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17110 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17113 * iconvdata/gb18030.c: Update to GB18020-2005.
17115 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17117 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17118 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17119 Patch by Aharon Robbins <arnold@skeeve.com>.
17122 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17126 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17127 through underflows.
17130 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17131 point to strings before performing equality test for error_one_per_line
17135 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17139 (struct user_fpregs_struct): Avoid __uint*_t types.
17142 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17143 symbol info. Use it instead of calling _dl_addr locally.
17144 (lock_and_info): New function.
17145 (tr_freehook): Call lock_and_info and pass symbol info as additional
17146 parameter to tr_where.
17147 (tr_mallochook): Likewise.
17148 (tr_reallochook): Likewise.
17149 (tr_memalignhook): Likewise.
17151 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17152 used and couldn't be at all thread-safe.
17154 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17156 * libio/freopen.c (freopen): Don't close old file descriptor
17157 before the new one is opened. Instead dup the new file descriptor
17158 to the old one after the new stream is created.
17159 * libio/freopen64.c (freopen64): Likewise.
17160 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17161 * libio/fileops.c (_IO_new_file_close_it): Handle new
17162 _IO_FLAGS2_NOCLOSE flag.
17163 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17164 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17165 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17166 _IO_FLAGS2_NOCLOSE flag.
17167 * include/unistd.h: Add hidden_proto for dup3.
17168 Define __have_dup3.
17169 * io/dup3.c: Define hidden symbol.
17170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17173 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17174 when an incomplete long option is used.
17175 * posix/tst-getopt_long1.c: New file.
17176 * posix/Makefile (tests): Add tst-getopt_long1.
17179 * scripts/config.guess: Update from autoconf-2.68.
17180 * scripts/config.sub: Likewise.
17183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17185 (has_cpuclock): ...this. New function.
17186 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17187 macro here based on has_cpuclock code.
17190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17191 First byte (not low byte) is now always NUL.
17192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17195 Use non-cancelable interfaces.
17198 * locale/iso-639.def: Add entry for Sorani.
17201 * include/stdlib.h: Move include protection to the right place.
17202 Define abort_msg_s. Declare __abort_msg with it.
17203 * stdlib/abort.c (__abort_msg): Adjust type.
17204 * assert/assert.c (__assert_fail_base): New function. Majority
17205 of code from __assert_fail. Allocate memory for __abort_msg with
17207 (__assert_fail): Now call __assert_fail_base.
17208 * assert/assert-perr.c: Remove bulk of implementation. Use
17209 __assert_fail_base.
17210 * include/assert.hL Declare __assert_fail_base.
17211 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17213 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17215 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17219 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17220 until all modules are registered in the DTV.
17221 * elf/Makefile: Add rules to build and run tst-tls19.
17222 * elf/tst-tls19.c: New file.
17223 * elf/tst-tls19mod1.c: New file.
17224 * elf/tst-tls19mod2.c: New file.
17225 * elf/tst-tls19mod3.c: New file.
17226 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17229 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17233 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17234 two-byte sequence errors.
17235 * iconvdata/Makefile (tests): Add bug-iconv8.
17236 * iconvdata/bug-iconv8.c: New file.
17239 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17242 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17245 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17246 (dummy_getcfa): New function.
17247 (init): Get _Unwind_GetCFA address, use dummy if not found.
17248 (backtrace_helper): In recursion check, also check whether CFA changes.
17249 (__backtrace): Completely initialize arg.
17251 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17252 storing incomplete byte sequence in state object. Avoid testing for
17253 guaranteed too small input if we know there is enough data available.
17255 2011-05-11 Andreas Schwab <schwab@redhat.com>
17257 * Makeconfig (+link-pie): Indent.
17258 * Rules (binaries-pie): Define if $(have-fpie) and
17260 (binaries-shared): Also filter out $(binaries-pie).
17261 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17262 * nscd/Makefile (others-pie): Add nscd.
17263 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17264 ($(objpfx)nscd): Remove command override.
17265 * login/Makefile (others-pie): Add pt_chown.
17266 ($(objpfx)pt_chown): Remove command override.
17267 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17268 remove command overrides.
17270 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17272 * libio/tst_putwc.c: Fix error messages.
17275 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17276 currently writing and seek to current position when not.
17277 * libio/Makefile (tests): Add bug-fclose1.
17278 * libio/bug-fclose1.c: New file.
17280 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17283 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17284 don't set DF_1_NODELETE here.
17285 (do_lookup_x): When entering new entry test for copy relocation
17286 and if necessary set DF_1_NODELETE flag.
17287 * elf/tst-unique4.cc: New file.
17288 * elf/tst-unique4.h: New file.
17289 * elf/tst-unique4lib.cc: New file.
17290 * elf/Makefile: Add rules to build and run tst-unique4.
17291 Patch by Piotr Bury <pbury@goahead.com>.
17293 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17296 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17299 * misc/mntent_r.c (addmntent): Flush the stream after the output
17302 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17303 (is_trusted_path_normalize): Skip initial colon. Append slash
17304 to empty buffer. Duplicate is_trusted_path code but allow
17305 constructed patch to be prefix.
17306 (is_dst): Allow $ORIGIN followed by /.
17307 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17308 Correct testing of result of is_trusted_path_normalize
17309 (decompose_rpath): Fix warning.
17311 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17314 * grp/initgroups.c (internal_getgrouplist): When we found the service
17315 list through the initgroups entry in nsswitch.conf do not always
17316 continue on a successful lookup. Don't always use the
17317 __nss_group_database value if it is set.
17318 * nss/nsswitch.conf (initgroups): Change action for successful db
17319 lookup to continue for compatibility.
17321 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17324 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17326 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17328 * iconvdata/tst-tables.sh: Likewise.
17329 * iconvdata/cp770.c: New file.
17330 * iconvdata/cp771.c: New file.
17331 * iconvdata/cp772.c: New file.
17332 * iconvdata/cp773.c: New file.
17333 * iconvdata/cp774.c: New file.
17334 * iconvdata/testdata/CP770: New file.
17335 * iconvdata/testdata/CP770..UTF8: New file.
17336 * iconvdata/testdata/CP771: New file.
17337 * iconvdata/testdata/CP771..UTF8: New file.
17338 * iconvdata/testdata/CP772: New file.
17339 * iconvdata/testdata/CP772..UTF8: New file.
17340 * iconvdata/testdata/CP773: New file.
17341 * iconvdata/testdata/CP773..UTF8: New file.
17342 * iconvdata/testdata/CP774: New file.
17343 * iconvdata/testdata/CP774..UTF8: New file.
17345 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17347 * iconvdata/gen-8bit-gap.sh: Likewise.
17348 * iconvdata/gen-8bit.sh: Likewise.
17350 * locale/iso-639.def: Add ary entry.
17353 * locale/C-translit.h.in: Add U20A1 transliteration.
17356 * locale/iso-639.def: Add wae entry.
17357 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17360 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17364 * locale/C-translit.h.in: Add entry for U20B9.
17365 Patch by pravin.d.s@gmail.com.
17367 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17370 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17371 ENAMETOOLONG use generic getcwd.
17372 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17373 in rtld. Use *stat64.
17374 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17375 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17376 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17377 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17378 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17379 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17380 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17381 __fstatat64 macros.
17382 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17383 * dirent/rewinddir.c: Add libc_hidden_def.
17384 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17385 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17387 * include/dirent.h (__alloc_dir): Add flags parameter.
17388 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17389 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17391 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17392 from fdopendir if O_CLOEXEC is already set.
17394 2011-03-15 Alan Modra <amodra@gmail.com>
17396 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17397 l_tls_firstbyte_offset non-zero. Save padding offset in
17398 l_tls_firstbyte_offset for later use.
17399 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17400 freeing static tls block.
17402 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17404 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17405 where #ifdef was intended. The intent is to prevent ARG_MAX from
17406 being defined by the kernel headers.
17408 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17411 * resolv/resolv.h: Define RES_NOTLDQUERY.
17412 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17413 no-tld-query and set RES_NOTLDQUERY.
17414 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17415 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17416 modern BIND to search name as TLD unless forbidden.
17418 2011-05-07 Petr Baudis <pasky@suse.cz>
17419 Ulrich Drepper <drepper@gmail.com>
17422 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17423 (is_trusted_path): ...to here.
17424 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17425 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17426 using is_trusted_path_normalize() in setuid scripts.
17428 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17431 __BEGIN/__END_DECLS.
17433 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17436 NSS_STATUS_NOTFOUND if no record was found.
17438 2011-05-05 Andreas Schwab <schwab@redhat.com>
17440 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17441 (headers-not-in-tirpc): Remove rpc/netdb.h
17442 * resolv/netdb.h: Revert last change.
17444 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17446 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17447 circular dependency between libgcc.a and libc.a.
17449 2011-05-05 Andreas Schwab <schwab@redhat.com>
17451 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17452 * nis/Makefile: Don't install rpcsvc/*.
17453 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17454 instead of <rpc/types.h>.
17455 (MAXHOSTNAMELEN): Define.
17457 2011-05-03 Andreas Schwab <schwab@redhat.com>
17459 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17461 2011-04-28 Maciej Babinski <mbabinski@google.com>
17464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17465 gethostbyname4_r when IPv6 results are possible.
17467 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17470 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17471 _PC_PIPE_BUF handling.
17473 2011-04-30 Bruno Haible <bruno@clisp.org>
17476 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17477 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17479 * inet/getnameinfo.c (getnameinfo): Likewise.
17481 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17483 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17484 to groups setting in database lookup.
17485 * nss/nsswitch.conf: Add initgroups entry.
17487 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17490 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17492 Patch by Eric Blake <eblake@redhat.com>.
17494 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17496 * sunrpc/Makefile (need-export-routines): Add svc_run.
17497 (routines): Remove svc_run.
17498 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17499 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17500 * sunrpc/svc_run.c (svc_run): Likewise.
17501 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17503 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17506 problem in reallocation in last patch.
17508 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17510 * sunrpc/Makefile: Move inclusion of Rules.
17512 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17514 * nss/nss_files/files-initgroups.c: New file.
17515 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17516 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17517 _nss_files_initgroups_dyn.
17519 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17521 * elf/elf.h (R_ARM_IRELATIVE): Define.
17523 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17525 * po/ru.po: Update from translation team.
17527 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17529 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17532 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17536 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17541 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17545 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17549 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17554 * stdlib/bug-getcontext.c: New file.
17555 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17557 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17560 instructions into .machine "z9-109".
17561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17564 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17566 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17567 between environment variables and auxiliary vector.
17569 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17571 * Makefile: Add rules to build linkobj/libc.so.
17572 * include/libc-symbols.h: Define libc_hidden_nolink.
17573 * include/rpc/auth.h: Mark functions which are to be hidden.
17574 * include/rpc/auth_des.h: Likewise.
17575 * include/rpc/auth_unix.h: Likewise.
17576 * include/rpc/clnt.h: Likewise.
17577 * include/rpc/des_crypt.h: Likewise.
17578 * include/rpc/key_prot.h: Likewise.
17579 * include/rpc/pmap_clnt.h: Likewise.
17580 * include/rpc/pmap_prot.h: Likewise.
17581 * include/rpc/pmap_rmt.h: Likewise.
17582 * include/rpc/rpc_msg.h: Likewise.
17583 * include/rpc/svc.h: Likewise.
17584 * include/rpc/svc_auth.h: Likewise.
17585 * include/rpc/xdr.h: Likewise.
17586 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17587 * nss/Makefile: Likewise.
17588 * sunrpc/Makefile: Don't install headers. Build library with normal
17589 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17590 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17591 for the compat linking library. Remove use of INTDEF/INTUSE.
17592 * sunrpc/auth_none.c: Likewise.
17593 * sunrpc/auth_unix.c: Likewise.
17594 * sunrpc/authdes_prot.c: Likewise.
17595 * sunrpc/authuxprot.c: Likewise.
17596 * sunrpc/clnt_gen.c: Likewise.
17597 * sunrpc/clnt_perr.c: Likewise.
17598 * sunrpc/clnt_raw.c: Likewise.
17599 * sunrpc/clnt_simp.c: Likewise.
17600 * sunrpc/clnt_tcp.c: Likewise.
17601 * sunrpc/clnt_udp.c: Likewise.
17602 * sunrpc/clnt_unix.c: Likewise.
17603 * sunrpc/des_crypt.c: Likewise.
17604 * sunrpc/des_soft.c: Likewise.
17605 * sunrpc/get_myaddr.c: Likewise.
17606 * sunrpc/key_call.c: Likewise.
17607 * sunrpc/key_prot.c: Likewise.
17608 * sunrpc/netname.c: Likewise.
17609 * sunrpc/pm_getmaps.c: Likewise.
17610 * sunrpc/pm_getport.c: Likewise.
17611 * sunrpc/pmap_clnt.c: Likewise.
17612 * sunrpc/pmap_prot.c: Likewise.
17613 * sunrpc/pmap_prot2.c: Likewise.
17614 * sunrpc/pmap_rmt.c: Likewise.
17615 * sunrpc/publickey.c: Likewise.
17616 * sunrpc/rpc_cmsg.c: Likewise.
17617 * sunrpc/rpc_common.c: Likewise.
17618 * sunrpc/rpc_dtable.c: Likewise.
17619 * sunrpc/rpc_prot.c: Likewise.
17620 * sunrpc/rpc_thread.c: Likewise.
17621 * sunrpc/rtime.c: Likewise.
17622 * sunrpc/svc.c: Likewise.
17623 * sunrpc/svc_auth.c: Likewise.
17624 * sunrpc/svc_authux.c: Likewise.
17625 * sunrpc/svc_raw.c: Likewise.
17626 * sunrpc/svc_run.c: Likewise.
17627 * sunrpc/svc_simple.c: Likewise.
17628 * sunrpc/svc_tcp.c: Likewise.
17629 * sunrpc/svc_udp.c: Likewise.
17630 * sunrpc/svc_unix.c: Likewise.
17631 * sunrpc/svcauth_des.c: Likewise.
17632 * sunrpc/xcrypt.c: Likewise.
17633 * sunrpc/xdr.c: Likewise.
17634 * sunrpc/xdr_array.c: Likewise.
17635 * sunrpc/xdr_float.c: Likewise.
17636 * sunrpc/xdr_intXX_t.c: Likewise.
17637 * sunrpc/xdr_mem.c: Likewise.
17638 * sunrpc/xdr_rec.c: Likewise.
17639 * sunrpc/xdr_ref.c: Likewise.
17640 * sunrpc/xdr_sizeof.c: Likewise.
17641 * sunrpc/xdr_stdio.c: Likewise.
17643 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17646 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17647 * sysdeps/ia64/dl-tls.h: Likewise.
17648 * sysdeps/powerpc/dl-tls.h: Likewise.
17649 * sysdeps/s390/dl-tls.h: Likewise.
17650 * sysdeps/sh/dl-tls.h: Likewise.
17651 * sysdeps/sparc/dl-tls.h: Likewise.
17652 * sysdeps/x86_64/dl-tls.h: Likewise.
17653 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17655 2011-03-14 Andreas Schwab <schwab@redhat.com>
17657 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17658 rpath element also skip the following colon.
17659 (expand_dynamic_string_token): Add is_path parameter and pass
17660 down to DL_DST_REQUIRED and _dl_dst_substitute.
17661 (decompose_rpath): Call expand_dynamic_string_token with
17662 non-zero is_path. Ignore empty rpaths.
17663 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17666 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17671 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17674 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17675 Patch by Filipe David Manana <fdmanana@apache.org>.
17677 2011-04-07 Andreas Schwab <schwab@redhat.com>
17679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17680 Maintain aligned stack.
17681 (CHECK_RSP): Remove unused macro.
17683 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17685 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17688 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17690 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17692 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17694 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17697 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17698 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17699 * sysdeps/x86_64/memmove.c: New file.
17700 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17701 (memcpy): Renamed to ...
17702 (__new_memcpy): This.
17703 (memcpy): Provide GLIBC_2_14 memcpy.
17704 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17705 (memcpy): Provide GLIBC_2_2_5 memcpy.
17707 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17710 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17712 2011-03-30 Andreas Schwab <schwab@redhat.com>
17714 * misc/syncfs.c: New file.
17715 * misc/Makefile (routines): Add syncfs.
17716 * posix/unistd.h: Declare syncfs.
17717 * sysdeps/unix/syscalls.list: Add syncfs.
17719 2011-04-01 Andreas Schwab <schwab@redhat.com>
17721 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17728 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17734 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17741 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17742 sync_file_range.c with -fexceptions.
17743 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17744 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17745 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17746 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17747 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17750 sync_file_range as cancellation point
17751 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17752 now a wrapper around __call_sync_file_range with cancellation handling.
17753 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17754 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17755 function name to __call_sync_file_range.
17756 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17757 Add call_sync_file_range.
17759 2011-04-01 Andreas Schwab <schwab@redhat.com>
17761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17764 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17766 * iconv/iconv.h: Fix typo in comment.
17767 * io/fcntl.h: Likewise.
17768 * libio/stdio.h: Likewise.
17769 * posix/spawn.h: Likewise.
17770 * posix/unistd.h: Likewise.
17771 * stdlib/stdlib.h: Likewise.
17772 * time/time.h: Likewise.
17773 * wcsmbs/wchar.h: Likewise.
17775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17776 open_by_handle): Add.
17777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17778 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17779 Augment a few comments.
17780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17785 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17788 * io/fcntl.h (AT_EMPTY_PATH): Define.
17790 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17792 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17793 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17794 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17796 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17797 * Versions.def: Add GLIBC_2.14.
17798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17801 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17807 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17810 * string/test-strncmp.c (do_page_test): New function.
17811 (check2): Likewise.
17812 (test_main): Call check2.
17813 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17815 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17819 Handle cache information in CPU leaf 4.
17820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17822 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17825 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17826 character representation.
17827 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17829 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17832 END(__isnan) to END(__isnanf) to match function entry point/label
17833 EALIGN(__isnanf,...).
17835 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17837 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17839 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17842 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17843 copy from the symbol referenced in the relocation to initialize the
17845 Patch by Piotr Bury <pbury@goahead.com>.
17846 * elf/Makefile: Add rules to build and tst-unique3.
17847 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17848 * elf/tst-unique3.cc: New file.
17849 * elf/tst-unique3.h: New file.
17850 * elf/tst-unique3lib.cc: New file.
17851 * elf/tst-unique3lib2.cc: New file.
17853 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17855 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17857 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17858 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17861 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17863 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17864 to-be-loaded object along a path to loader is ld.so.
17866 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17867 Ulrich Drepper <drepper@gmail.com>
17869 * sysdeps/x86_64/memset.S: After aligning destination, code
17870 branches to different locations depending on the value of
17871 misalignment, when multiarch is enabled. Fix this.
17873 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17875 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17876 Set _x86_64_preferred_memory_instruction for AMD processsors.
17877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17878 Set bit_Prefer_SSE_for_memop for AMD processors.
17880 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17882 * libio/fmemopen.c (fmemopen): Optimize a bit.
17884 2011-03-03 Andreas Schwab <schwab@redhat.com>
17886 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17888 2011-03-03 Roland McGrath <roland@redhat.com>
17890 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17892 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17894 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17895 __bzero_ultra1 instead of __memset_ultra1.
17897 2011-02-23 Andreas Schwab <schwab@redhat.com>
17898 Ulrich Drepper <drepper@gmail.com>
17901 * include/link.h (struct link_map): Add l_orig_initfini.
17902 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17903 returning unsuccessfully.
17904 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17905 close of a file loaded at startup, restore the original l_initfini
17907 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17908 list, store the pointer.
17909 * elf/Makefile ($(objpfx)noload-mem): New rule.
17910 (noload-ENV): Define.
17911 (tests): Add $(objpfx)noload-mem.
17912 * elf/noload.c: Include <memcheck.h>.
17913 (main): Call mtrace. Close all opened handles.
17915 2011-02-17 Andreas Schwab <schwab@redhat.com>
17918 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17919 dependencies are missing.
17921 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17923 Fix __if_freereq crash: Unlike the generic version which uses free,
17925 * sysdeps/mach/hurd/ifreq.h: New file.
17927 2011-01-27 Petr Baudis <pasky@suse.cz>
17928 Ulrich Drepper <drepper@gmail.com>
17931 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17932 to extend_alloca().
17933 * stdio-common/bug23.c: New file.
17934 * stdio-common/Makefile (tests): Add bug23.
17936 2010-09-28 Andreas Schwab <schwab@redhat.com>
17937 Ulrich Drepper <drepper@gmail.com>
17940 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17941 before performing relro protection. At old place add assertion
17942 to make sure nothing changed.
17944 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17945 Glauber de Oliveira Costa <glommer@gmail.com>
17947 * elf/elf.h: Add new ARM TLS relocs.
17949 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17952 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17954 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17956 * sysdeps/wordsize-64/tst-writev.c: New file.
17958 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17960 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17961 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17962 insns in _dl_start to prevent a TOC reference before relocs are
17965 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17968 * Makeconfig: Remove RANLIB definition.
17969 * Makerules: Don't use RANLIB.
17970 * aclocal.m4: Remove ranlib test.
17971 * configure.in: No need to check for ranlib.
17972 * elf/rtld-Rules: Don't use RANLIB.
17974 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17976 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17978 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17979 inclusion protection macro.
17981 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17982 SIGRTMIN and SIGRTMAX and print information in that case only when
17983 SIGRTMIN is defined.
17985 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17987 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17988 arginfo fn returning -1.
17990 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17991 and thousands string is zero terminated.
17993 2011-02-03 Andreas Schwab <schwab@redhat.com>
17995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17996 sysdeps/unix/sysv/linux/bits/socket.h.
17998 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18000 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18001 (__CPU_COUNT): Remove old macros.
18002 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18003 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18004 (__CPU_ALLOC, __CPU_FREE): Add macros.
18005 (__sched_cpualloc, __sched_cpufree): Add declarations.
18007 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18009 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18010 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18011 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18012 (readdhstai): Return value of addhstaiX call.
18013 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18014 (addgrbyX): Return value returned by cache_addgr.
18015 (readdgrbyname): Return value returned by addgrbyX.
18016 (readdgrbygid): Likewise.
18017 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18018 (addpwbyX): Return value returned by cache_addpw.
18019 (readdpwbyname): Return value returned by addhstbyX.
18020 (readdpwbyuid): Likewise.
18021 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18022 (addservbyX): Return value returned by cache_addserv.
18023 (readdservbyname): Return value returned by addservbyX:
18024 (readdservbyport): Likewise.
18025 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18026 (addhstbyX): Return value returned by cache_addhst.
18027 (readdhstbyname): Return value returned by addhstbyX.
18028 (readdhstbyaddr): Likewise.
18029 (readdhstbynamev6): Likewise.
18030 (readdhstbyaddrv6): Likewise.
18031 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18032 (readdinitgroups): Return value returned by addinitgroupsX.
18033 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18034 (prune_cache): Keep track of timeout value of re-added entries.
18035 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18036 * nscd/nscd.h: Adjust prototypes of readd* functions.
18038 2011-02-04 Roland McGrath <roland@redhat.com>
18040 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18041 (nis_stats): Likewise.
18042 * nis/nis_modify.c (nis_modify): Likewise.
18043 * nis/nis_remove.c (nis_remove): Likewise.
18044 * nis/nis_add.c (nis_add): Likewise.
18046 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18048 * posix/fnmatch_loop.c: Add some consts.
18050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18052 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18055 * config.make.in (config-cflags-novzeroupper): Define.
18056 * configure.in: Substitute libc_cv_cc_novzeroupper.
18057 * elf/Makefile (AVX-CFLAGS): Define.
18058 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18059 (CFLAGS-tst-auditmod4a.c): Likewise.
18060 (CFLAGS-tst-auditmod4b.c): Likewise.
18061 (CFLAGS-tst-auditmod6b.c): Likewise.
18062 (CFLAGS-tst-auditmod6c.c): Likewise.
18063 (CFLAGS-tst-auditmod7b.c): Likewise.
18064 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18066 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18068 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18069 function to the callback.
18070 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18072 2011-02-02 Andreas Schwab <schwab@redhat.com>
18074 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18077 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18080 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18082 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18084 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18087 * elf/Makefile: Add rules to build and run new test.
18088 * elf/tst-initorder.c: New file.
18089 * elf/tst-initorder.exp: New file.
18090 * elf/tst-initordera1.c: New file.
18091 * elf/tst-initordera2.c: New file.
18092 * elf/tst-initordera3.c: New file.
18093 * elf/tst-initordera4.c: New file.
18094 * elf/tst-initorderb1.c: New file.
18095 * elf/tst-initorderb2.c: New file.
18096 * elf/tst-order-a1.c: New file.
18097 * elf/tst-order-a2.c: New file.
18098 * elf/tst-order-a3.c: New file.
18099 * elf/tst-order-a4.c: New file.
18100 * elf/tst-order-b1.c: New file.
18101 * elf/tst-order-b2.c: New file.
18102 * elf/tst-order-main.c: New file.
18103 New test case by George Gensure <werkt0@gmail.com>.
18105 2010-10-01 Andreas Schwab <schwab@redhat.com>
18107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18108 decoding ACE if AI_CANONIDN.
18110 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18112 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18114 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18116 * version.h (RELEASE): Bump for 2.13 release.
18117 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18119 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18130 * posix/getconf.c: Update copyright year.
18131 * catgets/gencat.c: Likewise.
18132 * csu/version.c: Likewise.
18133 * debug/catchsegv.sh: Likewise.
18134 * debug/xtrace.sh: Likewise.
18135 * elf/ldconfig.c: Likewise.
18136 * elf/ldd.bash.in: Likewise.
18137 * elf/sprof.c (print_version): Likewise.
18138 * iconv/iconv_prog.c: Likewise.
18139 * iconv/iconvconfig.c: Likewise.
18140 * locale/programs/locale.c: Likewise.
18141 * locale/programs/localedef.c: Likewise.
18142 * malloc/memusage.sh: Likewise.
18143 * malloc/mtrace.pl: Likewise.
18144 * nscd/nscd.c (print_version): Likewise.
18145 * nss/getent.c: Likewise.
18147 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18148 PF_CAIF, and PF_ALG.
18149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18151 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18153 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18154 (modules-names): Use them.
18155 (ifunc-test-modules, ifunc-pie-tests): Define.
18156 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18157 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18158 (test-extras): Likewise.
18159 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18160 $(compile-command.c).
18161 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18162 (all-built-dso): Define.
18163 (check-textrel.out, check-execstack.out): Depend on it.
18165 * configure.in: Don't override --enable-multi-arch.
18167 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18170 * nscd/hstcache.c (tryagain): Define.
18171 (cache_addhst): Return tryagain not notfound for temporary errors.
18172 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18175 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18179 to make the syscall.
18180 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18183 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18184 and fall back to matching as normal character if the string ends before
18185 the matching ']' is found. This is what POSIX requires.
18186 * posix/testfnm.c: Adjust test result.
18187 * posix/globtest.sh: Adjust test result. Add new test.
18188 * posix/tst-fnmatch.input: Likewise.
18189 * posix/tst-fnmatch2.c: Add new test.
18191 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18193 * elf/Makefile (check-execstack): Revert last change. Depend on
18195 (check-execstack.h): New target.
18196 (generated): Add check-execstack.h.
18197 * elf/check-execstack.c: Include "check-execstack.h".
18198 (main): Revert last change.
18199 (handle_file): Return zero if GNU_STACK is absent and
18200 DEFAULT_STACK_PERMS doesn't include PF_X.
18202 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18204 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18205 in child fails because the descriptor is already closed.
18206 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18207 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18215 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18216 temporary buffer used to handle multi lookups locally.
18217 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18219 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18221 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18224 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18226 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18227 alignment for SSE2.
18229 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18232 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18233 characters. When rounding increased number of integer digits recompute
18235 * stdio-common/tst-grouping.c: New file.
18236 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18238 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18240 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18241 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18243 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18245 * bits/select.h: Likewise.
18247 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18249 * po/ja.po: Update from translation team.
18251 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18254 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18255 implementation just like for lxstat, fxstatat, et al.
18257 2010-12-27 Jim Meyering <meyering@redhat.com>
18260 * posix/regexec.c (build_trtable): Return failure indication upon
18261 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18263 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18266 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18267 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18272 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18275 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18276 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18278 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18280 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18281 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18282 script has SORT_BY_INIT_PRIORITY.
18283 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18284 NO_CTORS_DTORS_SECTIONS is defined.
18285 * elf/soinit.c: Likewise.
18286 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18287 NO_CTORS_DTORS_SECTIONS is defined.
18288 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18289 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18290 * sysdeps/sh/init-first.c: Likewise.
18291 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18293 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18295 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18296 always use the slow path.
18298 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18300 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18301 similar rule which adds the sysdep directories to the header search in
18302 order to pick up the correct platform stackinfo.h.
18303 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18304 perform test if it is, otherwise return successfully without testing.
18305 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18306 DEFAULT_STACK_PERMS define in stackinfo.h.
18307 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18308 defined in stackinfo.h.
18309 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18310 DEFAULT_STACK_PERMS defined in stackinfo.h.
18311 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18312 * sysdeps/ia64/stackinfo.h: Likewise.
18313 * sysdeps/s390/stackinfo.h: Likewise.
18314 * sysdeps/sh/stackinfo.h: Likewise.
18315 * sysdeps/sparc/stackinfo.h: Likewise.
18316 * sysdeps/x86_64/stackinfo.h: Likewise.
18317 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18318 PF_X for powerpc64. Retain PF_X for powerpc32.
18320 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18322 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18325 GETDENTS_64BIT_ALIGNED.
18327 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18329 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18331 2010-12-10 Andreas Schwab <schwab@redhat.com>
18333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18337 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18339 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18340 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18342 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18345 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18348 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18350 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18352 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18354 * po/it.po: Update from translation team.
18356 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18361 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18363 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18365 2010-11-24 Andreas Schwab <schwab@redhat.com>
18367 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18369 (gaih_getanswer_slice): Likewise.
18371 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18375 2010-05-31 Petr Baudis <pasky@suse.cz>
18378 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18379 silently even in the chroot mode.
18381 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18383 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18384 last patch a bit. Pretty printing
18386 2010-05-31 Petr Baudis <pasky@suse.cz>
18389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18390 initialization of skip_initgroups_dyn.
18392 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18397 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18401 2010-11-11 Andreas Schwab <schwab@redhat.com>
18403 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18404 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18405 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18406 ($(objpfx)tst-fnmatch-mem): New rule.
18407 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18408 * posix/tst-fnmatch.c (main): Call mtrace.
18410 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18413 Support Intel processor model 6 and model 0x2c.
18415 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18420 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18423 * string/test-strncasecmp.c (check_result): New function.
18424 (do_one_test): Use it.
18425 (check1): New function.
18426 (test_main): Use it.
18427 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18428 Support strcasecmp and strncasecmp.
18430 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18433 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18436 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18438 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18442 * sysdeps/x86_64/multiarch/bzero.S: New file.
18443 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18444 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18445 * sysdeps/x86_64/multiarch/memset.S: New file.
18446 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18448 Set bit_Prefer_SSE_for_memop for Intel processors.
18449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18451 (index_Prefer_SSE_for_memop): Define.
18452 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18454 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18456 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18459 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18463 (__x86_64_raw_data_cache_size_half): Likewise.
18464 (__x86_64_raw_shared_cache_size): Likewise.
18465 (__x86_64_raw_shared_cache_size_half): Likewise.
18467 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18468 (__x86_64_raw_data_cache_size_half): Likewise.
18469 (__x86_64_raw_shared_cache_size): Likewise.
18470 (__x86_64_raw_shared_cache_size_half): Likewise.
18471 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18472 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18473 and __x86_64_raw_shared_cache_size_half. Round
18474 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18475 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18476 to multiple of 256 bytes.
18478 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18482 of inacessible symlinks. Verify result of symlink before returning it.
18483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18484 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18486 2010-10-28 Erich Ritz <erichritz@gmail.com>
18488 * math/math.h (isinf): Fix typo in comment.
18490 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18492 * po/da.po: Update from translation team.
18494 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18496 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18497 is added to the list.
18499 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18500 Ulrich Drepper <drepper@gmail.com>
18502 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18503 the global list here. Move code to...
18504 (_dl_add_to_namespace_list): ...here. New function.
18505 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18506 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18507 * elf/dl-load.c (lose): Don't remove the element from the list.
18508 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18509 (_dl_map_object): Likewise.
18511 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18514 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18515 into all bytes of SSE register.
18516 Patch by Richard Li <richardpku@gmail.com>.
18518 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18521 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18524 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18526 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18527 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18528 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18534 2010-10-22 Andreas Schwab <schwab@redhat.com>
18536 * include/dlfcn.h (__RTLD_SECURE): Define.
18537 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18538 mode & __RTLD_SECURE instead.
18539 (open_path): Rename preloaded parameter to secure.
18540 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18541 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18542 * elf/dl-deps.c (openaux): Likewise.
18543 * elf/rtld.c (struct map_args): Remove is_preloaded.
18544 (map_doit): Don't use it.
18545 (dl_main): Likewise.
18546 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18547 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18549 2010-09-09 Andreas Schwab <schwab@redhat.com>
18551 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18552 (sysd-rules-targets): Remove duplicates.
18553 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18554 rtld-%.$o dependency.
18556 2010-10-18 Andreas Schwab <schwab@redhat.com>
18558 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18559 _dl_map_object do it.
18561 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18563 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18564 fast fma builtins, define the macros in the C99 standard.
18565 (FP_FAST_FMAF): Likewise.
18566 (FP_FAST_FMAL): Likewise.
18567 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18569 * bits/mathdef.h: Update copyright year.
18570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18572 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18574 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18575 builtins, define the macros in the C99 standard.
18576 (FP_FAST_FMAF): Likewise.
18577 (FP_FAST_FMAL): Likewise.
18578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18580 (FP_FAST_FMAF): Likewise.
18582 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18585 * math/libm-test.inc (fma_test): Some new testcases.
18586 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18588 y and infinite z. Do multiplication by C already in long double.
18589 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18591 y and infinite z. Do bitwise or of inexact bit into u.d.
18592 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18593 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18594 * sysdeps/i386/fpu/s_fma.S: Removed.
18595 * sysdeps/i386/fpu/s_fmal.S: Removed.
18597 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18600 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18602 computation is not scheduled after fetestexcept. Fix value
18603 of minimum denormal long double.
18605 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18608 * math/libm-test.inc (fma_test): Add some more tests.
18609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18612 2010-10-15 Andreas Schwab <schwab@redhat.com>
18614 * scripts/data/localplt-s390-linux-gnu.data: New file.
18615 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18617 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18620 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18621 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18623 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18625 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18627 if one of x and y is very large and the other is subnormal.
18628 * sysdeps/s390/fpu/s_fmaf.c: New file.
18629 * sysdeps/s390/fpu/s_fma.c: New file.
18630 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18631 * sysdeps/powerpc/fpu/s_fma.S: New file.
18632 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18633 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18634 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18636 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18639 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18642 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18643 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18644 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18645 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18646 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18647 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18649 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18652 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18653 * posix/bug-regex31.input: Add test case.
18655 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18657 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18658 * posix/bug-regex31.input: New file.
18661 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18662 (parse_sub_exp): Fix last change, use postorder.
18664 * posix/bug-regex31.c: New file.
18665 * posix/Makefile: Add rules to build and run bug-regex31.
18667 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18670 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18673 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18674 to have entries in sys_siglist.
18677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18680 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18683 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18684 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18686 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18688 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18689 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18690 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18691 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18692 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18693 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18694 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18695 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18696 * math/ftestexcept.c (fetestexcept): Likewise.
18697 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18698 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18699 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18700 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18701 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18702 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18705 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18708 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18711 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18713 * string/bug-strstr1.c: New file.
18714 * string/Makefile: Add rules to build and run bug-strstr1.
18716 2010-10-05 Eric Blake <eblake@redhat.com>
18719 * string/str-two-way.h (two_way_long_needle): Always clear memory
18720 when skipping input due to the shift table.
18722 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18725 * malloc/mcheck.c: Handle large requests.
18728 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18729 for strncmp and strncasecmp.
18730 * string/stratcliff.c: Add tests for strcmp and strncmp.
18731 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18733 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18735 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18738 2010-09-30 Andreas Jaeger <aj@suse.de>
18740 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18741 (CGROUP_SUPER_MAGIC): Define.
18742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18743 Handle btrfs and cgroup file systems.
18744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18747 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18749 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18750 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18752 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18755 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18756 trying to locate the ELF header.
18758 2010-09-27 Andreas Schwab <schwab@redhat.com>
18761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18762 Mask out sign-bit copies when constructing f_fsid.
18764 2010-09-24 Petr Baudis <pasky@suse.cz>
18766 * debug/stack_chk_fail_local.c: Add missing licence exception.
18767 * debug/warning-nop.c: Likewise.
18769 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18772 implementing getdents64 using getdents syscall, set d_type if
18773 __ASSUME_GETDENTS32_D_TYPE.
18775 2010-09-16 Andreas Schwab <schwab@redhat.com>
18777 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18778 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18780 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18783 * posix/unistd.h: Undo change of feature selection for ftruncate from
18786 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18788 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18791 2010-09-20 Andreas Schwab <schwab@redhat.com>
18793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18797 2010-09-14 Andreas Schwab <schwab@redhat.com>
18799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18800 variables after CHECK_SP call.
18801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18803 2010-09-13 Andreas Schwab <schwab@redhat.com>
18804 Ulrich Drepper <drepper@redhat.com>
18806 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18807 re-relocationg ld.so.
18808 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18809 _dl_init_paths call.
18810 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18813 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18815 * resolv/res_init.c (__res_vinit): Count the default server we added.
18817 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18818 Ulrich Drepper <drepper@redhat.com>
18821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18822 (____longjmp_chk): Use %ebx for saving value across system call.
18825 2010-09-06 Andreas Schwab <schwab@redhat.com>
18827 * manual/Makefile: Don't mix pattern rules with normal rules.
18829 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18831 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18833 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18834 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18835 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18836 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18840 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18843 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18844 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18846 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18848 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18849 * sysdeps/x86_64/addmul_1.S: Likewise.
18850 * sysdeps/x86_64/lshift.S: Likewise.
18851 * sysdeps/x86_64/mul_1.S: Likewise.
18852 * sysdeps/x86_64/rshift.S: Likewise.
18853 * sysdeps/x86_64/sub_n.S: Likewise.
18854 * sysdeps/x86_64/submul_1.S: Likewise.
18856 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18858 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18859 Define __sched_param instead of SCHED_* and sched_param when
18860 <bits/sched.h> is included with __need_schedparam defined.
18861 * bits/sched.h [__need_schedparam]
18862 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18863 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18864 (__defined_schedparam): Define to 1.
18865 (__sched_param): New structure, identical to sched_param.
18866 (__need_schedparam): Undefine.
18868 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18871 (epoll_create1): Declare.
18873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18875 2010-08-31 Andreas Schwab <schwab@redhat.com>
18878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18879 shifting retval into place.
18881 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18883 * nis/rpcsvc/nis.h: Update copyright notice.
18884 * nis/rpcsvc/nis.x: Likewise.
18885 * nis/rpcsvc/nis_callback.h: Likewise.
18886 * nis/rpcsvc/nis_callback.x: Likewise.
18887 * nis/rpcsvc/nis_object.x: Likewise.
18888 * nis/rpcsvc/nis_tags.h: Likewise.
18889 * nis/rpcsvc/yp.h: Likewise.
18890 * nis/rpcsvc/yp.x: Likewise.
18891 * nis/rpcsvc/ypupd.h: Likewise.
18892 * nis/yp_xdr.c: Likewise.
18893 * nis/ypupdate_xdr.c: Likewise.
18895 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18896 mainly the body of pmap_getport. Add parameters to specify timeouts.
18897 (pmap_getport): Use __libc_rpc_getport.
18898 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18899 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18900 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18902 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18907 2010-08-27 Roland McGrath <roland@redhat.com>
18909 * sysdeps/i386/i686/multiarch/Makefile
18910 (CFLAGS-varshift.c): New variable.
18912 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18914 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18915 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18919 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18921 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18923 * sysdeps/x86_64/strlen.S: Unroll the loop.
18924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18925 strlen-sse2 strlen-sse2-bsf.
18926 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18927 __strlen_no_bsf if bit_Slow_BSF is set.
18928 (__strlen_sse42): Removed.
18929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18930 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18932 2010-08-25 Roland McGrath <roland@redhat.com>
18934 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18935 * sysdeps/x86_64/multiarch/varshift.c: New file.
18936 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18937 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18938 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18939 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18941 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18944 strlen-sse2 strlen-sse2-bsf.
18945 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18946 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18947 (__strlen_sse2): Removed.
18948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18951 bit_Slow_BSF for Atom.
18952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18953 (index_Slow_BSF): Define.
18954 (HAS_SLOW_BSF): Define.
18956 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18959 * resolv/res_init.c (__res_vinit): When no server address at all
18960 is given default to loopback.
18962 2010-08-24 Roland McGrath <roland@redhat.com>
18964 * configure.in: Remove config-name.h generation.
18965 * configure: Regenerated.
18966 * config-name.in: File removed.
18967 * scripts/config-uname.sh: New file.
18968 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18969 ($(objdir)config-name.h): New target.
18971 * sunrpc/rpc_parse.h: Avoid nested comment.
18973 2010-08-24 Richard Henderson <rth@redhat.com>
18974 Ulrich Drepper <drepper@redhat.com>
18975 H.J. Lu <hongjiu.lu@intel.com>
18977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18979 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18980 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18981 _mm_alignr_epi8 with _mm_loadu_si128.
18982 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18983 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18984 (__m128i_shift_right): Removed.
18985 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18986 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18987 * sysdeps/x86_64/multiarch/varshift.h: New file.
18988 * sysdeps/x86_64/multiarch/varshift.S: New file.
18990 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18992 * configure.in: Move assembler checks to before sysdep dir checking.
18994 2010-08-20 Petr Baudis <pasky@suse.cz>
18996 * LICENSES: Sync the sunrpc license.
18998 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19000 * sunrpc/auth_des.c: Update copyright notice once again.
19001 * sunrpc/auth_none.c: Likewise.
19002 * sunrpc/auth_unix.c: Likewise.
19003 * sunrpc/authdes_prot.c: Likewise.
19004 * sunrpc/authuxprot.c: Likewise.
19005 * sunrpc/bindrsvprt.c: Likewise.
19006 * sunrpc/clnt_gen.c: Likewise.
19007 * sunrpc/clnt_perr.c: Likewise.
19008 * sunrpc/clnt_raw.c: Likewise.
19009 * sunrpc/clnt_simp.c: Likewise.
19010 * sunrpc/clnt_tcp.c: Likewise.
19011 * sunrpc/clnt_udp.c: Likewise.
19012 * sunrpc/clnt_unix.c: Likewise.
19013 * sunrpc/des_crypt.c: Likewise.
19014 * sunrpc/des_soft.c: Likewise.
19015 * sunrpc/get_myaddr.c: Likewise.
19016 * sunrpc/getrpcport.c: Likewise.
19017 * sunrpc/key_call.c: Likewise.
19018 * sunrpc/key_prot.c: Likewise.
19019 * sunrpc/openchild.c: Likewise.
19020 * sunrpc/pm_getmaps.c: Likewise.
19021 * sunrpc/pm_getport.c: Likewise.
19022 * sunrpc/pmap_clnt.c: Likewise.
19023 * sunrpc/pmap_prot.c: Likewise.
19024 * sunrpc/pmap_prot2.c: Likewise.
19025 * sunrpc/pmap_rmt.c: Likewise.
19026 * sunrpc/rpc/auth.h: Likewise.
19027 * sunrpc/rpc/auth_unix.h: Likewise.
19028 * sunrpc/rpc/clnt.h: Likewise.
19029 * sunrpc/rpc/des_crypt.h: Likewise.
19030 * sunrpc/rpc/key_prot.h: Likewise.
19031 * sunrpc/rpc/netdb.h: Likewise.
19032 * sunrpc/rpc/pmap_clnt.h: Likewise.
19033 * sunrpc/rpc/pmap_prot.h: Likewise.
19034 * sunrpc/rpc/pmap_rmt.h: Likewise.
19035 * sunrpc/rpc/rpc.h: Likewise.
19036 * sunrpc/rpc/rpc_des.h: Likewise.
19037 * sunrpc/rpc/rpc_msg.h: Likewise.
19038 * sunrpc/rpc/svc.h: Likewise.
19039 * sunrpc/rpc/svc_auth.h: Likewise.
19040 * sunrpc/rpc/types.h: Likewise.
19041 * sunrpc/rpc/xdr.h: Likewise.
19042 * sunrpc/rpc_clntout.c: Likewise.
19043 * sunrpc/rpc_cmsg.c: Likewise.
19044 * sunrpc/rpc_common.c: Likewise.
19045 * sunrpc/rpc_cout.c: Likewise.
19046 * sunrpc/rpc_dtable.c: Likewise.
19047 * sunrpc/rpc_hout.c: Likewise.
19048 * sunrpc/rpc_main.c: Likewise.
19049 * sunrpc/rpc_parse.c: Likewise.
19050 * sunrpc/rpc_parse.h: Likewise.
19051 * sunrpc/rpc_prot.c: Likewise.
19052 * sunrpc/rpc_sample.c: Likewise.
19053 * sunrpc/rpc_scan.c: Likewise.
19054 * sunrpc/rpc_scan.h: Likewise.
19055 * sunrpc/rpc_svcout.c: Likewise.
19056 * sunrpc/rpc_tblout.c: Likewise.
19057 * sunrpc/rpc_util.c: Likewise.
19058 * sunrpc/rpc_util.h: Likewise.
19059 * sunrpc/rpcinfo.c: Likewise.
19060 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19061 * sunrpc/rpcsvc/key_prot.x: Likewise.
19062 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19063 * sunrpc/rpcsvc/mount.x: Likewise.
19064 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19065 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19066 * sunrpc/rpcsvc/rex.x: Likewise.
19067 * sunrpc/rpcsvc/rstat.x: Likewise.
19068 * sunrpc/rpcsvc/rusers.x: Likewise.
19069 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19070 * sunrpc/rpcsvc/spray.x: Likewise.
19071 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19072 * sunrpc/rtime.c: Likewise.
19073 * sunrpc/svc.c: Likewise.
19074 * sunrpc/svc_auth.c: Likewise.
19075 * sunrpc/svc_authux.c: Likewise.
19076 * sunrpc/svc_raw.c: Likewise.
19077 * sunrpc/svc_run.c: Likewise.
19078 * sunrpc/svc_simple.c: Likewise.
19079 * sunrpc/svc_tcp.c: Likewise.
19080 * sunrpc/svc_udp.c: Likewise.
19081 * sunrpc/svc_unix.c: Likewise.
19082 * sunrpc/svcauth_des.c: Likewise.
19083 * sunrpc/xcrypt.c: Likewise.
19084 * sunrpc/xdr.c: Likewise.
19085 * sunrpc/xdr_array.c: Likewise.
19086 * sunrpc/xdr_float.c: Likewise.
19087 * sunrpc/xdr_mem.c: Likewise.
19088 * sunrpc/xdr_rec.c: Likewise.
19089 * sunrpc/xdr_ref.c: Likewise.
19090 * sunrpc/xdr_sizeof.c: Likewise.
19091 * sunrpc/xdr_stdio.c: Likewise.
19093 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19096 2010-08-19 Andreas Schwab <schwab@redhat.com>
19098 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19100 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19102 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19105 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19107 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19109 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19112 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19114 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19115 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19117 2010-07-26 Anton Blanchard <anton@samba.org>
19119 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19120 * malloc/arena.c (heap_trim): Likewise.
19122 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19124 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19127 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19129 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19131 * sysdeps/i386/elf/Makefile: New file.
19133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19135 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19136 from fanotify_init.
19137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19140 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19142 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19144 * sysdeps/multiarch/strcmp.S: Likewise.
19146 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19149 strncase_l-nonascii.
19150 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19151 Add strncase_l-ssse3.
19152 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19153 * sysdeps/x86_64/strcmp.S: Likewise.
19154 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19155 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19156 * sysdeps/x86_64/strncase.S: New file.
19157 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19158 * sysdeps/x86_64/strncase_l.S: New file.
19159 * string/Makefile (strop-tests): Add strncasecmp.
19160 * string/test-strncasecmp.c: New file.
19162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19165 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19168 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19170 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19172 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19174 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19178 2010-05-01 Alan Modra <amodra@gmail.com>
19180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19181 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19182 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19183 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19184 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19185 tidying. Don't tail-call __sigjmp_save for static lib.
19186 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19188 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19189 (CALL_MCOUNT): Add eh info, and nop after bl.
19190 (TAIL_CALL_SYSCALL_ERROR): New macro.
19191 (PSEUDO_RET): Use it.
19192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19193 Correct save location of integer regs and cr.
19194 (_dl_profile_resolve): Correct cr save location. Delete nops
19195 after bl when SHARED. Reduce cfi size a little by better
19196 placement of cfi directives.
19197 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19198 make a stack frame. Instead use parm save area as a temp.
19199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19200 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19202 Don't make a stack frame for parent, use parm save area.
19203 Increase child stack frame to 112 bytes. Don't save unused reg,
19204 and adjust reg usage. Set up cfi on error recovery and
19205 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19207 (__makecontext): Add dummy nop after jump to exit.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19209 Use correct parm save area and cr save, reduce stack frame.
19210 Correct cfi for possible PSEUDO_RET frame setup.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19212 Branch to local label emitted by PSEUDO_RET rather than
19215 2010-08-12 Andreas Schwab <schwab@redhat.com>
19218 * locale/programs/locale.c (print_assignment): New function.
19219 (show_locale_vars): Use it.
19221 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19223 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19225 (struct statfs64): Likewise.
19226 (_STATFS_F_FLAGS): Define.
19227 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19229 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19230 (ST_VALID): Define locally.
19231 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19232 __statvfs_getflags, use the provided value.
19233 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19234 __ASSUME_STATFS_F_FLAGS.
19236 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19239 Add sys/fanotify.h.
19240 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19241 fanotify_mask for GLIBC_2.13.
19242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19243 fanotify_init and fanotify_mark.
19244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19245 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19249 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19250 prlimit64 for GLIBC_2.13.
19251 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19257 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19261 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19264 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19265 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19267 * nss/Makefile: Add rules to build and run tst-nss-test1.
19268 * shlib-versions: Add entry for libnss_test1.
19269 * nss/nss_test1.c: New file.
19270 * nss/tst-nss-test1.c: New file.
19272 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19273 (__nss_configure_lookup): Set appropriate entry in
19274 __nss_configure_lookup to true.
19275 * nss/nsswitch.h: Define enum with indeces of databases in
19276 databases and __nss_database_custom arrays. Declare
19277 __nss_database_custom.
19278 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19279 to avoid using nscd when custom rules are installed.
19280 * nss/getXXbyYY_r.c: Likewise.
19281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19283 * nss/nss_files/files-parse.c: Whitespace fixes.
19285 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19288 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19289 * posix/fnmatch_loop.c: Likewise.
19291 2010-07-17 Andi Kleen <ak@linux.intel.com>
19293 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19294 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19295 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19296 * Versions.def [GLIBC_2.13]: Add.
19298 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19301 Also fail if tpwd after pwuid call is NULL.
19303 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19305 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19306 when converting to ms.
19308 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19310 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19311 EOPNOTSUPP errors with ENOTTY.
19312 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19313 EOPNOTSUPP errors with ENOTTY.
19315 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19317 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19318 Add strcasecmp_l-ssse3.
19319 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19321 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19325 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19327 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19329 * string/Makefile (strop-tests): Add strcasecmp.
19330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19331 strcasecmp_l-nonascii.
19332 (gen-as-const-headers): Add locale-defines.sym.
19333 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19334 * sysdeps/x86_64/strcasecmp.S: New file.
19335 * sysdeps/x86_64/strcasecmp_l.S: New file.
19336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19337 * sysdeps/x86_64/locale-defines.sym: New file.
19338 * string/test-strcasecmp.c: New file.
19340 * string/test-strcasestr.c: Test both ends of the range of characters.
19341 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19343 2010-07-29 Roland McGrath <roland@redhat.com>
19346 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19348 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19350 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19353 2010-07-27 Andreas Schwab <schwab@redhat.com>
19355 * manual/memory.texi (Malloc Tunable Parameters): Document
19358 2010-07-26 Roland McGrath <roland@redhat.com>
19361 * configure.in (-fgnu89-inline check): Set and substitute
19362 gnu89_inline, not libc_cv_gnu89_inline.
19363 * configure: Regenerated.
19364 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19366 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19368 * string/test-strnlen.c: New file.
19369 * string/Makefile (strop-tests): Add strnlen.
19370 * string/tester.c (test_strnlen): Add a few more test cases.
19371 * string/tst-strlen.c: Better error reporting.
19373 * sysdeps/x86_64/strnlen.S: New file.
19375 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19378 lower-latency instructions.
19380 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19382 * string/test-strcasestr.c: New file.
19383 * string/test-strstr.c: New file.
19384 * string/Makefile (strop-tests): Add strstr and strcasestr.
19385 * string/str-two-way.h: Don't undefine MAX.
19386 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19388 2010-07-21 Andreas Schwab <schwab@redhat.com>
19390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19391 strcasestr-nonascii.
19392 (CFLAGS-strcasestr-nonascii.c): Define.
19393 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19395 Remove unused attribute.
19397 2010-07-20 Roland McGrath <roland@redhat.com>
19399 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19400 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19401 ld.so.cache was broken. With it, there is no way to disable dsocaps
19402 like LD_HWCAP_MASK can disable hwcaps.
19404 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19406 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19408 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19410 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19411 call in strcasestr.
19412 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19413 __strcasestr_sse42_nonascii.
19414 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19415 strcasestr-nonascii.c.
19416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19418 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19425 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19430 2010-07-06 Andreas Schwab <schwab@redhat.com>
19433 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19436 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19439 _PC_PIPE_BUF using F_GETPIPE_SZ.
19441 2010-07-05 Roland McGrath <roland@redhat.com>
19443 * manual/arith.texi (Rounding Functions): Fix rint description
19444 implicit in round description.
19446 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19448 * elf/Makefile: Fix linking for a few tests to make recent linker
19451 2010-06-30 Andreas Schwab <schwab@redhat.com>
19453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19454 $(common-objpfx)libc_nonshared.a.
19456 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19458 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19459 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19460 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19461 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19462 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19464 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19465 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19480 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19481 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19482 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19483 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19484 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19485 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19486 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19487 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19488 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19489 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19490 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19491 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19507 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19509 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19510 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19511 * string/memmove.c (memmove): Renamed to ...
19512 (MEMMOVE): ...this. Default to memmove.
19513 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19514 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19517 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19518 mempcpy-ssse3-back memmove-ssse3-back.
19519 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19522 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19523 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19524 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19525 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19526 * sysdeps/x86_64/multiarch/memmove.c: New file.
19527 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19528 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19529 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19530 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19534 (index_Fast_Copy_Backward): Define.
19535 (HAS_ARCH_FEATURE): Define.
19536 (HAS_FAST_REP_STRING): Define.
19537 (HAS_FAST_COPY_BACKWARD): Define.
19539 2010-06-21 Andreas Schwab <schwab@redhat.com>
19541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19542 Restore proper fallback handling.
19544 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19547 * posix/group_member.c (__group_member): Correct checking loop.
19549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19550 OOM in getpwuid_r correctly. Return error number when the caller
19551 should return, otherwise -1.
19552 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19553 call returning > 0 value.
19554 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19556 2010-06-07 Andreas Schwab <schwab@redhat.com>
19558 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19559 libc_nonshared.a from targets in modules-names.
19561 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19563 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19566 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19573 2010-06-02 Andreas Schwab <schwab@redhat.com>
19575 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19577 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19588 2010-06-14 Roland McGrath <roland@redhat.com>
19590 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19592 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19594 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19595 __REDIRECT followed by __THROW.
19596 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19597 * posix/getopt.h (getopt): Likewise.
19599 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19601 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19602 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19603 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19605 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19606 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19608 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19612 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19616 Properly check family and model.
19618 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19622 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19624 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19626 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19628 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19631 2010-05-19 Andreas Schwab <schwab@redhat.com>
19633 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19636 2010-05-21 Andreas Schwab <schwab@redhat.com>
19638 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19639 and internal_recvmmsg.
19640 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19641 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19642 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19643 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19645 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19649 2010-05-20 Andreas Schwab <schwab@redhat.com>
19651 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19653 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19655 POWER7 optimizations.
19656 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19657 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19659 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19661 * version.h: Update for 2.13 development version.
19663 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19666 exceptions. Return 0.
19668 2010-05-07 Roland McGrath <roland@redhat.com>
19670 * elf/ldconfig.c (main): Add a const.
19672 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19674 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19675 (args_options): Add no-idn option.
19676 (ahosts_keys_int): Add idn_flags to ai_flags.
19677 (parse_option): Handle 'i' option to clear idn_flags.
19679 * malloc/malloc.c (_int_free): Possible race in the most recently
19680 added check. Only act on the data if no current modification
19683 See ChangeLog.17 for earlier changes.