1 2012-10-03 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/mach/hurd/dl-cache.c: File removed.
4 * config.h.in (USE_LDCONFIG): New #undef.
5 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6 * configure: Regenerated.
7 * elf/Makefile (dl-routines): Add dl-cache only under
8 [$(use-ldconfig) = yes].
9 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10 cache on [USE_LDCONFIG].
11 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13 * elf/rtld.c (dl_main): Likewise.
15 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18 _SC_LEVEL4_CACHE_LINESIZE.
20 2012-10-03 Roland McGrath <roland@hack.frob.com>
22 * sysdeps/unix/bsd/confstr.h: File removed.
24 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29 2012-10-02 Roland McGrath <roland@hack.frob.com>
31 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32 Make 'mapoff' field ElfW(Off) rather than off_t.
34 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36 * nscd/Makefile: Remove nscd-cflags and all its users.
37 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41 * malloc.c (malloc_printerr): Clarify error message.
43 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47 Set bit_FMA_Usable if FMA is supported.
48 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50 (bit_FMA4_Usable): Updated.
51 (index_FMA_Usable): New macro.
53 (HAS_FMA): Defined with bit_FMA_Usable.
55 2012-10-01 Roland McGrath <roland@hack.frob.com>
57 * bits/types.h (__swblk_t): Type removed.
58 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61 (__SWBLK_T_TYPE): Likewise.
62 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63 (__SWBLK_T_TYPE): Likewise.
64 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65 (__SWBLK_T_TYPE): Likewise.
66 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67 (__SWBLK_T_TYPE): Likewise.
69 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
70 Honza Horak <hhorak@redhat.com>
72 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73 (xdr_mapname): Use YPMAXMAP as maxsize.
74 (xdr_peername): Use YPMAXPEER as maxsize.
75 (xdr_keydat): Use YPAXRECORD as maxsize.
76 (xdr_valdat): Use YPMAXRECORD as maxsize.
78 2012-10-01 Roland McGrath <roland@hack.frob.com>
80 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
82 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
83 * csu/init-first.c: ... here.
84 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
85 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
86 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
87 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
88 * sysdeps/i386/init-first.c: File removed.
89 * sysdeps/sh/init-first.c: File removed.
91 2012-10-01 Joseph Myers <joseph@codesourcery.com>
94 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
95 if x * y might underflow to zero and z is zero.
96 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
97 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
98 * math/libm-test.inc (min_subnorm_value): New variable.
99 (fma_test): Add more tests.
100 (fma_test_towardzero): Likewise.
101 (fma_test_downward): Likewise
102 (fma_test_upward): Likewise.
103 (initialize): Set min_subnorm_value.
105 2012-09-29 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
110 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
111 mode for addition resulting in exact zero.
112 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
115 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
117 * math/libm-test.inc (fma_test): Add more tests.
118 (fma_test_towardzero): New function.
119 (fma_test_downward): Likewise.
120 (fma_test_upward): Likewise.
121 (main): Call the new functions.
123 2012-09-28 David S. Miller <davem@davemloft.net>
125 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
127 2012-09-28 Roland McGrath <roland@hack.frob.com>
129 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
132 * sysdeps/gnu/_G_config.h: Moved to ...
133 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
134 * sysdeps/mach/hurd/_G_config.h: Moved to ...
135 * sysdeps/generic/_G_config.h: ... here.
137 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
139 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
141 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
142 Conditionalize target on [libnss_test1.so-version].
144 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
146 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
147 (elfobjdir): Move out of conditionals.
149 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
150 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
151 (__nss_lookup_function): Conditionalize label remove_from_tree on
152 [!DO_STATIC_NSS || SHARED], matching its only use.
154 2012-09-28 David S. Miller <davem@davemloft.net>
156 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
157 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
159 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
161 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
163 when HWCAP_SPARC_CRYPTO is present.
165 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
167 * io/tst-mknodat.c: Create a FIFO instead of a socket.
169 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
172 * stdio-common/vfprintf.c (process_string_arg): Revert
175 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
177 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
179 * stdio-common/tst-sprintf.c: Include <locale.h>
180 (main): Test sprintf's handling of incomplete multibyte
183 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
185 * elf/dl-runtime.c (VERSYMIDX): Removed.
186 * elf/dl-version.c (VERSYMIDX): Likewise.
187 * elf/do-rel.h (VERSYMIDX): Likewise.
189 * elf/dynamic-link.h (VERSYMIDX): Likewise.
190 * elf/rtld.c (VALIDX): Likewise.
192 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
193 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
194 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
195 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
199 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
201 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
203 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
206 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
208 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
209 addresses are in the same scope as 192.0.2/24.
210 * posix/gai.conf: Document new scope table defaults.
212 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
215 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
216 for ftell. Compute offsets from write pointers instead.
217 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
219 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
222 * libio/Makefile (tests): New test case tst-fseek.
223 * libio/tst-fseek.c: New test case to verify that fseek/ftell
224 combination works in wide mode.
225 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
226 state when the external buffer state changes.
228 2012-09-27 David S. Miller <davem@davemloft.net>
231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
232 pass reloc->r_addend in as the 'high' argument to
233 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
237 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
239 * rt/tst-aio2.c: Include <pthread.h>.
240 * rt/tst-aio3.c: Likewise.
242 2012-09-27 Steve Ellcey <sellcey@mips.com>
244 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
246 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
248 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
249 contents on [SHARED].
251 2012-09-26 Marek Polacek <polacek@redhat.com>
255 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
256 for C++ and GCC <4.3 as well as for non GCC compilers.
258 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
262 2012-09-25 Roland McGrath <roland@hack.frob.com>
264 * Makefile.in (all, install): Declare with .PHONY.
265 Reported by Michael Hope <michael.hope@linaro.org>.
267 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
269 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
270 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
272 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
274 (sydep_routines): Add the new and the internal functions.
275 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
276 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
278 (GLIBC_2.17): Add the new function.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
280 (GLIBC_2.17): Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
282 (GLIBC_2.17): Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
284 (GLIBC_2.17): Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
287 2012-09-25 Alan Modra <amodra@gmail.com>
289 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
290 Add release barrier before setting once_control to say
291 initialisation is done. Add hints on lwarx. Use macro in
293 (clear_once_control): Add release barrier.
295 2012-09-25 Joseph Myers <joseph@codesourcery.com>
298 * math/s_clog.c (__clog): Handle more values close to |z| = 1
300 * math/s_clog10.c (__clog10): Likewise.
301 * math/s_clog10f.c (__clog10f): Likewise.
302 * math/s_clog10l.c (__clog10l): Likewise.
303 * math/s_clogf.c (__clogf): Likewise.
304 * math/s_clogl.c (__clogl): Likewise.
305 * math/Makefile (libm-calls): Add x2y2m1.
306 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
307 (__x2y2m1): Likewise.
308 (__x2y2m1l): Likewise.
309 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
310 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
311 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
312 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
315 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
316 * sysdeps/i386/fpu/libm-test-ulps: Update.
317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
321 int as type of variable DEPTH.
322 (glob): Use size_t instead of int as type of variables NEWCOUNT
325 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
327 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
329 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
330 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
331 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
332 macros for using routine as __sincosf_ia32.
333 Use macro for function declaration and weak_alias.
334 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
339 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
341 * math/s_cexpf.c (__cexpf): Likewise.
342 * math/s_csinf.c (__csinf): Likewise.
343 * math/s_csinhf.c (__csinhf): Likewise.
344 * math/s_ctanf.c (__ctanf): Likewise.
345 * math/s_ctanhf.c (__ctanhf): Likewise.
346 * math/s_ccosh.c (__ccoshf): Likewise.
347 * math/s_cexp.c (__cexpl): Likewise.
348 * math/s_csin.c (__csin): Likewise.
349 * math/s_csinh.c (__csinh): Likewise.
350 * math/s_ctan.c (__ctan): Likewise.
351 * math/s_ctanh.c (ctanh): Likewise.
352 * math/s_ccoshl.c (__ccoshl): Likewise.
353 * math/s_cexpl.c (__cexpl): Likewise.
354 * math/s_csinl.c (__csinl): Likewise.
355 * math/s_csinhl.c (__csinhl): Likewise.
356 * math/s_ctanl.c (__ctanl): Likewise.
357 * math/s_ctanhl.c (__ctanhl): Likewise.
359 2012-09-25 Joseph Myers <joseph@codesourcery.com>
361 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
362 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
363 (_IO_off_t): Define to __off_t, not _G_off_t.
364 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
365 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
366 (_IO_wint_t): Define to wint_t, not _G_wint_t.
367 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
368 type of __dummy and __dummy2 fields.
369 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
370 (_G_ssize_t): Likewise.
371 (_G_off_t): Likewise.
372 (_G_pid_t): Likewise.
373 (_G_uid_t): Likewise.
374 (_G_wchar_t): Likewise.
375 (_G_wint_t): Likewise.
376 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
377 (_G_ssize_t): Likewise.
378 (_G_off_t): Likewise.
379 (_G_pid_t): Likewise.
380 (_G_uid_t): Likewise.
381 (_G_wchar_t): Likewise.
382 (_G_wint_t): Likewise.
383 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
384 (_G_ssize_t): Likewise.
385 (_G_off_t): Likewise.
386 (_G_pid_t): Likewise.
387 (_G_uid_t): Likewise.
388 (_G_wchar_t): Likewise.
389 (_G_wint_t): Likewise.
391 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
393 * malloc/arena.c: Include malloc-sysdep.h.
394 (shrink_heap): Use check_may_shrink_heap to decide if madvise
395 is sufficient to shrink the heap or an unmap is needed.
396 * sysdeps/generic/malloc-sysdep.h: New file. Define
397 new function check_may_shrink_heap.
398 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
399 new function check_may_shrink_heap.
401 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
403 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
406 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
408 * catgets/test-gencat.sh: Add "set -e".
409 * elf/tst-pathopt.sh: Likewise.
410 * grp/tst_fgetgrent.sh: Likewise.
411 * iconvdata/run-iconv-test.sh: Likewise.
412 * intl/tst-gettext.sh: Likewise.
413 * intl/tst-gettext2.sh: Likewise.
414 * intl/tst-gettext4.sh: Likewise.
415 * intl/tst-gettext6.sh: Likewise.
416 * intl/tst-translit.sh: Likewise.
417 * io/ftwtest-sh: Likewise.
418 * libio/test-freopen.sh: Likewise.
419 * malloc/tst-mtrace.sh: Likewise.
420 * posix/globtest.sh: Likewise.
421 * posix/tst-getconf.sh: Likewise.
422 * posix/wordexp-tst.sh: Likewise.
423 * stdio-common/tst-printf.sh: Likewise.
424 * stdio-common/tst-unbputc.sh: Likewise.
425 * stdlib/tst-fmtmsg.sh: Likewise.
426 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
427 * catgets/Makefile: Do not specify -e option when running
428 testsuite shell scripts.
429 * elf/Makefile: Likewise.
430 * grp/Makefile: Likewise.
431 * iconvdata/Makefile: Likewise.
432 * intl/Makefile: Likewise.
433 * io/Makefile: Likewise.
434 * libio/Makefile: Likewise.
435 * malloc/Makefile: Likewise.
436 * posix/Makefile: Likewise.
437 * stdio-common/Makefile: Likewise.
438 * stdlib/Makefile: Likewise.
439 * sysdeps/x86_64/Makefile: Likewise.
441 * io/ftwtest-sh: Add copyright header.
442 * posix/globtest.sh: Likewise.
443 * posix/tst-getconf.sh: Likewise.
444 * posix/wordexp-tst.sh: Likewise.
445 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
447 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
450 * Makeconfig (+link): Defined as $(+link-static) if
451 $(build-shared) isn't yes.
452 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
454 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
456 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
459 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
460 new chunk size with MALLOC_ALIGN_MASK.
462 2012-09-24 Joseph Myers <joseph@codesourcery.com>
465 * stdio-common/printf_fphex.c: Include <stdbool.h> and
467 (__printf_fphex): Determine rounding using get_rounding_mode and
469 * stdio-common/tst-printf-round.c (struct hex_test): New
471 (hex_tests): New variable.
472 (test_hex_in_one_mode): New function.
473 (do_test): Also run tests for hex float output.
475 2012-09-21 Joseph Myers <joseph@codesourcery.com>
477 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
478 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
479 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
480 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
481 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
482 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
483 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
484 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
486 2012-09-20 Joseph Myers <joseph@codesourcery.com>
488 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
489 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
490 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
491 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
493 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
496 * elf/rtld.c (dl_main): Limit the check for self loading to normal
498 * elf/tst-rtld-load-self.sh: New test.
499 * elf/Makefile: Run it.
501 2012-09-18 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
504 (tst-writev-ENV): Remove.
505 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
507 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
509 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
511 2012-09-17 Joseph Myers <joseph@codesourcery.com>
513 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
515 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
517 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
518 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
519 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
522 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
525 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
526 * config.make.in (have-cpp-asm-debuginfo): Removed.
527 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
528 * configure: Regenerated.
530 2012-09-14 Joseph Myers <joseph@codesourcery.com>
533 * stdio-common/printf_fp.c: Include <stdbool.h> and
535 (___printf_fp): Determine rounding using get_rounding_mode and
537 * stdio-common/tst-printf-round.c: New file.
538 * stdio-common/Makefile (tests): Add tst-printf-round.
539 (link-libm): New variable.
540 ($(objpfx)tst-printf-round): Depend in $(link-libm).
542 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
545 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
546 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
548 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
551 2012-09-13 Joseph Myers <joseph@codesourcery.com>
553 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
554 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
555 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
556 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
558 2012-09-12 Joseph Myers <joseph@codesourcery.com>
561 * include/rounding-mode.h: New file.
562 * sysdeps/generic/get-rounding-mode.h: Likewise.
563 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
564 * stdlib/strtod_l.c: Include <rounding-mode.h>.
565 (MAX_VALUE): New macro.
566 (MIN_VALUE): Likewise.
567 (overflow_value): New function.
568 (underflow_value): Likewise.
569 (round_and_return): Use overflow_value and underflow_value to
570 determine return values in overflow and underflow cases. Use
571 round_away to determine rounding depending on rounding mode.
572 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
573 determine return values in overflow and underflow cases.
574 * stdlib/tst-strtod-round.c: Include <fenv.h>.
575 (struct test_results): New structure.
576 (struct test): Use struct test_results to store expected results
577 for all rounding modes.
578 (TEST): Include expected results for all rounding modes.
579 (test_in_one_mode): New function.
580 (do_test): Use test_in_one_mode to compute and check results.
581 Check results for all rounding modes.
582 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
585 2012-12-09 Allan McRae <allan@archlinux.org>
587 * sysdeps/i386/fpu/libm-test-ulps: Update
589 2012-09-11 Joseph Myers <joseph@codesourcery.com>
591 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
592 (_G_int32_t): Likewise.
593 (_G_uint16_t): Likewise.
594 (_G_uint32_t): Likewise.
595 (_G_HAVE_BOOL): Likewise.
596 (_G_HAVE_ATEXIT): Likewise.
597 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
598 (_G_HAVE_IO_FILE_OPEN): Likewise.
599 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
600 (_G_int32_t): Likewise.
601 (_G_uint16_t): Likewise.
602 (_G_uint32_t): Likewise.
603 (_G_HAVE_BOOL): Likewise.
604 (_G_HAVE_ATEXIT): Likewise.
605 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
606 (_G_HAVE_IO_FILE_OPEN): Likewise.
607 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
608 (_G_int32_t): Likewise.
609 (_G_uint16_t): Likewise.
610 (_G_uint32_t): Likewise.
611 (_G_HAVE_BOOL): Likewise.
612 (_G_HAVE_ATEXIT): Likewise.
613 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
614 (_G_HAVE_IO_FILE_OPEN): Likewise.
616 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
618 * csu/libc-tls.c: Update copyright years.
620 2012-09-10 Joseph Myers <joseph@codesourcery.com>
622 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
623 [!_G_USING_THUNKS]: Remove conditional code.
624 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
625 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
627 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
628 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
629 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
630 (_G_VTABLE_LABEL_PREFIX): Likewise.
631 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
632 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
633 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
634 (_G_VTABLE_LABEL_PREFIX): Likewise.
635 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
636 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
637 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
638 (_G_VTABLE_LABEL_PREFIX): Likewise.
639 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
641 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
643 * libio/Makefile: Include ../Makeconfig before tests.
644 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
645 only if $(build-shared) is yes.
647 * iconv/gconv_db.c: Update copyright years.
649 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
651 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
652 unwind info if defined PIC. Fix special cases description.
653 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
655 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
657 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
659 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
661 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
663 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
666 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
667 (LDLIBS-tst-chk4): This.
668 (LDFLAGS-tst-chk5): Renamed to ...
669 (LDLIBS-tst-chk5): This.
670 (LDFLAGS-tst-chk6): Renamed to ...
671 (LDLIBS-tst-chk6): This.
672 (LDFLAGS-tst-lfschk4): Renamed to ...
673 (LDLIBS-tst-lfschk4): This.
674 (LDFLAGS-tst-lfschk5): Renamed to ...
675 (LDLIBS-tst-lfschk5): This.
676 (LDFLAGS-tst-lfschk6): Renamed to ...
677 (LDLIBS-tst-lfschk6): This.
679 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
680 on $(common-objpfx)soversions.mk.
682 2012-09-07 Joseph Myers <joseph@codesourcery.com>
685 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
688 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
690 * malloc/arena.c (arena_get_retry): New function that gets
691 another arena for the caller to try its request on.
692 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
693 current arena cannot fulfill the request.
694 (__libc_memalign): Likewise.
695 (__libc_memalign): Likewise.
696 (__libc_pvalloc): Likewise.
697 (__libc_calloc): Likewise.
699 2012-09-05 John Tobey <john.tobey@gmail.com>
702 * manual/arith.texi (Operations on Complex): Fix description
705 2012-09-06 Joseph Myers <joseph@codesourcery.com>
708 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
712 * manual/memory.texi (Memory): Make order of menu items match
715 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
717 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
718 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
719 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
721 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
723 * csu/libc-tls.c (static_dtv): Renamed to ...
724 (_dl_static_dtv): This. Make it global.
725 (_dl_initial_dtv): Removed.
726 (__libc_setup_tls): Updated.
727 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
728 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
731 2012-09-06 Petr Machata <pmachata@redhat.com>
733 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
734 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
735 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
736 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
738 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
741 * csu/libc-tls.c (_dl_initial_dtv): New variable.
742 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
745 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
748 * Makeconfig (link-static-before-libc): Replace $(+prector)
750 (link-static-after-libc): Replace $(+postctor) with
752 (link-bounded): Replace $(+prector)/$(+postctor) with
753 $(+prectorT)/$(+postctorT).
754 (+prectorT): New macro.
755 (+postctorT): Likewise.
757 2012-09-06 Joseph Myers <joseph@codesourcery.com>
759 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
760 (round_str): Handle values above the maximum for IBM long double
762 * stdlib/tst-strtod-round.c (tests): Regenerated.
764 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
766 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
768 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
769 zarch_nohighgprs around the zarch optimized routines.
770 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
771 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
775 2012-09-05 David S. Miller <davem@davemloft.net>
777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
779 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
780 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
781 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
782 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
785 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
787 * malloc/arena.c: Fold copyright years.
788 * malloc/mcheck.c, malloc/memusage.c: Likewise.
790 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
792 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
794 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
796 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
798 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
800 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
801 change internal state upon failure.
803 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
805 * malloc/mcheck.c (mcheck_check_all): Fix typo.
806 * malloc/memusage.c (mmap): Likewise.
807 (mmap64, mremap): Likewise. Adjust name in comment.
809 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
811 * libio/fileops.c: Fix typos in comments.
812 * libio/oldfileops.c: Likewise.
813 * libio/wfileops.c: Likewise.
815 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
818 * malloc/Makefile (tests): Add tst-malloc-usable test case.
819 (tst-malloc-usable-ENV): Set environment for test case.
820 * malloc/hooks.c (malloc_check_get_size): New function to get
822 * malloc/malloc.c (musable): Use malloc_check_get_size.
823 * malloc/tst-malloc-usable.c: New test case.
825 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
827 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
829 2012-09-05 Allan McRae <allan@archlinux.org>
832 * configure.in (CXX_SYSINCLUDES): Use compiler output to
833 determine header location.
834 * configure: Regenerated.
836 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
838 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
840 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
841 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
845 2012-09-04 David S. Miller <davem@davemloft.net>
847 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
848 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
849 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
851 2012-09-04 Florian Weimer <fweimer@redhat.com>
853 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
856 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
858 2012-09-04 Joseph Myers <joseph@codesourcery.com>
861 * libio/iogetdelim.c: Include <limits.h>.
862 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
863 + len + 1 would overflow.
865 2012-09-03 Andreas Jaeger <aj@suse.de>
867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
868 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
872 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
873 Add s_sinf-sse2, s_conf-sse2.
875 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
876 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
877 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
878 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
880 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
881 for using routine as __sinf_ia32.
882 Use macro for function declaration and weak_alias.
883 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
884 for using routine as __cosf_ia32.
885 Use macro for function declaration and weak_alias.
887 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
888 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
890 * sysdeps/x86_64/fpu/s_sinf.S: New file.
891 * sysdeps/x86_64/fpu/s_cosf.S: New file.
892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
894 * math/libm-test.inc (cos_test): Add more test cases.
895 (sin_test): Likewise.
896 (sincos_test): Likewise.
898 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
901 (IFUNC_RESOLVE): Make pointers to the specialized implementations
903 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
905 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
908 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
909 first element of the GOT.
910 (elf_machine_load_address): Return the difference between
911 the runtime address of _DYNAMIC and elf_machine_dynamic ().
913 2012-09-01 Allan McRae <allan@archlinux.org>
916 * configure.in (AWK): Require gawk version 3.0 or later.
917 * configure: Regenerated.
919 2012-09-01 Joseph Myers <joseph@codesourcery.com>
921 * sysdeps/unix/sysv/linux/kernel-features.h
922 (__ASSUME_POSIX_CPU_TIMERS): Remove.
923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
924 [__NR_clock_getres]: Make code unconditional.
925 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
926 (clock_getcpuclockid): Remove code left unreachable by removal of
928 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
930 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
931 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
933 Make code unconditional.
934 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
935 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
936 * sysdeps/unix/sysv/linux/clock_settime.c
937 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
939 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
940 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
942 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
945 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
946 scripts/test-installation.pl.
948 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
949 and $ld_so_version if it is set.
951 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
954 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
955 failure if reading from procfs failed.
956 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
958 2012-08-27 Joseph Myers <joseph@codesourcery.com>
960 * sysdeps/unix/sysv/linux/kernel-features.h
961 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
962 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
963 Remove conditional code.
964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
965 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
966 Remove conditional code.
967 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
968 * sysdeps/unix/sysv/linux/i386/fxstat.c
969 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
970 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
971 * sysdeps/unix/sysv/linux/i386/fxstatat.c
972 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
973 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
974 * sysdeps/unix/sysv/linux/i386/lxstat.c
975 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
976 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
978 Remove conditional code.
979 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
980 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
981 Remove conditional code.
982 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
983 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
985 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
987 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
988 Remove conditional code.
989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
990 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
993 2012-08-27 Mike Frysinger <vapier@gentoo.org>
996 * NEWS: Add fixed bug number.
998 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1001 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1002 underflowing exponent in case of negative sign.
1003 * stdlib/tst-strtod-round-data: Add more tests.
1004 * stdlib/tst-strtod-round.c (tests): Regenerated.
1007 * stdlib/strtod_l.c (NDIG): Remove.
1008 (HEXNDIG): Likewise.
1009 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1010 smallest representable value.
1011 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1012 lie within an exact representation of 1/2 ulp of the result.
1013 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1015 (TENS_P9_IDX): Define unconditionally.
1016 (TENS_P9_SIZE): Likewise.
1017 (TENS_P10_IDX): Likewise.
1018 (TENS_P10_SIZE): Likewise.
1019 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1020 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1021 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1022 entries for 10^2^13 and 10^2^14.
1023 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1024 (TENS_P13_IDX): Define.
1025 (TENS_P13_SIZE): Likewise.
1026 (TENS_P14_IDX): Likewise.
1027 (TENS_P14_SIZE): Likewise.
1028 (_fpioconst_pow10): Change array size to
1029 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1031 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1032 1024]: Add entries for 10^2^13 and 10^2^14.
1033 [LAST_POW10 > _LAST_POW10]: Remove #error.
1034 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1035 (_fpioconst_pow10): Change array size to
1036 FPIOCONST_POW10_ARRAY_SIZE.
1037 * stdlib/gen-fpioconst.c: New file.
1038 * stdlib/gen-tst-strtod-round.c: Likewise.
1039 * stdlib/tst-strtod-round-data: Likewise.
1040 * stdlib/tst-strtod-round.c: Likewise.
1041 * stdlib/Makefile (tests): Add tst-strtod-round.
1044 * stdlib/strtod_l.c: Include <stdint.h>.
1045 (NDEBUG): Do not define.
1046 (round_and_return): Change EXPONENT parameter to type intmax_t.
1047 Rearrange calculations to avoid internal overflow possibilities.
1048 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1049 Rearrange calculations to avoid internal overflow possibilities.
1050 Assert that number fits inside MPNSIZE limbs.
1051 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1052 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1053 calculations and add assertions to avoid internal overflow
1054 possibilities. Add casts to avoid signed/unsigned operations.
1055 * stdlib/tst-strtod-overflow.c: New file.
1056 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1058 2012-08-25 Marek Polacek <polacek@redhat.com>
1060 * time/time.h: Fix some typos in comments.
1062 2012-08-23 Roland McGrath <roland@hack.frob.com>
1064 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1065 * posix/tst-rfc3484-2.c: Likewise.
1066 * posix/tst-rfc3484-3.c: Likewise.
1068 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1070 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1071 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1073 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1075 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1076 #include of fxstatat64.c.
1078 2012-08-22 Roland McGrath <roland@hack.frob.com>
1080 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1081 * shadow/getspent_r.c: Likewise.
1082 * shadow/getspnam.c: Likewise.
1083 * shadow/getspnam_r.c: Likewise.
1084 * gshadow/getsgent.c: Likewise.
1085 * gshadow/getsgent_r.c: Likewise.
1086 * gshadow/getsgnam.c: Likewise.
1087 * gshadow/getsgnam_r.c: Likewise.
1088 * inet/getnetbyad.c: Likewise.
1089 * inet/getnetbyad_r.c: Likewise.
1090 * inet/getnetbynm.c: Likewise.
1091 * inet/getnetbynm_r.c: Likewise.
1092 * inet/getnetent.c: Likewise.
1093 * inet/getnetent_r.c: Likewise.
1094 * inet/getproto.c: Likewise.
1095 * inet/getproto_r.c: Likewise.
1096 * inet/getprtent.c: Likewise.
1097 * inet/getprtent_r.c: Likewise.
1098 * inet/getprtname.c: Likewise.
1099 * inet/getprtname_r.c: Likewise.
1100 * inet/getrpcbyname.c: Likewise.
1101 * inet/getrpcbyname_r.c: Likewise.
1102 * inet/getrpcbynumber.c: Likewise.
1103 * inet/getrpcbynumber_r.c: Likewise.
1104 * inet/getrpcent.c: Likewise.
1105 * inet/getrpcent_r.c: Likewise.
1106 * inet/getaliasent.c: Likewise.
1107 * inet/getaliasent_r.c: Likewise.
1108 * inet/getaliasname.c: Likewise.
1109 * inet/getaliasname_r.c: Likewise.
1110 * nscd/getgrgid_r.c: Likewise.
1111 * nscd/getgrnam_r.c: Likewise.
1112 * nscd/gethstbyad_r.c: Likewise.
1113 * nscd/gethstbynm3_r.c: Likewise.
1114 * nscd/getpwnam_r.c: Likewise.
1115 * nscd/getpwuid_r.c: Likewise.
1116 * nscd/getsrvbynm_r.c: Likewise.
1117 * nscd/getsrvbypt_r.c: Likewise.
1118 * nscd/gai.c: Likewise.
1120 * configure.in (build_nscd): New substituted variable, set
1121 by --disable-build-nscd and defaults to $use_nscd.
1122 * configure: Regenerated.
1123 * config.make.in (build-nscd): New substituted variable.
1124 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1125 Change conditional to require [$(build-nscd) = yes] as well.
1126 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1129 * configure.in (use_nscd): New substituted variable, set by
1130 --disable-nscd. If enabled, define USE_NSCD.
1131 * configure: Regenerated.
1132 * config.h.in: Add USE_NSCD.
1133 * config.make.in (use-nscd): New substituted variable.
1134 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1135 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1136 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1137 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1138 (CFLAGS-getgrnam_r.c): Likewise.
1139 (CFLAGS-initgroups.c): Likewise.
1140 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1141 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1143 * inet/getnetgrent_r.c
1144 (nscd_setnetgrent): New function, broken out of ...
1145 (setnetgrent): ... here. Call it.
1146 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1147 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1148 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1149 * nscd/Makefile (routines, aux): Move definitions after include of
1150 Makeconfig. Conditionalize on [$(use-nscd) != no].
1151 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1152 Conditionalize on [USE_NSCD].
1153 (is_nscd, nscd_init_cb): Likewise.
1154 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1155 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1156 * nss/nss_db/db-init.c: Likewise.
1157 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1159 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1160 (make_request): Use it.
1161 (cache_valid_p): New function.
1162 (__check_pf): Use it.
1163 * NEWS: Add item for --disable-nscd.
1165 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1167 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1168 to support sed >= 4.2.1-20-ga9bf076.
1169 * configure: Regenerated.
1171 2012-08-22 Roland McGrath <roland@hack.frob.com>
1173 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1174 Conditionalize whole body on [IREL].
1176 2012-08-22 Jeff Law <law@redhat.com>
1179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1180 if the family is PF_UNSPEC.
1182 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1184 * Makerules (lib-version): Rename from V.
1185 (install-lib-nosubdir): Change V to lib-version.
1187 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1190 * powerpc32/power6/wcschr.c: New file.
1191 * powerpc32/power6/wcscpy.c: New file.
1192 * powerpc32/power6/wcsrchr.c: New file.
1193 * powerpc64/power6/wcschr.c: New file.
1194 * powerpc64/power6/wcscpy.c: New file.
1195 * powerpc64/power6/wcsrchr.c: New file.
1197 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1199 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1200 (two_way_short_needle): Use it.
1201 * string/strstr.c (AVAILABLE1_USES_J): Define.
1202 * string/strcasestr.c: Likewise.
1204 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1206 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1209 * NEWS: Add an entry.
1210 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1211 define their defaults.
1212 (two_way_short_needle): Detect end-of-string on-the-fly.
1213 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1214 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1215 * string/bug-strcasestr1.c: New test.
1216 * string/Makefile: Run it.
1218 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1221 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1222 the first character.
1224 2012-08-21 Roland McGrath <roland@hack.frob.com>
1226 * csu/elf-init.c (__libc_csu_irel): Function removed.
1227 * csu/libc-start.c (apply_irel): New function.
1228 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1230 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1232 * sysdeps/unix/sysv/linux/kernel-features.h
1233 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1234 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1235 <kernel-features.h>.
1236 [__NR_fadvise64_64]: Make code unconditional.
1237 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1238 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1239 !__NR_fadvise64_64)]: Likewise.
1240 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1241 !__NR_fadvise64_64))]: Likewise.
1242 [__NR_fadvise64]: Make code unconditional.
1243 [!__NR_fadvise64]: Remove conditional code.
1244 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1245 <kernel-features.h>.
1246 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1248 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1251 not include <kernel-features.h>.
1252 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1254 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1256 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1257 include <kernel-features.h>.
1258 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1260 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1263 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1265 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1266 slight instruction rearrangements per scrollpipe analysis.
1267 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1269 2012-08-20 Roland McGrath <roland@hack.frob.com>
1271 * manual/syslog.texi (syslog; vsyslog, closelog):
1272 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1273 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1275 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1276 DSOCAPS to match condition on defining it.
1278 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1280 * sysdeps/unix/sysv/linux/kernel-features.h
1281 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1283 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1284 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1286 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1287 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1289 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1290 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1292 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1293 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1295 * sysdeps/unix/sysv/linux/kernel-features.h
1296 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1297 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1299 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1300 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1301 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1302 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1303 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1304 Make code unconditional.
1305 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1306 (__mmap64) [!__NR_mmap2]: Likewise.
1307 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1308 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1309 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1311 [__NR_mmap2]: Make code unconditional.
1312 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1313 (__mmap64) [!__NR_mmap2]: Likewise.
1315 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1317 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1319 2012-08-18 Andreas Jaeger <aj@suse.de>
1321 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1323 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1325 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1326 * include/unistd.h (__have_sock_cloexec): Likewise.
1327 (__have_pipe2): Likewise.
1328 (__have_dup3): Likewise.
1330 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1333 * include/unistd.h (__have_pipe2): Change define into an extern int.
1334 (__have_dup3): Likewise.
1335 * socket/have_sock_cloexec.c: Include fcntl.h.
1336 (__have_pipe2): New variable.
1337 (__have_dup3): Likewise.
1339 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1341 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1343 2012-08-17 Marek Polacek <polacek@redhat.com>
1345 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1346 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1348 2012-08-17 Roland McGrath <roland@hack.frob.com>
1350 * configure.in: Add AC_SUBST for sysheaders.
1351 * configure: Regenerated.
1352 * config.make.in (sysheaders): New substituted variable.
1354 * sysdeps/unix/mkfifo.c: Moved ...
1355 * sysdeps/posix/mkfifo.c: ... here.
1356 * sysdeps/unix/mkfifoat.c: Moved ...
1357 * sysdeps/posix/mkfifoat.c: ... here.
1359 * sysdeps/unix/utime.c: Moved ...
1360 * sysdeps/posix/utime.c: ... here.
1362 * sysdeps/unix/time.c: Moved ...
1363 * sysdeps/posix/time.c: ... here.
1364 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1365 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1367 * sysdeps/unix/nice.c: Moved ...
1368 * sysdeps/posix/nice.c: ... here.
1370 * sysdeps/unix/alarm.c: Moved ...
1371 * sysdeps/posix/alarm.c: ... here.
1373 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1375 2012-08-17 Jeff Law <law@redhat.com>
1377 * intl/Makefile (codeset_mo): New variable.
1378 ($(codeset_mo)): New target.
1379 (tst-codeset.out): Depend on that. Remove explicit rule.
1380 (tst-gettext3.out, tst-gettext5.out): Likewise.
1381 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1382 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1383 * intl/tst-codeset.sh: Remove.
1384 * intl/tst-gettext3.sh: Likewise.
1385 * intl/tst-gettext5.sh: Likewise.
1387 2012-08-17 Roland McGrath <roland@hack.frob.com>
1389 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1390 * sysdeps/unix/syscalls.list: ... here.
1392 * sysdeps/posix/getaddrinfo.c
1393 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1394 (gaiconf_init, gaiconf_reload): Use them.
1396 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1397 Define using time_t rather than struct timespec.
1399 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1400 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1402 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1404 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1405 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1408 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1409 __libc_cleanup_push argument.
1411 * bits/param.h: New file.
1412 * misc/sys/param.h: New file.
1413 * include/sys/param.h: New file.
1414 * misc/Makefile (headers): Add bits/param.h.
1415 * sysdeps/generic/sys/param.h: File removed.
1416 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1417 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1418 * sysdeps/mach/hurd/bits/param.h: New file.
1419 * sysdeps/mach/hurd/sys/param.h: New file.
1421 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1424 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1426 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1427 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1430 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1431 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1432 rather than -D_IO_MTSAFE_IO conditionally.
1433 * stdio-common/Makefile (CPPFLAGS): Likewise.
1434 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1435 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1436 Use $(libio-mtsafe).
1437 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1439 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1440 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1441 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1442 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1443 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1444 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1445 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1446 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1447 (CFLAGS-fread_u_chk.c): Likewise.
1448 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1449 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1450 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1451 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1452 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1453 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1454 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1455 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1456 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1458 * libio/Makefile: Test [$(libc-reentrant) = yes]
1459 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1462 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1463 * sysdeps/pthread/configure: File removed.
1464 * sysdeps/pthread/Makeconfig: New file.
1465 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1466 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1468 2012-08-16 Gary Benson <gbenson@redhat.com>
1470 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1471 unmapping the first object in a namespace.
1473 2012-08-16 Roland McGrath <roland@hack.frob.com>
1475 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1476 (__internal_setnetgrent): ... this. Add internal_function to
1477 definition. Add libc_hidden_def.
1478 (setnetgrent): Update caller.
1479 (internal_endnetgrent): Renamed to ...
1480 (__internal_endnetgrent): ... this. Add internal_function to
1481 definition. Add libc_hidden_def.
1482 (endnetgrent): Update caller.
1483 (internal_getnetgrent_r): Renamed to ...
1484 (__internal_getnetgrent_r): ... this. Add internal_function to
1485 definition. Add libc_hidden_def.
1486 (__getnetgrent_r): Update caller.
1487 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1489 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1491 * stdlib/longlong.h: Update from GCC.
1493 2012-08-16 Roland McGrath <roland@hack.frob.com>
1495 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1496 on _QL, which is set by umul_ppmm but never used.
1497 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1498 variables, which are set by GMP macros but never used.
1499 * stdio-common/_itowa.c (_itowa): Likewise.
1500 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1501 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1503 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1505 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1506 struct La_sh_regs is not constant.
1507 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1508 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1509 and struct La_sparc64_regs are not constant.
1511 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1513 * sysdeps/unix/sysv/linux/kernel-features.h
1514 (__ASSUME_POSIX_TIMERS): Remove.
1515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1516 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1517 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1518 Make code unconditional.
1519 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1520 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1521 Make code unconditional.
1522 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1523 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1524 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1525 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1526 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1527 Make code unconditional.
1528 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1529 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1530 (__libc_missing_posix_timers): Remove.
1532 2012-08-15 Roland McGrath <roland@hack.frob.com>
1534 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1535 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1537 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1539 * elf/dl-sym.c: Include <stdlib.h>.
1541 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1542 constants, which avoids warnings in 32-bit builds.
1544 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1545 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1547 * misc/lseek.c: File moved to ...
1548 * io/lseek.c: ... here.
1550 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1552 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1553 shifting LEN more than 31 bits at once.
1555 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1558 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1559 segmentation fault for a case of two empty input strings.
1560 * string/test-strncasecmp.c (check1): Renamed to...
1562 (bz14195): Add new testcase for two empty input strings and N > 0.
1563 (test_main): Call new testcase, adapt for renamed function.
1565 2012-08-15 Andreas Jaeger <aj@suse.de>
1568 * crypt/md5test2.c: New test, based on test supplied by Serge
1569 Belyshev <belyshev@depni.sinp.msu.ru>.
1570 * crypt/Makefile (xtests): Add md5test-giant..
1571 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1573 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1576 * crypt/md5.c (md5_process_block): Don't assume the buffer
1577 length is less than 2**32.
1578 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1579 length is less than 2**64.
1581 2012-08-15 Roland McGrath <roland@hack.frob.com>
1583 * string/str-two-way.h: Include <sys/param.h>.
1584 (MAX): Macro removed.
1586 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1587 Move #define and #undef of memmove to just before and after
1588 including <string.h>.
1590 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1591 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1592 and after including <string.h>. Move declarations of
1593 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1594 to before #include "string/memmove.c".
1596 * include/dirent.h: Declare __getdirentries.
1598 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1599 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1601 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1603 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1604 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1605 * sysdeps/i386/configure: Regenerated.
1606 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1607 STABS_CURRENT_FILE, and STABS_FUN.
1608 (END): Remove call to STABS_FUN_END.
1609 (STABS_CURRENT_FILE1): Delete.
1610 (STABS_CURRENT_FILE): Likewise.
1611 (STABS_FUN): Likewise.
1612 (STABS_FUN_END): Likewise.
1613 (STABS_FUN2): Likewise.
1614 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1615 * sysdeps/x86_64/configure: Regenerated.
1617 2012-08-14 Roland McGrath <roland@hack.frob.com>
1619 * elf/dl-open.c: Include <atomic.h>.
1620 * elf/dl-lookup.c: Likewise.
1622 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1624 * sysdeps/unix/sysv/linux/kernel-features.h
1625 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1626 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1628 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1630 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1631 condition on __ASSUME_CLONE_THREAD_FLAGS.
1633 2012-08-14 Andreas Jaeger <aj@suse.de>
1635 * sysdeps/i386/fpu/libm-test-ulps: Update.
1637 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1639 * include/atomic.h (atomic_exchange_and_add): Split into ...
1640 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1643 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1647 2012-08-13 Jeff Law <law@redhat.com>
1649 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1650 null byte in the output string.
1652 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1654 * sysdeps/unix/sysv/linux/kernel-features.h
1655 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1656 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1657 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1658 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1659 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1660 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1661 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1663 2012-08-09 Jeff Law <law@redhat.com>
1666 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1667 When avoid_arena is set, don't retry in the that arena. Pick the
1668 next one, whatever it might be.
1669 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1670 (arena_lock): Pass in new parameter to arena_get2.
1671 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1673 (__libc_malloc): Unify retrying after main arena failure with
1674 __libc_memalign version.
1675 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1677 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1680 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1681 to __redirect_strstr.
1682 (__strstr_sse42): Use typeof __redirect_strstr.
1683 (__strstr_ia32): Likewise.
1684 (__libc_strstr): New prototype.
1685 (strstr): Renamed to ...
1686 (__libc_strstr): This.
1687 (strstr): New strong alias of __libc_strstr.
1688 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1689 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1692 (__libc_time): New prototype.
1693 (time_ifunc): Replace time with __libc_time.
1694 (time): New strong alias and hidden definition of __libc_time.
1695 (__GI_time): Remove strong alias.
1696 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1698 (memmove): Redefined to __redirect_memmove.
1699 (__memmove_sse2): Use typeof __redirect_memmove.
1700 (__memmove_ssse3): Likewise.
1701 (__memmove_ssse3_back): Likewise.
1702 (__libc_memmove): New prototype.
1703 (memmove): Renamed to ...
1704 (__libc_memmove): This.
1705 (memmove): New strong alias of __libc_memmove.
1707 2012-08-08 Mark Salter <msalter@redhat.com>
1710 (R_MN10300_TLS_GD): Define.
1711 (R_MN10300_TLS_LD): Likewise.
1712 (R_MN10300_TLS_LDO): Likewise.
1713 (R_MN10300_TLS_GOTIE): Likewise.
1714 (R_MN10300_TLS_IE): Likewise.
1715 (R_MN10300_TLS_LE): Likewise.
1716 (R_MN10300_TLS_DTPMOD): Likewise.
1717 (R_MN10300_TLS_DTPOFF): Likewise.
1718 (R_MN10300_TLS_TPOFF): Likewise.
1719 (R_MN10300_SYM_DIFF): Likewise.
1720 (R_MN10300_ALIGN): Likewise.
1721 (R_MN10300_NUM): Update.
1723 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1728 2012-08-08 Roland McGrath <roland@hack.frob.com>
1730 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1732 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1733 sysdeps/unix -> sysdeps/posix move.
1734 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1736 2012-08-07 Allan McRae <allan@archlinux.org>
1739 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1740 (SUNOS_CPP): Likewise.
1741 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1743 (open_input): Call CPP using execvp.
1745 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1747 * sysdeps/unix/sysv/linux/kernel-features.h
1748 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1749 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1750 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1751 (__ASSUME_WAITID_SYSCALL): Likewise.
1752 * sysdeps/unix/sysv/linux/dl-execstack.c
1753 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1755 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1757 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1758 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1759 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1761 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1763 [__ASSUME_WAITID_SYSCALL]: Likewise.
1764 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1766 2012-08-07 Roland McGrath <roland@hack.frob.com>
1768 * sysdeps/unix/closedir.c: Renamed to ...
1769 * sysdeps/posix/closedir.c: ... here.
1770 * sysdeps/unix/dirfd.c: Renamed to ...
1771 * sysdeps/posix/dirfd.c: ... here.
1772 * sysdeps/unix/dirstream.h: Renamed to ...
1773 * sysdeps/posix/dirstream.h: ... here.
1774 * sysdeps/unix/fdopendir.c: Renamed to ...
1775 * sysdeps/posix/fdopendir.c: ... here.
1776 * sysdeps/unix/opendir.c: Renamed to ...
1777 * sysdeps/posix/opendir.c: ... here.
1778 * sysdeps/unix/readdir.c: Renamed to ...
1779 * sysdeps/posix/readdir.c: ... here.
1780 * sysdeps/unix/readdir_r.c: Renamed to ...
1781 * sysdeps/posix/readdir_r.c: ... here.
1782 * sysdeps/unix/rewinddir.c: Renamed to ...
1783 * sysdeps/posix/rewinddir.c: ... here.
1784 * sysdeps/unix/seekdir.c: Renamed to ...
1785 * sysdeps/posix/seekdir.c: ... here.
1786 * sysdeps/unix/telldir.c: Renamed to ...
1787 * sysdeps/posix/telldir.c: ... here.
1788 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1789 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1790 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1791 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1793 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1794 * bits/fcntl.h: ... here.
1796 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1798 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1799 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1800 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1801 (struct flock): Move l_start, l_len to the beginning.
1802 Use __pid_t for l_pid.
1803 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1804 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1805 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1806 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1807 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1808 [__USE_LARGEFILE64] (struct flock64): New type.
1809 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1811 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1812 * bits/dirent.h: ... here.
1814 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1815 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1817 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1820 Change from 2.6.0 to 2.6.16.
1821 * sysdeps/unix/sysv/linux/configure: Regenerated.
1822 * sysdeps/unix/sysv/linux/kernel-features.h
1823 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1824 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1826 (__ASSUME_UTIMES): Likewise.
1827 (__ASSUME_CLONE_STOPPED): Remove.
1828 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1829 architectures, not kernel version.
1830 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1831 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1832 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1833 (__ASSUME_WAITID_SYSCALL): Likewise.
1834 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1835 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1836 * README: State 2.6.16 as minimum Linux kernel version. Do not
1837 refer to older versions.
1839 2012-08-06 Roland McGrath <roland@hack.frob.com>
1841 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1842 Define alphasort64 as an alias.
1843 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1844 Define versionsort64 as an alias.
1845 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1846 Define scandir64 as an alias.
1847 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1848 Define scandirat64 as an alias.
1849 * dirent/alphasort64.c (alphasort64):
1850 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1851 * dirent/versionsort64.c: Likewise.
1852 * dirent/scandir64.c: Likewise.
1853 * dirent/scandirat64.c: Likewise.
1854 * sysdeps/wordsize-64/alphasort.c: File removed.
1855 * sysdeps/wordsize-64/alphasort64.c: File removed.
1856 * sysdeps/wordsize-64/scandir.c: File removed.
1857 * sysdeps/wordsize-64/scandir64.c: File removed.
1858 * sysdeps/wordsize-64/scandirat.c: File removed.
1859 * sysdeps/wordsize-64/scandirat64.c: File removed.
1860 * sysdeps/wordsize-64/versionsort.c: File removed.
1861 * sysdeps/wordsize-64/versionsort64.c: File removed.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1864 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1865 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1869 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1871 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1873 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1875 [defined __arch64__ || defined __sparcv9]
1876 (__INO_T_MATCHES_INO64_T): New macro.
1877 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1878 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1879 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1880 * sysdeps/unix/sysv/linux/bits/dirent.h
1881 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1882 (_DIRENT_MATCHES_DIRENT64): New macro.
1884 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1885 Define lockf64 as an alias.
1886 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1887 Define fseeko64 as an alias.
1888 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1889 Define ftello64 as an alias.
1890 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1891 Define _IO_fgetpos64 and fgetpos64 as aliases.
1892 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1893 Define _IO_fsetpos64 and fsetpos64 as aliases.
1894 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1895 Conditionalize body on this.
1896 * libio/fseeko64.c: Likewise.
1897 * libio/ftello64.c: Likewise.
1898 * libio/iofgetpos64.c: Likewise.
1899 * libio/iofsetpos64.c: Likewise.
1900 * sysdeps/wordsize-64/lockf.c: File removed.
1901 * sysdeps/wordsize-64/lockf64.c: File removed.
1902 * sysdeps/wordsize-64/fseeko.c: File removed.
1903 * sysdeps/wordsize-64/fseeko64.c: File removed.
1904 * sysdeps/wordsize-64/ftello.c: File removed.
1905 * sysdeps/wordsize-64/ftello64.c: File removed.
1906 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1907 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1908 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1909 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1910 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1912 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1913 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1914 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1915 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1916 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1917 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1919 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1921 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1923 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1925 [defined __arch64__ || defined __sparcv9]
1926 (__OFF_T_MATCHES_OFF64_T): New macro.
1927 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1928 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1930 (__OFF_T_MATCHES_OFF64_T): New macro.
1932 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1934 * stdlib/secure-getenv.c (__secure_getenv): Replace
1935 GLIBC_2_16 with GLIBC_2_17.
1937 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1939 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1940 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1942 2012-08-03 David S. Miller <davem@davemloft.net>
1944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1946 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1948 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1950 (__ASSUME_CORRECT_SI_PID): Likewise.
1951 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1952 (__ASSUME_TMPFS_NAME): Likewise.
1953 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1954 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1956 (HAVE_AUX_SECURE): Make definition unconditional.
1957 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1958 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1960 2012-08-03 Roland McGrath <roland@hack.frob.com>
1962 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1963 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1964 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1965 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1966 __eloop_threshold instead of SYMLOOP_MAX.
1968 * sysdeps/generic/eloop-threshold.h: New file.
1969 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1971 * elf/chroot_canon.c (chroot_canon): Likewise.
1973 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1976 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1977 Change to 2.6.0 everywhere.
1978 * sysdeps/unix/sysv/linux/configure: Regenerated.
1979 * sysdeps/unix/sysv/linux/kernel-features.h
1980 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1981 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1983 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1984 (__ASSUME_FUTEX_REQUEUE): Remove.
1985 (__ASSUME_STATFS64): Define unconditionally.
1986 (__ASSUME_AT_SECURE): Likewise.
1987 (__ASSUME_CORRECT_SI_PID): Likewise.
1988 (__ASSUME_TGKILL): Define without depending on kernel version for
1990 (__ASSUME_UTIMES): Likewise.
1991 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1993 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1994 (__ASSUME_TMPFS_NAME): Likewise.
1995 * README: Update reference to Linux kernel versions.
1997 2012-08-02 Marek Polacek <polacek@redhat.com>
2000 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2001 libc_cv_asm_type_prefix with %.
2002 * configure: Regenerated.
2003 * include/libc-symbols.h: Remove comment about
2004 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2005 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2006 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2007 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2008 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2009 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2010 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2011 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2012 * elf/tst-unique2mod1.c: Likewise.
2013 * elf/tst-unique1mod2.c: Likewise.
2014 * elf/tst-unique1mod1.c: Likewise.
2015 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2016 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2017 Replace ASM_TYPE_DIRECTIVE with .type.
2018 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2019 * sysdeps/i386/sysdep.h: Likewise.
2020 * sysdeps/x86_64/sysdep.h: Likewise.
2021 * sysdeps/sh/sysdep.h: Likewise.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2023 Do not define ASM_TYPE_DIRECTIVE.
2024 * sysdeps/powerpc/sysdep.h: Likewise.
2025 * sysdeps/powerpc/powerpc32/sysdep.h:
2026 Replace ASM_TYPE_DIRECTIVE with .type.
2027 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2028 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2029 * sysdeps/i386/fpu/e_powf.S: Likewise.
2030 * sysdeps/i386/fpu/e_expl.S: Likewise.
2031 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2032 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2033 * sysdeps/i386/fpu/e_pow.S: Likewise.
2034 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2035 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2036 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2037 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2038 * sysdeps/i386/fpu/e_log2.S: Likewise.
2039 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2040 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2041 * sysdeps/i386/fpu/e_powl.S: Likewise.
2042 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2043 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2044 * sysdeps/i386/fpu/e_logl.S: Likewise.
2045 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2046 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2047 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2048 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2049 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2050 * sysdeps/i386/fpu/e_log.S: Likewise.
2051 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2052 * sysdeps/i386/fpu/e_logf.S: Likewise.
2053 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2055 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2056 * sysdeps/i386/fpu/e_log10.S: Likewise.
2057 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2058 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2059 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2060 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2061 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2062 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2063 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2064 * sysdeps/i386/i686/strtok.S: Likewise.
2065 * sysdeps/i386/i386-mcount.S: Likewise.
2066 * sysdeps/i386/strtok.S: Likewise.
2067 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2068 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2069 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2070 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2072 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2073 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2074 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2075 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2076 * sysdeps/x86_64/_mcount.S: Likewise.
2077 * sysdeps/x86_64/strtok.S: Likewise.
2078 * sysdeps/sh/_mcount.S: Likewise.
2080 2012-08-01 Roland McGrath <roland@hack.frob.com>
2082 * libio/iofopen.c: Include <fcntl.h>.
2083 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2084 (_IO_fopen64, fopen64): Define as aliases.
2085 * libio/iofopen64.c: Include <fcntl.h>.
2086 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2087 Conditionalize body on this.
2088 * sysdeps/wordsize-64/iofopen.c: File removed.
2089 * sysdeps/wordsize-64/iofopen64.c: File removed.
2091 2012-08-01 Marek Polacek <polacek@redhat.com>
2093 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2094 Use dlfcn directly instead of a variable.
2095 (binfmt-subdir): Do not define.
2098 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2101 Remove all definitions.
2102 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2103 <kernel-features.h>.
2104 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2105 (miss_F_GETOWN_EX): Remove all definitions.
2106 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2108 [!__ASSUME_FCNTL64]: Remove conditional code.
2109 [__ASSUME_FCNTL64]: Make code unconditional.
2110 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2111 <kernel-features.h>.
2112 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2113 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2114 (lockf64) [__NR_fcntl64]: Make code unconditional.
2115 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2117 * sysdeps/unix/sysv/linux/kernel-features.h
2118 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2119 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2120 Make code unconditional.
2121 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2122 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2124 [__NR_vfork]: Make code unconditional.
2125 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2126 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2128 [__NR_vfork]: Make code unconditional.
2129 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2130 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2132 2012-08-01 Roland McGrath <roland@hack.frob.com>
2134 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2135 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2137 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2138 Define mkstemp64 as an alias.
2139 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2140 Define mkstemps64 as an alias.
2141 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2142 Define mkostemp64 as an alias.
2143 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2144 Define mkostemps64 as an alias.
2145 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2146 Conditionalize body on this.
2147 * misc/mkostemp64.c: Likewise.
2148 * misc/mkostemps64.c: Likewise.
2149 * misc/mkstemps64.c: Likewise.
2150 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2151 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2152 * sysdeps/wordsize-64/mkostemp.c: File removed.
2153 * sysdeps/wordsize-64/mkstemp.c: File removed.
2154 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2156 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2157 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2160 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2161 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2162 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2163 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2165 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2166 compat_symbol macros from <shlib-compat.h> rather than the underlying
2167 default_symbol_version and symbol_version macros, so that DEFAULT
2168 lines in shlib-versions are respected.
2169 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2171 2012-08-01 Florian Weimer <fweimer@redhat.com>
2173 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2174 Declare with warn_unused_result.
2175 (setgid, setregid, setegid, setresgid): Likewise.
2176 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2178 * WUR-REPORT: Remove set*id functions.
2180 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2182 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2184 2012-07-31 Roland McGrath <roland@hack.frob.com>
2186 * include/sys/socket.h (__libc_accept, __libc_accept4):
2187 Add attribute_hidden.
2188 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2190 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2192 * inet/getnetgrent_r.c (setup): Likewise.
2194 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2196 2012-07-31 David S. Miller <davem@davemloft.net>
2198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2200 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2203 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2204 value between 1.0 and 2.0 and smaller part has absolute value less
2206 * math/s_clog10.c (__clog10): Likewise.
2207 * math/s_clog10f.c (__clog10f): Likewise.
2208 * math/s_clog10l.c (__clog10l): Likewise.
2209 * math/s_clogf.c (__clogf): Likewise.
2210 * math/s_clogl.c (__clogl): Likewise.
2211 * math/libm-test.inc (clog_test): Add more tests.
2212 (clog10_test): Likewise.
2213 * sysdeps/i386/fpu/libm-test-ulps: Update.
2214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216 2012-07-31 Florian Weimer <fweimer@redhat.com>
2218 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2219 Exit with zero in case no suitable GID is found, and write a
2220 message to standard error.
2222 2012-07-30 Roland McGrath <roland@hack.frob.com>
2224 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2226 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2227 (MAXPATHLEN): Removed.
2228 (NOGROUP, NODEV): New macros.
2229 (setbit, clrbit, isset, isclr): New macros.
2230 (howmany, roundup, powerof2): New macros.
2231 (DEV_BSIZE): New macro.
2233 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2234 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2236 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2237 definition on [!__NO_LONG_DOUBLE_MATH].
2239 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2240 PTR_MANGLE and PTR_DEMANGLE.
2242 * socket/accept4.c (accept4): Rename to __libc_accept4.
2243 Define accept4 as a weak alias.
2245 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2246 on [_DIRENT_HAVE_D_TYPE].
2247 * io/ftw.c (ftw_dir): Likewise.
2249 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2251 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2253 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2254 Use the BSD numbers rather than the arbitrary ones we had.
2255 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2256 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2257 (SIGXCPU, SIGXFSZ): New macros.
2260 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2261 initializer on [_LIBC_REENTRANT].
2263 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2264 definitions inside [_POSIX_MAPPED_FILES].
2266 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2268 * dirent/opendir.c: Include <fcntl.h>.
2270 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2271 (__libc_getspecific): Likewise.
2272 (__libc_key_create): Likewise.
2274 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2275 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2276 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2277 (tmpfile64): Define as alias.
2278 * sysdeps/wordsize-64/tmpfile.c: File removed.
2279 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2281 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2283 * stdio-common/vfscanf.c: Include <stdbool.h>.
2284 * nss/makedb.c: Likewise.
2285 * stdio-common/_i18n_number.h: Likewise.
2286 * argp/argp-help.c: Likewise.
2287 * posix/wordexp.c: Likewise.
2288 * sysdeps/posix/spawni.c: Likewise.
2289 * nss/nss_files/files-initgroups.c: Likewise.
2290 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2291 * nss/nss_files/files-initgroups.c: Likewise.
2292 * nss/nss_db/db-netgrp.c: Likewise.
2293 * nss/nss_db/db-initgroups.c: Likewise.
2294 * io/fchmodat.c: Include <sys/stat.h>.
2296 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2297 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2299 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2302 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2303 Add multiple inclusion protection.
2305 2012-07-27 David S. Miller <davem@davemloft.net>
2307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2309 2012-07-27 Gary Benson <gbenson@redhat.com>
2312 * elf/rtld.c: Include <stap-probe.h>.
2313 (dl_main): Added static probes "init_start" and "init_complete".
2314 * elf/dl-load.c: Include <stap-probe.h>.
2315 (lose): Take new parameter "nsid".
2316 Added static probe "map_failed".
2317 (_dl_map_object_from_fd): Pass namespace id to lose.
2318 Added static probe "map_start".
2319 (open_verify): Pass namespace id to lose.
2320 * elf/dl-open.c: Include <stap-probe.h>.
2321 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2322 and "reloc_complete".
2323 * elf/dl-close.c: Include <stap-probe.h>.
2324 (_dl_close_worker): Added static probes "unmap_start" and
2326 * elf/rtld-debugger-interface.txt: New file documenting the above.
2328 2012-07-26 Roland McGrath <roland@hack.frob.com>
2330 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2331 rather than a string variable.
2332 * sunrpc/rpc_main.c (h_output): Likewise.
2333 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2335 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2337 * inet/check_native.c: New file.
2339 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2342 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2343 if larger part has absolute value 1.0.
2344 * math/s_clog10.c (__clog10): Likewise.
2345 * math/s_clog10f.c (__clog10f): Likewise.
2346 * math/s_clog10l.c (__clog10l): Likewise.
2347 * math/s_clogf.c (__clogf): Likewise.
2348 * math/s_clogl.c (__clogl): Likewise.
2349 * math/libm-test.inc (clog_test): Add more tests.
2350 (clog10_test): Likewise.
2351 * sysdeps/i386/fpu/libm-test-ulps: Update.
2352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2354 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2355 (pltexit): Likewise.
2356 (La_regs): Likewise.
2357 (La_retval): Likewise.
2358 (int_retval): Likewise.
2359 Update #error for removed macros to refer only to definitions in
2361 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2363 (pltexit): Likewise.
2364 (La_regs): Likewise.
2365 (La_retval): Likewise.
2366 (int_retval): Likewise.
2367 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2369 (pltexit): Likewise.
2370 (La_regs): Likewise.
2371 (La_retval): Likewise.
2372 (int_retval): Likewise.
2373 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2375 (pltexit): Likewise.
2376 (La_regs): Likewise.
2377 (La_retval): Likewise.
2378 (int_retval): Likewise.
2379 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2381 (pltexit): Likewise.
2382 (La_regs): Likewise.
2383 (La_retval): Likewise.
2384 (int_retval): Likewise.
2385 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2387 (pltexit): Likewise.
2388 (La_regs): Likewise.
2389 (La_retval): Likewise.
2390 (int_retval): Likewise.
2391 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2393 (pltexit): Likewise.
2394 (La_regs): Likewise.
2395 (La_retval): Likewise.
2396 (int_retval): Likewise.
2397 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2398 macro definitions in tst-audit.h.
2399 * sysdeps/i386/tst-audit.h: New file.
2400 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2401 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2402 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2403 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2404 * sysdeps/sh/tst-audit.h: Likewise.
2405 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2406 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2407 * sysdeps/x86_64/tst-audit.h: Likewise.
2409 2012-07-26 Andreas Jaeger <aj@suse.de>
2411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2414 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2415 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2416 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2418 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2422 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2425 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2427 (si_call_addr, si_syscall, si_arch): Define new macro.
2428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2430 (si_call_addr, si_syscall, si_arch): Define new marcro.
2431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2433 (si_call_addr, si_syscall, si_arch): Define new macro.
2434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2436 (si_call_addr, si_syscall, si_arch): Define new macro.
2438 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2441 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2442 Change to 2.4.21 where previously 2.4.1.
2443 * sysdeps/unix/sysv/linux/configure: Regenerated.
2444 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2445 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2446 Linux kernel version.
2447 (__ASSUME_STD_AUXV): Remove.
2448 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2450 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2451 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2452 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2453 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2454 (__ASSUME_NETLINK_SUPPORT): Likewise.
2455 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2456 (__no_netlink_support): Remove conditional definition.
2457 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2459 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2460 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2461 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2462 (if_nameindex_ioctl): Remove.
2463 (if_nameindex_netlink): Do not handle __no_netlink_support.
2464 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2466 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2467 Remove conditional code.
2468 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2470 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2472 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2473 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2474 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2476 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2477 [!__ASSUME_STD_AUXV]: Remove conditional code.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2479 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2480 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2482 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2483 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2485 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2487 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2488 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2490 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2492 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2495 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2498 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2500 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2502 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2504 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2507 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2509 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2512 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2514 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2516 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2518 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2521 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2523 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2525 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2527 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2530 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2532 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2533 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2534 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2535 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2536 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2537 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2538 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2539 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2540 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2541 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2542 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2543 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2544 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2545 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2546 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2548 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2549 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2550 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2552 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2553 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2556 2012-07-25 Florian Weimer <fweimer@redhat.com>
2558 * Versions.def: Add GLIBC_2.17.
2559 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2560 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2561 Introduce __libc_secure_getenv.
2562 * stdlib/Versions (2.17): Add secure_getenv
2563 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2564 * stdlib/secure-getenv.c: Rename __secure_getenv to
2565 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2566 symbol __secure_getenv for GLIBC_2.0.
2567 * stdlib/tst-secure-getenv.c: New.
2568 * stdlib/Makefile (tests): Add testcase.
2569 * manual/startup.texi (Environment Access): Document
2571 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2572 __libc_secure_getenv.
2573 * inet/ruserpass.c (ruserpass): Likewise.
2574 * malloc/mtrace.c (mtrace): Likewise.
2575 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2576 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2577 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2578 * sysdeps/posix/tempname.c: Likewise. Evaluate
2580 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2581 __secure_getenv to __libc_secure_getenv.
2582 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2595 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2597 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2598 (struct La_i86_retval): Likewise.
2599 (struct La_x86_64_regs): Likewise.
2600 (struct La_x86_64_retval): Likewise.
2601 (struct La_x32_regs): Likewise.
2602 (struct La_x32_retval): Likewise.
2603 (struct La_ppc32_regs): Likewise.
2604 (struct La_ppc32_retval): Likewise.
2605 (struct La_ppc64_regs): Likewise.
2606 (struct La_ppc64_retval): Likewise.
2607 (struct La_sh_regs): Likewise.
2608 (struct La_sh_retval): Likewise.
2609 (struct La_s390_32_regs): Likewise.
2610 (struct La_s390_32_retval): Likewise.
2611 (struct La_s390_64_regs): Likewise.
2612 (struct La_s390_64_retval): Likewise.
2613 (struct La_sparc32_regs): Likewise.
2614 (struct La_sparc32_retval): Likewise.
2615 (struct La_sparc64_regs): Likewise.
2616 (struct La_sparc64_retval): Likewise.
2617 (struct audit_ifaces): Remove architecture-specific pltenter and
2619 * sysdeps/i386/ldsodefs.h: New file.
2620 * sysdeps/powerpc/ldsodefs.h: Likewise.
2621 * sysdeps/s390/ldsodefs.h: Likewise.
2622 * sysdeps/sh/ldsodefs.h: Likewise.
2623 * sysdeps/sparc/ldsodefs.h: Likewise.
2624 * sysdeps/x86_64/ldsodefs.h: Likewise.
2626 2012-07-25 Marek Polacek <polacek@redhat.com>
2629 * math/libm-test.inc (yn_test): Add another test.
2630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2631 to ERANGE when the result is +-Inf.
2632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2633 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2634 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2635 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2637 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2639 * conform/data/time.h-data (NULL): Use macro-constant. Require
2641 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2643 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2645 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2647 * configure.in <sysdeps resolving>: Correct printing
2649 * configure: Regenerate.
2651 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2653 * math/w_ilogb.c: Include <limits.h>.
2654 * math/w_ilogbl.c: Likewise.
2656 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2658 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2659 va_copy. Document allowing for unavailable va_copy only as
2660 pre-C99 compatibility.
2661 * manual/string.texi (Copying and Concatenation): Use va_copy
2662 instead of __va_copy in concat example.
2664 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2666 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2667 (__sendto): Use create_address_port. Initialize APORT and deallocate
2670 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2671 with O_NOLINK passed to __file_name_lookup.
2673 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2674 with O_NOLINK passed to __file_name_lookup.
2676 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2677 negative N or less than NGIDS.
2679 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2680 type to string_t. Set ERANGE as errno and return it if NAME is not big
2681 enough. Use memcpy instead of strncpy.
2683 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2685 * elf/Makefile (check-data): Remove.
2686 (localplt.data): New vpath directive.
2687 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2688 instead of $(check-data).
2689 * scripts/data/localplt-generic.data: Move to ...
2690 * sysdeps/generic/localplt.data: ... here.
2691 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2692 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2693 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2696 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2699 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2702 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2705 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2708 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2712 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2715 PPC32 and PPC64 files.
2716 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2717 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2719 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2721 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2722 __makecontext_ret to ...
2723 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2724 ... here and call exit if uc_link is NULL. New file.
2725 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2726 __makecontext_ret.S.
2727 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2728 __makecontext_ret to ...
2729 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2730 ... here and call exit if uc_link is NULL. New file.
2731 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2732 __makecontext_ret.S.
2734 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2736 * elf/elf.h (R_390_IRELATIVE): New definition.
2737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2738 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2739 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2741 (elf_machine_lazy_rel): Likewise.
2742 * sysdeps/s390/dl-irel.h: New file.
2743 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2744 * sysdeps/s390/s390-64/memset.S: New asm code.
2745 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2746 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2747 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2748 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2749 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2750 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2751 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2752 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2753 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2754 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2755 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2756 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2757 * sysdeps/s390/s390-32/memset.S: New asm code.
2758 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2760 2012-07-17 Marek Polacek <polacek@redhat.com>
2763 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2764 * sysdeps/s390/s390-64/configure.in: Likewise.
2765 * sysdeps/sparc/configure.in: Likewise.
2766 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2767 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2768 * sysdeps/i386/configure.in: Likewise.
2769 * sysdeps/x86_64/configure.in: Likewise.
2770 * sysdeps/sh/configure.in: Likewise.
2771 * sysdeps/s390/s390-32/configure: Regenerated.
2772 * sysdeps/s390/s390-64/configure: Likewise.
2773 * sysdeps/x86_64/configure: Likewise.
2774 * sysdeps/sh/configure: Likewise.
2775 * sysdeps/powerpc/powerpc64/configure: Likewise.
2776 * sysdeps/powerpc/powerpc32/configure: Likewise.
2777 * sysdeps/sparc/configure: Likwise.
2778 * sysdeps/i386/configure: Likewise.
2780 * elf/dl-open.c: Comment fixes.
2782 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2784 * Makefile [CXX] (check-data): Remove.
2785 [CXX] (c++-types.data): New vpath directive.
2786 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2787 vpath. Do not allow for C++ type data being missing.
2788 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2789 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2790 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2791 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2792 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2793 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2794 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2797 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2800 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2803 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2806 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2809 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2812 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2815 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2818 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2819 definitions to architecture-specific files.
2823 * sysdeps/i386/tls-macros.h: New file.
2824 * sysdeps/powerpc/tls-macros.h: Likewise.
2825 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2826 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2827 * sysdeps/sh/tls-macros.h: Likewise.
2828 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2829 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2830 * sysdeps/x86_64/tls-macros.h: Likewise.
2832 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2834 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2835 zero value for regular exit case.
2837 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2838 (__start_context): Preserve zero value for regular exit case.
2840 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2841 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2843 * manual/setjmp.texi (setcontext): Clarify normal process
2844 termination when uc_link is the null pointer.
2845 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2848 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2850 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2851 preprocessor. Test for each exception mask separately.
2853 2012-07-16 Andreas Jaeger <aj@suse.de>
2855 * po/ru.po: Update from translation team.
2857 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2859 * conform/data/string.h-data (NULL): Use macro-constant. Require
2861 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2862 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2863 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2864 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2867 2012-07-13 Andreas Jaeger <aj@suse.de>
2869 * po/fr.po: Update from translation team.
2871 2012-07-12 Marek Polacek <polacek@redhat.com>
2874 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2878 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2881 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2882 Change to 2.4.1 where previously 2.4.0.
2883 * sysdeps/unix/sysv/linux/configure: Regenerated.
2884 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2885 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2887 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2888 (__ASSUME_AT_CLKTCK): Remove.
2889 (__ASSUME_AT_PAGESIZE): Likewise.
2890 (__ASSUME_AT_XID): Likewise.
2891 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2892 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2893 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2895 (HAVE_AUX_PAGESIZE): Likewise.
2896 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2897 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2898 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2900 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2904 the temporary buffer used to invoke __gethostbyname2_r,
2905 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2906 host_data / struct gaih_addrtuple.
2907 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2908 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2909 header file nss/nsswitch.h.
2910 * nss/nsswitch.h (global scope): Add definition of implementation
2911 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2912 resolv/nss_dns/dns-host.c).
2914 2012-07-11 Andreas Jaeger <aj@suse.de>
2916 * po/fr.po: Update from translation team.
2918 * po/sv.po: Update from translation team
2919 * po/fr.po: Another update from translation team.
2921 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2924 for subnormals or multiply small sinh result by itself.
2925 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2928 2012-07-11 David S. Miller <davem@davemloft.net>
2930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2932 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2935 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2936 (INTERNAL_MARK): Shift it here.
2938 2012-07-10 Marek Polacek <polacek@redhat.com>
2941 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2942 libc_cv_asm_global_directive with .globl.
2943 * configure: Regenerated.
2944 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2946 * sysdeps/i386/configure: Regenerated.
2947 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2949 * sysdeps/x86_64/configure: Regenerated.
2950 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2951 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2952 * elf/tst-unique2mod2.c: Likewise.
2953 * elf/tst-unique2mod1.c: Likewise.
2954 * elf/tst-unique1mod2.c: Likewise.
2955 * elf/tst-unique1mod1.c: Likewise.
2956 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2957 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2958 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2960 * sysdeps/mach/sysdep.h: Likewise.
2961 * sysdeps/i386/sysdep.h: Likewise.
2962 * sysdeps/i386/i386-mcount.S: Likewise.
2963 * sysdeps/x86_64/_mcount.S: Likewise.
2964 * sysdeps/x86_64/sysdep.h: Likewise.
2965 * sysdeps/sh/_mcount.S: Likewise.
2966 * sysdeps/sh/sysdep.h: Likewise.
2967 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2968 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2969 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2970 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2971 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2972 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2973 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2974 * locale/localeinfo.h: Likewise.
2975 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2976 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2978 2012-07-09 Roland McGrath <roland@hack.frob.com>
2981 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2983 * manual/message.texi (The Uniforum approach): Likewise.
2984 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2985 (glibc iconv Implementation): Likewise.
2987 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2990 * math/s_clog.c (__clog): Avoid scaling a value down where that
2991 could result in underflow.
2992 * math/s_clog10.c (__clog10): Likewise.
2993 * math/s_clog10f.c (__clog10f): Likewise.
2994 * math/s_clog10l.c (__clog10l): Likewise.
2995 * math/s_clogf.c (__clogf): Likewise.
2996 * math/s_clogl.c (__clogl): Likewise.
2997 * math/libm-test.inc (clog_test): Add more tests.
2998 (clog10_test): Likewise.
2999 * sysdeps/i386/fpu/libm-test-ulps: Update.
3000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3002 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3005 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3006 by 7 not 8 to examine high bit of fractional part.
3009 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3010 for call to __mcount_internal.
3011 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3012 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3013 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3015 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3018 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3019 approximation for values within 0x1p-13f of an odd multiple of
3021 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3022 exception. Add more tests.
3023 * sysdeps/i386/fpu/libm-test-ulps: Update.
3026 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3027 inputs and return -1 for them. Do not check for +Inf in case not
3029 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3030 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3031 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3032 and return -1 for them. Do not check for +Inf in case not
3034 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3037 and return -1 for them. Do not check for +Inf in case not
3039 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3041 * sysdeps/i386/fpu/libm-test-ulps: Update.
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3044 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3046 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3048 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3052 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3053 could result in spurious underflow. Scale down values above
3054 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3055 * math/s_csqrtf.c (__csqrtf): Likewise.
3056 * math/s_csqrtl.c (__csqrtl): Likewise.
3057 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3059 * sysdeps/i386/fpu/libm-test-ulps: Update.
3060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3062 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3064 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3066 * catgets/xopen-msg.awk: New file.
3067 * catgets/xopen-msg.sed: Removed.
3069 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3071 * intl/po2test.awk: New file.
3072 * intl/po2test.sed: Removed.
3074 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3077 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3078 or multiply small sinh result by itself.
3079 * math/s_ctanf.c (__ctanf): Likewise.
3080 * math/s_ctanh.c (__ctanh): Likewise.
3081 * math/s_ctanhf.c (__ctanhf): Likewise.
3082 * math/s_ctanhl.c (__ctanhl): Likewise.
3083 * math/s_ctanl.c (__ctanl): Likewise.
3084 * math/libm-test.inc (ctan_test_tonearest): New function.
3085 (ctan_test_towardzero): Likewise.
3086 (ctan_test_downward): Likewise.
3087 (ctan_test_upward): Likewise.
3088 (ctanh_test_tonearest): Likewise.
3089 (ctanh_test_towardzero): Likewise.
3090 (ctanh_test_downward): Likewise.
3091 (ctanh_test_upward): Likewise.
3092 (main): Call these new functions.
3093 * sysdeps/i386/fpu/libm-test-ulps: Update.
3094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3096 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3098 * .gitignore: Delete /ports entry.
3100 2012-07-03 Andreas Jaeger <aj@suse.de>
3102 * po/bg.po: Update from translation team.
3103 * po/cs.po: Likewise.
3104 * po/de.po: Likewise.
3105 * po/hr.po: Likewise.
3106 * po/nl.pl: Likewise.
3107 * po/pl.po: Likewise.
3108 * po/vi.po: Likewise.
3110 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3112 * Makeconfig [!+link] (+link-before-libc): New variable.
3113 [!+link] (+link-after-libc): Likewise.
3114 [!+link] (+link-tests): Likewise.
3115 [!+link] (+link): Define in terms of $(+link-before-libc) and
3116 $(+link-after-libc).
3117 [!+link-static] (+link-static-before-libc): New variable.
3118 [!+link-static] (+link-static-after-libc): Likewise.
3119 [!+link-static] (+link-static-tests): Likewise.
3120 [!+link-static] (+link-static): Define in terms of
3121 $(+link-static-before-libc) and $(+link-static-after-libc).
3122 [build-shared] (link-libc-before-gnulib): New variable.
3123 [build-shared] (link-libc-tests): Likewise.
3124 [build-shared] (link-libc): Define in terms of
3125 $(link-libc-before-gnulib).
3126 [!build-shared] (link-libc-tests): New variable.
3127 (link-libc-static-tests): New variable.
3128 [!gnulib] (gnulib-arch): New variable.
3129 [!gnulib] (gnulib-tests): Likewise.
3130 [!gnulib] (static-gnulib-arch): Likewise.
3131 [!gnulib] (static-gnulib-tests): Likewise.
3132 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3133 Define with "=" instead of ":=".
3134 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3135 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3136 * Rules (binaries-all-notests): New variable.
3137 (binaries-all-tests): Likewise.
3138 (binaries-static-notests): Likewise.
3139 (binaries-static-tests): Likewise.
3140 (binaries-all): Define using $(binaries-all-notests) and
3141 $(binaries-all-tests).
3142 (binaries-static): Define using $(binaries-static-notests) and
3143 $(binaries-static-tests).
3144 (binaries-shared-tests): New variable.
3145 (binaries-shared-notests): Likewise.
3146 (binaries-shared): Remove variable.
3147 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3148 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3149 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3150 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3151 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3152 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3153 * elf/Makefile (sln-modules): New variable.
3154 (extra-objs): Add $(sln-modules:=.o).
3155 (ldconfig-modules): Add static-stubs.
3156 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3157 * elf/static-stubs.c: New file.
3160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3161 by 7 not 8 to examine high bit of fractional part. Use volatile
3162 variables when splitting into final array of floats if
3163 __FLT_EVAL_METHOD__ != 0.
3164 * math/libm-test.inc (cos_test): Add another test.
3165 (sin_test): Likewise.
3166 * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 * math/libm-test.inc (cosh_test): Add more tests.
3171 * version.h (RELEASE): Set to "development".
3172 (VERSION): Set to "2.16.90".
3174 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3176 * NEWS: Update copyright. Remove last-updated date.
3177 Mention math library bug fixes and timezone data changes.
3178 * README: Mention GNU/Hurd, x32, and HPPA support status.
3180 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3182 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3184 2012-06-27 Andreas Jaeger <aj@suse.de>
3186 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3188 2012-06-25 Andreas Jaeger <aj@suse.de>
3190 * sysdeps/s390/fpu/libm-test-ulps: Update.
3192 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3193 Thomas Schwinge <thomas@codesourcery.com>
3195 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3196 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3200 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3202 * sysdeps/mach/start.c: Remove file.
3203 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3204 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3205 * sysdeps/sh/init-first.c: Likewise.
3207 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3208 registers for frame unwinding purposes, add CFI directives.
3209 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3211 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3214 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3215 __fortify_fail returning.
3216 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3218 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3219 sysdeps/sh/____longjmp_chk.S.
3220 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3221 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3222 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3223 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3225 * sysdeps/sh/abort-instr.h: New file.
3226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3227 process in case exit returns.
3229 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3230 initialize the GOT register before use.
3232 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3233 calculation of ARGC > 4.
3235 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3236 meaningful names to some local labels.
3238 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3239 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3242 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3243 (__arch_compare_and_exchange_val_16_acq): Likewise.
3244 (__arch_compare_and_exchange_val_32_acq): Likewise.
3245 (atomic_exchange_and_add): Fix gUSA sequence.
3246 (atomic_add): Likewise.
3247 (atomic_add_negative): Likewise.
3248 (atomic_add_zero): Likewise.
3249 (atomic_bit_test_set): Likewise.
3251 2012-06-22 Andreas Schwab <schwab@redhat.com>
3254 * include/link.h (struct link_map): Add l_free_initfini.
3255 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3257 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3258 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3259 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3262 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3264 * configure.in: Use AC_LANG_SOURCE.
3265 * configure: Regenerate.
3267 2012-06-22 Roland McGrath <roland@hack.frob.com>
3269 * configure.in (libc_cv_localstatedir): New substituted variable.
3270 * configure: Regenerated.
3271 * config.make.in (localstatedir): New variable, substituted from
3272 libc_cv_localstatedir.
3273 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3274 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3275 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3276 * sysdeps/gnu/configure: Regenerated.
3278 2012-06-21 Jeff Law <law@redhat.com>
3281 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3282 free. Simplify list management for _LIBC case.
3284 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3288 Clear sign bit of 64-bit integer value before comparing against
3291 * sysdeps/mach/configure: Regenerated.
3293 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3296 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3298 2012-06-21 Jeff Law <law@redhat.com>
3301 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3302 uint16_t for elements in the "seen" array to avoid char overflows.
3303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3304 * elf/dl-open.c (dl_open_worker): Likewise.
3306 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3308 * scripts/list-sources.sh: Scan PORTS for translations.
3309 * po/libc.pot: Regenerated.
3311 2012-06-21 Andreas Jaeger <aj@suse.de>
3314 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3316 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3317 * bits/byteswap-16.h (__bswap_16): Likewise.
3318 * bits/byteswap.h (__bswap_constant_16): Likewise.
3320 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3323 * sysdeps/i386/fpu_control.h: Removed.
3324 * sysdeps/x86_64/fpu_control.h: Moved to ...
3325 * sysdeps/x86/fpu_control.h: Here.
3327 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3328 (_FPU_SETCW): Likewise.
3330 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3333 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3334 * sysdeps/x86/fpu/bits/mathinline.h: This.
3335 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3339 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3340 functions if __x86_64__ is defined.
3342 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3344 * string/endian.h: Add !__ASSEMBLER__ condition for including
3345 conversion interfaces.
3347 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3351 of ABS(x) in calculating zero to negative powers other than odd
3353 * math/libm-test.inc (pow_test): Add more tests.
3355 2012-06-15 Andreas Jaeger <aj@suse.de>
3357 * manual/contrib.texi (Contributors): Update entry of Liubov
3358 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3361 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3363 * string/string.h: Add __wur to GNU version of strerror_r.
3365 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3368 * string/Makefile (tests): Add tst-strtok_r.
3369 * string/tst-strtok_r.c: New file.
3370 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3371 RAX_LP/RDX_LP on SAVE_PTR.
3373 2012-06-14 Roland McGrath <roland@hack.frob.com>
3375 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3377 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3379 * libm_test.inc (csqrt_test): Allow more spurious underflow
3381 (j0_test): Likewise.
3382 (j1_test): Likewise.
3383 (y0_test): Likewise.
3384 (y1_test): Likewise.
3386 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3388 * po/Makefile (libc.pot): Use UTF-8 charset.
3390 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3393 Suppress sign-conversion warning from FD_SET.
3394 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3395 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3396 not unsigned long int.
3397 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3399 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3403 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3404 __extern_always_inline instead of __extern_inline.
3405 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3406 (__signbit): Likewise.
3407 (__signbitl): Support C++ namespace.
3408 (lrintf): New inline function.
3410 (llrintf): Likewise.
3422 (nearbyint): Likewise.
3423 (nearbyintf): Likewise.
3425 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3427 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3428 non-default versions.
3430 2012-06-11 Roland McGrath <roland@hack.frob.com>
3433 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3435 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3437 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3438 (FE_UPWARD, FE_DOWNWARD): Don't define.
3439 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3442 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3444 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3445 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3447 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3449 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3451 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3452 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3454 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3457 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3458 * sysdeps/i386/fpu/Implies: New file.
3459 * sysdeps/x86_64/fpu/Implies: Likewise.
3460 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3461 * sysdeps/x86/fpu/bits/fenv.h: This.
3463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3466 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3469 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3470 character 0xffff that matches the last element of the
3473 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3478 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3481 values higher than 25.6283.
3483 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3486 subnormal exponent extraction and add some __builtin_expect.
3487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3488 Fix for subnormal mantissa calculation.
3490 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3492 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3493 cpu2 is -1 and errno is not ENOSYS.
3495 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3498 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3499 * sysdeps/x86/bits/string.h: This.
3500 * sysdeps/x86_64/bits/string.h: Removed.
3502 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3503 if not compiling for x86-64, but compiling for >= i486.
3505 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3506 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3509 New macro from Linux kernel 3.4.0.
3510 (FP_XSTATE_MAGIC2): Likewise.
3511 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3512 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3513 (struct _fpx_sw_bytes): New struct.
3514 (struct _xsave_hdr): Likewise.
3515 (struct _ymmh_state): Likewise.
3516 (struct _xstate): Likewise.
3518 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3519 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3521 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3522 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3523 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3525 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3526 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3527 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3528 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3529 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3530 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3532 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3535 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3536 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3537 (sysdep_headers): Include sys/platform/ppc.h.
3538 * sysdeps/powerpc/test-gettimebase.c: Test for
3539 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3540 * manual/Makefile (appendices): Include platform.texi.
3541 * manual/contrib.texi (Contributors): Update @node pointers.
3542 * manual/maint.texi (Maintenance): Likewise.
3543 (Platform): New node.
3544 * manual/platform.texi: New file. Document the new features.
3546 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3547 Jakub Jelinek <jakub@redhat.com>
3550 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3551 where __builtin_expect is unavailable.
3553 2012-06-03 David S. Miller <davem@davemloft.net>
3555 * stdlib/longlong.h: Updated from GCC.
3557 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3560 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3561 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3564 (GLIBC_2.16): Likewise.
3566 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3568 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3570 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3573 (default-abi): New variable.
3574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3575 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3577 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3579 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3584 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3585 definition. Document in comment.
3587 2012-06-01 David S. Miller <davem@davemloft.net>
3589 * stdlib/longlong.h: Updated from GCC.
3591 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3594 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3595 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3596 sys/debugreg.h sys/io.h here.
3597 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3598 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3600 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3601 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3602 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3603 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3604 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3605 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3608 Define only if __x86_64__ is defined.
3610 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3614 Use int64_t for variable i.
3615 * math/libm-test.inc (fmod_test): Add more tests.
3617 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3618 z computation is not scheduled after fetestexcept.
3619 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3620 Use math_force_eval instead of asm to ensure calculation scheduled
3621 before exception test.
3622 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3623 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3625 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3628 computation is not scheduled after fetestexcept.
3630 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3633 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3634 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3636 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3639 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3641 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3644 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3646 (__WCHAR_MIN): Support __WORDSIZE == 64.
3647 (__WCHAR_MAX): Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3650 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3654 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3657 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3660 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3661 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3663 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3664 Defined to 1 if __x86_64__ isn't defined.
3665 (_STAT_VER_LINUX_OLD): New.
3666 (st_atime): Remove duplicate.
3667 (st_mtime): Likewise.
3668 (st_ctime): Likewise.
3670 2012-05-31 David S. Miller <davem@davemloft.net>
3672 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3675 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3677 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3681 * elf/dl-reloc.c: Include <_itoa.h>.
3682 (_dl_reloc_bad_type): Remove use of INTUSE.
3683 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3684 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3685 * stdio-common/psiginfo.c (psiginfo): Likewise.
3686 * stdio-common/psignal.c (psignal): Likewise.
3687 * string/strsignal.c (strsignal): Likewise.
3688 * include/signal.h (_sys_siglist): Declare hidden proto.
3689 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3690 INTVARDEF with libc_hidden_data_def.
3691 * stdio-common/itoa-udigits.c: Likewise.
3692 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3693 (_itoa_lower_digits_internal): Remove declaration.
3694 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3695 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3696 (_sys_sigabbrev_internal): Remove aliases.
3697 (_sys_siglist): Define hidden alias.
3699 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3704 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3707 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3708 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3710 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3712 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3713 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3714 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3715 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3717 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3718 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3719 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3721 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3729 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3733 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3734 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3736 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3737 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3738 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3740 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3741 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3743 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3750 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3751 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3753 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3755 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3756 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3757 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3759 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3761 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3763 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3765 * math/math.h (M_El): Use two more decimal places.
3766 (M_LOG2El): Likewise.
3767 (M_LOG10El): Likewise.
3769 (M_LN10l): Likewise.
3771 (M_PI_2l): Likewise.
3772 (M_PI_4l): Likewise.
3773 (M_1_PIl): Likewise.
3774 (M_2_PIl): Likewise.
3775 (M_2_SQRTPIl): Likewise.
3776 (M_SQRT2l): Likewise.
3777 (M_SQRT1_2l): Likewise.
3779 2012-05-31 David S. Miller <davem@davemloft.net>
3781 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3782 values between float registers.
3783 * sysdeps/sparc/sparc64/memset.S: Likewise.
3784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3786 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3788 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3789 -D_FORTIFY_SOURCE=1.
3790 (CPPFLAGS-tst-longjmp_chk.c): Define.
3791 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3792 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3793 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3794 CFLAGS-tst-wchar-h.c.
3796 2012-05-31 Marek Polacek <polacek@redhat.com>
3799 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3800 __endmntent_internal): Remove declaration.
3801 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3802 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3803 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3805 2012-05-30 David S. Miller <davem@davemloft.net>
3807 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3808 (___Q_simulate_exceptions): Use real FP ops rather than writing
3810 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3816 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3817 * sysdeps/x86/bits/xtitypes.h: This.
3819 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3820 * sysdeps/x86/bits/wordsize.h: This.
3822 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3823 * sysdeps/x86/bits/huge_vall.h: This.
3825 * sysdeps/i386/bits/select.h: Removed.
3826 * sysdeps/x86_64/bits/select.h: Renamed to ...
3827 * sysdeps/x86/bits/select.h: This.
3829 * sysdeps/i386/bits/setjmp.h: Removed.
3830 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3831 * sysdeps/x86/bits/setjmp.h: This.
3833 * sysdeps/i386/bits/mathdef.h: Removed.
3834 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3835 * sysdeps/x86/bits/mathdef.h: This.
3837 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3840 * include/sys/socket.h (__connect_internal)
3841 (__libc_sa_len_internal): Remove declaration.
3842 (__connect, __libc_sa_len): Declare hidden_proto.
3843 (SA_LEN): Remove use of INTUSE.
3844 * socket/connect.c: Add libc_hidden_def.
3845 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3846 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3847 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3849 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3851 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3852 of adding _internal alias.
3854 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3857 * sysdeps/i386/bits/link.h: Removed.
3858 * sysdeps/i386/bits/linkmap.h: Likewise.
3859 * sysdeps/x86_64/bits/link.h: Renamed to ...
3860 * sysdeps/x86/bits/link.h: This.
3861 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3862 * sysdeps/x86/bits/linkmap.h: This.
3864 * sysdeps/i386/bits/endian.h: Removed.
3865 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3866 * sysdeps/x86/bits/endian.h: This.
3868 * sysdeps/i386/bits/byteswap.h: Removed.
3869 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3870 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3871 * sysdeps/x86/bits/byteswap.h: This.
3872 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3873 * sysdeps/x86/bits/byteswap-16.h: This.
3874 * sysdeps/i386/Implies: Add x86.
3875 * sysdeps/x86_64/Implies: Likewise.
3877 2012-05-30 David S. Miller <davem@davemloft.net>
3879 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3880 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3881 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3882 (FP_TRAPPING_EXCEPTIONS): Define.
3883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3884 (FP_TRAPPING_EXCEPTIONS): Define.
3885 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3886 subnormals only when inexact has been signalled or underflow
3887 exceptions are enabled.
3888 (_FP_PACK_CANONICAL): Likewise.
3890 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3894 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3896 2012-05-30 Richard Henderson <rth@twiddle.net>
3898 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3899 with #ifndef NOT_IN_libc.
3901 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3902 marked to avoid plt entry.
3904 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3907 * Makeconfig (default-abi): New macro.
3908 (abi-includes): Likewise.
3909 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3910 $(abi-$(default-abi)-lib-soname) for soname if defined.
3911 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3913 * Makefile (installed-stubs): Likewise.
3914 * include/stubs-biarch.h: Removed.
3915 * scripts/lib-names.awk: Only handle one library at a time.
3916 * scripts/soversions.awk: Remove WORDSIZE support.
3917 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3919 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3921 (syscall-list-default-condition): Likewise.
3922 (syscall-list-default-condition): Likewise.
3923 (syscall-list-includes): Likewise.
3924 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3925 syscall-list-* with abi-*. Handle undefined abi-variants.
3926 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3927 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3928 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3929 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3930 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3931 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3933 (syscall-list-32-options): Likewise.
3934 (syscall-list-32-condition): Likewise.
3935 (syscall-list-64-options): Likewise.
3936 (syscall-list-64-condition): Likewise.
3937 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3939 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3942 (abi-64-ld-soname): New macro.
3943 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3944 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3947 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3948 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3950 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3952 * sysdeps/unix/sysv/linux/kernel-features.h
3953 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3954 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3955 include <kernel-features.h>.
3956 [!__NR_ftruncate64]: Remove conditional code.
3957 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3958 [__NR_ftruncate64]: Make code unconditional.
3959 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3960 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3961 include <kernel-features.h>.
3962 [!__NR_ftruncate64]: Remove conditional code.
3963 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3964 [__NR_ftruncate64]: Make code unconditional.
3965 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3967 include <kernel-features.h>.
3968 [!__NR_ftruncate64]: Remove conditional code.
3969 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3970 [__NR_ftruncate64]: Make code unconditional.
3971 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3973 include <kernel-features.h>.
3974 [!__NR_ftruncate64]: Remove conditional code.
3975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3976 [__NR_ftruncate64]: Make code unconditional.
3977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3979 * configure.in (libc_cv_fpie): Weaken to a compile test using
3981 * configure: Regenerated.
3983 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3998 2012-05-27 David S. Miller <davem@davemloft.net>
4000 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4002 (__Q_simulate_exceptions): Return void. Change to simulate
4003 exceptions by writing into the %fsr.
4004 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4005 (__Qp_handle_exceptions): Likewise.
4007 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4008 __Qp_handle_exceptions.
4009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4010 __Qp_handle_exceptions.
4011 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4012 as unused and give dummy FP_RND_NEAREST initializer.
4013 (FP_INHIBIT_RESULTS): Define.
4014 (___Q_simulate_exceptions): Update declaration.
4015 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4018 as unused and give dummy FP_RND_NEAREST initializer.
4019 (__Qp_handle_exceptions): Update declaration.
4020 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4023 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4025 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4026 the temporary FPU control word.
4027 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4028 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4029 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4030 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4032 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4033 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4034 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4035 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4036 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4037 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4039 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4041 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4044 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4046 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4047 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4048 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4049 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4051 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4052 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4055 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4057 * po/h.po: Update from translation team.
4059 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4061 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4063 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4064 handling of denormals.
4065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4066 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4067 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4068 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4074 2012-05-26 Marek Polacek <polacek@redhat.com>
4077 * math/libm-test.inc (fma_test): Don't always expect underflow
4080 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4083 * elf/tst-execstack.c: Include stackinfo.h.
4084 (do_test): Adjust test case to ensure that pthread_getattr_np
4085 behaviour remains the same after marking stack executable.
4087 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4089 * sysdeps/unix/sysv/linux/kernel-features.h
4090 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4091 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4093 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4094 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4095 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4097 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4098 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4100 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4102 * configure.in: Define the default includes to being none.
4103 * configure: Regenerated.
4105 2012-05-25 Roland McGrath <roland@hack.frob.com>
4107 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4108 * sysdeps/x86_64/setjmp.S: Likewise.
4109 * sysdeps/i386/bsd-setjmp.S: Likewise.
4110 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4111 * sysdeps/i386/setjmp.S: Likewise.
4112 * sysdeps/i386/__longjmp.S: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4114 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4116 * include/stap-probe.h: New file.
4117 * configure.in: Handle --enable-systemtap.
4118 * configure: Regenerated.
4119 * config.h.in (USE_STAP_PROBE): New #undef.
4120 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4121 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4122 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4124 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4128 to 2.4.0 where earlier.
4129 * sysdeps/unix/sysv/linux/configure: Regenerated.
4130 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4131 <kernel-features.h>.
4132 [__ASSUME_32BITUIDS]: Make code unconditional.
4133 [!__ASSUME_32BITUIDS]: Remove conditional code.
4134 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4135 <kernel-features.h>.
4136 [__ASSUME_32BITUIDS]: Make code unconditional.
4137 [!__ASSUME_32BITUIDS]: Remove conditional code.
4138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4139 [__ASSUME_32BITUIDS]: Make code unconditional.
4140 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4141 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4142 <kernel-features.h>.
4143 [__ASSUME_32BITUIDS]: Make code unconditional.
4144 [!__ASSUME_32BITUIDS]: Remove conditional code.
4145 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4146 <kernel-features.h>.
4147 [__ASSUME_32BITUIDS]: Make code unconditional.
4148 [!__ASSUME_32BITUIDS]: Remove conditional code.
4149 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4150 <kernel-features.h>.
4151 [__ASSUME_32BITUIDS]: Make code unconditional.
4152 [!__ASSUME_32BITUIDS]: Remove conditional code.
4153 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4154 <kernel-features.h>.
4155 [__ASSUME_32BITUIDS]: Make code unconditional.
4156 [!__ASSUME_32BITUIDS]: Remove conditional code.
4157 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4158 <kernel-features.h>.
4159 [__ASSUME_32BITUIDS]: Make code unconditional.
4160 [!__ASSUME_32BITUIDS]: Remove conditional code.
4161 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4162 <kernel-features.h>.
4163 [__ASSUME_32BITUIDS]: Make code unconditional.
4164 [!__ASSUME_32BITUIDS]: Remove conditional code.
4165 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4166 <kernel-features.h>.
4167 [__ASSUME_32BITUIDS]: Make code unconditional.
4168 [!__ASSUME_32BITUIDS]: Remove conditional code.
4169 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4170 <kernel-features.h>.
4171 [__ASSUME_32BITUIDS]: Make code unconditional.
4172 [!__ASSUME_32BITUIDS]: Remove conditional code.
4173 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4174 <kernel-features.h>.
4175 [__ASSUME_32BITUIDS]: Make code unconditional.
4176 [!__ASSUME_32BITUIDS]: Remove conditional code.
4177 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4178 <kernel-features.h>.
4179 [__ASSUME_32BITUIDS]: Make code unconditional.
4180 [!__ASSUME_32BITUIDS]: Remove conditional code.
4181 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4182 <kernel-features.h>.
4183 [__NR_setresgid] (__setresgid): Do not declare.
4184 [__ASSUME_32BITUIDS]: Make code unconditional.
4185 [!__ASSUME_32BITUIDS]: Remove conditional code.
4186 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4187 <kernel-features.h>.
4188 [__NR_setresuid] (__setresuid): Do not declare.
4189 [__ASSUME_32BITUIDS]: Make code unconditional.
4190 [!__ASSUME_32BITUIDS]: Remove conditional code.
4191 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4192 <kernel-features.h>.
4193 [__ASSUME_32BITUIDS]: Make code unconditional.
4194 [!__ASSUME_32BITUIDS]: Remove conditional code.
4195 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4196 <kernel-features.h>.
4197 [__ASSUME_32BITUIDS]: Make code unconditional.
4198 [!__ASSUME_32BITUIDS]: Remove conditional code.
4199 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4200 <kernel-features.h>.
4201 [__ASSUME_32BITUIDS]: Make code unconditional.
4202 [!__ASSUME_32BITUIDS]: Remove conditional code.
4203 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4204 <kernel-features.h>.
4205 [__ASSUME_32BITUIDS]: Make code unconditional.
4206 [!__ASSUME_32BITUIDS]: Remove conditional code.
4207 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4208 <kernel-features.h>.
4209 [__ASSUME_32BITUIDS]: Make code unconditional.
4210 [!__ASSUME_32BITUIDS]: Remove conditional code.
4211 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4212 <kernel-features.h>.
4213 [__ASSUME_32BITUIDS]: Make code unconditional.
4214 [!__ASSUME_32BITUIDS]: Remove conditional code.
4215 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4216 <kernel-features.h>.
4217 [__ASSUME_32BITUIDS]: Make code unconditional.
4218 [!__ASSUME_32BITUIDS]: Remove conditional code.
4219 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4220 <kernel-features.h>.
4221 [__ASSUME_32BITUIDS]: Make code unconditional.
4222 [!__ASSUME_32BITUIDS]: Remove conditional code.
4223 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4224 <kernel-features.h>.
4225 [__ASSUME_32BITUIDS]: Make code unconditional.
4226 [!__ASSUME_32BITUIDS]: Remove conditional code.
4227 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4228 <kernel-features.h>.
4229 [__ASSUME_32BITUIDS]: Make code unconditional.
4230 [!__ASSUME_32BITUIDS]: Remove conditional code.
4231 * sysdeps/unix/sysv/linux/kernel-features.h
4232 (__ASSUME_SETRESUID_SYSCALL): Remove.
4233 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4234 (__ASSUME_32BITUIDS): Likewise.
4235 (__ASSUME_LDT_WORKS): Likewise.
4236 (__ASSUME_O_DIRECTORY): Likewise.
4237 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4238 architecture but not kernel version.
4239 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4240 (__ASSUME_MMAP2_SYSCALL): Likewise.
4241 (__ASSUME_STAT64_SYSCALL): Likewise.
4242 (__ASSUME_IPC64): Likewise.
4243 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4244 <kernel-features.h>.
4245 [__ASSUME_32BITUIDS]: Make code unconditional.
4246 [!__ASSUME_32BITUIDS]: Remove conditional code.
4247 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4248 <kernel-features.h>.
4249 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4250 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4251 132096]: Remove conditional code.
4252 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4253 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4254 <kernel-features.h>.
4255 [__ASSUME_32BITUIDS]: Make code unconditional.
4256 [!__ASSUME_32BITUIDS]: Remove conditional code.
4257 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4258 <kernel-features.h>.
4259 [__ASSUME_32BITUIDS]: Make code unconditional.
4260 [!__ASSUME_32BITUIDS]: Remove conditional code.
4261 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4262 <kernel-features.h>.
4263 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4265 (__setresgid): Do not declare.
4266 [__ASSUME_32BITUIDS]: Make code unconditional.
4267 [!__ASSUME_32BITUIDS]: Remove conditional code.
4268 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4269 <kernel-features.h>.
4270 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4272 (__setresuid): Do not declare.
4273 [__ASSUME_32BITUIDS]: Make code unconditional.
4274 [!__ASSUME_32BITUIDS]: Remove conditional code.
4275 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4276 <kernel-features.h>.
4277 [__ASSUME_32BITUIDS]: Make code unconditional.
4278 [!__ASSUME_32BITUIDS]: Remove conditional code.
4279 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4280 <kernel-features.h>.
4281 [__ASSUME_32BITUIDS]: Make code unconditional.
4282 [!__ASSUME_32BITUIDS]: Remove conditional code.
4284 2012-05-25 Richard Henderson <rth@twiddle.net>
4286 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4287 dl_hwcap to ifunc resolver.
4288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4290 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4291 dl_hwcap to ifunc resolver.
4292 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4294 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4297 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4298 for |x| <= 2**-26, not 2**-57.
4299 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4302 2012-05-24 Jeff Law <law@redhat.com>
4304 * stdio-common/Makefile (tests): Add bug25.
4305 * stdio-common/bug25.c: New test.
4307 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4310 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4311 multiple of MALLOC_ALIGNMENT in size.
4312 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4314 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4316 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4318 (FILENAME_MAX): Use macro-int-constant.
4319 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4320 (_IOFBF): Use macro-int-constant.
4323 (SEEK_CUR): Likewise.
4324 (SEEK_END): Likewise.
4325 (SEEK_SET): Likewise.
4326 (TMP_MAX): Likewise.
4327 (EOF): Use macro-int-constant. Require < 0.
4328 (NULL): Use macro-constant. Require == 0.
4329 (stdin): Require type to be FILE *.
4332 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4334 (EXIT_SUCCESS): Likewise.
4335 (NULL): Use macro-constant. Require == 0.
4336 (RAND_MAX): Use macro-int-constant.
4337 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4338 [C99-based standards] (strtof): Require function.
4339 [C99-based standards] (strtold): Likewise.
4340 [C99-based standards] (strtoll): Likewise.
4341 [C99-based standards] (strtoull): Likewise.
4342 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4343 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4344 [ISO || ISO99 || ISO11] (math.h): Likewise.
4345 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4346 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4349 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4352 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4353 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4354 * intl/dgettext.c (DCGETTEXT): Likewise.
4355 * intl/gettext.c (DCGETTEXT): Likewise.
4356 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4357 * posix/regex_internal.h (gettext): Likewise.
4358 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4360 * include/argz.h (__argz_count_internal)
4361 (__argz_stringify_internal): Remove declaration.
4362 (__argz_count, __argz_stringify): Declare hidden proto.
4363 * intl/dcgettext.c: Remove use of INTDEF.
4364 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4365 * string/argz-stringify.c: Likewise.
4366 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4367 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4368 Declare hidden proto.
4369 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4370 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4371 Declare hidden proto.
4372 * include/stdio.h (__asprintf_internal): Don't declare.
4373 (__asprintf): Don't define as macro. Declare hidden proto.
4374 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4375 (__fsetlocking): Declare hidden proto.
4376 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4377 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4379 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4380 (_IO_setlinebuf): Remove use of INTUSE.
4381 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4382 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4383 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4385 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4386 (_IO_do_flush): Remove use of INTUSE.
4387 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4388 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4389 (_IO_adjust_column, _IO_least_wmarker)
4390 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4391 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4392 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4393 (_IO_default_doallocate, _IO_wdefault_doallocate)
4394 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4395 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4396 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4397 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4398 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4399 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4400 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4401 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4402 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4403 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4404 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4405 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4406 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4408 (_IO_flush_all_internal, _IO_adjust_column_internal)
4409 (_IO_default_uflow_internal, _IO_default_finish_internal)
4410 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4411 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4412 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4413 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4414 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4415 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4416 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4417 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4418 (_IO_file_close_internal, _IO_file_close_it_internal)
4419 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4420 (_IO_file_init_internal, _IO_file_attach_internal)
4421 (_IO_file_fopen_internal, _IO_file_read_internal)
4422 (_IO_file_sync_internal, _IO_file_seek_internal)
4423 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4424 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4425 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4426 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4427 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4428 (_IO_list_all_internal, _IO_link_in_internal)
4429 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4430 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4431 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4432 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4433 (_IO_do_write_internal, _IO_padn_internal)
4434 (_IO_getline_info_internal, _IO_getline_internal)
4435 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4436 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4437 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4438 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4439 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4440 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4441 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4442 with libc_hidden_ver, remove use of INTUSE.
4443 * libio/genops.c: Likewise.
4444 * libio/freopen.c: Likewise.
4445 * libio/freopen64.c: Likewise.
4446 * libio/iofclose.c: Likewise.
4447 * libio/iofdopen.c: Likewise.
4448 * libio/iofflush.c: Likewise.
4449 * libio/iofflush_u.c: Likewise.
4450 * libio/iofgets.c: Likewise.
4451 * libio/iofgets_u.c: Likewise.
4452 * libio/iofopen.c: Likewise.
4453 * libio/iofopncook.c: Likewise.
4454 * libio/iofread.c: Likewise.
4455 * libio/iofread_u.c: Likewise.
4456 * libio/ioftell.c: Likewise.
4457 * libio/iofwrite.c: Likewise.
4458 * libio/iogetline.c: Likewise.
4459 * libio/iogets.c: Likewise.
4460 * libio/iogetwline.c: Likewise.
4461 * libio/iopadn.c: Likewise.
4462 * libio/iopopen.c: Likewise.
4463 * libio/ioseekoff.c: Likewise.
4464 * libio/ioseekpos.c: Likewise.
4465 * libio/iosetbuffer.c: Likewise.
4466 * libio/iosetvbuf.c: Likewise.
4467 * libio/ioungetc.c: Likewise.
4468 * libio/ioungetwc.c: Likewise.
4469 * libio/iovdprintf.c: Likewise.
4470 * libio/iovsprintf.c: Likewise.
4471 * libio/iovsscanf.c: Likewise.
4472 * libio/memstream.c: Likewise.
4473 * libio/obprintf.c: Likewise.
4474 * libio/oldfileops.c: Likewise.
4475 * libio/oldiofclose.c: Likewise.
4476 * libio/oldiofdopen.c: Likewise.
4477 * libio/oldiofopen.c: Likewise.
4478 * libio/oldiopopen.c: Likewise.
4479 * libio/oldstdfiles.c: Likewise.
4480 * libio/putc.c: Likewise.
4481 * libio/setbuf.c: Likewise.
4482 * libio/setlinebuf.c: Likewise.
4483 * libio/stdfiles.c: Likewise.
4484 * libio/strops.c: Likewise.
4485 * libio/vasprintf.c: Likewise.
4486 * libio/vscanf.c: Likewise.
4487 * libio/vsnprintf.c: Likewise.
4488 * libio/vswprintf.c: Likewise.
4489 * libio/wfiledoalloc.c: Likewise.
4490 * libio/wfileops.c: Likewise.
4491 * libio/wgenops.c: Likewise.
4492 * libio/wmemstream.c: Likewise.
4493 * libio/wstrops.c: Likewise.
4494 * libio/__fpurge.c: Likewise.
4495 * libio/__fsetlocking.c: Likewise.
4496 * assert/assert.c: Likewise.
4497 * debug/fgets_chk.c: Likewise.
4498 * debug/fgets_u_chk.c: Likewise.
4499 * debug/fread_chk.c: Likewise.
4500 * debug/fread_u_chk.c: Likewise.
4501 * debug/gets_chk.c: Likewise.
4502 * debug/obprintf_chk.c: Likewise.
4503 * debug/vasprintf_chk.c: Likewise.
4504 * debug/vdprintf_chk.c: Likewise.
4505 * debug/vsnprintf_chk.c: Likewise.
4506 * debug/vsprintf_chk.c: Likewise.
4507 * malloc/mtrace.c: Likewise.
4508 * misc/error.c: Likewise.
4509 * misc/syslog.c: Likewise.
4510 * stdio-common/asprintf.c: Likewise.
4511 * stdio-common/fxprintf.c: Likewise.
4512 * stdio-common/getw.c: Likewise.
4513 * stdio-common/isoc99_fscanf.c: Likewise.
4514 * stdio-common/isoc99_scanf.c: Likewise.
4515 * stdio-common/isoc99_vfscanf.c: Likewise.
4516 * stdio-common/isoc99_vscanf.c: Likewise.
4517 * stdio-common/isoc99_vsscanf.c: Likewise.
4518 * stdio-common/printf-prs.c: Likewise.
4519 * stdio-common/printf_fp.c: Likewise.
4520 * stdio-common/printf_fphex.c: Likewise.
4521 * stdio-common/printf_size.c: Likewise.
4522 * stdio-common/putw.c: Likewise.
4523 * stdio-common/scanf.c: Likewise.
4524 * stdio-common/sprintf.c: Likewise.
4525 * stdio-common/tmpfile.c: Likewise.
4526 * stdio-common/vfprintf.c: Likewise.
4527 * stdio-common/vfscanf.c: Likewise.
4528 * stdlib/strfmon_l.c: Likewise.
4529 * sunrpc/openchild.c: Likewise.
4530 * sunrpc/xdr_stdio.c: Likewise.
4531 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4532 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4534 2012-05-24 Roland McGrath <roland@hack.frob.com>
4536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4538 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4539 in the third column, to generate for the shared library an IFUNC
4540 that uses _dl_vdso_vsym.
4541 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4542 * Makeconfig (object-suffixes-noshared): New variable.
4544 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4545 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4546 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4547 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4550 * include/sys/time.h (__gettimeofday): Remove macro.
4551 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4552 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4554 (__gettimeofday): Add libc_hidden_def.
4555 (gettimeofday): Add libc_hidden_weak.
4556 * sysdeps/mach/gettimeofday.c: Likewise.
4557 * sysdeps/posix/gettimeofday.c: Likewise.
4558 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4559 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4561 (__gettimeofday_internal): Remove strong_alias.
4562 (__gettimeofday): Add libc_hidden_def.
4563 (gettimeofday): Add libc_hidden_weak.
4564 * sysdeps/unix/syscalls.list (gettimeofday):
4565 Remove __gettimeofday_internal alias.
4567 2012-05-24 Daniel Jacobowitz <drow@false.org>
4568 H.J. Lu <hongjiu.lu@intel.com>
4571 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4572 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4573 (largebin_index_32_big): New.
4574 (largebin_index): Use it for 16-byte alignment.
4575 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4576 correction with front_misalign.
4578 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4606 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4607 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4609 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4613 * math/libm-test.inc (exp_test): Add test from bug 14036.
4614 (pow_test): Add test from bug 10846.
4616 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4618 (special_function): Do not include flags in test name.
4619 (parse_args): Likewise.
4620 * sysdeps/i386/fpu/libm-test-ulps: Update.
4621 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4622 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4623 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4626 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4628 * math/libm-test.inc ("Philosophy"): Update comment about
4630 (UNDERFLOW_EXCEPTION): New macro.
4631 (UNDERFLOW_EXCEPTION_OK): Likewise.
4632 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4633 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4634 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4635 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4636 (INVALID_EXCEPTION_OK): Update value.
4637 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4638 (OVERFLOW_EXCEPTION_OK): Likewise.
4639 (IGNORE_ZERO_INF_SIGN): Likewise.
4640 (test_exceptions): Handle underflow exceptions.
4641 (acos_test): Update for underflow exception expectations.
4642 (cexp_test): Likewise.
4643 (clog_test): Likewise.
4644 (clog10_test): Likewise.
4645 (csqrt_test): Likewise.
4646 (ctan_test): Likewise.
4647 (ctanh_test): Likewise.
4648 (exp_test): Likewise.
4649 (exp10_test): Likewise.
4650 (exp2_test): Likewise.
4651 (expm1_test): Likewise.
4652 (fma_test): Likewise.
4653 (j0_test): Likewise.
4654 (jn_test): Likewise.
4655 (nexttoward_test): Likewise.
4656 (pow_test): Likewise.
4657 (scalbn_test): Likewise.
4658 (scalbln_test): Likewise.
4659 (tan_test): Likewise.
4660 (y1_test): Likewise.
4661 * sysdeps/i386/fpu/libm-test-ulps: Update.
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4664 2012-05-23 David S. Miller <davem@davemloft.net>
4666 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4667 (__libc_sigaction): Remove unused local variables.
4669 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4671 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4673 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4675 mktime: avoid signed integer overflow
4676 * time/mktime.c (__mktime_internal): Do not mishandle the case
4677 where diff == INT_MIN.
4679 mktime: simplify computation of average
4680 * time/mktime.c (ranged_convert): Use new time_t_avg function
4681 instead of rolling our own (probably-slower) code.
4683 mktime: do not assume signed right shift propagates sign bit
4684 * time/mktime.c (isdst_differ): New static function.
4685 (__mktime_internal): No need to normalize tm_isdst now.
4686 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4689 mktime: merge another wrapv change from gnulib
4690 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4691 from some compilers.
4693 mktime: remove incorrect attempt at unusual arithmetics
4694 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4695 The code didn't really work on such machines anyway.
4696 (TYPE_MINIMUM): Assume two's complement.
4697 (twos_complement_arithmetic): Verify that long_int and time_t
4698 are two's complement (or unsigned, in the latter case).
4700 mktime: check signed shifts on long_int and time_t, too
4701 * time/mktime.c (SHR): Check that shifts work as desired
4702 on the types long_int and time_t too, as SHR is used on
4705 mktime: do not assume 'long' is wide enough
4706 * time/mktime.c (verify): Move decl up.
4707 (long_int): New type.
4708 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4709 to remove assumption in the code that 'long' is wide enough to
4710 store year values. This assumption is not true on x32 and on
4711 some non-glibc platforms.
4713 mktime: merge wrapv change from gnulib
4714 * time/mktime.c (WRAPV): New macro.
4715 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4716 (guess_time_tm, __mktime_internal): Do not assume that signed
4717 integer overflow wraps around; modern compilers generate code
4718 where this assumption is no longer valid.
4720 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4722 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4723 Replace "jmp L(pseudo_end)" with "ret".
4724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4727 2012-05-23 Andreas Jaeger <aj@suse.de>
4729 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4730 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4732 2012-05-23 Andreas Jaeger <aj@suse.de>
4733 Maximilian Attems <max@stro.at>
4735 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4740 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4741 code so that pseudo_end is just ret and the stack pointer is
4742 correct also for static library in error case.
4744 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4746 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4747 move to syscalls.list.
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4753 * manual/install.texi (Running make install): Do not mention Linux
4754 kernel version for which pt_chown is not needed.
4755 (Linux): Do not mention problems with nscd with 2.0 kernels.
4756 * INSTALL: Regenerated.
4758 2012-05-23 Andreas Jaeger <aj@suse.de>
4760 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4761 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4763 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4764 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4765 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4766 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4767 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4773 * sysdeps/unix/sysv/linux/bits/in.h
4774 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4776 2012-05-22 Roland McGrath <roland@hack.frob.com>
4778 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4779 (PREPARE_VERSION): Just use assert instead, it will be elided
4780 under [NDEBUG] anyway.
4782 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4784 * sysdeps/unix/sysv/linux/Makefile: Include
4785 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4786 (sysdep_routines): Remove sysctl.
4787 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4788 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4789 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4790 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4791 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4793 2012-05-22 Andreas Jaeger <aj@suse.de>
4795 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4796 that pseudo_end is just ret and the stack pointer is correct also
4797 for static library in error case.
4799 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4802 * nss/nsswitch.c (defconfig_entries): New variable.
4803 (__nss_database_lookup): Don't leak defconfig entries.
4804 (nss_parse_service_list): Don't leak on error paths.
4805 (free_database_entries): New function.
4806 (free_defconfig): New function.
4807 (free_mem): Move common code to free_database_entries.
4809 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4811 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4813 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4815 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4816 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4819 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4820 (INTERNAL_SYSCALL_TYPES): Likewise.
4821 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4822 (LOAD_REGS_TYPES_[1-6]): Likewise.
4823 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4824 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4826 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4829 copysignl for GLIBC_2_0.
4830 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4831 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4833 logbl for GLIBC_2_0.
4834 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4835 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4837 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4840 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4842 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4845 * time/mktime.c: Update copyright years.
4847 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4849 mktime: merge comment-quoting-style change from gnulib
4850 * time/mktime.c: Quote 'like this' in comments.
4851 The GNU coding standards suggest that we no longer quote `like this',
4852 as "`" and "'" are typically rendered asymmetrically nowadays.
4853 The typical gnulib style is to quote 'like this' when quoting
4854 code, and "like this" when quoting English.
4856 * time/mktime.c (compile-command): Add "-I.".
4858 mktime: merge mktime-internal.h change from gnulib
4859 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4861 mktime: merge time_r change from gnulib
4862 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4864 mktime: merge DEBUG change from gnulib
4865 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4866 case system <time.h> has a #define.
4868 mktime: merge <sys/types.h> change from gnulib
4869 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4870 since <time.t> is now guaranteed to define time_t.
4872 mktime: merge HAVE_CONFIG_H change from gnulib
4873 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4875 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4880 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4882 (struct rusage): Use anonymous union to pad each field to
4885 2012-05-21 David S. Miller <davem@davemloft.net>
4887 * Makefules (o-iterator): Remove .s cases.
4888 (compile-command.s): Delete.
4889 (COMPILE.s): Delete.
4890 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4892 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4894 * configure.in (libc_cv_predef_stack_protector): Only consider
4895 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4896 * configure: Regenerated.
4898 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4901 New macro. Use R*LP on int and pointer.
4902 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4904 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4905 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4907 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4908 [__WORDSIZE_TIME64_COMPAT32] instead of
4909 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4910 (struct utmp): Likewise.
4911 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4912 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4914 (__WORDSIZE_TIME64_COMPAT32): This.
4915 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4916 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4917 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4918 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4919 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4920 (__WORDSIZE_TIME64_COMPAT32): New macro.
4922 2012-05-21 Andreas Jaeger <aj@suse.de>
4924 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4925 only if [SHARED]. Add prototype for __wcschr_ia32.
4927 2012-05-21 Roland McGrath <roland@hack.frob.com>
4929 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4930 of %rbp unmolested in the jmp_buf while mangling the low bits.
4931 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4932 unmolested high bits of %rbp while demangling the low bits.
4933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4935 2012-05-21 Andreas Jaeger <aj@suse.de>
4937 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4938 * sunrpc/svc_simple.c: Use it for registerrpc.
4939 * sunrpc/xcrypt.c: Use it for passwd2des.
4941 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4943 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4945 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4946 Don't define if [__SYSCALL_WORDSIZE != 32].
4947 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4950 2012-05-21 Bruno Haible <bruno@clisp.org>
4951 Andreas Jaeger <aj@suse.de>
4953 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4954 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4955 inptr and inend for must_buffer_ch.
4956 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4957 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4958 * stdio-common/Makefile (tests): Remove bug15.
4959 (bug15-ENV): Remove macro.
4960 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4963 2012-05-19 Andreas Jaeger <aj@suse.de>
4964 Roland McGrath <roland@hack.frob.com>
4966 * manual/contrib.texi: Completely rewritten. It contains now an
4967 alphabetical list of contributors and their contributions.
4969 2012-05-21 Richard Henderson <rth@twiddle.net>
4971 * misc/getauxval.c (__getauxval): Use unsigned long int.
4972 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4973 (getauxval): Use unsigned long int.
4975 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4977 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4979 2012-05-21 Roland McGrath <roland@hack.frob.com>
4981 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4982 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4983 __alignof__ (long double).
4985 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4989 2012-05-20 Richard Henderson <rth@twiddle.net>
4991 * misc/getauxval.c: New file.
4992 * misc/sys/auxv.h: New file.
4993 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4994 (routines): Add getauxval.
4995 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4996 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4997 * elf/dl-sysdep.c (_dl_auxv): Remove.
4998 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4999 * elf/dl-support.c (_dl_auxv): New variable.
5000 (_dl_aux_init): Initialize it.
5001 * manual/startup.texi (Auxiliary Vector): New node.
5002 * sysdeps/generic/bits/hwcap.h: New file.
5003 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5004 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5005 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5006 * sysdeps/sparc/sysdep.h: ... here. Include it.
5007 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5020 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5024 2012-05-19 David S. Miller <davem@davemloft.net>
5026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5028 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5031 * math/s_ccosh.c: Include <float.h>
5032 (__ccosh): Avoid internal overflow calculating sinh and cosh
5033 values before multiplying by sin and cos values.
5034 * math/s_ccoshf.c: Likewise.
5035 * math/s_ccoshl.c: Likewise.
5036 * math/s_csin.c: Likewise.
5037 * math/s_csinf.c: Likewise.
5038 * math/s_csinl.c: Likewise.
5039 * math/s_csinh.c: Likewise.
5040 * math/s_csinhf.c: Likewise.
5041 * math/s_csinhl.c: Likewise.
5042 * math/libm-test.inc (ccos_test): Add more tests.
5043 (ccosh_test): Likewise.
5044 (csin_test): Likewise.
5045 (csinh_test): Likewise.
5046 * sysdeps/i386/fpu/libm-test-ulps: Update.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5049 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5051 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5052 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5054 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5056 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5058 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5059 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5060 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5061 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5062 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5063 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5064 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5065 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5066 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5067 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5068 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5069 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5070 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5071 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5072 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5073 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5074 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5075 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5076 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5077 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5078 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5079 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5080 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5081 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5082 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5083 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5084 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5085 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5086 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5087 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5088 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5090 2012-05-18 Andreas Jaeger <aj@suse.de>
5092 * csu/.gitignore: Delete.
5094 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5096 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5097 (timex): Use __syscall_slong_t.
5099 2012-05-18 Andreas Jaeger <aj@suse.de>
5100 Carlos O'Donell <carlos_odonell@mentor.com>
5102 * manual/install.texi (Configuring and compiling): Update
5103 description about files modified in the source directory.
5104 * INSTALL: Regenerated.
5106 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5108 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5109 value. Use "or" to set return value to -1.
5110 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5111 negate return value.
5113 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5115 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5116 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5117 failure if the compiler has Graphite support disabled.
5118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5120 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5121 CFLAGS-memmove.c): Likewise.
5122 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5125 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5127 * sysdeps/x86_64/x32/_itoa.h: New file.
5129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5130 getdents system call only if kernel and user dirents have the
5131 same d_ino and d_off.
5133 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5134 LLONG_MAX != LONG_MAX.
5135 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5136 (_fitoa_word): Likewise.
5138 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5145 include <bits/wordsize.h>. Check __x86_64__ instead of
5147 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5148 if __x86_64__ is defined. Use anonymous union on fpstate.
5150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5153 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5155 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5156 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5158 Refer to _rtld_local_ro instead of _rtld_global_ro.
5159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5161 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5163 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5165 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5166 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5167 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5169 * sysdeps/powerpc/powerpc32/dl-machine.c
5170 (__elf_machine_runtime_setup) [PROF]: Don't reference
5173 2012-05-18 Andreas Jaeger <aj@suse.de>
5175 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5176 function only available for GCCs before 3.4 since GCC 3.4
5177 introduced a builtin.
5179 (llrintf): Likewise.
5187 (nearbyint): Likewise.
5188 (nearbyintf): Likewise.
5194 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5196 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5197 on both fields and cast pointer to __syscall_ulong_t.
5199 * bits/types.h (__fsword_t): New type.
5200 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5201 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5203 (__FSWORD_T_TYPE): Likewise.
5204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5205 (__FSWORD_T_TYPE): Likewise.
5206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5207 (__FSWORD_T_TYPE): Likewise.
5208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5209 (__FSWORD_T_TYPE): Likewise.
5210 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5211 __SWORD_TYPE with __fsword_t.
5212 (statfs64): Likewise.
5214 2012-05-17 David S. Miller <davem@davemloft.net>
5216 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5218 2012-05-17 Andreas Jaeger <aj@suse.de>
5220 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5223 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5225 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5227 2012-05-17 Andreas Jaeger <aj@suse.de>
5229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5232 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5234 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5236 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5238 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5239 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5241 2012-05-17 Andreas Jaeger <aj@suse.de>
5242 Carlos O'Donell <carlos_odonell@mentor.com>
5245 * sysdeps/x86_64/multiarch/init-arch.h
5246 (bit_YMM_Usable): Rename to...
5247 (bit_AVX_Usable): ... this.
5248 (bit_FMA4_Usable): New macro.
5249 (bit_XMM_state): New macro.
5250 (bit_YMM_state): New macro.
5251 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5252 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5253 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5254 (CPUID_OSXSAVE): New macro.
5255 (CPUID_AVX): New macro.
5256 (CPUID_FMA4): New macro.
5257 (index_YMM_Usable): Rename to...
5258 (index_AVX_Usable): ... this.
5259 (HAS_AVX): Use HAS_ARCH_FEATURE.
5260 (HAS_FMA4): Likewise.
5261 (HAS_YMM_USABLE): Remove.
5262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5263 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5265 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5266 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5267 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5268 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5269 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5271 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5273 * math/libm-test.c: Support platforms without multiple rounding modes.
5274 * math/bug-nextafter.c: Support platforms without FP exceptions.
5275 * math/bug-nexttoward.c: Likewise.
5276 * math/test-fenv.c: Likewise.
5277 * math/test-misc.c: Likewise.
5278 * stdlib/bug-getcontext.c: Likewise.
5280 2012-05-17 Andreas Jaeger <aj@suse.de>
5282 * manual/examples/search.c (critter_cmp): Change signature to
5284 * manual/string.texi (Collation Functions): Likewise.
5286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5288 * bits/types.h: Fold copyright years.
5289 * bits/typesizes.h: Likewise.
5290 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5294 * time/time.h: Likewise.
5296 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5299 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5300 in instead of returning them. Return void.
5301 (__libc_mallinfo): Accumulate over all arenas.
5302 (__malloc_stats): Adjust for change in int_mallinfo interface.
5304 2012-05-16 Roland McGrath <roland@hack.frob.com>
5307 * configure.in (NM): Add AC_CHECK_TOOL for it.
5308 (libc_extra_cflags): New substituted variable.
5309 Check for -fstack-protector being used implicitly.
5310 * configure: Regenerated.
5311 * config.make.in (config-extra-cflags): New variable,
5312 gets @libc_extra_cflags@.
5313 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5316 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5317 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5318 * configure: Regenerated.
5319 * config.make.in (CPPUNDEFS): New substituted variable.
5320 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5321 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5322 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5324 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5326 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5327 (mq_attr): Use __syscall_slong_t.
5329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5331 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5332 Check __x86_64__ instead of __WORDSIZE.
5333 (_STAT_VER_LINUX): Likewise.
5334 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5335 __syscall_ulong_t and __syscall_slong_t.
5338 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5340 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5344 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5348 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5351 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5352 include <bits/wordsize.h>. Check __x86_64__ instead of
5354 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5356 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5359 include <bits/wordsize.h>. Check __x86_64__ instead of
5361 (user_regs_struct): Use "__extension__ unsigned long long"
5362 instead of "unsigned long" if __x86_64__ is defined.
5363 (user): Likewise. Pad after pointer field if __ILP32__ is
5366 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5368 * configure.in (makeinfo): Require version 4.5 or later. Allow
5370 * configure: Regenerated.
5371 * manual/install.texi (texinfo): Increase version requirement to
5373 * INSTALL: Regenerated.
5375 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5377 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5379 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5381 * sysdeps/x86_64/x32/ffs.c: New file.
5383 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5385 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5386 defined. Use __syscall_ulong_t.
5387 (shminfo): Use __syscall_ulong_t.
5388 (shm_info): Likewise.
5390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5393 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5395 (msgqnum_t): Use __syscall_ulong_t.
5396 (msglen_t): Likewise.
5397 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5400 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5403 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5405 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5406 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5408 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5411 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5412 include <bits/wordsize.h>. Check __x86_64__ instead of
5415 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5416 "unsigned long long int" if __x86_64__ is defined.
5417 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5419 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5420 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5421 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5423 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5425 (GET_PC): Cast to uintptr_t first.
5426 (GET_FRAME): Likewise.
5427 (GET_STACK): Likewise.
5429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5430 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5431 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5432 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5433 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5434 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5435 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5436 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5437 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5438 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5439 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5441 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5442 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5443 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5444 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5445 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5446 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5449 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5450 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5451 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5452 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5453 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5454 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5455 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5457 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5459 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5461 * Makerules (+depfiles): Also collect depfiles from .oS in
5463 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5464 .oS, $(libnldbl-routines)).
5466 * Makerules (native-compile-mkdep-flags): Define.
5467 * sunrpc/Makefile (extra-objs): Add $(addprefix
5468 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5469 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5470 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5471 calling $(make-target-directory).
5473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5475 * bits/types.h (__snseconds_t): Removed.
5476 * time/time.h (struct timespec): Replace __snseconds_t with
5478 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5479 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5482 (__SNSECONDS_T_TYPE): Likewise.
5483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5484 (__SNSECONDS_T_TYPE): Likewise.
5485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5486 (__SNSECONDS_T_TYPE): Likewise.
5488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5490 * sysdeps/mach/hurd/bits/typesizes.h
5491 (__SYSCALL_SLONG_TYPE): New macro.
5492 (__SYSCALL_ULONG_TYPE): Likewise.
5494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5496 * bits/types.h (__syscall_slong_t): New type.
5497 (__syscall_ulong_t): Likewise.
5499 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5500 (__SYSCALL_ULONG_TYPE): Likewise.
5501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5502 (__SYSCALL_SLONG_TYPE): Likewise.
5503 (__SYSCALL_ULONG_TYPE): Likewise.
5504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5505 (__SYSCALL_SLONG_TYPE): Likewise.
5506 (__SYSCALL_ULONG_TYPE): Likewise.
5507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5508 (__SYSCALL_SLONG_TYPE): Likewise.
5509 (__SYSCALL_ULONG_TYPE): Likewise.
5511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5513 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5514 Add sigaltstack-offsets.sym.
5515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5516 <sigaltstack-offsets.h>.
5517 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5518 longjmp_msg pointer.
5519 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5520 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5522 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5524 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5526 * elf/stackguard-macros.h: Remove file.
5527 * sysdeps/generic/stackguard-macros.h: New file.
5528 * sysdeps/i386/stackguard-macros.h: Likewise.
5529 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5530 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5531 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5532 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5533 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5534 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5535 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5536 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5537 <elf/stackguard-macros.h>.
5540 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5541 __aligned__ in attribute.
5542 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5543 (gregset_t): Likewise.
5545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5547 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5548 * sysdeps/x86_64/64/Implies-after: Here. New file.
5549 * sysdeps/x86_64/x32/Implies-after: New file.
5551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5553 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5554 and access return value for _dl_profile_fixup. Use R10_LP to
5557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5559 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5563 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5564 * sysdeps/x86_64/x32/sysdep.h: New file.
5566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5568 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5569 * sysdeps/x86_64/setjmp.S: Likewise.
5571 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5574 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5575 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5577 remove unused global constant.
5579 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5581 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5582 include of <not-cancel.h>.
5584 2012-05-15 Roland McGrath <roland@hack.frob.com>
5586 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5588 2012-05-15 Jeff Law <law@redhat.com>
5589 Andreas Jaeger <aj@suse.de>
5592 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5594 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5595 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5597 code changing __hst_map_handle.map.
5599 2012-05-15 Roland McGrath <roland@hack.frob.com>
5601 * configure.in (sysnames): Look for Implies-before and Implies-after
5603 * configure: Regenerated.
5605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5607 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5608 8-byte data alignment with LP_SIZE alignment.
5610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5617 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5621 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5622 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5625 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5629 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5630 (stackinfo_sub_sp): Likewise.
5632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5634 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5649 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5653 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5654 into R11_LP and load __x86_64_shared_cache_size_half into
5657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5662 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5671 powerpc32/power7/fpu/s_logb.c via #include.
5672 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5673 powerpc32/power7/fpu/s_logbf.c via #include.
5674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5675 powerpc32/power7/fpu/s_logbl.c via #include.
5677 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5679 * README.libm: Remove file.
5681 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5683 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5684 count for x32. Use R*_LP and omit operand-size suffix.
5686 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5688 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5689 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5690 * sysdeps/x86_64/x32/shlib-versions: New file.
5692 2012-05-14 Roland McGrath <roland@hack.frob.com>
5694 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5695 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5696 Use _dl_fatal_printf instead.
5698 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5700 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5701 set if not set by the user. Do not allow for being unset.
5702 * sysdeps/unix/sysv/linux/configure: Regenerated.
5704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5706 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5707 the `q' suffix from lea and replace .quad with ASM_ADDR.
5709 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5712 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5714 (PTR_DEMANGLE): Likewise.
5716 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5718 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5720 (ASM_ADDR): Likewise.
5738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5740 * sysdeps/x86_64/x32/dl-machine.h: New file.
5742 2012-05-14 Andreas Jaeger <aj@suse.de>
5744 * manual/Makefile (subdir): Remove export of subdir.
5745 (all): Remove target.
5746 (.PHONY): Remove all from list.
5747 (mkinstalldirs): Remove.
5748 (.PHONY): Remove installdirs from list.
5749 ($(inst_infodir)/libc.info): Use make-target-directory.
5750 (installdirs): Remove.
5752 (glibc-targets): Remove.
5755 ($(objpfx)stubs ../po/manual.pot): Remove.
5756 ($(objpfx)stamp%): Remove.
5757 (make-target-directory): Remove.
5758 (subdir_install): Remove.
5766 * manual/.gitignore: Remove, it's not needed anymore.
5767 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5769 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5771 (texis): Renamed to $(objpfx)texis.
5772 (texis-path): New, contains path to generated files.
5773 (chapters.%): Use texis-path for complete path, add extra argument
5775 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5776 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5777 (summary,texi, stamp-summary): Use complete path of
5778 files. Generate files in build dir.
5779 (dir-add.texi): Build in build dir.
5780 (libm-err.texi,stamp-libm-err): Likewise.
5781 (version.texi, stamp-version): Likewise.
5782 (.%c.texi): Likewise.
5783 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5784 (mostlyclean): Remove target.
5785 (realclean): Remove target.
5786 (generated): Add new variable with contents from mostlyclean and
5787 realclean, remove entries duplicated in common-mostlyclean, add
5788 stamp-libm-err and stamp-version.
5789 (generated-dirs): Add libc directory.
5790 ($(inst_infodir)/libc.info): Install files from build dir.
5792 * manual/install.texi (Configuring and compiling): Adjust since
5793 the info files are not part of the tar ball anymore.
5795 2012-05-14 Andreas Jaeger <aj@suse.de>
5797 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5800 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5804 to 2.2.0 where earlier.
5805 * sysdeps/unix/sysv/linux/configure: Regenerated.
5806 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5807 Remove conditional code.
5808 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5809 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5810 Remove conditional code.
5811 [!__NR_lchown]: Likewise.
5812 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5813 [__NR_lchown]: Likewise.
5814 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5815 comment referencing __ASSUME_LCHOWN_SYSCALL.
5816 * sysdeps/unix/sysv/linux/i386/sigaction.c
5817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5819 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5820 Remove conditional code.
5821 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5822 (__protocol_available): Remove #if 0 code.
5823 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5825 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5826 * sysdeps/unix/sysv/linux/kernel-features.h
5827 (__ASSUME_GETCWD_SYSCALL): Don't define.
5828 (__ASSUME_REALTIME_SIGNALS): Likewise.
5829 (__ASSUME_PREAD_SYSCALL): Likewise.
5830 (__ASSUME_PWRITE_SYSCALL): Likewise.
5831 (__ASSUME_POLL_SYSCALL): Likewise.
5832 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5833 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5835 (__ASSUME_SIOCGIFNAME): Don't define.
5836 (__ASSUME_MSG_NOSIGNAL): Likewise.
5837 (__ASSUME_SENDFILE): Define unconditionally.
5838 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5839 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5841 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5842 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5843 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5844 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5845 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5846 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5847 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5849 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5852 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5853 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5858 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5861 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5864 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5867 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5870 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5872 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5873 Remove conditional code.
5874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5875 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5876 Remove conditional code.
5877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5878 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5879 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5880 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5881 Remove conditional code.
5882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5883 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5884 Remove conditional code.
5885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5886 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5887 Remove conditional code.
5888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5889 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5890 Remove conditional code.
5891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5892 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5893 Remove conditional code.
5894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5895 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5898 * sysdeps/unix/sysv/linux/sigaction.c
5899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5901 * sysdeps/unix/sysv/linux/sigpending.c
5902 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5903 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5904 * sysdeps/unix/sysv/linux/sigprocmask.c
5905 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5906 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5907 * sysdeps/unix/sysv/linux/sigsuspend.c
5908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5911 (__libc_missing_rt_sigs): Remove.
5912 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5913 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5914 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5915 Remove conditional code.
5916 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5917 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5919 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5920 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5921 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5922 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5924 2012-05-14 Andreas Jaeger <aj@suse.de>
5926 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5927 it's not used in glibc.
5928 (__coshm1): Likewise.
5929 (__acosh1p): Likewise.
5932 * manual/string.texi (Copying and Concatenation): Add missing
5933 variable in concat example.
5934 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5936 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5940 __builtin_clzl with __builtin_clzll.
5942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5945 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5948 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5950 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5951 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5952 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5955 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5957 * NEWS: Update ia64 info.
5959 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5961 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5964 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5966 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5967 * sysdeps/unix/syscalls.list (dup3): Likewise.
5968 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5969 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5971 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5973 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5974 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5976 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5978 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5980 (TLS_IE): Use mov/add instead of movq/addq to load thread
5982 (TLS_GD_PREFIX): New.
5985 2012-05-11 David S. Miller <davem@davemloft.net>
5987 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5988 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5989 (_FPU_SETCW): Likewise.
5991 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5993 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5996 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5999 * iconvdata/gb18030.c: Update tables.
6000 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6001 characters specially.
6002 (BODY for TO_LOOP): Add encoding of missing ranges.
6004 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6007 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6008 * sysdeps/mach/hurd/dup3.c: Likewise.
6009 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6010 * sysdeps/powerpc/memmove.c:: Likewise.
6012 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6015 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6017 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6019 * elf/elf.h (R_X86_64_RELATIVE64): New.
6020 (R_X86_64_NUM): Updated.
6021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6022 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6023 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6024 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6025 tst-quad1pie tst-quad2pie
6026 (modules-names): Add tst-quadmod1 tst-quadmod2.
6027 ($(objpfx)tst-quad1): New dependency.
6028 ($(objpfx)tst-quad2): Likewise.
6029 ($(objpfx)tst-quad1pie): Likewise.
6030 ($(objpfx)tst-quad2pie): Likewise.
6031 * sysdeps/x86_64/tst-quad1.c: New file.
6032 * sysdeps/x86_64/tst-quad1pie.c: New file.
6033 * sysdeps/x86_64/tst-quad2.c: Likewise.
6034 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6035 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6036 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6037 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6038 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6042 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6043 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6044 * streams/stropts.h (t_scalar_t): Define type.
6046 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6047 (_PATH_PRESERVE): Set to "/var/lib".
6048 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6050 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6053 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6054 if __dir_mkfile succeeded.
6056 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6057 checking for _hurd_dtablesize. Unlock it right after having
6058 finished _hurd_dtable allocation.
6060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6062 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6063 * sysdeps/mach/hurd/configure: Regenerated.
6064 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6065 special-casing to...
6066 * sysdeps/gnu/configure.in: ... this new file.
6067 * sysdeps/unix/sysv/linux/configure: Regenerated.
6068 * sysdeps/gnu/configure: New generated file.
6070 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6071 for Linux: use nsec instead of usec, as well as:
6072 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6073 members of type struct timespec.
6074 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6076 (struct stat64): Likewise.
6077 (_STATBUF_ST_NSEC): New macro.
6078 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6080 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6081 __strtoul_internal rather than strtoul.
6083 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6085 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6090 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6091 which preserves existing values.
6092 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6094 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6096 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6097 TIMEOUT values. Return EINVAL for NFDS values either negative or
6098 greater than FD_SETSIZE.
6100 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6102 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6103 allocated, call __vm_protect to finish enabling the existing space, and
6104 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6105 allocate the remainder.
6107 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6109 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6110 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6114 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6115 sysdeps/mach/hurd/readlink.c.
6117 * posix/tst-sysconf.c (posix_options): Only use
6118 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6119 _POSIX_SYNCHRONIZED_IO when they are defined
6120 * sysdeps/mach/hurd/bits/posix_opt.h:
6121 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6122 (_XOPEN_REALTIME): Undefine macro.
6123 (_XOPEN_REALTIME_THREADS): Undefine macro.
6124 (_XOPEN_SHM): Undefine macro.
6125 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6127 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6129 (_POSIX_ASYNC_IO): Undefine macro.
6130 (_POSIX_PRIORITIZED_IO): Undefine macro.
6131 (_POSIX_SPIN_LOCKS): Define macro to -1.
6133 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6134 SA_NODEFER, SA_RESETHAND.
6135 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6136 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6141 * elf/Makefile (pldd-modules): Define unconditionally.
6143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6145 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6147 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6150 Return ENOENT when name is empty.
6151 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6155 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6157 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6159 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6161 Fix mlock in all cases except non-readable pages.
6162 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6163 instead of VM_PROT_ALL as parameter to __vm_wire function.
6165 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6166 (__mkdir): When path is `/', just fail with EEXIST.
6167 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6171 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6172 <sys/uio.h> (for writev).
6173 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6174 and <sys/param.h> (for MIN).
6176 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6178 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6179 REQUESTED_TIME. Properly set the remaining time and return EINTR
6182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6184 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6185 Depend on against $(link-rpcuserlibs).
6187 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6189 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6190 (__libc_stack_end): Do not use attribute_relro.
6191 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6192 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6193 to libthread-provided value.
6194 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6200 * bits/libc-lock.h (__libc_once_get): New macro.
6201 * sysdeps/mach/bits/libc-lock.h: Likewise.
6202 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6204 instead of using implementation details.
6206 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6207 * libio/freopen.c: Likewise.
6208 * libio/freopen64.c: Likewise.
6209 * misc/syslog.c: Likewise.
6210 * nscd/connections.c: Likewise.
6211 * nscd/netgroupcache.c: Likewise.
6212 * sysdeps/posix/getcwd.c: Likewise.
6214 2012-05-10 Roland McGrath <roland@hack.frob.com>
6216 * math/w_ilogbf.c: Add #include <limits.h>.
6218 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6220 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6221 path instead of returning without unlocking.
6223 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6224 immediate-write ioctls.
6225 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6227 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6229 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6230 __builtin_frame_address instead of making assumptions about the
6231 location of the return address relative to DATA. Force early load of
6233 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6234 __builtin_frame_address.
6237 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6238 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6239 implement dup3 and do some further code clean-ups.
6240 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6241 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6245 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6247 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6248 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6249 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6250 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6251 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6254 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6255 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6256 when handler == SIG_ERR, not when handler != SIG_ERR.
6258 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6260 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6261 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6264 accept4 for GNU Hurd.
6265 * include/sys/socket.h (__libc_accept4): New prototype.
6266 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6267 to implement __libc_accept4.
6268 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6270 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6272 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6273 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6274 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6279 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6281 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6283 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6284 assertion on O_CLOEXEC flag.
6285 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6286 * hurd/intern-fd.c: Likewise.
6287 * hurd/port2fd.c: Likewise.
6289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6292 * bits/in.h (IPV6_PKTINFO): Define new macro.
6293 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6295 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6300 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6302 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6303 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6305 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6306 * math/libm-test.inc (logb_test) : Additional logb tests.
6308 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6309 Andreas Jaeger <aj@suse.de>
6311 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6312 * configure: Regenerated.
6313 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6314 * config.make.in (link-obsolete-rpc): New substituted variable.
6315 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6316 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6317 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6318 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6319 so that libc.a contains the symbols.
6320 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6321 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6322 * sunrpc/auth_none.c: Likewise.
6323 * sunrpc/auth_unix.c: Likewise.
6324 * sunrpc/authdes_prot.c: Likewise.
6325 * sunrpc/authuxprot.c: Likewise.
6326 * sunrpc/clnt_gen.c: Likewise.
6327 * sunrpc/clnt_perr.c: Likewise.
6328 * sunrpc/clnt_raw.c: Likewise.
6329 * sunrpc/clnt_simp.c: Likewise.
6330 * sunrpc/clnt_tcp.c: Likewise.
6331 * sunrpc/clnt_udp.c: Likewise.
6332 * sunrpc/clnt_unix.c: Likewise.
6333 * sunrpc/des_crypt.c: Likewise.
6334 * sunrpc/des_soft.c: Likewise.
6335 * sunrpc/get_myaddr.c: Likewise.
6336 * sunrpc/key_call.c: Likewise.
6337 * sunrpc/key_prot.c: Likewise.
6338 * sunrpc/netname.c: Likewise.
6339 * sunrpc/pm_getmaps.c: Likewise.
6340 * sunrpc/pm_getport.c: Likewise.
6341 * sunrpc/pmap_clnt.c: Likewise.
6342 * sunrpc/pmap_prot.c: Likewise.
6343 * sunrpc/pmap_prot2.c: Likewise.
6344 * sunrpc/pmap_rmt.c: Likewise.
6345 * sunrpc/publickey.c: Likewise.
6346 * sunrpc/rpc_cmsg.c: Likewise.
6347 * sunrpc/rpc_common.c: Likewise.
6348 * sunrpc/rpc_dtable.c: Likewise.
6349 * sunrpc/rpc_prot.c: Likewise.
6350 * sunrpc/rpc_thread.c: Likewise.
6351 * sunrpc/rtime.c: Likewise.
6352 * sunrpc/svc.c: Likewise.
6353 * sunrpc/svc_auth.c: Likewise.
6354 * sunrpc/svc_raw.c: Likewise.
6355 * sunrpc/svc_run.c: Likewise.
6356 * sunrpc/svc_tcp.c: Likewise.
6357 * sunrpc/svc_udp.c: Likewise.
6358 * sunrpc/svc_unix.c: Likewise.
6359 * sunrpc/svcauth_des.c: Likewise.
6360 * sunrpc/xcrypt.c: Likewise.
6361 * sunrpc/xdr.c: Likewise.
6362 * sunrpc/xdr_array.c: Likewise.
6363 * sunrpc/xdr_float.c: Likewise.
6364 * sunrpc/xdr_intXX_t.c: Likewise.
6365 * sunrpc/xdr_mem.c: Likewise.
6366 * sunrpc/xdr_rec.c: Likewise.
6367 * sunrpc/xdr_ref.c: Likewise.
6368 * sunrpc/xdr_sizeof.c: Likewise.
6369 * sunrpc/xdr_stdio.c: Likewise.
6371 2012-05-10 Roland McGrath <roland@hack.frob.com>
6373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6374 change. Update copyright years.
6376 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6378 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6380 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6381 Joseph Myers <joseph@codesourcery.com>
6382 Paul Pluzhnikov <ppluzhnikov@google.com>
6385 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6387 [cross-compiling] (extra-libs): Likewise.
6388 [cross-compiling] (extra-libs-others): Likewise.
6389 [cross-compiling] (librpcsvc-routines): Likewise.
6390 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6391 [cross-compiling] (omit-deps): Likewise.
6392 (sunrpc-CPPFLAGS): New variable.
6393 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6394 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6395 (cross-rpcgen-objs): New variable.
6396 (extra-objs): Append $(cross-rpcgen-objs).
6397 ($(cross-rpcgen-objs)): New rule.
6398 ($(objpfx)cross-rpcgen): Likewise.
6399 (rpcgen-cmd): Define to use $(built-program-file). Expand
6401 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6402 ($(objpfx)x%.stmp): Likewise.
6403 * sunrpc/proto.h [IS_IN_build] (_): Define.
6404 [IS_IN_build] (_libc_intl_domainname): Likewise.
6406 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6409 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6410 and R_X86_64_TPOFF64.
6412 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6414 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6415 sysdeps/unix/sysv/syscalls.list.
6418 * sysdeps/unix/sysv/syscalls.list: Remove file.
6420 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6423 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6424 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6425 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6426 (__LC_IDENTIFICATION): Make these macros useful in #if
6427 expressions, as required by C99.
6429 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6431 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6432 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6435 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6437 * stdlib/longlong.h: Updated from GCC.
6439 2012-05-09 Andreas Jaeger <aj@suse.de>
6441 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6442 default is first entry.
6443 (run_mode): Set type.
6444 (main): Remove informal message about syslog.
6445 (options): Fix typo.
6448 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6451 (llrintf): Likewise.
6455 (nearbyint): Likewise.
6456 (nearbyintf): Likewise.
6458 2012-05-09 Andreas Jaeger <aj@suse.de>
6459 Pedro Alves <palves@redhat.com>
6461 * nscd/nscd.c (run_mode): Use enum.
6462 (main): Cleanup coding style issue.
6464 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6465 Andreas Jaeger <aj@suse.de>
6467 * nscd/nscd.c (go_background): Replaced with...
6468 (run_mode): ... this.
6469 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6470 (options): Add -F --foreground.
6471 (main): Implement it.
6472 (parse_opt): Parse it.
6474 2012-05-09 Andreas Jaeger <aj@suse.de>
6477 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6478 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6479 -Wconversion warning.
6480 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6483 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6485 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6487 (LC_ALL): Use macro-int-constant.
6488 (LC_COLLATE): Likewise.
6489 (LC_CTYPE): Likewise.
6490 (LC_MESSAGES): Likewise.
6491 (LC_MONETARY): Likewise.
6492 (LC_NUMERIC): Likewise.
6493 (LC_TIME): Likewise.
6494 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6495 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6497 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6499 [C99-based standards] (float_t): Expect type.
6500 [C99-based standards] (double_t): Expect type.
6501 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6503 [C99-based standards] (HUGE_VALL): Likewise.
6504 [C99-based standards] (INFINITY): Likewise.
6505 [C99-based standards] (NAN): Likewise.
6506 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6507 [C99-based standards] (FP_NAN): Likewise.
6508 [C99-based standards] (FP_NORMAL): Likewise.
6509 [C99-based standards] (FP_SUBNORMAL): Likewise.
6510 [C99-based standards] (FP_ZERO): Likewise.
6511 [C99-based standards] (FP_FAST_FMA): Use
6512 optional-macro-int-constant. Specify type. Require == 1.
6513 [C99-based standards] (FP_FAST_FMAF): Likewise.
6514 [C99-based standards] (FP_FAST_FMAL): Likewise.
6515 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6516 [C99-based standards] (FP_ILOGBNAN): Likewise.
6517 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6519 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6520 [C99-based standards] (math_errhandling): Specify type.
6521 [ISO99 || ISO11] (signgam): Do not allow.
6522 [non-C99-based standards] (copysignf): Do not allow.
6523 [non-C99-based standards] (exp2f): Likewise.
6524 [non-C99-based standards] (log2f): Likewise.
6525 [non-C99-based standards] (modff): Allow.
6526 [non-C99-based standards] (erff): Do not allow.
6527 [non-C99-based standards] (erfcf): Likewise.
6528 [non-C99-based standards] (gammaf): Likewise.
6529 [non-C99-based standards] (hypotf): Likewise.
6530 [non-C99-based standards] (j0f): Likewise.
6531 [non-C99-based standards] (j1f): Likewise.
6532 [non-C99-based standards] (jnf): Likewise.
6533 [non-C99-based standards] (lgammaf): Likewise.
6534 [non-C99-based standards] (tgammaf): Likewise.
6535 [non-C99-based standards] (y0f): Likewise.
6536 [non-C99-based standards] (y1f): Likewise.
6537 [non-C99-based standards] (ynf): Likewise.
6538 [non-C99-based standards] (isnanf): Likewise.
6539 [non-C99-based standards] (acoshf): Likewise.
6540 [non-C99-based standards] (asinhf): Likewise.
6541 [non-C99-based standards] (atanhf): Likewise.
6542 [non-C99-based standards] (cbrtf): Likewise.
6543 [non-C99-based standards] (expm1f): Likewise.
6544 [non-C99-based standards] (ilogbf): Likewise.
6545 [non-C99-based standards] (log1pf): Likewise.
6546 [non-C99-based standards] (logbf): Likewise.
6547 [non-C99-based standards] (nextafterf): Likewise.
6548 [non-C99-based standards] (remainderf): Likewise.
6549 [non-C99-based standards] (rintf): Likewise.
6550 [non-C99-based standards] (scalbf): Likewise.
6551 [non-C99-based standards] (copysignl): Likewise.
6552 [non-C99-based standards] (exp2l): Likewise.
6553 [non-C99-based standards] (log2l): Likewise.
6554 [non-C99-based standards] (modfl): Allow.
6555 [non-C99-based standards] (erfl): Do not allow.
6556 [non-C99-based standards] (erfcl): Likewise.
6557 [non-C99-based standards] (gammal): Likewise.
6558 [non-C99-based standards] (hypotl): Likewise.
6559 [non-C99-based standards] (j0l): Likewise.
6560 [non-C99-based standards] (j1l): Likewise.
6561 [non-C99-based standards] (jnl): Likewise.
6562 [non-C99-based standards] (lgammal): Likewise.
6563 [non-C99-based standards] (tgammal): Likewise.
6564 [non-C99-based standards] (y0l): Likewise.
6565 [non-C99-based standards] (y1l): Likewise.
6566 [non-C99-based standards] (ynl): Likewise.
6567 [non-C99-based standards] (isnanl): Likewise.
6568 [non-C99-based standards] (acoshl): Likewise.
6569 [non-C99-based standards] (asinhl): Likewise.
6570 [non-C99-based standards] (atanhl): Likewise.
6571 [non-C99-based standards] (cbrtl): Likewise.
6572 [non-C99-based standards] (expm1l): Likewise.
6573 [non-C99-based standards] (ilogbl): Likewise.
6574 [non-C99-based standards] (log1pl): Likewise.
6575 [non-C99-based standards] (logbl): Likewise.
6576 [non-C99-based standards] (nextafterl): Likewise.
6577 [non-C99-based standards] (remainderl): Likewise.
6578 [non-C99-based standards] (rintl): Likewise.
6579 [non-C99-based standards] (scalbl): Likewise.
6580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6581 [non-C99-based standards] (FP_*): Do not allow.
6582 [C99-based standards] (FP_*): Change to
6583 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6584 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6586 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6587 (SIG_ERR): Likewise.
6588 [X/Open-based standards] (SIG_HOLD): Likewise.
6589 (SIG_IGN): Likewise.
6590 (SIGABRT): Use macro-int-constant. Specify type. Require
6595 (SIGSEGV): Likewise.
6597 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6598 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6599 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6600 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6601 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6602 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6603 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6604 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6605 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6606 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6607 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6608 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6609 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6610 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6615 [X/Open-based standards] (SIGTRAP): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6620 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6623 2012-05-08 Ian Wienand <ianw@vmware.com>
6626 * time/tzset.c (__tzset_parse_tz): Update default rules for
6627 daylight time changes in the Energy Policy Act of 2005.
6629 2012-05-09 Andreas Jaeger <aj@suse.de>
6632 * elf/ldconfig.c (parse_conf): Change string to make clear that
6633 ldconfig only issued a warning if ld.so.conf does not exist.
6635 2012-05-08 David S. Miller <davem@davemloft.net>
6637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6638 movxtod instead of popping the value on the stack.
6640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6642 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6644 * config.h.in: Add HAVE_ARM_PCS_VFP.
6646 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6649 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6650 checking but the checks are disabled for any reason.
6652 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6654 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6655 and ELF64_R_TYPE with ELFW(R_TYPE).
6657 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6662 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6663 (settimeofday): Likewise.
6665 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6667 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6668 a struct th_u2 inside the union, and move tu_block/tu_code into
6669 a new th_u3 union of tu_block/tu_code inside of that. Move
6670 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6671 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6672 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6673 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6674 (th_stuff): Change to th_u1.tu_stuff.
6676 (th_msg): Change to th_u1.th_u2.tu_data.
6678 2012-05-07 David S. Miller <davem@davemloft.net>
6680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6683 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6684 (SETUP_PIC_REG): Use it.
6685 (SETUP_PIC_REG_LEAF): Use it.
6687 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6693 (EXPL_FINITE): Likewise.
6695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6696 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6698 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6700 (EXPL_FINITE): Likewise.
6702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6703 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6705 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6706 test of -max_value argument for long double.
6707 * sysdeps/i386/fpu/libm-test-ulps: Update.
6708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710 2012-05-06 David S. Miller <davem@davemloft.net>
6712 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6713 quad soft-float symbols whose references which are compiler
6715 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6717 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6721 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6723 (EXPL_FINITE): Likewise.
6727 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6728 Adjust comments for base varying.
6729 (__expl_finite): Change alias to EXPL_FINITE.
6730 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6732 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6733 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6735 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6738 (EXPL_FINITE): Likewise.
6742 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6743 Adjust comments for base varying.
6744 (__expl_finite): Change alias to EXPL_FINITE.
6745 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6750 * math/libm-test.inc (check_float_internal): Correct ulp
6751 calculation for subnormal expected results.
6753 2012-05-06 Andreas Jaeger <aj@suse.de>
6755 * Makeconfig (+math-flags): New, set to -frounding-math.
6756 (+cflags): Add +math-flags so that all of glibc gets compiled with
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6761 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6763 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6769 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6770 (__ieee754_expl): Allow for and saturate large arguments.
6771 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6772 (u_threshold): Likewise.
6773 (__exp): Call __ieee754_exp before checking for overflow and
6775 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6776 (u_threshold): Likewise.
6777 (__expf): Call __ieee754_expf before checking for overflow and
6779 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6780 (u_threshold): Likewise.
6781 (__expl): Call __ieee754_expl before checking for overflow and
6783 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6784 (__ieee754_expl): Allow for and saturate large arguments.
6785 * math/libm-test.inc (exp_test): Add another test. Do not allow
6786 missing overflow exception on overflow.
6787 (expm1_test): Do not allow missing overflow exception on overflow.
6789 * sysdeps/i386/fpu/e_expl.c: Move to ...
6790 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6791 rather than using inline asm.
6792 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6793 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6794 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6796 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6803 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6805 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6806 sysdeps/unix/common/syscalls.list.
6809 (ftruncate): Likewise.
6810 (getrusage): Likewise.
6811 (gettimeofday): Likewise.
6812 (setpgid): Likewise.
6813 (setregid): Likewise.
6814 (setreuid): Likewise.
6815 (sigaction): Likewise.
6816 (truncate): Likewise.
6817 (vhangup): Likewise.
6818 * sysdeps/unix/common/syscalls.list: Remove file.
6819 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6820 * sysdeps/unix/sysv/linux/Implies: Likewise.
6822 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6824 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6826 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6830 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6833 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6836 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6839 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6842 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6845 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6848 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6856 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6859 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6863 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6867 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/unix/common/bits/dirent.h: Remove file.
6870 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6872 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6873 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6874 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6875 * sysdeps/unix/bsd/isatty.c: Likewise.
6876 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6877 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6878 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6880 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6884 long double comparison inaccuracies.
6885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6888 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6890 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6893 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6897 nonzero digits before rounding a hex value.
6898 * stdlib/tst-strtod.c (tests): Add another test.
6900 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6902 * sysdeps/s390/fpu/libm-test-ulps: Update.
6904 2012-05-03 Andreas Jaeger <aj@suse.de>
6906 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6907 does not get optimized out.
6908 (malloc_opt_barrier): New.
6910 2012-05-03 Andreas Jaeger <aj@suse.de>
6911 Roland McGrath <roland@hack.frob.com>
6913 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6914 intermediate file deletion.
6915 (generated): Add .symlist files.
6917 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6920 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6921 Redirect under this condition.
6922 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6923 [__USE_GNU] (__dprintf_chk): Not under this condition.
6924 [__USE_GNU] (__vdprintf_chk): Likewise.
6925 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6926 under this condition.
6927 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6928 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6929 [__USE_XOPEN2K8] (vdprintf): Likewise.
6930 [__USE_GNU] (__dprintf_chk): Not under this condition.
6931 [__USE_GNU] (__vdprintf_chk): Likewise.
6932 [__USE_GNU] (dprintf): Likewise.
6933 [__USE_GNU] (vdprintf): Likewise.
6935 2012-05-03 Roland McGrath <roland@hack.frob.com>
6937 * elf/Makefile (common-generated): Set this instead of generated for
6938 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6939 $(all-built-dso)-derived lists.
6941 2012-05-03 Andreas Jaeger <aj@suse.de>
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6947 * scripts/gen-FAQ.pl: Likewise.
6948 * manual/install.texi (Installation): Point to online location of
6950 * Makefile (files-for-dist): Remove FAQ.
6953 2012-05-02 Allan McRae <allan@archlinux.org>
6955 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6956 (LDFLAGS-reldepmod5.so): Likewise.
6957 (LDFLAGS-reldep6mod1.so): Likewise.
6958 (LDFLAGS-reldep6mod4.so): Likewise.
6959 (LDFLAGS-reldep8mod3.so): Likewise.
6960 (LDFLAGS-unload4mod1.so): Likewise.
6961 (LDFLAGS-unload4mod2.so): Likewise.
6962 (LDFLAGS-tst-initorder): Likewise.
6963 (LDFLAGS-tst-initordera2.so): Likewise.
6964 (LDFLAGS-tst-initordera3.so): Likewise.
6965 (LDFLAGS-tst-initordera4.so): Likewise.
6966 (LDFLAGS-tst-initorderb2.so): Likewise.
6967 (LDFLAGS-noload): Likewise.
6968 (LDFLAGS-next): Likewise.
6969 (LDFLAGS-order2mod1.so): Likewise.
6970 (LDFLAGS-order2mod2.so): Likewise.
6971 (LDFLAGS-tst-initorder2): Likewise.
6972 (LDFLAGS-tst-initorder2a.so): Likewise.
6973 (LDFLAGS-tst-initorder2b.so): Likewise.
6974 (LDFLAGS-tst-initorder2c.so): Likewise.
6975 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6977 2012-05-02 David S. Miller <davem@davemloft.net>
6979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6981 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6984 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6986 2012-05-02 Andreas Jaeger <aj@suse.de>
6988 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6989 since we manipulate rounding mode.
6990 (CPPFLAGS-test-idouble.c): Likewise.
6991 (CPPFLAGS-test-ifloat.c): Likewise.
6992 (CFLAGS-test-ldouble.c): Likewise.
6993 (CFLAGS-test-double.c): Likewise.
6994 (CFLAGS-test-float.c): Likewise.
6995 (CFLAGS-test-misc.c): Likewise.
6996 (CFLAGS-test-test-fenv.c): Likewise.
6998 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7003 comparisons to determine direction to adjust input.
7005 2012-05-01 Roland McGrath <roland@hack.frob.com>
7007 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7008 output to the target.
7010 * scripts/localplt.awk: New file.
7011 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7012 (check-localplt-CFLAGS): Variable removed.
7013 ($(all-built-dso:=.jmprel)): New static pattern rule.
7014 (generated): Add those targets.
7015 (localplt-built-dso): New variable.
7016 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7018 * elf/check-localplt.c: File removed.
7020 * scripts/check-execstack.awk: New file.
7021 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7022 (check-execstack-CFLAGS): Variable removed.
7023 ($(objpfx)check-execstack.h): Target removed.
7024 ($(objpfx)execstack-default): New target.
7025 (generated): Add that instead of check-execstack.h.
7026 ($(all-built-dso:=.phdr)): New static pattern rule.
7027 (generated): Add those targets.
7028 * elf/check-execstack.c: File removed.
7030 * scripts/check-textrel.awk: New file.
7031 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7032 (check-textrel-CFLAGS): Variable removed.
7033 (all-built-dso): Use := to define.o
7034 ($(all-built-dso:=.dyn)): New static pattern rule.
7035 (generated): Add those targets.
7036 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7037 * config.make.in (READELF): New substituted variable.
7038 * elf/check-textrel.c: File removed.
7040 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7042 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7044 * conform/data/ctype.h-data [C99-based standards] (isblank):
7046 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7047 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7049 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7050 Specify type. Require positive value.
7053 [ISO || POSIX] (EILSEQ): Do not expect.
7054 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7055 Specify type. Require positive value.
7056 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7057 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7058 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7059 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7060 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7061 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7062 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7063 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7064 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7065 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7066 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7067 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7068 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7069 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7070 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7071 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7072 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7073 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7074 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7075 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7076 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7077 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7078 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7079 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7080 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7081 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7082 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7083 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7084 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7085 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7086 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7087 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7088 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7089 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7090 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7091 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7092 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7093 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7094 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7095 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7096 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7097 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7098 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7099 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7100 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7101 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7102 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7103 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7104 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7105 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7106 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7107 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7108 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7109 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7111 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7112 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7113 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7114 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7115 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7116 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7117 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7118 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7119 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7120 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7121 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7122 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7123 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7124 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7125 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7126 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7127 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7128 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7129 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7130 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7131 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7132 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7134 (FLT_ROUNDS): Expect as macro, not constant.
7135 (FLT_MANT_DIG): Use macro-int-constant.
7136 (DBL_MANT_DIG): Likewise.
7137 (LDBL_MANT_DIG): Likewise.
7138 (FLT_DIG): Likewise.
7139 (DBL_DIG): Likewise.
7140 (LDBL_DIG): Likewise.
7141 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7142 (DBL_MIN_EXP): Likewise.
7143 (LDBL_MIN_EXP): Likewise.
7144 (FLT_MAX_EXP): Use macro-int-constant.
7145 (DBL_MAX_EXP): Likewise.
7146 (LDBL_MAX_EXP): Likewise.
7147 (FLT_MAX_10_EXP): Likewise.
7148 (DBL_MAX_10_EXP): Likewise.
7149 (LDBL_MAX_10_EXP): Likewise.
7150 (FLT_MAX): Use macro-constant.
7151 (DBL_MAX): Likewise.
7152 (LDBL_MAX): Likewise.
7153 (FLT_EPSILON): Use macro-constant. Give upper bound.
7154 (DBL_EPSILON): Likewise.
7155 (LDBL_EPSILON): Likewise.
7156 (FLT_MIN): Likewise.
7157 (DBL_MIN): Likewise.
7158 (LDBL_MIN): Likewise.
7159 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7160 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7161 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7162 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7163 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7164 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7165 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7166 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7167 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7168 [ISO11] (FLT_TRUE_MIN): Likewise.
7169 [ISO11] (LDBL_TRUE_MIN): Likewise.
7170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7171 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7172 (SCHAR_MIN): Use macro-int-constant. Specify type.
7173 (SCHAR_MAX): Likewise.
7174 (UCHAR_MAX): Likewise.
7175 (CHAR_MIN): Likewise.
7176 (CHAR_MAX): Likewise.
7177 (MB_LEN_MAX): Use macro-int-constant.
7178 (SHRT_MIN): Use macro-int-constant. Specify type.
7179 (SHRT_MAX): Likewise.
7180 (USHRT_MAX): Likewise.
7181 (INT_MAX): Likewise.
7182 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7184 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7186 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7188 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7189 bound negative. Suffix upper bound with "L".
7190 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7192 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7194 [C99-based standards] (LLONG_MAX): Likewise.
7195 [C99-based standards] (ULLONG_MAX): Likewise.
7196 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7198 [ISO11] (max_align_t): Require type.
7199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7201 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7202 from $CFLAGS, without defining away __attribute__ calls.
7203 (checknamespace): Use $CFLAGS_namespace.
7205 * conform/conformtest.pl (@keywords): Only include C99 keywords
7206 for standards based on C99 or C11.
7208 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7210 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7213 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7214 usability of symbols in #if.
7216 * conform/conformtest.pl: If macro or constant types start
7217 "promoted:", expect the symbol to be of the following type
7218 promoted by the integer promotions.
7220 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7221 in one place. Also handle "macro-constant".
7223 * conform/conformtest.pl: Only accept expected macro values with
7224 "==". Parse all "macro" lines in one place.
7225 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7227 * conform/conformtest.pl: Handle braced types on "constant" lines
7228 instead of handling "typed-constant".
7229 * conform/data/signal.h-data: Use "constant" instead of
7232 * conform/conformtest.pl: Handle "optional-" at start of lines in
7233 one place rather than duplicating several cases. Handle each
7234 format of "macro" line with initial "optional-".
7236 * conform/conformtest.pl: Only accept expected constant or
7237 optional-constant values with "==". Parse all "constant" lines in
7238 one place. Parse all "optional-constant" lines in one place.
7239 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7240 * conform/data/fmtmsg.h-data: Likewise.
7241 * conform/data/netinet/in.h-data: Likewise.
7242 * conform/data/tar.h-data: Likewise.
7243 * conform/data/limits.h-data: Use "==" form on "constant" and
7244 "optional-constant" lines.
7246 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7247 Use -std=c99 for XOPEN2K.
7248 (@knownproblems): Remove.
7249 (newtoken): Don't check %isknown.
7251 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7252 Do not expect macro.
7253 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7265 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7266 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7283 [XPG3] (acosh): Likewise.
7284 [XPG3] (asinh): Likewise.
7285 [XPG3] (atanh): Likewise.
7286 [XPG3] (cbrt): Likewise.
7287 [XPG3] (expm1): Likewise.
7288 [XPG3] (ilogb): Likewise.
7289 [XPG3] (log1p): Likewise.
7290 [XPG3] (logb): Likewise.
7291 [XPG3] (nextafter): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7294 [XPG3] (remainder): Likewise.
7295 [XPG3] (rint): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7303 [UNIX98 || XOPEN2K] (scalb): Expect.
7304 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7305 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7337 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7338 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7340 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7341 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7347 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7348 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7351 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7364 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7365 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7366 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7367 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7368 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7378 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7379 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7385 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7386 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7387 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7388 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7389 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7390 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7391 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7392 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7393 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7396 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7397 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7398 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7400 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7401 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7402 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7403 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7404 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7405 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7406 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7407 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7442 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7443 _XOPEN_SOURCE_EXTENDED for XPG4.
7445 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7447 * Makeconfig (localtime): Remove variable.
7448 (inst_localtime-file): Likewise.
7450 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7471 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7475 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7476 comparisons to determine direction to adjust input.
7477 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7478 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7481 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7483 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7485 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7488 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7490 * math/libm-test.inc (nexttoward_test): Add more tests.
7492 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7496 in version GLIBC_2.1, not GLIBC_2.0.
7497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7500 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7503 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7505 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7506 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7507 * math/libm-test.inc (acos_test): Add more tests.
7508 (asin_test): Likewise.
7509 * sysdeps/i386/fpu/libm-test-ulps: Update.
7510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7515 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7516 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7517 * math/libm-test.inc (acos_test_tonearest): New function.
7518 (acos_test_towardzero): Likewise.
7519 (acos_test_downward): Likewise.
7520 (acos_test_upward): Likewise.
7521 (asin_test_tonearest): Likewise.
7522 (asin_test_towardzero): Likewise.
7523 (asin_test_downward): Likewise.
7524 (asin_test_upward): Likewise.
7525 (main): Call the new functions.
7526 * sysdeps/i386/fpu/libm-test-ulps: Update.
7527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7531 * math/e_exp10.c: Include <float.h>.
7532 (__ieee754_exp10): Handle underflow here rather than multiplying
7533 large negative argument by M_LN10.
7534 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7536 * math/e_exp10l.c: Include <float.h>.
7537 (__ieee754_exp10l): Handle underflow here rather than multiplying
7538 large negative argument by M_LN10l.
7539 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7540 spurious overflow exception on underflow.
7542 2012-04-29 Marek Polacek <polacek@redhat.com>
7544 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7545 (__fortify_function): New macro.
7546 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7547 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7548 __extern_always_inline.
7549 * libio/bits/stdio2.h: Likewise.
7550 * libio/bits/stdio.h: Likewise.
7551 * string/string.h: Likewise.
7552 * string/bits/string3.h: Likewise.
7553 * include/stdio.h: Likewise.
7554 * stdlib/bits/stdlib.h: Likewise.
7555 * stdlib/stdlib.h: Likewise.
7556 * rt/bits/mqueue2.h: Likewise.
7557 * rt/mqueue.h: Likewise.
7558 * posix/bits/unistd.h: Likewise.
7559 * posix/unistd.h: Likewise.
7560 * io/bits/poll2.h: Likewise.
7561 * io/bits/fcntl2.h: Likewise.
7562 * io/fcntl.h: Likewise.
7563 * io/sys/poll.h: Likewise.
7564 * misc/bits/syslog.h: Likewise.
7565 * misc/bits/syslog-ldbl.h: Likewise.
7566 * misc/sys/syslog.h: Likewise.
7567 * socket/bits/socket2.h: Likewise.
7568 * socket/sys/socket.h: Likewise.
7569 * debug/tst-chk1.c: Likewise.
7570 * wcsmbs/bits/wchar2.h: Likewise.
7571 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7572 * wcsmbs/wchar.h: Likewise.
7574 2012-04-29 Andreas Jaeger <aj@suse.de>
7576 * Makerules (tests): Remove enable-check-abi protection.
7577 (check-abi-warn): Remove.
7578 (check-abi-%): Remove check-abi-warn usage.
7580 * configure.in: Remove check-abi configure option.
7581 * configure: Regenerated.
7582 * config.make.in (enable-check-abi): Remove.
7584 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7587 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7588 double functions to double *_finite functions.
7591 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7592 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7594 * stdio-common/Makefile (tests): Add tst-sprintf3.
7595 * stdio-common/tst-sprintf3.c: New file.
7597 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7598 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7600 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7602 * conform/conformtest.pl: Remove duplicate typed-constant
7605 2012-04-28 David S. Miller <davem@davemloft.net>
7607 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7608 (check-abi-%): Remove AWK script prerequisite and explicit
7610 (check-abi): Rewrite to just diff the symlist with the abilist.
7611 (config-tls, config-abi-config): Delete, no longer used.
7612 (update-abi-%): Remove AWK script and explicit abilist directory.
7613 (update-abi): Rewrite to simply compare and conditionally copy the
7614 symlist and the sysdep abilist file. Remove update-abi-config
7616 * abilist/ld.abilist: Remove.
7617 * abilist/libBrokenLocale.abilist: Remove.
7618 * abilist/libanl.abilist: Remove.
7619 * abilist/libcrypt.abilist: Remove.
7620 * abilist/libdl.abilist: Remove.
7621 * abilist/librt.abilist: Remove.
7622 * abilist/libthread_db.abilist: Remove.
7623 * abilist/libutil.abilist: Remove.
7624 * scripts/extract-abilist.awk: Remove.
7625 * scripts/merge-abilist.awk: Remove.
7626 * sysdeps/generic/libcidn.abilist: New file.
7627 * sysdeps/generic/libnss_compat.abilist: New file.
7628 * sysdeps/generic/libnss_db.abilist: New file.
7629 * sysdeps/generic/libnss_dns.abilist: New file.
7630 * sysdeps/generic/libnss_files.abilist: New file.
7631 * sysdeps/generic/libnss_hesiod.abilist: New file.
7632 * sysdeps/generic/libnss_nis.abilist: New file.
7633 * sysdeps/generic/libnss_nisplus.abilist: New file.
7634 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7635 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7636 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7639 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7640 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7641 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7642 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7643 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7644 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7645 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7646 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7648 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7649 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7650 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7651 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7653 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7654 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7655 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7656 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7657 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7658 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7660 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7661 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7662 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7767 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7768 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7769 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7772 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7773 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7774 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7775 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7776 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7777 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7778 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7779 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7780 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7832 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7834 * conform/conformtest.pl: Fix typo in handling typed-constant from
7837 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7839 * README: Cut down references to pre-2.6 Linux kernels and
7840 Linuxthreads. Update lists of configurations in libc and ports
7841 and sort alphabetically. Say "or newer" with Linux kernel version
7844 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7846 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7849 * math/libm-test.inc (logb_test_downward): New test to expose
7850 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7853 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7856 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7858 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7859 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7861 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7863 * sysdeps/unix/i386/brk.S: Remove file.
7864 * sysdeps/unix/i386/dl-brk.S: Likewise.
7865 * sysdeps/unix/i386/pipe.S: Likewise.
7866 * sysdeps/unix/i386/sigreturn.S: Likewise.
7867 * sysdeps/unix/i386/syscall.S: Likewise.
7868 * sysdeps/unix/i386/vfork.S: Likewise.
7869 * sysdeps/unix/i386/wait.S: Likewise.
7871 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7872 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7874 * configure.in (arm*-none*): Do not allow without
7875 --enable-hacker-mode.
7876 (netbsd*): Remove case setting base_os.
7877 (386bsd*): Likewise.
7878 (freebsd*): Likewise.
7882 (ultrix*): Likewise.
7883 (newsos*): Likewise.
7893 (solaris[2-9]*): Likewise.
7895 * configure: Regenerated.
7897 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7901 overflow or cancellation in calculating denominator.
7902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7904 down expression to avoid unexpected rounding in newer GCCs.
7905 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7907 2012-04-26 David S. Miller <davem@davemloft.net>
7909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7910 long-double compat symbols.
7911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7925 2012-04-25 David S. Miller <davem@davemloft.net>
7927 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7928 HWCAP_* values only after the memory barriers have been defined.
7929 (atomic_full_barrier): Define.
7930 (atomic_read_barrier): Define.
7931 (atomic_write_barrier): Define.
7933 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7935 * shlib-versions: Add libgcc_s version information.
7936 * sysdeps/generic/libgcc_s.h: Remove.
7937 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7939 * sysdeps/gnu/unwind-resume.c: Likewise.
7940 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7942 2012-04-25 David S. Miller <davem@davemloft.net>
7944 * sysdeps/unix/sparc/brk.S: Delete.
7945 * sysdeps/unix/sparc/dl-brk.S: Delete.
7946 * sysdeps/unix/sparc/pipe.S: Delete.
7947 * sysdeps/unix/sparc/sysdep.S: Delete.
7948 * sysdeps/unix/sparc/sysdep.h: Delete.
7949 * sysdeps/unix/sparc/vfork.S: Delete.
7950 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7951 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7953 ret_ERRVAL, r0, r1, MOVE): Define.
7954 (JUMPTARGET): Remove.
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7956 sysdeps/unix/sparc/sysdep.h
7957 (ENTRY, END): Remove.
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7960 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7962 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7963 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7966 * timezone/README: Update upstream location and email address for
7968 * timezone/zdump.c: Update from tzcode 2012b.
7969 * timezone/zic.c: Likewise.
7971 * configure.in (libc_cv_as_needed): Remove test.
7972 * configure: Regenerated.
7973 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7974 conditional definition.
7975 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7976 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7977 * config.make.in (have-as-needed): Remove variable.
7979 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7980 Paul Pluzhnikov <ppluzhnikov@google.com>
7982 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7985 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7987 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7988 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7989 * sysdeps/sh/strlen.S: Likewise.
7991 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/unix/fork.S: Remove file.
7994 * sysdeps/unix/i386/fork.S: Likewise.
7995 * sysdeps/unix/sparc/fork.S: Likewise.
7997 * sysdeps/unix/system.c: Remove file.
7998 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8000 * sysdeps/unix/getegid.S: Remove file.
8001 * sysdeps/unix/geteuid.S: Likewise.
8003 2012-04-24 Roland McGrath <roland@hack.frob.com>
8005 * scripts/check-localplt.awk: New file.
8006 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8008 * scripts/data/localplt-generic.data: Add a comment.
8010 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8011 NODE when __dir_mkfile failed.
8012 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8013 Reported by Ludovic Courtès <ludo@gnu.org>.
8015 2012-04-24 Andreas Jaeger <aj@suse.de>
8017 * Makerules (common-clean): Also remove gen-as-const-headers
8020 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8022 * Makerules (native-compile): Do not change working directory for
8023 build. Use $(OUTPUT_OPTION) in command.
8024 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8026 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8029 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8030 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8031 * math/libm-test.inc (floor_test): Add more tests.
8032 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8034 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/getdents.c: Remove file.
8037 * sysdeps/unix/sysv/getdents.c: Likewise.
8038 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8040 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8041 sysdeps/unix/mman/syscalls.list.
8043 (mprotect): Likewise.
8046 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8047 * sysdeps/unix/mman/syscalls.list: Remove.
8048 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8050 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8051 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8052 * configure: Regenerated.
8053 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8055 * config.make.in (libgcc_s_suffix): Remove variable.
8057 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8059 * sysdeps/unix/sysv/gethostname.c: Move to ...
8060 * sysdeps/posix/gethostname.c: ... here.
8062 * sysdeps/unix/execve.S: Remove file.
8064 * sysdeps/unix/_exit.S: Remove file.
8066 2012-04-23 Andreas Jaeger <aj@suse.de>
8069 * manual/Makefile: Remove make dist support, there's no
8070 need for a stand-alone documentation tar ball.
8071 (TEXI2DVI): Define always, it's not in Makeconfig.
8075 (glibc-doc-$(edition).tar): Removed
8079 (ETAGS): Remove, it's in Makeconfig.
8080 (move-if-change): Remove, it's in Makeconfig.
8082 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8085 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8086 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8087 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8088 (strtod_l, strtof_l, strtold_l): Remove __wur.
8089 It is not necessarily an error to ignore strtol's return value.
8090 One can reliably look at the stored endptr to decide whether
8091 the number had valid syntax.
8093 2012-04-21 Andreas Jaeger <aj@suse.de>
8096 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8098 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8100 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8101 * sysdeps/unix/sysv/Versions: Remove file.
8103 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8108 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8112 version from __vm86.
8114 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8116 * sysdeps/unix/common/lxstat.c: Remove file.
8117 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8119 * sysdeps/unix/sysv/Makefile: Remove file.
8121 * sysdeps/unix/sysv/direct.h: Remove file.
8123 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8124 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8125 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8126 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8127 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8128 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8129 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8131 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8133 * sysdeps/unix/xmknod.c: Remove file.
8134 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8136 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8138 * sysdeps/unix/sysv/i386/time.S: Remove file.
8140 * sysdeps/unix/fxstat.c: Remove file.
8141 * sysdeps/unix/xstat.c: Likewise.
8142 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8144 * sysdeps/unix/sysv/sigaction.c: Remove file.
8146 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8147 (sysdep_headers): Remove variable.
8148 [termio.h not in sysdep_headers] (generated): Likewise.
8149 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8150 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8151 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8152 * sysdeps/unix/sysv/tcflow.c: Likewise.
8153 * sysdeps/unix/sysv/tcflush.c: Likewise.
8154 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8155 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8156 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8157 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8158 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8160 * sysdeps/unix/siglist.c: Remove file.
8162 * sysdeps/unix/getppid.S: Remove file.
8164 * sysdeps/unix/mkdir.c: Remove file.
8165 * sysdeps/unix/rmdir.c: Likewise.
8167 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8169 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8171 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8172 errlist-compat value.
8174 2012-04-18 David S. Miller <davem@davemloft.net>
8176 * sysdeps/generic/memcopy.h (reg_char): Delete.
8177 * debug/strcat_chk.c: Use char, not reg_char.
8178 * debug/strcpy_chk.c: Likewise.
8179 * debug/strncat_chk.c: Likewise.
8180 * debug/strncpy_chk.c: Likewise.
8181 * string/memchr.c: Likewise.
8182 * string/memrchr.c: Likewise.
8183 * string/rawmemchr.c: Likewise.
8184 * string/strcat.c: Likewise.
8185 * string/strchr.c: Likewise.
8186 * string/strchrnul.c: Likewise.
8187 * string/strcmp.c: Likewise.
8188 * string/strcpy.c: Likewise.
8189 * string/strncat.c: Likewise.
8190 * string/strncmp.c: Likewise.
8191 * string/strncpy.c: Likewise.
8193 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8195 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8196 __builtin_memcopy is called when src and dest ranges are known to not
8199 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8202 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8203 fwd_align_merge macro call.
8204 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8205 bwd_align_merge macro call.
8206 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8208 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8210 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8211 bwd_align_merge macros.
8212 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8213 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8214 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8216 2012-04-18 David S. Miller <davem@davemloft.net>
8218 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8220 2012-04-18 Andreas Jaeger <aj@suse.de>
8223 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8224 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8225 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8228 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8229 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8231 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8232 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8233 Adjust for changed ldbl-128 files.
8235 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8236 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8237 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8239 2012-04-17 David S. Miller <davem@davemloft.net>
8241 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8243 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8245 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8246 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8247 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8248 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8249 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8250 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8252 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8255 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8256 * math/libm-test.inc: Add ilogb errno and exception tests.
8257 * math/w_ilogb.c: New file: ilogb wrapper.
8258 * math/w_ilogbf.c: New file: ilogbf wrapper.
8259 * math/w_ilogbl.c: New file: ilogbl wrapper.
8260 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8261 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8262 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8263 exception being thrown with 0.0 as argument.
8264 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8265 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8266 exception being thrown with 0.0 as argument.
8267 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8268 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8269 exception being thrown with 0.0 as argument.
8270 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8271 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8272 exception being thrown with 0.0 as argument.
8273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8274 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8276 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8277 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8278 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8279 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8280 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8281 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8283 2012-04-17 Petr Baudis <pasky@ucw.cz>
8285 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8288 2012-04-16 Marek Polacek <polacek@redhat.com>
8290 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8292 2012-04-16 Marek Polacek <polacek@redhat.com>
8294 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8295 operands of fdivp instruction.
8297 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8299 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8300 * elf/tst-auditmod3b.c: Likewise.
8301 * elf/tst-auditmod4b.c: Likewise.
8302 * elf/tst-auditmod5b.c: Likewise.
8303 * elf/tst-auditmod6b.c: Likewise.
8304 * elf/tst-auditmod6c.c: Likewise.
8305 * elf/tst-auditmod7b.c: Likewise.
8306 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8307 * sysdeps/x86_64/preconfigure.in: Likewise.
8308 * sysdeps/x86_64/preconfigure: Regenerated.
8310 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8312 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8315 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8318 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8320 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8323 * locale/iso-639.def: Fix gl language name. Spotted by
8326 2012-04-12 Roland McGrath <roland@hack.frob.com>
8329 * libio/libio.h (__io_write_fn): Update comment.
8331 2012-04-12 Petr Baudis <pasky@ucw.cz>
8334 * stdio.texi (Hook Functions): The user provided writer function
8335 is not allowed to return -1.
8337 2012-04-11 David S. Miller <davem@davemloft.net>
8339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8341 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8343 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8344 Add a leading slash to rtkaio.
8346 2012-04-11 Jim Meyering <meyering@redhat.com>
8349 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8350 It is not necessarily an error to ignore fwrite's return
8351 value. One can reliably use ferror to test for errors after
8354 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8356 * bits/types.h (__snseconds_t): New type.
8357 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8359 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8361 (__SNSECONDS_T_TYPE): Likewise.
8362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8363 (__SNSECONDS_T_TYPE): Likewise.
8364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8365 (__SNSECONDS_T_TYPE): Likewise.
8367 2012-04-10 Andreas Jaeger <aj@suse.de>
8370 * manual/time.texi (Processor Time): Return type of times is
8371 elapsed real time since an arbitrary point in the past.
8372 (CPU Time): Move CLK_TCK from here...
8373 (Processor Time): ...to here. Correct description.
8374 * manual/conf.texi (Constants for Sysconf): Correct description of
8377 2012-04-10 David S. Miller <davem@davemloft.net>
8380 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8381 where the is a gap between DT_REL(A) and DT_JMPREL.
8383 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8385 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8386 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8387 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8389 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8391 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8392 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8393 (dl_main): Handle --inhibit-cache.
8394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8396 * elf/dl-load.c (_dl_map_object): Use it.
8397 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8399 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8402 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8403 (__ieee754_powl): Saturate large exponents rather than testing for
8404 overflow of y*log2(x).
8405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8406 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8410 * math/s_ctan.c: Include <float.h>.
8411 (__ctan): Avoid internal overflow or cancellation in calculating
8413 * math/s_ctanf.c: Likewise.
8414 * math/s_ctanl.c: Likewise.
8415 * math/s_ctanh.c: Likewise.
8416 * math/s_ctanhf.c: Likewise.
8417 * math/s_ctanhl.c: Likewise.
8418 * math/libm-test.inc (ctan_test): Add more tests.
8419 (ctanh_test): Likewise.
8420 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8423 2012-04-09 Andreas Jaeger <aj@suse.de>
8426 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8427 is an optional BSD extension.
8430 * manual/stdio.texi (Opening Streams): Document additional fopen
8433 2012-04-09 Roland McGrath <roland@hack.frob.com>
8435 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8436 %eax without telling the compiler.
8438 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8441 * manual/install.texi: Use sourceware.org.
8443 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8446 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8447 (__ieee754_pow): Generate overflow and underflow using huge*huge
8448 and tiny*tiny rather than just returning constant infinity or zero
8449 for large exponents.
8450 * math/libm-test.inc (pow_test): Require overflow exceptions for
8451 applicable cases of large exponents.
8454 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8455 (__ieee754_pow): Use iterative multiplication algorithm only for
8456 integer exponents with absolute value below 1024. Check for odd
8457 integer exponents when using algorithm for real exponents.
8458 * math/libm-test.inc (pow_test): Add more tests.
8459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8461 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8464 * math/libm-test.inc (exp_test): Do not allow overflow exception
8467 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8470 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8471 instead of __kernel_standard_f.
8473 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8475 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8476 * sysdeps/x86_64/memset_chk.S: Likewise.
8478 2012-04-08 Andreas Jaeger <aj@suse.de>
8481 * manual/startup.texi (Environment Access): Describe return value
8482 for putenv and setenv.
8485 * manual/filesys.texi (Directory Entries): Add description for
8489 * manual/filesys.texi (Directory Entries): Clarify that it's file
8490 system not operating system in the description of DT_UNKNOWN.
8493 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8495 2012-04-08 Stephen Compall <s11@member.fsf.org>
8498 * manual/llio.texi (Opening and Closing Files): Add cross
8499 reference to explain mode argument.
8501 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8503 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8504 * sysdeps/x86_64/memset_chk.S: Likewise.
8506 2012-04-07 David S. Miller <davem@davemloft.net>
8508 * elf/elf.h (R_SPARC_WDISP10): Define.
8509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8512 R_SPARC_SIZE64 and R_SPARC_H34.
8514 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8516 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8517 conditions and remove no longer applicable assertion.
8519 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8521 * bits/byteswap.h: Include <features.h>.
8522 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8523 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8525 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8527 * bits/byteswap.h (__bswap_16): Removed.
8528 Include <bits/byteswap-16.h> to get __bswap_16.
8529 * sysdeps/i386/bits/byteswap.h: Likewise.
8530 * sysdeps/s390/bits/byteswap.h: Likewise.
8531 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8532 * bits/byteswap-16.h: New file.
8533 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8534 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8535 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8536 * string/Makefile (headers): Add bits/byteswap-16.h.
8538 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8541 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8543 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8544 * nss/tst-nss-static.c: New.
8546 2012-04-06 Robert Millan <rmh@gnu.org>
8549 * manual/llio.texi (File Position Primitive): lseek
8550 refers to WHENCE when it really means OFFSET.
8552 2012-04-06 Andreas Jaeger <aj@suse.de>
8554 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8555 strncmp declarations.
8557 * abilist/libc.abilist: Add __poll and __ppoll.
8559 2012-04-05 David S. Miller <davem@davemloft.net>
8561 * scripts/check-local-headers.sh: Accept a host triplet in the
8562 path matched by the exclude regexp.
8564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8566 * sysdeps/powerpc/powerpc32/dl-machine.h
8567 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8568 * sysdeps/s390/s390-32/dl-machine.h
8569 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8570 * sysdeps/sparc/sparc32/dl-machine.h
8571 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8572 * sysdeps/sparc/sparc64/dl-machine.h
8573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8575 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8577 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8578 undefined symbol errors.
8580 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8583 2012-04-05 Michael Matz <matz@suse.de>
8586 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8588 2012-04-05 Andreas Jaeger <aj@suse.de>
8591 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8594 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8597 which ROUND is no valid rounding mode.
8599 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8603 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8605 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8607 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8608 an exception using FPU order intentionally.
8610 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8612 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8613 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8614 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8615 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8617 2012-04-05 Simon Josefsson <simon@josefsson.org>
8620 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8621 EINVAL when BUFLEN is too smal.
8623 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8626 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8627 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8629 2012-04-03 Andreas Jaeger <aj@suse.de>
8632 * manual/setjmp.texi (System V contexts): Fix sentence.
8635 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8636 New macro for this case.
8637 [!__GNUC__] (__bswap_64): New inline function for this case.
8638 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8639 * bits/byteswap.h: Likewise.
8640 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8641 ull, guard with __GLIBC_HAVE_LONG_LONG.
8643 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8644 __GLIBC_HAVE_LONG_LONG.
8646 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8647 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8649 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8653 inptr and inend, rather than using last_ch.
8655 2012-04-02 David S. Miller <davem@davemloft.net>
8657 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8658 * stdio-common/printf-parse.h (read_int): Change return type to
8659 'int', return -1 on INT_MAX overflow.
8660 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8661 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8662 overflows INT_MAX. Check for overflow of in-format-string precision
8663 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8664 SIZE_MAX not INT_MAX for integer overflow test.
8665 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8666 skip the construct in the format string but do not record anything.
8667 * stdio-common/bug22.c: Adjust to test both width/prevision
8668 INT_MAX overflow as well as total length INT_MAX overflow. Check
8669 explicitly for proper errno values.
8671 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8673 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8675 * string/test-strcmp.c [! WIDE]: Likewise.
8676 * time/tst-mktime2.c: Likewise for INT_MAX.
8677 * string/test-string.h: #include <sys/param.h> for MIN.
8679 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8680 * sysdeps/i386/init-first.c (init): Likewise.
8681 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8682 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8683 * sysdeps/sh/init-first.c (init): Likewise.
8685 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8687 * po/ru.po: Update from translation team.
8688 * po/vi.po: Likewise.
8690 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8692 * resolv/nss_dns/dns-host.c: Merge copyright years.
8694 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8697 Optimize memcpy with prefetch if
8698 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8699 src, dst pointers have unequal 16 byte alignments.
8701 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8704 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8705 from a CNAME entry and return the minimum ttl for the query.
8706 (gaih_getanswer_slice): Likewise.
8708 2012-03-30 Jeff Law <law@redhat.com>
8710 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8712 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8713 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8715 * resolv/nss_dns/dns-host.c: Update copyright year.
8717 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8719 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8720 requests to save a system call. Fix check that all bytes are sent.
8722 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8723 comments for sendmmsg.
8725 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8729 with only 1 character between 0x0041 and 0x01b0.
8730 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8731 * wcsmbs/tst-mbsnrtowcs.c: New file.
8733 2012-03-29 David S. Miller <davem@davemloft.net>
8735 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8736 small copies by hand.
8738 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8741 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8742 _nss_compat_initgroups_dyn): Fall back to malloc/free
8743 for large group memberships.
8745 2012-03-28 David S. Miller <davem@davemloft.net>
8747 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8748 that branches into memcpy.
8749 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8751 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8752 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8755 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8757 * sysdeps/sparc/mempcpy.S: New file.
8759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8760 the IFUNC routine in the libc case.
8761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8763 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8764 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8765 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8766 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8767 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8768 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8769 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8770 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8772 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8773 loop to 256 bytes instead of 64 bytes and fix test signedness.
8775 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8776 * sysdeps/sparc/sparc32/Makefile: rather than here...
8777 * sysdeps/sparc/sparc64/Makefile: and here.
8779 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8781 * malloc/mallocbug.c: Avoid warnings about unused variables.
8783 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8786 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8787 in the right place. Discard and retry query if response is
8788 larger than input buffer size.
8790 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8795 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8796 x for large integer exponent.
8797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8798 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8799 sign of result as needed afterwards.
8800 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8801 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8802 result for underflowing pow the same as for overflow.
8803 (__kernel_standard_l): Handle powl overflow and underflow here
8804 rather than calling __kernel_standard.
8805 * math/libm-test.inc (pow_test): Add more tests.
8820 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8821 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8822 (__kernel_standard_l): New function.
8823 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8825 * math/w_acosl.c (__acosl): Likewise.
8826 * math/w_asinl.c (__asinl): Likewise.
8827 * math/w_atan2l.c (__atan2l): Likewise.
8828 * math/w_atanhl.c (__atanhl): Likewise.
8829 * math/w_coshl.c (__coshl): Likewise.
8830 * math/w_exp10l.c (__exp10l): Likewise.
8831 * math/w_exp2l.c (__exp2l): Likewise.
8832 * math/w_fmodl.c (__fmodl): Likewise.
8833 * math/w_hypotl.c (__hypotl): Likewise.
8834 * math/w_j0l.c (__j0l, __y0l): Likewise.
8835 * math/w_j1l.c (__j1l, __y1l): Likewise.
8836 * math/w_jnl.c (__jnl, __ynl): Likewise.
8837 * math/w_lgammal.c (__lgammal): Likewise.
8838 * math/w_log10l.c (__log10l): Likewise.
8839 * math/w_log2l.c (__log2l): Likewise.
8840 * math/w_logl.c (__logl): Likewise.
8841 * math/w_powl.c (__powl): Likewise.
8842 * math/w_remainderl.c (__remainderl): Likewise.
8843 * math/w_scalbl.c (sysv_scalbl): Likewise.
8844 * math/w_sinhl.c (__sinhl): Likewise.
8845 * math/w_sqrtl.c (__sqrtl): Likewise.
8846 * math/w_tgammal.c (__tgammal): Likewise.
8847 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8848 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8849 * math/libm-test.inc (acos_test): Add more tests.
8850 (acosh_test): Likewise.
8851 (asin_test): Likewise.
8852 (atanh_test): Likewise.
8853 (exp_test): Likewise.
8854 (exp10_test): Likewise.
8855 (exp2_test): Likewise.
8856 (expm1_test): Likewise.
8857 (lgamma_test): Likewise.
8858 (log_test): Likewise.
8859 (log10_test): Likewise.
8860 (log1p_test): Likewise.
8861 (log2_test): Likewise.
8862 (pow_test): Do not allow some spurious overflow exceptions.
8863 (sqrt_test): Add more tests.
8864 (tgamma_test): Likewise.
8865 (y0_test): Likewise.
8866 (y1_test): Likewise.
8867 (yn_test): Likewise.
8869 2012-03-27 Anton Blanchard <anton@samba.org>
8871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8873 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8874 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8875 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8877 2012-03-27 David S. Miller <davem@davemloft.net>
8879 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8881 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8884 2012-03-27 Andreas Jaeger <aj@suse.de>
8886 * sysdeps/x86_64/elf/configure.in: Moved to ...
8887 * sysdeps/x86_64/configure.in: ... here.
8888 * sysdeps/x86_64/elf/start.S: Moved to ...
8889 * sysdeps/x86_64/start.S: ... here.
8890 * sysdeps/x86_64/elf/configure: Delete.
8892 * sysdeps/x86_64/configure.in: Merge contents from
8893 sysdeps/i386/configure.in (without i686 check).
8895 * sysdeps/i386/elf/Versions: Merge into ...
8896 * sysdeps/i386/Versions: ... this.
8897 * sysdeps/i386/elf/Versions: Delete file.
8898 * sysdeps/i386/elf/start.S: Moved to ...
8899 * sysdeps/i386/start.S: ...here.
8900 * sysdeps/i386/elf/configure.in: Merge into...
8901 * sysdeps/i386/configure.in: ...here.
8902 * sysdeps/i386/elf/configure.in: Delete file.
8903 * sysdeps/i386/elf/configure: Delete file.
8905 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8906 * debug/backtracesyms.c: ... here.
8907 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8908 * debug/backtracesymsfd.c: ... here.
8909 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8910 * sysdeps/generic/ifunc-sel.h: ... here.
8912 * sysdeps/unix/i386/start.c: Delete file.
8913 * sysdeps/unix/sparc/start.c: Delete file.
8914 * sysdeps/unix/start.c: Delete file.
8916 * sysdeps/sh/elf/configure.in: Moved to ...
8917 * sysdeps/sh/configure.in: ... here.
8918 * sysdeps/sh/elf/start.S: Moved to ...
8919 * sysdeps/sh/start.S: ... here.
8920 * sysdeps/sh/elf/configure: Delete file.
8922 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8923 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8924 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8925 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8926 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8927 * sysdeps/powerpc/powerpc64/start.S: here.
8928 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8929 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8930 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8931 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8932 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8934 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8935 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8936 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8937 * sysdeps/powerpc/powerpc32/start.S: ... here.
8938 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8939 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8940 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8942 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8943 * sysdeps/powerpc/ifunc-sel.h: ... here.
8944 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8945 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8947 * sysdeps/sparc/elf/configure.in: Moved to ...
8948 * sysdeps/sparc/configure.in: ... here.
8949 * sysdeps/sparc/elf/configure: Delete file.
8950 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8951 * sysdeps/sparc/sparc32/start.S: ... here.
8952 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8953 * sysdeps/sparc/sparc64/start.S: ... here.
8954 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8955 * sysdeps/sparc/sparc32/Makefile: ... this.
8956 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8957 * sysdeps/sparc/sparc64/Makefile: ... this.
8959 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8960 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8961 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8962 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8963 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8964 * sysdeps/s390/s390-32/setjmp.S: ... here.
8965 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8966 * sysdeps/s390/s390-32/configure.in: ... here.
8967 * sysdeps/s390/s390-32/elf/configure: Delete file.
8968 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8969 * sysdeps/s390/s390-32/start.S: ... here.
8971 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8972 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8973 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8974 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8975 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8976 * sysdeps/s390/s390-64/setjmp.S: ... here.
8977 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8978 * sysdeps/s390/s390-64/configure.in: ... here
8979 * sysdeps/s390/s390-64/elf/configure: Delete file.
8980 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8981 * sysdeps/s390/s390-64/start.S: ... here.
8982 * sysdeps/s390/s390-64/elf/configure: Delete.
8984 * configure.in: Remove support for elf directories in sysdeps.
8986 * configure: Regenerated.
8987 * sysdeps/i386/configure: Regenerated.
8988 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8989 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8990 * sysdeps/s390/s390-32/configure: Regenerated.
8991 * sysdeps/s390/s390-64/configure: Regenerated.
8992 * sysdeps/sh/configure: Regenerated.
8993 * sysdeps/sparc/configure: Regenerated.
8994 * sysdeps/x86_64/configure: Regenerated.
8996 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9001 denormal result into account.
9003 2012-03-25 Roland McGrath <roland@hack.frob.com>
9005 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9006 Reported by Allan McRae <allan@archlinux.org>.
9008 2012-03-23 Jeff Law <law@redhat.com>
9010 * nss/getnssent.c (__nss_getent): Fix typo.
9012 2012-03-23 David S. Miller <davem@davemloft.net>
9014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9016 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9018 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9019 to pad to uint64_t for each field.
9020 (dl_tls_index): Replace unsigned long with uint64_t.
9022 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9023 Paul Pluzhnikov <ppluzhnikov@google.com>
9026 * grp/Makefile (otherlibs): Don't set it.
9027 * inet/Makefile (otherlibs): Likewise.
9028 * login/Makefile (otherlibs): Likewise.
9029 * nscd/Makefile (otherlibs): Likewise.
9030 * posix/Makefile (otherlibs): Likewise.
9031 * pwd/Makefile (otherlibs): Likewise.
9032 * rt/Makefile (otherlibs): Likewise.
9033 * sunrpc/Makefile (otherlibs): Likewise.
9034 * nss/Makefile (otherlibs): Likewise.
9035 Add libnss_files to routines and static-only-routines.
9036 ($(objpfx)getent): Remove rule.
9037 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9038 static-only-routines.
9040 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9043 * math/s_cexp.c: Include <float.h>.
9044 (__cexp): Handle exp result overflowing not necessarily
9045 overflowing both real and imaginary parts of result.
9046 * math/s_cexpf.c: Likewise.
9047 * math/s_cexpl.c: Likewise.
9048 * math/libm-test.inc (cexp_test): Add more tests.
9049 * sysdeps/i386/fpu/libm-test-ulps: Update.
9050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9052 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9054 * include/link.h (ELFW): New macro.
9055 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9056 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9058 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9060 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9063 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9065 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9067 (struct La_x32_retval): Likewise.
9069 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9071 * sysdeps/x86_64/preconfigure.in: New file.
9072 * sysdeps/x86_64/preconfigure: New generated file.
9074 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9077 * math/e_exp2l.c: Include <float.h>.
9078 (__ieee754_exp2l): Handle overflow and underflow cases
9079 separately. Only pass fractional part of argument to
9081 * math/libm-test.inc (exp2_test): Add more tests.
9083 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9084 negating x to take absolute value.
9085 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9090 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9091 computing low part if x was negated.
9092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9094 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9096 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9098 (pltexit): Cast int_retval to ptrdiff_t.
9099 * elf/tst-auditmod3b.c: Likewise.
9100 * elf/tst-auditmod4b.c: Likewise.
9101 * elf/tst-auditmod5b.c: Likewise.
9102 * elf/tst-auditmod6b.c: Likewise.
9103 * elf/tst-auditmod6c.c: Likewise.
9104 * elf/tst-auditmod7b.c: Likewise.
9106 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9107 and x32_gnu_pltexit.
9109 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9111 (La_x32_regs): New macro.
9112 (La_x32_retval): Likewise.
9113 (la_x32_gnu_pltenter): New function prototype.
9114 (la_x32_gnu_pltexit): Likewise.
9116 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9123 * configure.in (libc_cv_cc_nofma): Check for option to disable
9124 generation of FMA instructions.
9125 * configure: Regenerate.
9126 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9127 * sysdeps/ieee754/dbl-64/Makefile: New file.
9128 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9129 Remove brandred-fma4.
9130 (CFLAGS-brandred-fma4.c): Remove.
9131 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9132 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9137 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9139 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9140 LLONG_MAX != LONG_MAX.
9141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9142 (_fitoa_word): Likewise.
9143 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9144 LLONG_MAX != LONG_MAX.
9145 * stdio-common/_itowa.h: Include <_itoa.h>.
9146 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9147 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9148 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9149 only if not defined.
9150 (_ITOA_WORD_TYPE): Likewise.
9151 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9152 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9154 2012-03-21 David S. Miller <davem@davemloft.net>
9156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9158 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9160 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9161 of x86_64 when setting libc_cv_slibdir, libdir and
9163 * sysdeps/unix/sysv/linux/configure: Regenerated.
9165 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9167 * manual/lang.texi (Old Varargs): Remove section.
9168 (How Variadic): Update menu.
9169 (va_start): Do not mention varargs.h.
9171 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9172 Joseph Myers <joseph@codesourcery.com>
9174 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9176 * configure: Regenerated.
9178 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9180 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9181 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9184 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9187 * Makefile (files-for-dist): Remove NOTES.
9188 (NOTES): Remove rule.
9189 * README: Don't refer to NOTES.
9190 * manual/creature.texi: Don't include macros.texi.
9191 * manual/intro.texi (creature.texi): Remove comment referring to
9194 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9195 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9196 * configure: Regenerated.
9197 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9199 (libc_cv_as_i686): Likewise.
9200 (libc_cv_cc_avx): Likewise.
9201 (libc_cv_cc_sse2avx): Likewise.
9202 (libc_cv_cc_fma4): Likewise.
9203 (libc_cv_cc_novzeroupper): Likewise.
9204 * sysdeps/i386/configure: Regenerated.
9207 * sysdeps/i386/fpu/s_cexp.S: Remove.
9208 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9209 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9210 * math/libm-test.inc (cexp_test): Add more tests.
9211 * sysdeps/i386/fpu/libm-test-ulps: Update.
9212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9214 2012-03-21 Allan McRae <allan@archlinux.org>
9216 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9218 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9221 * math/w_exp2.c: Do not include <float.h>.
9222 (o_threshold, u_threshold): Remove.
9223 (__exp2): Calculate result before checking finiteness and calling
9225 * math/w_exp2f.c: Likewise.
9226 * math/w_exp2l.c: Likewise.
9227 * math/libm-test.inc (exp2_test): Require overflow exception for
9231 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9232 range of signed 64-bit integers before using fistpll. Remove
9233 checks for whether integers fit in mantissa bits.
9234 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9235 the range of signed 32-bit integers before using fistpl. Remove
9236 checks for whether integers fit in mantissa bits.
9237 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9238 (__ieee754_powl): Test for y outside the range of signed 64-bit
9239 integers before using fistpll. Reduce 64-bit values to 63-bit
9241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9242 divide-by-zero is raised for zero to large negative powers.
9243 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9244 (__ieee754_powl): Test for y outside the range of signed 64-bit
9245 integers before using fistpll. Reduce 64-bit values to 63-bit
9247 * math/libm-test.inc (pow_test): Add more tests.
9249 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9251 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9252 <stdio-common/_itoa.h>.
9253 * debug/segfault.c: Likewise.
9254 * elf/dl-cache.c: Likewise.
9255 * elf/dl-minimal.c: Likewise.
9256 * elf/dl-misc.c: Likewise.
9257 * elf/dl-sysdep.c: Likewise.
9258 * elf/dl-version.c: Likewise.
9259 * elf/rtld.c: Likewise.
9260 * hurd/hurdsock.c: Likewise.
9261 * hurd/lookup-retry.c: Likewise.
9262 * malloc/malloc.c: Likewise.
9263 * malloc/mtrace.c: Likewise.
9264 * nscd/nscd_getgr_r.c: Likewise.
9265 * nscd/nscd_getpw_r.c: Likewise.
9266 * nscd/nscd_getserv_r.c: Likewise.
9267 * posix/getopt_init.c: Likewise.
9268 * posix/wordexp.c: Likewise.
9269 * stdio-common/_itoa.c: Likewise.
9270 * stdio-common/printf_fphex.c: Likewise.
9271 * stdio-common/vfprintf.c: Likewise.
9272 * string/_strerror.c: Likewise.
9273 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9274 * sysdeps/i386/i686/hp-timing.h: Likewise.
9275 * sysdeps/mach/_strerror.c: Likewise.
9276 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9277 * sysdeps/mach/hurd/sethostid.c: Likewise.
9278 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9279 * sysdeps/mach/xpg-strerror.c: Likewise.
9280 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9281 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9282 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9283 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9284 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9285 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9286 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9287 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9288 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9289 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9290 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9291 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9292 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9294 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9296 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9298 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9299 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9300 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9302 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9304 * stdio-common/_itoa.h: Moved to ...
9305 * sysdeps/generic/_itoa.h: Here.
9307 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9309 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9310 instead of "_itoa.h" and "_itowa.h".
9311 * stdio-common/vfprintf.: Likewise.
9313 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9315 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9317 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9318 (__signbit): Likwise.
9322 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9324 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9327 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9329 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9330 OVERFLOW_EXCEPTION_OK.
9331 * math/libm-test.inc ("Philosophy"): Update comment about
9333 (OVERFLOW_EXCEPTION): Define.
9334 (OVERFLOW_EXCEPTION_OK): Likewise.
9335 (INVALID_EXCEPTION_OK): Renumber.
9336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9337 (IGNORE_ZERO_INF_SIGN): Likewise.
9338 (test_exceptions): Handle FE_OVERFLOW.
9339 (exp10_test): Expect overflow exceptions.
9340 (exp2_test): Likewise.
9341 (expm1_test): Likewise.
9342 (nextafter_test): Likewise.
9343 (pow_test): Likewise.
9344 (scalbn_test): Likewise.
9345 (scalbln_test): Likewise.
9347 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9349 * sysdeps/x86_64/bits/atomic.h
9350 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9352 (atomic_exchange_acq): Likewise.
9353 (__arch_exchange_and_add_body): Likewise.
9354 (__arch_add_body): Likewise.
9355 (atomic_add_negative): Likewise.
9356 (atomic_add_zero): Likewise.
9358 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9360 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9361 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9363 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9365 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9366 Check __x86_64__ instead of __WORDSIZE.
9368 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9370 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9372 2012-03-19 David S. Miller <davem@davemloft.net>
9374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9376 * sysdeps/sparc/fpu/fenv_private.h: New file.
9377 * sysdeps/sparc/fpu/math_private.h: Use it.
9378 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9380 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9381 (libc_feholdexcept_setroundl): Remove.
9382 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9384 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9385 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9387 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9389 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9390 int64_t instead of long int.
9391 (INSERT_WORDS64): Likwise.
9393 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9395 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9396 _Unwind_GetCFA return to _Unwind_Ptr first.
9398 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9401 * math/s_clog.c: Include <float.h>.
9402 (__clog): Scale large or subnormal inputs.
9403 * math/s_clogf.c: Likewise.
9404 * math/s_clogl.c: Likewise.
9405 * math/s_clog10.c: Include <float.h>.
9406 (M_LOG10_2): Define.
9407 (__clog10): Scale large or subnormal inputs.
9408 * math/s_clog10f.c: Likewise.
9409 * math/s_clog10l.c: Likewise.
9410 * math/libm-test.inc (clog_test): Add more tests.
9411 (clog10_test): Likewise.
9412 * sysdeps/i386/fpu/libm-test-ulps: Update.
9413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9416 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9418 * math/libm-test.inc (atan2_test): Add another test.
9420 * Makerules (common-objdir-compile): Remove.
9421 * sysdeps/unix/Makefile (config-generated): Do not add
9422 $(unix-generated) to variable.
9423 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9424 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9426 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9428 [generic bits/local_lim.h] (before-compile): Do not append to
9430 [generic bits/local_lim.h] (common-generated): Likewise.
9431 [generic sys/param.h] (before-compile): Do not append to variable.
9432 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9433 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9434 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9435 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9437 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9438 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9439 [generic sys/param.h] ($(addprefix
9440 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9441 [generic sys/param.h] (common-generated): Do not append to
9443 [generic sys/param.h] (sysdep_headers): Likewise.
9444 [generic bits/errno.h] (before-compile): Do not append to
9446 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9448 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9449 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9450 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9451 [generic bits/errno.h] (common-generated): Do not append to
9453 [generic bits/ioctls.h] (before-compile): Do not append to
9455 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9457 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9458 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9459 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9461 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9462 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9463 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9464 [generic bits/ioctls.h] (common-generated): Do not append to
9466 [generic sys/syscall.h] (syscall.h): Remove variable.
9467 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9469 [generic sys/syscall.h] (before-compile): Do not append to
9471 [generic sys/syscall.h] (common-generated): Likewise.
9472 * sysdeps/unix/errnos-tmpl.c: Remove file.
9473 * sysdeps/unix/errnos.awk: Likewise.
9474 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9475 * sysdeps/unix/ioctls.awk: Likewise.
9476 * sysdeps/unix/mk-local_lim.c: Likewise.
9477 * sysdeps/unix/snarf-ioctls: Likewise.
9479 2012-03-19 Richard Henderson <rth@twiddle.net>
9481 * sysdeps/i386/fpu/fenv_private.h: New file.
9482 * sysdeps/i386/fpu/math_private.h: Use it.
9483 (math_opt_barrier, math_force_eval): Remove.
9484 (libc_feholdexcept_setround_53bit): Remove.
9485 (libc_feupdateenv_53bit): Remove.
9486 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9487 (math_opt_barrier, math_force_eval): Remove.
9488 (libc_feholdexcept): Remove.
9489 (libc_feholdexcept_setround): Remove.
9490 (libc_fetestexcept, libc_fesetenv): Remove.
9491 (libc_feupdateenv_test): Remove.
9492 (libc_feupdateenv, libc_feholdsetround): Remove.
9493 (libc_feresetround): Remove.
9495 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9496 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9498 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9499 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9500 (libc_feupdateenv_testl): New.
9501 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9502 (libc_feupdateenv_testf): New.
9503 (libc_feupdateenv): Use libc_feupdateenv_test.
9504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9507 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9508 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9509 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9510 (libc_feresetround_noex): New.
9511 (libc_feresetround_noexf): New.
9512 (libc_feresetround_noexl): New.
9513 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9514 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9515 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9516 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9521 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9522 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9523 SET_RESTORE_ROUND_NOEX.
9524 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9525 SET_RESTORE_ROUND_NOEXF.
9526 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9527 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9528 (libc_feholdsetroundf): New.
9529 (libc_feresetround, libc_feresetroundf): New.
9531 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9532 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9533 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9535 * sysdeps/generic/math_private.h: Include <fenv.h>.
9536 (default_libc_feholdexcept): New.
9537 (default_libc_feholdexcept_setround): New.
9538 (default_libc_fesetenv, default_libc_feupdateenv): New.
9539 (libc_feholdexcept): Only define if undefined.
9540 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9541 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9542 (libc_feholdexcept_setroundl): Likewise.
9543 (libc_feholdexcept_setround_53bit): Likewise.
9544 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9545 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9546 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9547 (libc_feupdateenv_53bit): Likewise.
9548 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9549 (libc_feholdexcept): Convert from macro to inline function.
9550 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9551 (libc_fesetenv, libc_feupdateenv): Likewise.
9553 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9554 not previously defined.
9555 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9556 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9557 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9558 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9559 * sysdeps/ieee754/flt-32/math_private.h: New file.
9560 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9561 math_private.h below SET_FLOAT_WORD.
9562 (__isnan, __isinf_ns, __finite): Remove.
9563 (__isnanf, __isinf_nsf, __finitef): Remove.
9565 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9569 2012-03-17 David S. Miller <davem@davemloft.net>
9572 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9575 2012-03-16 David S. Miller <davem@davemloft.net>
9577 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9583 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9584 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9585 sysdep_routines when subdir is sysvipc.
9586 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9589 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9591 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9593 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9596 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9599 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9600 (__lround): Renamed to ...
9601 (__llround): This. Replace long int with long long int.
9602 Define lround functions as aliases of llround functions.
9603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9605 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9607 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9608 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9609 adresses to uintptr_t. Replace "long int" and "unsigned long
9610 int" with "greg_t" on va_arg.
9612 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9614 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9615 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9617 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9618 Move e_machine check before EI_CLASS check. Handle x32
9619 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9620 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9621 SKIP_EM_IA_64 and include
9622 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9624 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9625 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9626 (add_system_dir): New macro.
9628 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9629 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9631 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9642 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9644 * math/w_j0f.c (j0f): Likewise.
9646 * math/w_j0l.c (__j0l): Likewise.
9648 * math/w_j1.c (j1): Likewise.
9650 * math/w_j1f.c (j1f): Likewise.
9652 * math/w_j1l.c (__j1l): Likewise.
9654 * math/w_jn.c (jn): Likewise.
9656 * math/w_jnf.c (jnf): Likewise.
9658 * math/w_jnl.c (__jnl): Likewise.
9660 * math/libm-test.inc (j0_test): Add more tests.
9661 (j1_test): Likewise.
9662 (jn_test): Likewise. Add trailing semicolon to existing test.
9663 (y0_test): Likewise.
9664 (y1_test): Likewise.
9665 * sysdeps/i386/fpu/libm-test-ulps: Update.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9671 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9672 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9673 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9674 (__tanl): Set errno for infinite argument.
9675 * sysdeps/i386/fpu/mptan.c: Remove.
9676 * sysdeps/i386/fpu/s_tan.S: Likewise.
9677 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9678 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9679 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9680 * math/libm-test.inc (tan_test): Add more tests and enable more
9681 tests for double and long double.
9682 * sysdeps/i386/fpu/libm-test-ulps: Update.
9683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9685 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9687 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9688 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9690 2012-03-16 Roland McGrath <roland@hack.frob.com>
9692 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9693 * configure.in: Use it for both main tree and add-ons.
9694 * configure: Regenerated.
9696 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9698 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9700 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9702 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9706 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9707 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9712 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9715 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9716 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9717 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9718 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9719 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9720 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9721 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9722 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9723 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9724 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9725 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9726 * math/libm-test.inc (cos_test): Add more tests and enable more
9727 tests for long double.
9728 (sin_test): Likewise.
9729 (sincos_test): Likewise.
9730 * sysdeps/i386/fpu/libm-test-ulps: Update.
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9733 2012-03-16 David S. Miller <davem@davemloft.net>
9735 * sysdeps/sparc/fpu/math_private.h: New file.
9737 2012-03-15 David S. Miller <davem@davemloft.net>
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9753 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9754 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9756 * sysdeps/sparc/sparc-ifunc.h: New file.
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9802 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9804 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9808 2012-03-15 Andreas Jaeger <aj@suse.de>
9811 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9812 ieee754/flt-32 implementation for sin, cos and sincos.
9813 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9814 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9815 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9816 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9817 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9818 ieee754/flt-32 implementation for tan.
9820 * math/libm-test.inc (cos_test): Enable some large input tests for
9822 (sin_test): Likewise.
9823 (sincos_test): Likewise.
9824 (tan_test): Add tests for large input.
9826 * sysdeps/i386/fpu/libm-test-ulps: Update.
9828 2012-03-15 Andreas Jaeger <aj@suse.de>
9831 * math/libm-test.inc (cos_test): Add more test cases.
9832 (sin_test): Likewise.
9833 (sincos_test): Likewise.
9835 2012-03-15 Andreas Jaeger <aj@suse.de>
9838 * math/libm-test.inc (cos_test): Add a test case for large input
9840 (sin_test): Likewise.
9841 (sincos_test): Likewise.
9843 2012-03-15 Andreas Jaeger <aj@suse.de>,
9844 Joseph Myers <joseph@codesourcery.com>
9847 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9848 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9849 * sysdeps/i386/fpu/branred.c: Likewise.
9850 * sysdeps/i386/fpu/dosincos.c: Likewise.
9851 * sysdeps/i386/fpu/mpa.c: Likewise.
9852 * sysdeps/i386/fpu/s_cos.S: Likewise.
9853 * sysdeps/i386/fpu/s_sin.S: Likewise.
9854 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9855 * sysdeps/i386/fpu/sincos32.c: Likewise.
9857 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9859 (libc_feupdateenv_53bit): Define.
9860 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9862 (libc_feupdateenv_53bit): Define.
9864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9865 53 bit (without extend i386 double precision).
9867 * math/libm-test.inc (sincos_test): Add tests for large input.
9871 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9873 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9877 2012-03-15 David S. Miller <davem@davemloft.net>
9879 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9880 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9881 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9882 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9907 fmin/fmax sysdep routines.
9908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9910 2012-03-14 David S. Miller <davem@davemloft.net>
9912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9984 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9989 * sysdeps/sparc/configure.in: New file.
9990 * sysdeps/sparc/configure: Generate.
9991 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9992 * configure: Regenerate.
9993 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9994 * config.make.in (have-as-vis3): New.
9995 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9996 available use -Av9d instead of -Av9a.
9997 * sysdeps/sparc/sparc64/Makefile: Likewise.
9998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10013 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10014 fzeros/fnegs to load 0x80000000 into a float register instead of
10016 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10018 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10022 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10023 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10024 ($(inst_includedir)/bits/syscall.h): Remove rule.
10025 ($(objpfx)bits/syscall.d): Include instead of
10026 $(objpfx)syscall-list.d.
10027 (generated): Change syscall-list.h and syscall-list.d to
10028 bits/syscall.h and bits/syscall.d.
10030 2012-03-14 Roland McGrath <roland@hack.frob.com>
10033 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10035 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10038 * math/s_csqrt.c: Include <float.h>.
10039 (__csqrt): Scale large or subnormal inputs.
10040 * math/s_csqrtf.c: Likewise.
10041 * math/s_csqrtl.c: Likewise.
10042 * math/libm-test.inc (csqrt_test): Add more tests.
10043 * sysdeps/i386/fpu/libm-test-ulps: Update.
10044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10047 * math/libm-test.inc (hypot_test): Add more tests.
10049 2012-03-13 David S. Miller <davem@davemloft.net>
10052 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10053 double-precision for the calculation instead of scaling.
10055 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10058 manipulate bits before adding and subtracting TWO52[sx].
10059 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10060 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10062 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10064 2012-03-13 David S. Miller <davem@davemloft.net>
10066 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10067 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10069 rtld-global-offsets.h
10070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10072 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10075 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10077 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10078 'err' in the ifdef scope in which it is actually used.
10080 * nss/nss_db/db-init.c: Include string.h
10082 2012-03-12 David S. Miller <davem@davemloft.net>
10084 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10085 masking out of the most significant byte of random value used.
10086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10087 Fix coding style in previous change.
10089 * sysdeps/unix/sysv/linux/kernel-features.h
10090 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10091 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10093 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10096 2012-03-11 David S. Miller <davem@davemloft.net>
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10099 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10101 for 'resultvar' otherwise things get truncated on 64-bit.
10103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10104 Fix masking out of the most significant byte of random value used.
10106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10108 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10112 2012-03-09 David S. Miller <davem@davemloft.net>
10114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10115 variables with appropriate CPP guards.
10116 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10117 frame pointer, not the stack pointer. Correct layout comments. Fix test
10118 on resulting framesize and the management of the outregs buffer for pltexit.
10119 Preserve floating point return values across _dl_call_pltexit call.
10120 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10121 framesize and the management of the outregs buffer for pltexit.
10122 Preserve floating point return values across _dl_call_pltexit
10124 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10125 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10126 (print_exit): Fix format string for return register value.
10128 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10130 * sunrpc/Makefile (others): Add rpcgen.
10131 ($(objpfx)rpcgen): Remove special build rule and dependency on
10133 * sunrpc/rpcgen.c: New file.
10135 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10138 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10139 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10140 * sysdeps/i386/crti.S: Likewise.
10141 * sysdeps/i386/crtn.S: Likewise.
10142 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10143 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10144 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10145 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10146 * sysdeps/sh/crti.S: Likewise.
10147 * sysdeps/sh/crtn.S: Likewise.
10148 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10151 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10153 * locale/programs/locfile-kw.gperf: Likewise.
10154 * locale/programs/charmap-kw.h: Regenerated.
10155 * locale/programs/locfile-kw.h: Likewise.
10158 * intl/plural.y: Replace FSF snail mail address with URL.
10159 * intl/plural.c: Regenerated.
10161 2012-03-09 Richard Henderson <rth@twiddle.net>
10163 * include/math_private.h: Remove file.
10164 * math/math_private.h: Move file ...
10165 * sysdeps/generic/math_private.h: ... here.
10167 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10168 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10171 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10172 and <math_private.h>.
10173 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10174 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10175 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10176 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10177 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10203 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10266 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10268 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10270 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10272 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10273 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10274 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10275 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10276 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10277 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10281 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10283 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10284 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10285 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10287 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10292 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10293 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10294 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10295 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10296 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10299 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10300 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10301 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10302 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10303 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10304 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10306 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10307 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10308 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10309 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10310 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10311 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10312 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10315 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10316 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10317 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10321 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10322 * sysdeps/ieee754/k_standard.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10365 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10373 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10374 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10375 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10442 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10445 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10450 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10471 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10473 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10483 * sysdeps/ieee754/s_lib_version.c: Likewise.
10484 * sysdeps/ieee754/s_matherr.c: Likewise.
10485 * sysdeps/ieee754/s_signgam.c: Likewise.
10486 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10489 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10490 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10491 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10492 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10493 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10494 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10495 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10496 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10497 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10498 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10499 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10500 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10501 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10503 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10504 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10508 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10510 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10511 * sunrpc/rpc_main.c: Likewise.
10512 * sunrpc/rpc_svcout.c: Likewise.
10514 2012-03-09 David S. Miller <davem@davemloft.net>
10516 * include/math_private.h: New file.
10518 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10520 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10521 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10522 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10523 from <bits/socket_type.h>.
10524 (enum __socket_type): Don't define here.
10525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10527 bits/socket_type.h.
10530 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10531 checking __USE_GNU.
10533 * Makerules ($(inst_includedir)/%.h): New rule.
10534 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10535 (install-others): Remove variable setting.
10536 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10538 2012-03-08 Richard Henderson <rth@twiddle.net>
10540 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10541 from macro to inline function; merge with the
10542 !__LIBC_INTERNAL_MATH_INLINES version.
10543 (__ieee754_sqrtf): Likewise.
10545 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10546 to inline function.
10547 (__rintf, __floor, __floorf): Likewise.
10549 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10550 macro to inline function.
10551 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10554 not <math/math_private.h>.
10556 2012-03-08 David S. Miller <davem@davemloft.net>
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10560 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10562 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10564 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10566 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10567 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10569 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10571 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10572 be defined individually, they must be defined as a block. Define
10573 S for printing a string instead of hidint the different by using a
10574 macro for adding the 'l'.
10575 * stdio-common/tst-fphex-wide.c: Adjust.
10577 2012-03-07 Marek Polacek <polacek@redhat.com>
10579 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10581 2012-03-08 Marek Polacek <polacek@redhat.com>
10584 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10585 * stdio-common/tst-fphex.c: Define a few macros to make the
10586 test reusable. Use them.
10587 * stdio-common/tst-fphex-wide.c: New file.
10589 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10592 * manual/macros.texi (gnusystems): New macro.
10593 (nongnusystems): Likewise.
10594 (gnulinuxhurdsystems): Likewise.
10595 (gnuhurdsystems): Likewise..
10596 (gnulinuxsystems): Likewise.
10597 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10598 variants of the GNU system, not "GNU system".
10599 * manual/conf.texi: Likewise.
10600 * manual/errno.texi: Likewise. Update example of errno macro
10602 * manual/filesys.texi: Likewise.
10603 (getumask): Document as specific to GNU/Hurd.
10604 * manual/install.texi: Likewise. Reword some references to
10606 * manual/intro.texi: Likewise.
10607 * manual/io.texi: Likewise.
10608 (File Name Portability): Detail which constraints are inapplicable
10609 to all GNU systems and which are only inapplicable to GNU/Hurd.
10610 * manual/job.texi: Likewise.
10611 * manual/llio.texi: Likewise.
10612 (O_NOCTTY): Document as present on GNU/Linux.
10613 * manual/maint.texi: Likewise.
10614 * manual/memory.texi: Likewise.
10615 * manual/pattern.texi: Likewise.
10616 * manual/pipe.texi: Likewise.
10617 * manual/process.texi: Likewise.
10618 * manual/resource.texi: Likewise.
10619 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10621 * manual/setjmp.texi: Likewise.
10622 * manual/signal.texi: Likewise.
10623 * manual/startup.texi: Likewise.
10624 * manual/stdio.texi: Likewise.
10625 * manual/terminal.texi: Likewise.
10626 (ONLCR): Document as POSIX.
10627 (OXTABS): Document availability on GNU/Linux as XTABS.
10628 (ONOEOT): Document availability separately from other bits.
10629 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10630 * manual/time.texi: Likewise.
10631 * manual/users.texi: Likewise.
10632 * INSTALL: Regenerated.
10633 * sysdeps/gnu/errlist.c: Regenerated.
10635 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10636 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10637 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10639 * configure: Regenerated.
10641 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10643 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10644 default includes instead of AC_HEADER_CHECK.
10645 * sysdeps/i386/configure: Regenerated.
10648 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10649 * math/s_cacoshf.c (__cacoshf): Likewise.
10650 * math/s_cacoshl.c (__cacoshl): Likewise.
10651 * math/s_casinh.c (__casinh): Set signs of result from argument.
10652 * math/s_casinhf.c (__casinhf): Likewise.
10653 * math/s_casinhl.c (__casinhl): Likewise.
10654 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10655 (casinh_test): Add more tests.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10661 * po/zh_TW.po: Update from translation team.
10663 * login/Makefile (distribute): Remove variable.
10664 * catgets/Makefile: Likewise.
10665 * mach/Makefile: Likewise.
10666 * malloc/Makefile: Likewise.
10667 * misc/Makefile: Likewise.
10668 * iconv/Makefile: Likewise.
10669 * nscd/Makefile: Likewise.
10670 * hurd/Makefile: Likewise.
10671 * manual/Makefile: Likewise.
10672 * locale/Makefile: Likewise.
10673 * intl/Makefile: Likewise.
10674 * conform/Makefile: Likewise.
10675 * nss/Makefile: Likewise.
10676 * time/Makefile: Likewise.
10677 * soft-fp/Makefile: Likewise.
10678 * dirent/Makefile: Likewise.
10679 * gmon/Makefile: Likewise.
10680 * po/Makefile: Likewise.
10681 * rt/Makefile: Likewise.
10682 * socket/Makefile: Likewise.
10683 * math/Makefile: Likewise.
10684 * signal/Makefile: Likewise.
10685 * debug/Makefile: Likewise.
10686 * elf/Makefile: Likewise.
10687 * timezone/Makefile: Likewise.
10688 * stdlib/Makefile: Likewise.
10689 * iconvdata/Makefile: Likewise.
10690 * sunrpc/Makefile: Likewise.
10691 * io/Makefile: Likewise.
10692 * argp/Makefile: Likewise.
10693 * inet/Makefile: Likewise.
10694 * hesiod/Makefile: Likewise.
10695 * grp/Makefile: Likewise.
10696 * csu/Makefile: Likewise.
10697 * wctype/Makefile: Likewise.
10698 * crypt/Makefile: Likewise.
10699 * libio/Makefile: Likewise.
10700 * string/Makefile: Likewise.
10701 * nis/Makefile: Likewise.
10702 * resolv/Makefile: Likewise.
10703 * stdio-common/Makefile: Likewise.
10704 * wcsmbs/Makefile: Likewise.
10705 * dlfcn/Makefile: Likewise.
10706 * posix/Makefile: Likewise.
10709 * timezone/Makefile: Don't install timezone files, just the programs
10712 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10714 * nss/databases.def: Add missing gshadow entry.
10716 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10718 2012-03-06 Marek Polacek <polacek@redhat.com>
10721 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10722 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10723 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10724 * stdio-common/tst-long-dbl-fphex.c: New file.
10726 2012-03-06 David S. Miller <davem@davemloft.net>
10728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10729 (set_obp_int): New function.
10730 (get_obp_int): New function.
10731 (__get_clockfreq_via_dev_openprom): Likewise.
10732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10733 Avoid unused variable warnings on 'val' and use builtin_expect.
10734 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10736 (INLINE_CLONE_SYSCALL): Likewise.
10738 2012-03-05 David S. Miller <davem@davemloft.net>
10740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10742 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10746 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10747 only for |x| >= 40.
10748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10750 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10753 Replace gettimeofday with __vdso_gettimeofday.
10755 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10756 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10757 __vdso_clock_gettime and __vdso_getcpu.
10759 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10760 time with __vdso_time.
10762 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10764 * manual/lang.texi (size_t): Note types to which size_t may be
10765 equivalent with the GNU C Library, but do not describe when
10766 differences between them are significant.
10768 2012-03-05 Andreas Jaeger <aj@suse.de>
10770 * sysdeps/i386/fpu/libm-test-ulps: Update.
10772 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10775 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10776 (__ieee754_pow): Save and restore rounding mode and use
10777 round-to-nearest for main computations.
10778 * math/libm-test.inc (pow_test_tonearest): New function.
10779 (pow_test_towardzero): Likewise.
10780 (pow_test_downward): Likewise.
10781 (pow_test_upward): Likewise.
10782 (main): Call the new functions.
10783 * sysdeps/i386/fpu/libm-test-ulps: Update.
10784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10787 * math/libm-test.inc (cosh_test_tonearest): New function.
10788 (cosh_test_towardzero): Likewise.
10789 (cosh_test_downward): Likewise.
10790 (cosh_test_upward): Likewise.
10791 (sinh_test_tonearest): Likewise.
10792 (sinh_test_towardzero): Likewise.
10793 (sinh_test_downward): Likewise.
10794 (sinh_test_upward): Likewise.
10795 (main): Call the new functions.
10796 * sysdeps/i386/fpu/libm-test-ulps: Update.
10797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10799 2012-03-05 Tom de Vries <tom@codesourcery.com>
10801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10802 default stack guard is set in last bytes.
10803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10805 2012-03-05 Kees Cook <keescook@chromium.org>
10807 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10810 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10811 possibly allocate from heap instead of stack.
10812 * stdio-common/bug-vfprintf-nargs.c: New file.
10813 * stdio-common/Makefile (tests): Add nargs overflow test.
10815 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10819 2012-03-03 Marek Polacek <polacek@redhat.com>
10821 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10822 * math/math_private.h: Likewise.
10823 * stdlib/tst-strtod.c: Likewise.
10824 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10825 * sysdeps/x86_64/bits/atomic.h: Likewise.
10827 2012-03-02 David S. Miller <davem@davemloft.net>
10829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10833 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10834 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10835 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10836 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10838 2012-03-02 Roland McGrath <roland@hack.frob.com>
10841 * manual/examples/README: New file, says the example source files
10842 can be used under GPL>=2.
10843 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10844 line containing just "*/".
10845 * manual/examples/add.c: Add copyright header (GPL>=2).
10846 * manual/examples/argp-ex1.c: Likewise.
10847 * manual/examples/argp-ex2.c: Likewise.
10848 * manual/examples/argp-ex3.c: Likewise.
10849 * manual/examples/argp-ex4.c: Likewise.
10850 * manual/examples/atexit.c: Likewise.
10851 * manual/examples/db.c: Likewise.
10852 * manual/examples/dir.c: Likewise.
10853 * manual/examples/dir2.c: Likewise.
10854 * manual/examples/execinfo.c: Likewise.
10855 * manual/examples/filecli.c: Likewise.
10856 * manual/examples/filesrv.c: Likewise.
10857 * manual/examples/fmtmsgexpl.c: Likewise.
10858 * manual/examples/genpass.c: Likewise.
10859 * manual/examples/inetcli.c: Likewise.
10860 * manual/examples/inetsrv.c: Likewise.
10861 * manual/examples/isockad.c: Likewise.
10862 * manual/examples/longopt.c: Likewise.
10863 * manual/examples/memopen.c: Likewise.
10864 * manual/examples/memstrm.c: Likewise.
10865 * manual/examples/mkfsock.c: Likewise.
10866 * manual/examples/mkisock.c: Likewise.
10867 * manual/examples/mygetpass.c: Likewise.
10868 * manual/examples/pipe.c: Likewise.
10869 * manual/examples/popen.c: Likewise.
10870 * manual/examples/rprintf.c: Likewise.
10871 * manual/examples/search.c: Likewise.
10872 * manual/examples/select.c: Likewise.
10873 * manual/examples/setjmp.c: Likewise.
10874 * manual/examples/sigh1.c: Likewise.
10875 * manual/examples/sigusr.c: Likewise.
10876 * manual/examples/stpcpy.c: Likewise.
10877 * manual/examples/strdupa.c: Likewise.
10878 * manual/examples/strftim.c: Likewise.
10879 * manual/examples/strncat.c: Likewise.
10880 * manual/examples/subopt.c: Likewise.
10881 * manual/examples/swapcontext.c: Likewise.
10882 * manual/examples/termios.c: Likewise.
10883 * manual/examples/testopt.c: Likewise.
10884 * manual/examples/testpass.c: Likewise.
10885 * manual/examples/timeval_subtract.c: Likewise.
10888 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10890 * manual/timeval_subtract.c.texi: ... here, new file.
10892 2012-03-02 David S. Miller <davem@davemloft.net>
10894 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10896 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10899 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10900 (__sin): Save and restore rounding mode and use round-to-nearest
10901 for all computations.
10902 (__cos): Save and restore rounding mode and use round-to-nearest
10903 for all computations.
10904 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10906 (tan): Save and restore rounding mode and use round-to-nearest for
10908 * math/libm-test.inc (cos_test_tonearest): New function.
10909 (cos_test_towardzero): Likewise.
10910 (cos_test_downward): Likewise.
10911 (cos_test_upward): Likewise.
10912 (sin_test_tonearest): Likewise.
10913 (sin_test_towardzero): Likewise.
10914 (sin_test_downward): Likewise.
10915 (sin_test_upward): Likewise.
10916 (tan_test_tonearest): Likewise.
10917 (tan_test_towardzero): Likewise.
10918 (tan_test_downward): Likewise.
10919 (tan_test_upward): Likewise.
10920 (main): Call the new functions.
10921 * sysdeps/i386/fpu/libm-test-ulps: Update.
10922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10926 small n, then large n, before computing and testing k+n.
10927 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10932 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10933 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10934 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10935 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10939 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10940 * math/libm-test.inc (scalbn_test): Add more tests.
10941 (scalbln_test): Likewise.
10943 * manual/filesys.texi (mode_t): Describe constraints on size and
10944 signedness, not exact equivalence to a particular type.
10946 (ino64_t): Likewise.
10948 (nlink_t): Likewise.
10949 (blkcnt_t): Likewise.
10950 (blkcnt64_t): Likewise.
10951 * manual/llio.texi (off_t): Likewise.
10954 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10955 (__ieee754_exp): Save and restore rounding mode and use
10956 round-to-nearest for all computations.
10957 * math/libm-test.inc (exp_test_tonearest): New function.
10958 (exp_test_towardzero): Likewise.
10959 (exp_test_downward): Likewise.
10960 (exp_test_upward): Likewise.
10961 (main): Call the new functions.
10962 * sysdeps/i386/fpu/libm-test-ulps: Update.
10963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965 2012-03-01 Chris Demetriou <cgd@google.com>
10967 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10968 have predictable order.
10970 2012-03-01 David S. Miller <davem@davemloft.net>
10972 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10974 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10975 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10976 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10977 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10979 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10980 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10981 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10983 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10984 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10985 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10986 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10987 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10992 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10995 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10996 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10997 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11002 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11003 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11009 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11011 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11012 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11013 * sysdeps/sparc/elf/configure: Regenerated.
11015 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11017 * configure.in (AS, LD): Require binutils 2.20 or later.
11018 * configure: Regenerated.
11019 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11020 as required minimum version.
11021 * INSTALL: Regenerated.
11025 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11026 before squaring exponent.
11027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11028 bottom long double and 27 bits of top long double before squaring
11030 * math/libm-test.inc (erfc_test): Add more tests.
11031 * sysdeps/i386/fpu/libm-test-ulps: Update.
11032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11035 2012-03-01 Kai Tietz <ktietz@redhat.com>
11037 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11038 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11039 containing bit-fields.
11040 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11041 * soft-fp/single.h (_FP_UNION_S): Likewise.
11042 * soft-fp/double.h (_FP_UNION_D): Likewise.
11044 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11047 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11048 not include ../strcmp.S.
11049 [USE_AS_STRNCASECMP_L]: Likewise.
11050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11051 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11052 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11053 (__strncasecmp_l_ia32): Define as alias to
11054 __strncasecmp_l_nonascii.
11057 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11058 * sysdeps/i386/fpu/libm-test-ulps: Update.
11059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11061 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11064 2012-02-29 Jeff Law <law@redhat.com>
11066 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11067 out of bounds read.
11069 2012-02-29 Marek Polacek <polacek@redhat.com>
11072 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11073 * elf/Makefile: Add rules to run tst-unused-dep.out.
11075 2012-02-28 David S. Miller <davem@davemloft.net>
11077 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11078 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11081 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11082 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11084 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11086 * math/libm-test.inc (llround_test): Move one test from
11087 lround_test. Use TEST_f_L in moved test.
11088 (lround_test): Move misplaced test to llround_test. Add testcase
11091 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11093 * sysdeps/x86_64/fpu/e_expf.S: New file.
11094 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11096 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11099 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11100 of remain_len that may cause incomplete multi-byte character and
11102 * posix/bug-regex33.c: New file.
11103 * posix/Makefile (tests): Add bug-regex33.
11105 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11107 * manual/macros.texi: New file.
11108 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11109 * manual/libc.texinfo: Include macros.texi.
11110 * manual/creatute.texi: Likewise.
11111 * manual/install.texi: Likewise.
11112 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11113 @glibcadj{} in references to the GNU C Library.
11114 * manual/charset.texi: Likewise.
11115 * manual/conf.texi: Likewise.
11116 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11117 when not using those macros.
11118 * manual/creature.texi: Likewise.
11119 * manual/crypt.texi: Likewise.
11120 * manual/errno.texi: Likewise.
11121 * manual/filesys.texi: Likewise.
11122 * manual/header.texi: Likewise.
11123 * manual/install.texi: Likewise.
11124 * manual/intro.texi: Likewise.
11125 * manual/io.texi: Likewise.
11126 * manual/job.texi: Likewise.
11127 * manual/lang.texi: Likewise.
11128 * manual/libc.texiinfo: Likewise.
11129 * manual/llio.texi: Likewise.
11130 * manual/locale.texi: Likewise.
11131 * manual/maint.texi: Likewise.
11132 * manual/math.texi: Likewise.
11133 * manual/memory.texi: Likewise.
11134 * manual/message.texi: Likewise.
11135 * manual/nss.texi: Likewise.
11136 * manual/pattern.texi: Likewise.
11137 * manual/process.texi: Likewise.
11138 * manual/resource.texi: Likewise.
11139 * manual/search.texi: Likewise.
11140 * manual/setjmp.texi: Likewise.
11141 * manual/signal.texi: Likewise.
11142 * manual/socket.texi: Likewise.
11143 * manual/startup.texi: Likewise.
11144 * manual/stdio.texi: Likewise.
11145 * manual/string.texi: Likewise.
11146 * manual/sysinfo.texi: Likewise.
11147 * manual/syslog.texi: Likewise.
11148 * manual/terminal.texi: Likewise.
11149 * manual/time.texi: Likewise.
11150 * manual/users.texi: Likewise.
11151 * INSTALL: Regenerated.
11152 * NOTES: Regenerated.
11153 * sysdeps/gnu/errlist.c: Regenerated.
11155 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11157 * include/dirent.h: Include <dirstream.h> before
11160 2012-02-28 David S. Miller <davem@davemloft.net>
11162 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11163 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11164 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11165 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11167 2012-02-27 David S. Miller <davem@davemloft.net>
11169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11171 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11172 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11175 frame pointer instead of stack pointer relative arg slot.
11176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11177 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11178 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11180 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11183 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11185 2012-02-27 David S. Miller <davem@davemloft.net>
11187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11191 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11192 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11193 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11194 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11196 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11198 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11199 later. Allow versions 5-9.
11200 * configure: Regenerated.
11201 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11202 required minimum version and 4.6 as recommended version. Do not
11203 mention bugs in GCC 2.7 and 2.8.
11204 * INSTALL: Regenerated.
11206 2012-02-27 David S. Miller <davem@davemloft.net>
11208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11212 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11213 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11214 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11215 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11218 manipulate bits before adding and subtracting TWO112[sx].
11219 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11221 2012-02-27 Roland McGrath <roland@hack.frob.com>
11224 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11225 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11226 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11227 being in POSIX, because they are in 1003.1-2008.
11229 * rt/tst-aio.c: Include <fcntl.h>.
11230 * rt/tst-aio7.c: Likewise.
11231 * rt/tst-aio64.c: Likewise.
11233 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11235 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11237 * manual/install.texi (--with-headers): Describe headers as
11238 interface headers, not private headers.
11239 (Specific advice for GNU/Linux systems): Describe use of headers
11240 from "make headers_install", not private headers from older
11242 * INSTALL: Regenerated.
11243 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11245 * sysdeps/unix/sysv/linux/configure: Regenerated.
11247 * manual/llio.texi (fclean): Remove documentation.
11249 * manual/Makefile (libc-texi-generated): New variable. Include
11251 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11252 $(libc-texi-generated), not duplicated list of files.
11253 (version.texi, stamp-version): New rules.
11254 (realclean): Remove $(libc-texi-generated), not individual files
11255 from that list. Do not remove dir-add.texinfo.
11256 * manual/libc.texinfo: Comment out uses of edition numbers and
11257 references to printed manual. Remove last-updated dates.
11258 (EDITION): Comment out.
11260 (VERSION, UPDATED): Remove.
11261 (version.texi): Include.
11263 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11265 * sysdeps/posix/spawni.c: Include <signal.h>.
11266 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11267 * sysdeps/pthread/aio_fsync.c: Likewise.
11269 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11271 * conform/Makefile (tests): Run only when not cross-compiling and
11272 when fast-check is not defined.
11274 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11275 * conform/data/limits.h-data: Fixes for POSIX2008.
11276 * conform/run-conformtest.sh: Run all tests.
11277 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11279 * include/bits/dlfcn.h: Likewise.
11280 * include/langinfo.h: Likewise.
11281 * include/monetary.h: Likewise.
11282 * include/sys/poll.h: Likewise.
11284 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11286 * posix/spawn.h: Define __need_sigset_t.
11287 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11288 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11289 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11290 to get sigevent_t only.
11291 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11292 only for __USE_GNU.
11293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11294 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11295 process_vm_writev only for __USE_GNU.
11296 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11298 * conform/Makefile: For now ignore errors from run-conformtest.
11299 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11300 POSIX to avoid namespace pollution. Don't prepend headers.
11301 * conform/data/aio.h-data: Fixes for POSIX testing.
11302 * conform/data/fcntl.h-data: Likewise.
11303 * conform/data/glob.h-data: Likewise.
11304 * conform/data/grp.h-data: Likewise.
11305 * conform/data/pthread.h-data: Likewise.
11306 * conform/data/pwd.h-data: Likewise.
11307 * conform/data/signal.h-data: Likewise.
11308 * conform/data/spawn.h-data: Likewise.
11309 * conform/data/stdio.h-data: Likewise.
11310 * conform/data/stdlib.h-data: Likewise.
11311 * conform/data/stropts.h-data: Likewise.
11312 * conform/data/sys/mman.h-data: Likewise.
11313 * conform/data/sys/stat.h-data: Likewise.
11314 * conform/data/sys/types.h-data: Likewise.
11315 * conform/data/sys/wait.h-data: Likewise.
11316 * conform/data/time.h-data: Likewise.
11317 * conform/data/unistd.h-data: Likewise.
11318 * conform/data/utime.h-data: Likewise.
11320 * io/sys/stat.h: fchmod was always in POSIX.
11321 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11322 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11323 * rt/aio.h: Define __need_timespec before including <time.h>.
11324 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11325 struct. Add forward declaration of pthread_attr_t and use it in
11327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11329 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11330 always remove CLK_TCK definition.
11332 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11334 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11336 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11338 * conform/run-conformtest.sh: New file.
11339 * conform/Makefile: Run run-conformtest for tests.
11340 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11343 * conform/data/uchar.h-data: New file.
11344 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11345 * conform/data/arpa/inet.h-data: Likewise.
11346 * conform/data/assert.h-data: Likewise.
11347 * conform/data/complex.h-data: Likewise.
11348 * conform/data/cpio.h-data: Likewise.
11349 * conform/data/ctype.h-data: Likewise.
11350 * conform/data/dirent.h-data: Likewise.
11351 * conform/data/dlfcn.h-data: Likewise.
11352 * conform/data/errno.h-data: Likewise.
11353 * conform/data/fcntl.h-data: Likewise.
11354 * conform/data/float.h-data: Likewise.
11355 * conform/data/fmtmsg.h-data: Likewise.
11356 * conform/data/fnmatch.h-data: Likewise.
11357 * conform/data/ftw.h-data: Likewise.
11358 * conform/data/glob.h-data: Likewise.
11359 * conform/data/grp.h-data: Likewise.
11360 * conform/data/iconv.h-data: Likewise.
11361 * conform/data/inttypes.h-data: Likewise.
11362 * conform/data/langinfo.h-data: Likewise.
11363 * conform/data/libgen.h-data: Likewise.
11364 * conform/data/limits.h-data: Likewise.
11365 * conform/data/locale.h-data: Likewise.
11366 * conform/data/math.h-data: Likewise.
11367 * conform/data/monetary.h-data: Likewise.
11368 * conform/data/mqueue.h-data: Likewise.
11369 * conform/data/ndbm.h-data: Likewise.
11370 * conform/data/net/if.h-data: Likewise.
11371 * conform/data/netdb.h-data: Likewise.
11372 * conform/data/netinet/in.h-data: Likewise.
11373 * conform/data/nl_types.h-data: Likewise.
11374 * conform/data/poll.h-data: Likewise.
11375 * conform/data/pthread.h-data: Likewise.
11376 * conform/data/pwd.h-data: Likewise.
11377 * conform/data/regex.h-data: Likewise.
11378 * conform/data/sched.h-data: Likewise.
11379 * conform/data/search.h-data: Likewise.
11380 * conform/data/semaphore.h-data: Likewise.
11381 * conform/data/setjmp.h-data: Likewise.
11382 * conform/data/signal.h-data: Likewise.
11383 * conform/data/spawn.h-data: Likewise.
11384 * conform/data/stdarg.h-data: Likewise.
11385 * conform/data/stdio.h-data: Likewise.
11386 * conform/data/stdlib.h-data: Likewise.
11387 * conform/data/string.h-data: Likewise.
11388 * conform/data/strings.h-data: Likewise.
11389 * conform/data/stropts.h-data: Likewise.
11390 * conform/data/sys/ipc.h-data: Likewise.
11391 * conform/data/sys/mman.h-data: Likewise.
11392 * conform/data/sys/msg.h-data: Likewise.
11393 * conform/data/sys/resource.h-data: Likewise.
11394 * conform/data/sys/select.h-data: Likewise.
11395 * conform/data/sys/sem.h-data: Likewise.
11396 * conform/data/sys/shm.h-data: Likewise.
11397 * conform/data/sys/socket.h-data: Likewise.
11398 * conform/data/sys/stat.h-data: Likewise.
11399 * conform/data/sys/statvfs.h-data: Likewise.
11400 * conform/data/sys/time.h-data: Likewise.
11401 * conform/data/sys/timeb.h-data: Likewise.
11402 * conform/data/sys/times.h-data: Likewise.
11403 * conform/data/sys/types.h-data: Likewise.
11404 * conform/data/sys/uio.h-data: Likewise.
11405 * conform/data/sys/un.h-data: Likewise.
11406 * conform/data/sys/utsname.h-data: Likewise.
11407 * conform/data/sys/wait.h-data: Likewise.
11408 * conform/data/syslog.h-data: Likewise.
11409 * conform/data/tar.h-data: Likewise.
11410 * conform/data/termios.h-data: Likewise.
11411 * conform/data/utime.h-data: Likewise.
11412 * conform/data/utmpx.h-data: Likewise.
11413 * conform/data/varargs.h-data: Likewise.
11414 * conform/data/wchar.h-data: Likewise.
11415 * conform/data/wctype.h-data: Likewise.
11416 * conform/data/wordexp.h-data: Likewise.
11418 * include/stropts.h: New file.
11419 * include/uchar.h: New file.
11420 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11421 * include/assert.h: Likewise.
11422 * include/ctype.h: Likewise.
11423 * include/dirent.h: Likewise.
11424 * include/dlfcn.h: Likewise.
11425 * include/fcntl.h: Likewise.
11426 * include/fnmatch.h: Likewise.
11427 * include/glob.h: Likewise.
11428 * include/grp.h: Likewise.
11429 * include/libio.h: Likewise.
11430 * include/locale.h: Likewise.
11431 * include/math.h: Likewise.
11432 * include/net/if.h: Likewise.
11433 * include/netdb.h: Likewise.
11434 * include/netinet/in.h: Likewise.
11435 * include/pthread.h: Likewise.
11436 * include/pwd.h: Likewise.
11437 * include/regex.h: Likewise.
11438 * include/sched.h: Likewise.
11439 * include/search.h: Likewise.
11440 * include/setjmp.h: Likewise.
11441 * include/signal.h: Likewise.
11442 * include/stdio.h: Likewise.
11443 * include/stdlib.h: Likewise.
11444 * include/string.h: Likewise.
11445 * include/sys/cdefs.h: Likewise.
11446 * include/sys/mman.h: Likewise.
11447 * include/sys/msg.h: Likewise.
11448 * include/sys/resource.h: Likewise.
11449 * include/sys/select.h: Likewise.
11450 * include/sys/socket.h: Likewise.
11451 * include/sys/stat.h: Likewise.
11452 * include/sys/statvfs.h: Likewise.
11453 * include/sys/time.h: Likewise.
11454 * include/sys/times.h: Likewise.
11455 * include/sys/uio.h: Likewise.
11456 * include/sys/utsname.h: Likewise.
11457 * include/sys/wait.h: Likewise.
11458 * include/termios.h: Likewise.
11459 * include/time.h: Likewise.
11460 * include/ulimit.h: Likewise.
11461 * include/unistd.h: Likewise.
11462 * include/utime.h: Likewise.
11463 * include/wchar.h: Likewise.
11464 * include/wctype.h: Likewise.
11465 * include/wordexp.h: Likewise.
11467 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11469 * time/time.h: TIME_UTC must be a macro.
11470 Make timespec_get available for ISO C11 only as well.
11472 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11474 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11475 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11477 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11479 * configure.in: Use -o not -a in test for unsupported multi-arch.
11481 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11483 * manual/texinfo.tex: Update to version 2012-01-19.16.
11485 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11487 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11489 2012-02-24 Roland McGrath <roland@hack.frob.com>
11492 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11493 * manual/fdl-1.3.texi: New file.
11494 * manual/fdl-1.1.texi: File removed.
11497 * manual/libc.texinfo (FDL_VERSION): New @set.
11498 Use it for mention of FDL in cover text.
11499 (Documentation License): Use it in @include file name.
11501 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11502 Roland McGrath <roland@hack.frob.com>
11505 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11506 not LONG_LONG_MAX and LONG_LONG_MIN.
11507 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11508 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11510 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11512 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11516 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11517 manipulate bits before adding and subtracting TWO23[sx].
11518 * math/libm-test.inc (nearbyint_test): Add more tests.
11520 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11523 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11524 bits before adding and subtracting TWO23[sx].
11525 * math/libm-test.inc (rint_test): Add more tests.
11526 (rint_test_tonearest): Likewise.
11527 (rint_test_towardzero): Likewise.
11528 (rint_test_downward): Likewise.
11529 (rint_test_upward: Likewise.
11531 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11534 * include/stdc-predef.h: New file. Extracted from features.h.
11535 * include/features.h: Include stdc-predef.h.
11536 * Makefile (headers): Add stdc-predef.h.
11537 * CONFORMANCE (Compiler limitations): Update.
11539 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11541 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11543 2012-02-21 David S. Miller <davem@davemloft.net>
11545 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11546 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11548 2012-02-20 David S. Miller <davem@davemloft.net>
11550 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11551 using a normal save/restore sequence, rather than allocating a
11552 dummy stack frame just to store a frame pointer and restore.
11553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11555 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11557 * manual/install.texi: Fix stray word in line-wrapped comment.
11559 2012-02-20 David S. Miller <davem@davemloft.net>
11561 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11562 both binutils and gcc support GOTDATA.
11564 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11565 "rd %pc" in the PIC register setup sequences.
11567 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11568 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11569 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11570 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11571 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11576 (SYSCALL_ERROR_HANDLER): Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11578 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11580 (SYSCALL_ERROR_HANDLER): Likewise.
11582 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11583 (HAVE_GCC_GOTDATA): New.
11584 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11585 relocation support in both binutils and gcc.
11586 * sysdeps/sparc/elf/configure: Regenerate.
11588 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11589 * sysdeps/sparc/sparc32/elf/configure: Delete.
11590 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11591 * sysdeps/sparc/sparc64/elf/configure: Delete.
11592 * sysdeps/sparc/elf/configure.in: New file.
11593 * sysdeps/sparc/elf/configure: Generate.
11595 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11596 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11597 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11598 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11599 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11601 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11603 * manual/install.texi: Do not mention specific glibc version
11605 * manual/libc.texinfo (VERSION, UPDATED): Update.
11606 (@copying): Use @copyright{} and range of years.
11608 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11611 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11612 [crti.S not in sysdirs] (generated): Do not append.
11613 [crti.S not in sysdirs] (omit-deps): Likewise.
11614 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11615 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11616 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11617 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11618 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11620 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11621 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11622 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11623 * csu/defs.awk: Remove file.
11624 * sysdeps/generic/initfini.c: Likewise.
11625 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11627 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11630 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11632 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11633 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11634 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11636 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11637 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11639 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11640 (__EPOLL_PACKED): Define to empty if not defined by
11642 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11646 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11649 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11651 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11653 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11657 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11659 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11662 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11663 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11666 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11669 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11671 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11673 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11674 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11676 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11678 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11681 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11683 * math/w_acos.c: Use non-signaling floating-point comparisons.
11684 * math/w_acosf.c: Likewise.
11685 * math/w_acosh.c: Likewise.
11686 * math/w_acoshf.c: Likewise.
11687 * math/w_acoshl.c: Likewise.
11688 * math/w_acosl.c: Likewise.
11689 * math/w_asin.c: Likewise.
11690 * math/w_asinf.c: Likewise.
11691 * math/w_asinl.c: Likewise.
11692 * math/w_atanh.c: Likewise.
11693 * math/w_atanhf.c: Likewise.
11694 * math/w_atanhl.c: Likewise.
11695 * math/w_exp2.c: Likewise.
11696 * math/w_exp2f.c: Likewise.
11697 * math/w_exp2l.c: Likewise.
11698 * math/w_j0.c: Likewise.
11699 * math/w_j0f.c: Likewise.
11700 * math/w_j0l.c: Likewise.
11701 * math/w_j1.c: Likewise.
11702 * math/w_j1f.c: Likewise.
11703 * math/w_j1l.c: Likewise.
11704 * math/w_jn.c: Likewise.
11705 * math/w_jnf.c: Likewise.
11706 * math/w_log.c: Likewise.
11707 * math/w_log10.c: Likewise.
11708 * math/w_log10f.c: Likewise.
11709 * math/w_log10l.c: Likewise.
11710 * math/w_log2.c: Likewise.
11711 * math/w_log2f.c: Likewise.
11712 * math/w_log2l.c: Likewise.
11713 * math/w_logf.c: Likewise.
11714 * math/w_logl.c: Likewise.
11715 * math/w_sqrt.c: Likewise.
11716 * math/w_sqrtf.c: Likewise.
11717 * math/w_sqrtl.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11720 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11721 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11722 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11724 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11727 * manual/string.texi (strnlen): Use correct parameter name in
11728 equivalent expression.
11730 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11733 * manual/users.texi (seteuid): Consistently use neweuid for
11736 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11739 * manual/nss.texi (Services in the NSS configuration): Correct
11740 list of services in example configuration file.
11742 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11745 * manual/arith.texi: Remove statements about negative zero
11746 behaving identically to zero.
11748 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11751 * manual/install.texi: Do not document upgrading from libc5.
11753 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11756 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11758 2012-02-18 David S. Miller <davem@davemloft.net>
11760 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11761 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11762 %o7 across the call.
11763 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11766 SETUP_PIC_REG_LEAF.
11767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11768 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11769 * sysdeps/sparc/crtn.S: Likewise.
11771 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11773 * aout/Makefile: Remove.
11775 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11778 * manual/examples/argp-ex1.c (main): Format definition in GNU
11780 * manual/examples/argp-ex2.c (main): Likewise.
11781 * manual/examples/argp-ex3.c (main): Likewise.
11782 * manual/examples/argp-ex4.c (main): Likewise.
11783 * manual/examples/longopt.c (main): Use new-style prototype
11785 * manual/examples/strncat.c (main): Specify return type and use
11786 (void) for arguments.
11787 * manual/examples/subopt.c (main): Use char **argv argument.
11789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11792 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11795 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11798 * manual/string.texi (strchr): Change when strchrnul is
11801 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11804 * manual/locale.texi (setlocale): Document LOCPATH.
11806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11809 * manual/process.texi (execle): Move @dots{} before last argument.
11811 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11814 * manual/charset.texi (Generic Charset Conversion): Fix typo
11815 (LC_TYPE -> LC_CTYPE).
11817 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11820 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11821 (scalbnf): Likewise.
11822 (scalbnl): Likewise.
11823 (scalbln): Likewise.
11824 (scalblnf): Likewise.
11825 (scalblnl): Likewise.
11826 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11827 (vwarnx): Likewise.
11830 * manual/filesys.texi (telldir): Use braces around return type.
11831 * manual/llio.texi (mmap): Add space after comma.
11832 (mmap64): Likewise.
11833 * manual/math.texi (jn): Use @var{} on parameter names.
11839 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11841 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11843 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11844 (sched_get_priority_max): Likewise.
11845 * manual/signal.texi (sigvec): Add space after comma.
11846 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11848 (if_indextoname): Likewise.
11849 (if_freenameindex): Likewise.
11850 (sendto): Use ',' instead of '.' in prototype.
11851 * manual/startup.texi (syscall): Use @dots{} instead of literal
11853 * manual/stdio.texi (__fpending): Separate initial words of
11854 paragraph from @deftypefun line.
11855 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11857 (vsyslog): Use @var{} on parameter names.
11858 * manual/terminal.texi (stty): Use @var{} on parameter names.
11859 * manual/users.texi (getutmp): Use @var{} on parameter names.
11860 (getutmpx): Likewise.
11862 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11865 * manual/stdio.texi (fopen): Fix typos in description of
11868 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11871 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11872 get clock_id definition.
11874 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11877 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11878 (madvise): Cast every argument to void on its own.
11880 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11883 * manual/startup.texi (Exit Status): Fix typo.
11885 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11888 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11889 * manual/examples/argp-ex2.c: Likewise.
11890 * manual/examples/argp-ex3.c: Likewise.
11892 2012-02-16 Richard Henderson <rth@redhat.com>
11894 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11895 * sysdeps/s390/s390-32/initfini.c: Remove.
11896 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11897 * sysdeps/s390/s390-64/initfini.c: Remove.
11899 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11901 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11902 compiler output for sysdeps/generic/initfini.c.
11903 * sysdeps/sh/elf/initfini.c: Remove file.
11905 2012-02-16 David S. Miller <davem@davemloft.net>
11908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11910 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11911 * sysdeps/sparc/crti.S: New file.
11912 * sysdeps/sparc/crtn.S: New file.
11913 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11914 * sysdeps/sparc/sparc64/Makefile: Likewise.
11916 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11919 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11921 2012-02-15 Roland McGrath <roland@hack.frob.com>
11924 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11926 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11927 (write, read, close): Likewise.
11928 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11930 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11933 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11935 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11937 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11941 2012-02-14 Marek Polacek <polacek@redhat.com>
11943 * sysdeps/x86_64/crti.S: New file.
11944 * sysdeps/x86_64/crtn.S: New file.
11945 * sysdeps/x86_64/elf/initfini.c: Remove file.
11947 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11949 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11950 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11951 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11952 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11954 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11958 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11960 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11961 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11962 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11963 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11965 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11969 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11971 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11972 __feraiseexcept instead of feraiseexcept.
11974 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11975 nanosleep invocations.
11976 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11977 strings, and add error checking for a nanosleep invocations.
11979 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11981 Replace FSF snail mail address with URLs, as per GNU coding standards.
11982 Most of the snail mail addresses were wrong anyway, and omitting
11983 them makes the source code easier to maintain. Almost all of the
11984 changes are to license notices and to locale LC_IDENTIFICATION
11985 addresses, except for this one:
11986 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11987 not its snail mail address.
11989 2012-02-09 Richard Henderson <rth@twiddle.net>
11991 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11992 of kernel-features.h.
11994 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11996 2012-02-08 Marek Polacek <polacek@redhat.com>
11998 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11999 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12000 * sysdeps/gnu/_G_config.h: Likewise.
12001 * sysdeps/generic/_G_config.h: Likewise.
12003 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12005 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12009 * sysdeps/powerpc/powerpc32/crti.S: New file.
12010 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12011 * sysdeps/powerpc/powerpc64/crti.S: New file.
12012 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12014 * Makeconfig (have-initfini): Don't set.
12015 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12016 * configure.in (nopic_initfini): Don't substitute.
12017 * config.h.in (HAVE_INITFINI): Don't #undef.
12018 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12019 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12021 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12023 Support crti.S and crtn.S provided directly by architectures.
12024 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12025 [crti.S in sysdirs] (omit-deps): Likewise.
12026 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12027 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12028 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12029 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12030 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12031 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12032 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12033 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12034 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12035 compiler output for sysdeps/generic/initfini.c.
12036 * sysdeps/i386/elf/Makefile: Remove file.
12037 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12039 2012-02-07 Marek Polacek <polacek@redhat.com>
12041 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12042 * sysdeps/gnu/_G_config.h: Likewise.
12043 * sysdeps/mach/hurd/_G_config.h: Likewise.
12045 2012-02-07 Marek Polacek <polacek@redhat.com>
12047 * math/Makefile (tests): Add tst-CMPLX2.
12048 * math/tst-CMPLX2.c: New file.
12050 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12054 * math/libm-test.inc (jn_test): Add missing L suffix.
12056 2012-02-06 Marek Polacek <polacek@redhat.com>
12058 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12059 * sysdeps/i386/fpu/e_powf.S: Likewise.
12060 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12061 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12062 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12063 * sysdeps/i386/fpu/e_pow.S: Likewise.
12064 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12065 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12066 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12067 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12068 * sysdeps/i386/fpu/e_log2.S: Likewise.
12069 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12070 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12071 * sysdeps/i386/fpu/e_powl.S: Likewise.
12072 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12074 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12075 * sysdeps/i386/fpu/e_logl.S: Likewise.
12076 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12077 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12078 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12079 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12082 * sysdeps/i386/fpu/e_log.S: Likewise.
12083 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12085 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12086 * sysdeps/i386/fpu/e_logf.S: Likewise.
12087 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12088 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12089 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12090 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12091 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12092 * sysdeps/i386/fpu/e_log10.S: Likewise.
12093 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12094 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12095 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12096 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12097 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12098 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12099 * sysdeps/i386/asm-syntax.h: Likewise.
12100 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12102 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12103 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12104 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12105 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12106 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12107 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12109 * sysdeps/powerpc/sysdep.h: Likewise.
12110 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12111 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12113 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12116 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12118 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12120 * sysdeps/i386/sysdep.h: Include <features.h>.
12121 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12124 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12126 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12128 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12131 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12133 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12134 (SETUP_PIC_REG): Use GET_PC_THUNK.
12135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12138 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12140 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12141 for non-PIC compilation.
12142 (SETUP_PIC_REG): Add .p2align directive.
12143 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12144 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12148 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12149 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12151 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12152 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12153 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12154 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12155 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12156 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12157 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12160 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12161 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12165 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12175 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12176 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12177 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12178 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12179 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12180 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12181 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12182 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12183 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12185 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12187 * math/tst-CMPLX.c: Include <stdio.h>.
12189 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12191 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12193 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12194 * sysdeps/sparc/bits/mathdef.h: Likewise.
12196 2012-01-31 Marek Polacek <polacek@redhat.com>
12198 * libio/libio.h: Don't define _PARAMS.
12199 * locale/programs/config.h: Don't define PARAMS.
12200 * stdlib/strtol_l.c: Likewise.
12201 (__strtol_l): Remove PARAMS from the prototype.
12203 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12205 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12206 names. Just use the correct names. Remove unnecessary wrapper
12208 * malloc/arena.c: Likewise.
12209 * malloc/hooks.c: Likewise.
12211 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12212 ARENA_TEST says not to. Simplify test for creation of a new arena.
12213 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12215 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12217 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12219 (update_get_addr): New function.
12220 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12221 GET_ADDR_MODULE parameter.
12223 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12225 * crypt/cert.c: Remove __STDC__ conditionals.
12226 * crypt/crypt-entry.c: Likewise.
12227 * crypt/crypt_util.c: Likewise.
12228 * libio/filedoalloc.c: Likewise.
12229 * libio/fileops.c: Likewise.
12230 * libio/genops.c: Likewise.
12231 * libio/iofclose.c: Likewise.
12232 * libio/iofdopen.c: Likewise.
12233 * libio/iofopen.c: Likewise.
12234 * libio/iofopen64.c: Likewise.
12235 * libio/iogetdelim.c: Likewise.
12236 * libio/iopopen.c: Likewise.
12237 * libio/obprintf.c: Likewise.
12238 * libio/oldfileops.c: Likewise.
12239 * libio/oldiofclose.c: Likewise.
12240 * libio/oldiofdopen.c: Likewise.
12241 * libio/oldiofopen.c: Likewise.
12242 * libio/oldiopopen.c: Likewise.
12243 * libio/wfiledoalloc.c: Likewise.
12244 * libio/wgenops.c: Likewise.
12245 * locale/programs/xmalloc.c: Likewise.
12246 * misc/syslog.c: Likewise.
12247 * stdio-common/xbug.c: Likewise.
12248 * string/memchr.c: Likewise.
12249 * string/memcmp.c: Likewise.
12250 * string/memrchr.c: Likewise.
12251 * string/rawmemchr.c: Likewise.
12252 * sysdeps/posix/getcwd.c: Likewise.
12253 * time/strftime_l.c: Likewise.
12255 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12257 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12258 * config.make.in (config-cflags-sse2avx): Define.
12259 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12262 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12264 * scripts/config.guess: Update from upstream config git repository.
12265 * scripts/config.sub: Likewise.
12267 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12269 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12271 (R_TILEPRO_*, R_TILEGX_*): New macros.
12273 * scripts/firstversions.awk: Fix bug in version range handling.
12275 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12277 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12279 * include/sys/epoll.h: New file.
12280 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12283 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12285 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12286 Avoid unnecessary __WORDSIZE == 64 test.
12287 (fmaxf): Use VEX format if possible.
12292 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12293 * math/math_private.h: Remove libc_fegetround* and
12295 * sysdeps/i386/configure.in: Check for -msse2avx.
12296 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12297 also if SSE2AVX is defined.
12298 Remove libc_fegetround* and libc_fesetround*.
12299 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12300 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12309 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12311 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12315 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12317 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12320 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12322 * Makeconfig (libm): Define.
12323 * elf/Makefile: Add rules to build and run tst-relsort1.
12324 * elf/tst-relsort1.c: New file.
12325 * elf/tst-relsort1mod1.c: New file.
12326 * elf/tst-relsort1mod2.c: New file.
12328 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12330 * math/s_ldexp.c: Remove __STDC__ conditionals.
12331 * math/s_ldexpf.c: Likewise.
12332 * math/s_ldexpl.c: Likewise.
12333 * math/s_nextafter.c: Likewise.
12334 * math/s_nexttowardf.c: Likewise.
12335 * math/s_significand.c: Likewise.
12336 * math/s_significandf.c: Likewise.
12337 * math/s_significandl.c: Likewise.
12338 * math/w_jnl.c: Likewise.
12339 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12340 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12341 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12342 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12343 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12354 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12356 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12358 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12359 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12360 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12361 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12363 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12364 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12365 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12366 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12367 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12368 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12371 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12373 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12375 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12376 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12377 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12378 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12379 * sysdeps/ieee754/k_standard.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12399 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12441 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12442 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12446 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12455 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12459 * sysdeps/ieee754/s_matherr.c: Likewise.
12460 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12461 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12465 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12467 * crypt/md5.h: Remove __STDC__ conditionals.
12468 * libio/libioP.h: Likewise.
12469 * locale/programs/config.h: Likewise.
12470 * sysdeps/generic/sysdep.h: Likewise.
12471 * sysdeps/i386/asm-syntax.h: Likewise.
12472 * sysdeps/s390/asm-syntax.h: Likewise.
12473 * sysdeps/unix/sysdep.h: Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12477 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12479 * libio/libio.h: Remove __STDC__ conditionals.
12480 * malloc/obstack.h: Likewise.
12481 * math/complex.h: Likewise.
12482 * math/math.h: Likewise.
12483 * sysdeps/generic/_G_config.h: Likewise.
12484 * sysdeps/gnu/_G_config.h: Likewise.
12485 * sysdeps/mach/hurd/_G_config.h: Likewise.
12486 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12487 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12488 * sysdeps/sparc/bits/mathdef.h: Likewise.
12490 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12493 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12494 Clean up HAS_* macros.
12495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12496 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12501 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12502 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12503 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12506 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12508 * elf/tst-unique3.cc (gets): Remove declaration.
12509 * elf/tst-unique3lib.cc (gets): Likewise.
12510 * elf/tst-unique3lib2.cc (gets): Likewise.
12511 * elf/tst-unique4.cc (gets): Likewise.
12513 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12515 * include/stdio.h: Add C++ protection. Add gets declarations and
12517 * debug/tst-chk1.c: Don't declare gets here.
12518 * stdio-common/tst-gets.c: Likewise.
12520 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12522 * posix/glob: Remove directory.
12524 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12526 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12528 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12530 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12531 of the non-standard EPFNOSUPPORT.
12533 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12535 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12536 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12537 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12539 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12541 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12543 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12545 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12547 * nscd/grpcache.c (cache_addgr): Likewise.
12548 * nscd/hstcache.c (cache_addhst): Likewise.
12549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12550 * nscd/pwdcache.c (cache_addpw): Likewise.
12551 * nscd/servicescache.c (cache_addserv): Likewise.
12553 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12555 * malloc/malloc.c: Various cleanups.
12556 * malloc/hooks.c: Likewise.
12558 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12559 * stdlib/bug-fmtmsg1.c: New file.
12561 * stdlib/fmtmsg.c (init): Add missing unlock.
12562 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12564 2012-01-12 Marek Polacek <polacek@redhat.com>
12566 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12569 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12571 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12572 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12573 macro to ensure uniqueness of label name.
12574 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12575 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12577 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12579 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12581 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12582 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12583 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12586 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12588 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12590 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12591 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12592 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12594 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12596 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12597 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12601 * math/bits/math-finite.h: Add ldexp support.
12603 2012-01-10 Marek Polacek <polacek@redhat.com>
12605 * locale/programs/localedef.h (show_archive_content): Add noreturn
12608 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12610 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12612 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12614 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12616 * io/Makefile (headers): Add bits/poll2.h.
12618 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12621 typo #include statement.
12623 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12625 * include/sys/cdefs.h: Define __attribute_alloc_size.
12626 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12627 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12628 * elf/pldd.c: Likewise.
12629 * iconv/iconv_charmap.c: Likewise.
12630 * iconv/iconvconfig.c: Likewise.
12631 * iconv/strtab.c: Likewise.
12632 * locale/programs/locale.c: Likewise.
12633 * locale/programs/localedef.h: Likewise.
12634 * locale/programs/simple-hash.c: Likewise.
12635 * nscd/nscd.h: Likewise.
12636 * nss/makedb.c: Likewise.
12637 * sysdeps/generic/ldconfig.h: Likewise.
12638 * locale/programs/localedef.c: Remove xmalloc prototype.
12639 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12641 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12643 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12646 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12648 * math/Makefile (tests): Add tst-CMPLX.
12649 * math/tst-CMPLX.c: New file.
12651 * math/complex.h (CMPLXL): Fix typo.
12653 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12654 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12656 * debug/tst-chk1.c: Add poll and ppoll tests.
12657 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12658 * include/sys/poll.h: Add hidden proto for ppoll.
12659 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12660 * sysdeps/mach/hurd/ppoll.c: Likewise.
12661 * io/ppoll.c: Likewise.
12662 * debug/poll_chk.c: New file.
12663 * debug/ppoll_chk.c: New file.
12664 * include/bits/poll2.h: New file.
12665 * io/bits/poll2.h: New file.
12668 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12670 * configure.in: static is always set to yes. Remove.
12671 * config.make.in: Don't set build-static.
12672 * Makeconfig: Remove use of build-static.
12673 * dlfcn/Makefile: Likewise.
12674 * elf/Makefile: Likewise.
12675 * math/Makefile: Likewise.
12676 * misc/Makefile: Likewise.
12677 * nptl/Makefile: Likewise.
12678 * sysdeps/mach/hurd/Makefile: Likewise.
12680 * configure.in: PWD_P is not used anymore.
12681 * config.make.in: Remove PWD_P entry.
12683 * configure.in: Remove last remnants of RANLIB.
12684 No need to check for signed size_t anymore.
12685 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12687 Remove __builtin_expect test because we require at least gcc 3.4.
12688 * aclocal.m4: Likewise.
12690 * wcsmbs/mbrtoc16.c: Implement using towc function.
12691 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12692 * wcsmbs/wcsmbsload.c: Likewise.
12693 * iconv/gconv_simple.c: Likewise.
12694 * iconv/gconv_int.h: Likewise.
12695 * iconv/gconv_builtin.h: Likewise.
12696 * iconv/iconv_prog.c: Remove CHAR16 handling.
12698 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12700 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12702 * configure.in: Remove --with-elf and --enable-bounded options.
12703 Dont set base_machine for ia64. More non-ELF conditions removed.
12704 Remove testing and setting of leading underscore information.
12705 * config.make.in (build-bounded): Set to no.
12706 * config.h.in: Remove NO_UNDERSCORES entry.
12707 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12709 * csu/start.c: Remove !NO_UNDERSCORE code.
12710 * locale/localeinfo.h: Likewise.
12711 * sysdeps/generic/machine-gmon.h: Likewise.
12712 * sysdeps/generic/sysdep.h: Likewise.
12713 * sysdeps/i386/sysdep.h: Likewise.
12714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12715 * sysdeps/mach/sysdep.h: Likewise.
12716 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12717 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12718 * sysdeps/sh/sysdep.h: Likewise.
12719 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12720 * sysdeps/unix/i386/sysdep.S: Likewise.
12721 * sysdeps/unix/sparc/start.c: Likewise.
12722 * sysdeps/unix/sparc/sysdep.S: Likewise.
12723 * sysdeps/unix/sparc/sysdep.h: Likewise.
12724 * sysdeps/unix/start.c: Likewise.
12725 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12726 * sysdeps/x86_64/sysdep.h: Likewise.
12728 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12731 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12733 * argp/argp-fmtstream.h: Use const instead __const.
12734 * argp/argp.h: Likewise.
12735 * assert/assert.h: Likewise.
12736 * bits/fenv.h: Likewise.
12737 * bits/sched.h: Likewise.
12738 * bits/sigset.h: Likewise.
12739 * bits/sigthread.h: Likewise.
12740 * catgets/nl_types.h: Likewise.
12741 * conform/data/pthread.h-data: Likewise.
12742 * crypt/crypt-private.h: Likewise.
12743 * crypt/crypt.h: Likewise.
12744 * crypt/crypt_util.c: Likewise.
12745 * ctype/ctype.h: Likewise.
12746 * debug/execinfo.h: Likewise.
12747 * debug/mbsnrtowcs_chk.c: Likewise.
12748 * debug/mbsrtowcs_chk.c: Likewise.
12749 * debug/wcsnrtombs_chk.c: Likewise.
12750 * debug/wcsrtombs_chk.c: Likewise.
12751 * debug/wcstombs_chk.c: Likewise.
12752 * dirent/dirent.h: Likewise.
12753 * dlfcn/dlfcn.h: Likewise.
12754 * elf/neededtest4.c: Likewise.
12755 * grp/grp.h: Likewise.
12756 * gshadow/gshadow.h: Likewise.
12757 * iconv/gconv.h: Likewise.
12758 * iconv/gconv_int.h: Likewise.
12759 * iconv/gconv_simple.c: Likewise.
12760 * iconv/iconv.h: Likewise.
12761 * iconv/loop.c: Likewise.
12762 * iconv/skeleton.c: Likewise.
12763 * include/aio.h: Likewise.
12764 * include/aliases.h: Likewise.
12765 * include/argz.h: Likewise.
12766 * include/arpa/inet.h: Likewise.
12767 * include/assert.h: Likewise.
12768 * include/dirent.h: Likewise.
12769 * include/dlfcn.h: Likewise.
12770 * include/execinfo.h: Likewise.
12771 * include/fcntl.h: Likewise.
12772 * include/fenv.h: Likewise.
12773 * include/glob.h: Likewise.
12774 * include/grp.h: Likewise.
12775 * include/libintl.h: Likewise.
12776 * include/mntent.h: Likewise.
12777 * include/netdb.h: Likewise.
12778 * include/pwd.h: Likewise.
12779 * include/rpc/netdb.h: Likewise.
12780 * include/sched.h: Likewise.
12781 * include/search.h: Likewise.
12782 * include/shadow.h: Likewise.
12783 * include/signal.h: Likewise.
12784 * include/stdio.h: Likewise.
12785 * include/stdlib.h: Likewise.
12786 * include/string.h: Likewise.
12787 * include/sys/socket.h: Likewise.
12788 * include/sys/stat.h: Likewise.
12789 * include/sys/statfs.h: Likewise.
12790 * include/sys/statvfs.h: Likewise.
12791 * include/sys/syslog.h: Likewise.
12792 * include/sys/time.h: Likewise.
12793 * include/sys/uio.h: Likewise.
12794 * include/time.h: Likewise.
12795 * include/unistd.h: Likewise.
12796 * include/utmp.h: Likewise.
12797 * include/wchar.h: Likewise.
12798 * include/wctype.h: Likewise.
12799 * inet/aliases.h: Likewise.
12800 * inet/arpa/inet.h: Likewise.
12801 * inet/netinet/ether.h: Likewise.
12802 * inet/netinet/in.h: Likewise.
12803 * intl/libintl.h: Likewise.
12804 * io/bits/fcntl2.h: Likewise.
12805 * io/fcntl.h: Likewise.
12806 * io/ftw.h: Likewise.
12807 * io/sys/poll.h: Likewise.
12808 * io/sys/stat.h: Likewise.
12809 * io/sys/statfs.h: Likewise.
12810 * io/sys/statvfs.h: Likewise.
12811 * io/utime.h: Likewise.
12812 * libio/bits/stdio.h: Likewise.
12813 * libio/bits/stdio2.h: Likewise.
12814 * libio/libio.h: Likewise.
12815 * libio/libioP.h: Likewise.
12816 * libio/stdio.h: Likewise.
12817 * locale/lc-ctype.c: Likewise.
12818 * locale/locale.h: Likewise.
12819 * login/utmp.h: Likewise.
12820 * malloc/arena.c: Likewise.
12821 * malloc/malloc.c: Likewise.
12822 * malloc/malloc.h: Likewise.
12823 * malloc/mcheck.c: Likewise.
12824 * malloc/mtrace.c: Likewise.
12825 * math/bits/mathcalls.h: Likewise.
12826 * math/fenv.h: Likewise.
12827 * math/math_private.h: Likewise.
12828 * misc/bits/error.h: Likewise.
12829 * misc/bits/syslog.h: Likewise.
12830 * misc/err.h: Likewise.
12831 * misc/error.h: Likewise.
12832 * misc/fstab.h: Likewise.
12833 * misc/mntent.h: Likewise.
12834 * misc/regexp.h: Likewise.
12835 * misc/search.h: Likewise.
12836 * misc/sgtty.h: Likewise.
12837 * misc/sys/mman.h: Likewise.
12838 * misc/sys/syslog.h: Likewise.
12839 * misc/sys/uio.h: Likewise.
12840 * misc/sys/xattr.h: Likewise.
12841 * misc/ttyent.h: Likewise.
12842 * nis/rpcsvc/ypclnt.h: Likewise.
12843 * nss/nss.h: Likewise.
12844 * posix/bits/unistd.h: Likewise.
12845 * posix/fnmatch.h: Likewise.
12846 * posix/glob.h: Likewise.
12847 * posix/sched.h: Likewise.
12848 * posix/spawn.h: Likewise.
12849 * posix/sys/wait.h: Likewise.
12850 * posix/unistd.h: Likewise.
12851 * posix/wordexp.h: Likewise.
12852 * pwd/pwd.h: Likewise.
12853 * resolv/netdb.h: Likewise.
12854 * resource/sys/resource.h: Likewise.
12855 * rt/aio.h: Likewise.
12856 * rt/bits/mqueue2.h: Likewise.
12857 * rt/mqueue.h: Likewise.
12858 * shadow/shadow.h: Likewise.
12859 * signal/signal.h: Likewise.
12860 * socket/send.c: Likewise.
12861 * socket/sendto.c: Likewise.
12862 * socket/sys/socket.h: Likewise.
12863 * stdio-common/printf.h: Likewise.
12864 * stdlib/bits/stdlib.h: Likewise.
12865 * stdlib/fmtmsg.h: Likewise.
12866 * stdlib/monetary.h: Likewise.
12867 * stdlib/stdlib.h: Likewise.
12868 * stdlib/ucontext.h: Likewise.
12869 * streams/stropts.h: Likewise.
12870 * string/argz.h: Likewise.
12871 * string/bits/string2.h: Likewise.
12872 * string/string.h: Likewise.
12873 * string/strings.h: Likewise.
12874 * sunrpc/rpc/auth.h: Likewise.
12875 * sunrpc/rpc/auth_des.h: Likewise.
12876 * sunrpc/rpc/clnt.h: Likewise.
12877 * sunrpc/rpc/netdb.h: Likewise.
12878 * sunrpc/rpc/pmap_clnt.h: Likewise.
12879 * sunrpc/rpc/xdr.h: Likewise.
12880 * sysdeps/generic/inttypes.h: Likewise.
12881 * sysdeps/generic/net/if.h: Likewise.
12882 * sysdeps/generic/sys/swap.h: Likewise.
12883 * sysdeps/gnu/net/if.h: Likewise.
12884 * sysdeps/gnu/utmpx.h: Likewise.
12885 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12886 * sysdeps/i386/i486/bits/string.h: Likewise.
12887 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12888 * sysdeps/s390/bits/string.h: Likewise.
12889 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12890 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12891 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12892 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12893 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12894 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12895 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12896 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12897 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12898 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12899 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12900 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12901 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12902 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12903 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12904 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12905 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12911 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12912 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12913 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12914 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12915 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12917 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12918 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12919 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12920 * sysvipc/sys/ipc.h: Likewise.
12921 * sysvipc/sys/msg.h: Likewise.
12922 * sysvipc/sys/sem.h: Likewise.
12923 * sysvipc/sys/shm.h: Likewise.
12924 * termios/termios.h: Likewise.
12925 * time/sys/time.h: Likewise.
12926 * time/time.h: Likewise.
12927 * wcsmbs/bits/wchar2.h: Likewise.
12928 * wcsmbs/uchar.h: Likewise.
12929 * wcsmbs/wchar.h: Likewise.
12930 * wctype/wctype.h: Likewise.
12933 * Makeconfig: Remove all but ELF support including AIX support.
12934 * Makerules: Likewise.
12935 * config.h.in: Likewise.
12936 * config.make.in: Likewise.
12937 * configure: Likewise.
12938 * configure.in: Likewise.
12939 * csu/Makefile: Likewise.
12940 * csu/version.c: Likewise.
12941 * debug/Makefile: Likewise.
12942 * dlfcn/Makefile: Likewise.
12943 * elf/Makefile: Likewise.
12944 * extra-lib.mk: Likewise.
12945 * iconv/Makefile: Likewise.
12946 * include/libc-symbols.h: Likewise.
12947 * include/shlib-compat.h: Likewise.
12948 * resolv/Makefile: Likewise.
12949 * resolv/res_libc.c: Likewise.
12950 * rt/Makefile: Likewise.
12951 * sysdeps/i386/asm-syntax.h: Likewise.
12952 * sysdeps/i386/sysdep.h: Likewise.
12953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12954 * sysdeps/mach/sysdep.h: Likewise.
12955 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12956 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12957 * sysdeps/s390/asm-syntax.h: Likewise.
12958 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12959 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12960 * sysdeps/sh/sysdep.h: Likewise.
12961 * sysdeps/unix/sparc/sysdep.h: Likewise.
12962 * sysdeps/wordsize-32/divdi3.c: Likewise.
12963 * sysdeps/x86_64/sysdep.h: Likewise.
12965 * argp/Versions: Remove _argp_unlock_xxx.
12968 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12969 * abilist/libBrokenLocale.abilist: Likewise.
12970 * abilist/libanl.abilist: Likewise.
12971 * abilist/libc.abilist: Likewise.
12972 * abilist/libcrypt.abilist: Likewise.
12973 * abilist/libdl.abilist: Likewise.
12974 * abilist/libm.abilist: Likewise.
12975 * abilist/libnsl.abilist: Likewise.
12976 * abilist/libpthread.abilist: Likewise.
12977 * abilist/libresolv.abilist: Likewise.
12978 * abilist/librt.abilist: Likewise.
12979 * abilist/libthread_db.abilist: Likewise.
12980 * abilist/libutil.abilist: Likewise.
12981 * abilist/libnss_db.abilist: New file.
12983 * scripts/abilist.awk: Add support for indirect functions.
12985 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12987 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12989 * shlib-versions: Remove entries for ports architectures.
12991 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12993 * elf/stackguard-macros.h: Remove support for IA-64.
12994 * elf/tst-auditmod1.c: Likewise.
12995 * sysdeps/generic/ldsodefs.h: Likewise.
12997 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12998 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13002 * configure.in: Remove --enable-omitfp support.
13004 * config.make.in: Likewise.
13005 * Makeconfig: Likewise.
13006 * manual/install.texi: Likewise.
13008 In case anyone cares, the IA-64 architecture could move to ports.
13009 * sysdeps/ia64/*: Removed.
13010 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13011 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13014 * configure.in: Remove entries for unsupported architectures.
13017 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13018 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13020 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13021 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13022 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13023 fall back to using wcrtomb.
13024 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13025 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13027 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13028 * wcsmbs/tst-c16c32-1.c: New file.
13030 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13033 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13035 * elf/tst-unique3.cc: Add explicit declaration of gets.
13036 * elf/tst-unique3lib.cc: Likewise.
13037 * elf/tst-unique3lib2.cc: Likewise.
13038 * elf/tst-unique4.cc: Likewise.
13040 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13042 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13045 * assert/assert.h (static_assert): Don't define for C++.
13046 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13047 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13049 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13051 * iconv/loop.c (single loop): Fix assertion in storing of
13054 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13056 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13058 * posix/getconf.c: Update copyright year.
13059 * nss/getent.c: Likewise.
13060 * nss/makedb.c: Likewise.
13061 * iconv/iconvconfig.c: Likewise.
13062 * iconv/iconv_prog.c: Likewise.
13063 * elf/ldconfig.c: Likewise.
13064 * elf/pldd.c: Likewise.
13065 * elf/sotruss.ksh: Likewise.
13066 * catgets/gencat.c: Likewise.
13067 * csu/version.c: Likewise.
13068 * elf/ldd.bash.in: Likewise.
13069 * elf/sprof.c (print_version): Likewise.
13070 * locale/programs/locale.c: Likewise.
13071 * locale/programs/localedef.c: Likewise.
13072 * login/programs/pt_chown.c: Likewise.
13073 * nscd/nscd.c (print_version): Likewise.
13074 * debug/xtrace.sh: Likewise.
13075 * malloc/memusage.sh: Likewise.
13076 * malloc/mtrace.pl: Likewise.
13077 * debug/catchsegv.sh: Likewise.
13079 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13081 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13084 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13087 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13088 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13090 * iconv/gconv_int.h: Likewise.
13091 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13092 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13093 from libc for GLIBC_2.16.
13094 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13095 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13096 * wcsmbs/uchar.h: Really define mbstate_t.
13097 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13098 * wcsmbs/c16rtomb.c: New file.
13099 * wcsmbs/mbrtoc16.c: New file.
13100 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13101 for C/POSIX locale.
13102 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13103 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13105 * wcsmbs/wchar.h: Add missing __restrict.
13107 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13110 * time/Makefile (routines): Add timespec_get.
13111 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13112 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13113 timespec for ISO C11.
13114 * time/timespec_get.c: New file.
13115 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13116 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13119 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13120 * stdlib/stdlib.h: Declare aligned_alloc.
13121 * Versions.def: Add GLIBC_2.16 for libc.
13122 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13125 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13128 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13132 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13135 * assert/assert.h (static_assert): Define.
13137 * version.h: Update for 2.16 development version.
13140 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13143 * version.h (RELEASE): Bump for 2.15 release.
13144 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13146 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13147 Patch by Marek Polacek <mpolacek@redhat.com>.
13149 * bits/byteswap.h: Protect long long constants with __extension__.
13150 * sysdeps/i386/bits/byteswap.h: Likewise.
13151 * sysdeps/ia64/bits/byteswap.h: Likewise.
13152 * sysdeps/s390/bits/byteswap.h: Likewise.
13153 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13155 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13158 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13159 destination buffer.
13160 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13162 2011-12-23 Marek Polacek <polacek@redhat.com>
13164 * elf/dl-addr.c (determine_info): Add inline keyword.
13165 * elf/tst-auditmod4b.c (check_avx): Likewise.
13166 * elf/tst-auditmod6b.c (check_avx): Likewise.
13167 * elf/tst-auditmod6c.c (check_avx): Likewise.
13168 * elf/tst-auditmod7b.c (check_avx): Likewise.
13170 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13172 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13175 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13178 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13179 processing for last bytes.
13181 2011-08-06 Bruno Haible <bruno@clisp.org>
13184 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13185 U+0385, not to U+1FEE.
13188 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13189 entry for U+00A5 U+0301.
13191 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13194 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13195 buffer for the output is too small.
13197 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13201 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13202 SSE flags if possible.
13204 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13208 processing for last bytes.
13210 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13212 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13213 (syscall-list-default-options, syscall-list-default-condition)
13214 (syscall-list-includes): Define.
13215 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13216 list of ABIs and options and #if conditions for each ABI. Do not
13217 handle common syscalls between ABIs specially.
13218 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13220 (syscall-list-variants, syscall-list-32bit-options)
13221 (syscall-list-32bit-condition, syscall-list-64bit-options)
13222 (syscall-list-64bit-condition): Define.
13223 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13224 (syscall-list-variants, syscall-list-32bit-options)
13225 (syscall-list-32bit-condition, syscall-list-64bit-options)
13226 (syscall-list-64bit-condition): Define.
13227 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13229 (syscall-list-variants, syscall-list-32bit-options)
13230 (syscall-list-32bit-condition, syscall-list-64bit-options)
13231 (syscall-list-64bit-condition): Define.
13232 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13234 (syscall-list-variants, syscall-list-32bit-options)
13235 (syscall-list-32bit-condition, syscall-list-64bit-options)
13236 (syscall-list-64bit-condition): Define.
13238 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13240 * locale/iso-639.def: Add brx entry.
13243 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13244 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13246 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13247 __feraiseexcept_renamed.
13249 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13252 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13253 EPOLLET with unsigned values.
13254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13257 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13258 to large cancellation.
13259 * math/s_cacoshf.c: Likewise.
13260 * math/s_cacoshl.c: Likewise.
13262 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13266 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13267 * math/s_cacoshf.c: Likewise.
13268 * math/s_cacoshl.c: Likewise.
13270 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13273 * iconv/gconv.h: Define __GCONV_SWAP.
13274 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13275 * iconvdata/utf-16.c: Likewise.
13276 * iconvdata/utf-32.c: Likewise.
13278 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13282 numerator after shifting it by one limb.
13284 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13286 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13287 under [__USE_EXTERN_INLINES].
13289 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13292 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13294 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13296 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13297 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13299 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13300 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13301 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13302 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13303 for strncasecmp/strncasecmp_l compilation.
13304 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13305 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13307 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13310 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13313 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13316 * time/tzfile.c (__tzfile_read): Check values from file header.
13318 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13320 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13321 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13322 * powerpc/powerpc32/dl-start.S: Likewise.
13323 * powerpc/powerpc32/elf/start.S: Likewise.
13324 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13325 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13326 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13327 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13328 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13329 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13330 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13331 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13332 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13333 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13334 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13335 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13336 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13337 * powerpc/powerpc32/memset.S: Likewise.
13338 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13339 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13340 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13341 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13342 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13343 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13344 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13345 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13346 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13347 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13348 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13349 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13350 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13352 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13354 * math/libm-test.inc: Added more nearbyint tests.
13355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13356 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13360 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13362 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13365 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13367 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13368 Add wcscpy-ssse3 wcscpy-c.
13369 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13370 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13371 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13372 * sysdeps/x86_64/wcschr.S: New file.
13373 * sysdeps/x86_64/wcsrchr.S: New file.
13374 * string/test-strcmp.c: Remove checking of wcscmp function for
13376 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13377 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13378 wcsrchr-sse2 wcsrchr-c.
13379 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13380 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13381 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13382 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13383 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13384 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13385 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13386 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13387 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13388 * wcsmbc/wcschr.c (WCSCHR): New macro.
13390 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13392 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13393 * wcsmbs/test-wcsrchr.c: New file.
13394 * string/test-strrchr.c: Add wcsrchr support.
13396 * wcsmbs/test-wcscpy.c: New file.
13397 * string/test-strcpy.c: Add wcscpy support.
13400 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13402 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13405 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13408 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13410 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13413 Minor optimizations.
13415 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13416 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13417 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13419 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13421 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13422 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13423 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13424 for gcc to avoid warnings.
13425 * inet/Makefile (tests): Add tst-checks.
13426 * inet/tst-checks.c: New file.
13428 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13431 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13434 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13435 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13437 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13439 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13441 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13444 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13446 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13448 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13449 conditional on GCC version.
13450 (__arch_compare_and_exchange_val_8_acq)
13451 (__arch_compare_and_exchange_val_16_acq)
13452 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13453 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13454 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13456 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13458 * sysdeps/sh/backtrace.c: New file.
13460 2011-12-02 Andreas Schwab <schwab@redhat.com>
13462 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13465 2011-12-01 Andreas Schwab <schwab@redhat.com>
13467 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13468 falling back to utime.
13470 2011-11-30 Andreas Schwab <schwab@redhat.com>
13472 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13473 expectations for float.
13475 2011-11-29 Andreas Schwab <schwab@redhat.com>
13477 * locale/weight.h (findidx): Add parameter len.
13478 * locale/weightwc.h (findidx): Likewise.
13479 * posix/fnmatch_loop.c (FCT): Adjust caller.
13480 * posix/regcomp.c (build_equiv_class): Likewise.
13481 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13482 * posix/regexec.c (check_node_accept_bytes): Likewise.
13483 * string/strcoll_l.c (STRCOLL): Likewise.
13484 * string/strxfrm_l.c (STRXFRM): Likewise.
13486 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13488 * Makefile.in: Remove CVSOPT handling.
13489 * configure.in: Remove use of AC_REVISION.
13490 * iconvdata/Makefile (distribute): No need to filter out CVS.
13491 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13494 2011-11-16 Andreas Schwab <schwab@redhat.com>
13496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13497 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13498 [USE_AS_STRNCASECMP_L]: Likewise.
13499 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13500 NO_TLS_DIRECT_SEG_REFS.
13501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13502 Fix argument offsets for non-PIC.
13503 [USE_AS_STRNCASECMP_L]: Likewise.
13504 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13505 NO_TLS_DIRECT_SEG_REFS.
13507 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13509 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13511 * locale/loadlocale.c (_nl_load_locale): Likewise.
13513 2011-11-15 Andreas Schwab <schwab@redhat.com>
13515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13516 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13517 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13518 (SYSCALL_GETTIME): Set errno on error.
13520 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13521 count references to noai6ai_cached.
13523 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13525 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13527 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13528 FD_CLOEXEC for /proc/self/maps.
13530 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13531 FD_CLOEXEC for /proc/meminfo.
13533 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13536 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13537 FD_CLOEXEC for given file.
13539 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13541 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13542 FD_CLOEXEC for /etc/hosts.
13543 (_gethtent): Likewise.
13545 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13547 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13548 cancellation and set FD_CLOEXEC for /etc/netgroup.
13550 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13551 reading /etc/publickey.
13553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13554 allow cancellation when reading /etc/group.
13556 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13558 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13560 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13561 when using data file.
13563 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13565 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13566 (write_nis_obj): Use "c" and "e" in fopen.
13568 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13570 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13572 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13574 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13576 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13579 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13581 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13583 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13585 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13586 file parsing and set FD_CLOEXEC.
13588 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13590 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13592 2011-11-14 Andreas Schwab <schwab@redhat.com>
13594 * malloc/arena.c (arena_get2): Don't call reused_arena when
13595 _int_new_arena failed.
13597 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13599 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13600 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13601 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13603 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13605 to compile strcasecmp and strncasecmp.
13606 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13607 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13611 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13613 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13614 locale-defines.sym to gen-as-const-headers.
13615 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13616 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13618 to compile strcasecmp and strncasecmp.
13619 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13620 strcasecmp_l and strncasecmp_l.
13621 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13622 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13623 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13624 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13625 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13626 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13627 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13628 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13629 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13630 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13631 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13633 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13635 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13636 result of SYSDEP_GETTIME_CPU to retval.
13637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13638 parameter list to macro. Remove trailing semicolon. Adjust users.
13640 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13643 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13647 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13648 from unused variable.
13650 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13652 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13655 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13658 * sunrpc/rpc_prot.c (rejected): Fix case value.
13660 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13661 unsigned long long int to avoid warnings in shift.
13663 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13665 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13668 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13669 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13670 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13672 * nis/nis_table.c (nis_list): Use variable of correct type for
13673 result of __follow_path call.
13675 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13677 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13678 of math functions ceil, trunc, floor, round, and sqrt, when
13679 avaliable on the platform.
13680 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13682 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13683 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13684 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13686 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13688 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13691 2011-11-11 Roland McGrath <roland@hack.frob.com>
13693 * include/unistd.h: Fix __readlink return type.
13694 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13696 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13698 * stdlib/ucontext.h: Undo last change for makecontext.
13700 2011-11-11 Andreas Schwab <schwab@redhat.com>
13702 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13704 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13705 * setjmp/setjmp.h: Mark functions as non-leaf.
13706 * setjmp/bits/setjmp2.h: Likewise.
13707 * stdlib/ucontext.h: Likewise.
13709 2011-11-10 Andreas Schwab <schwab@redhat.com>
13711 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13712 (reused_arena): Don't check arena limit.
13713 (arena_get2): Atomically check arena limit.
13715 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13717 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13718 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13723 2011-11-07 Andreas Schwab <schwab@redhat.com>
13725 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13726 handler when locking.
13728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13729 Fix size of allocated buffer.
13731 2011-11-04 Andreas Schwab <schwab@redhat.com>
13734 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13735 declarations for long double functions.
13736 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13738 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13740 2011-11-03 Andreas Schwab <schwab@redhat.com>
13742 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13745 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13748 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13750 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13752 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13754 * include/alloca.h (stackinfo_alloca_round): Define.
13755 (extend_alloca): Use it.
13756 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13757 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13760 * scripts/check-local-headers.sh: Ignore libaudit.h.
13762 * nscd/Makefile (extra-objs): Make recursively expanded.
13764 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13766 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13769 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13770 * posix/tst-rfc3484-2.c: Likewise.
13771 * posix/tst-rfc3484-3.c: Likewise.
13773 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13775 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13777 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13778 process_vm_writev from libc using GLIBC_2.15 version.
13780 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13782 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13784 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13787 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13790 * nss/getent.c (initgroups_keys): Show error message in case no group
13793 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13794 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13795 __bump_nl_timestamp.
13796 * nscd/connections (nscd_init): When host database is served open
13797 netlink socket and request notification about configuration changes.
13798 (main_loop_poll): Track netlink file descriptor and bump timestamp
13799 in case data becomes available.
13800 (main_loop_epoll): Likewise.
13801 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13802 (database_pers_head): Add extra_data fileds.
13803 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13804 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13805 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13808 in6ai data, call __free_in6ai.
13809 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13810 Add -DHAVE_NETLINK.
13811 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13812 interface information. Reuse previous data if netlink timestamp
13814 (__bump_nl_timestamp): New function.
13815 (__free_in6ai): New function.
13817 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13819 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13820 close_not_cancel_no_status here.
13821 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13823 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13826 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13829 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13830 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13831 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13833 2011-07-03 Andreas Jaeger <aj@suse.de>
13836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13837 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13838 * math/libm-test.inc (sin_test): Add test case.
13840 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13843 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13844 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13846 * elf/chroot_canon.c (chroot_canon): Cleanups.
13848 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13851 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13852 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13854 * string/test-strchr.c: Make usable for strchrnul testing.
13855 * string/test-strchrnul.c: New file.
13856 * string/Makefile (strop-tests): Add strchrnul.
13858 * po/it.po: Update from translation team.
13859 * po/es.po: Likewise.
13861 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13863 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13864 the three constants needed as parameters. Drop the others.
13865 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13866 __m128i_strloadu_tolower.
13867 Create and initialize variable zero and use it in all the places
13868 where _mm_setzero_si128 was used.
13870 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13871 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13872 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13875 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13876 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13877 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13878 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13879 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13880 __mpranred, __mptan.
13881 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13882 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13883 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13884 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13885 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13886 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13888 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13889 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13891 2011-10-28 Andreas Schwab <schwab@redhat.com>
13893 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13894 redefine if SHARED.
13895 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13898 wide char related routines to wcsmbs subdir.
13900 2011-10-27 Andreas Schwab <schwab@redhat.com>
13903 * misc/sys/cdefs.h (__THROWNL): Define.
13904 * posix/unistd.h: Use __THREADNL instead of __THREAD
13905 for memory synchronization functions.
13907 2011-10-26 Roland McGrath <roland@hack.frob.com>
13910 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13912 * manual/stdio.texi (Obstack Streams): Node removed.
13914 2011-10-26 Andreas Schwab <schwab@redhat.com>
13916 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13920 * math/math_private.h (math_force_eval): Allow non-addressable
13922 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13924 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13926 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13927 file is not needed.
13929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13933 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13936 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13938 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13939 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13940 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13941 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13942 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13943 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13944 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13947 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13948 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13949 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13950 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13951 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13953 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13955 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13958 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13959 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13962 place. Use VEX encoding when compiling for AVX.
13964 2011-10-25 Andreas Schwab <schwab@redhat.com>
13966 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13967 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13969 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13971 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13973 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13974 useless if() expression.
13975 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13985 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13987 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13988 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13989 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13990 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13995 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13997 2011-10-25 Andreas Schwab <schwab@redhat.com>
13999 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14003 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14005 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14006 .text section. Avoid duplicate constants.
14007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14017 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14019 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14022 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14030 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14031 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14032 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14033 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14036 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14037 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14038 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14039 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14040 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14041 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14042 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14043 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14044 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14045 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14049 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14050 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14051 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14053 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14055 * sysdeps/x86_64/dla.h: Move to ...
14056 * sysdeps/x86_64/fpu/dla.h: ...here.
14057 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14058 situations. Use __builtin_fma only for gcc 4.6 and up.
14060 * config.make.in: Add have-mfma4 entry.
14061 * configure.in: Substitute libc_cv_cc_fma4.
14062 * math/Makefile (dbl-only-routines): Add sincostab.
14063 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14064 Use __sincostab not sincos.
14065 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14072 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14073 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14074 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14075 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14077 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14078 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14080 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14081 define aliases when function name is a macro.
14082 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14083 sysdeps/ieee754/dbl-64/sincos.tbl.
14084 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14085 fma4-enabled routines.
14086 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14087 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14088 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14089 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14090 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14091 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14093 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14095 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14096 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14097 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14098 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14099 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14100 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14101 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14102 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14103 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14104 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14105 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14106 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14107 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14110 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14113 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14114 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14115 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14117 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14128 2011-10-24 Andreas Schwab <schwab@redhat.com>
14130 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14132 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14136 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14138 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14140 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14141 Remove unused variable magic_bits.
14142 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14144 * string/strnlen.c: Define and use STRNLEN macro.
14145 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14146 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14148 * wcsmbs/wcslen.c: Define and use WCSLEN.
14149 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14150 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14151 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14152 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14153 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14154 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14155 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14157 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14160 strnlen-sse2-no-bsf.
14161 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14163 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14164 Add strnlen support.
14165 (USE_AS_STRNLEN): New macro.
14166 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14168 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14169 * sysdeps/x86_64/wcslen.S: New file.
14171 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14173 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14174 XMM-moves are used for copying on small sizes.
14176 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14178 * wcsmbs/Makefile (strop-tests): Add wcschr.
14179 * wcsmbs/test-wcschr.c: New file.
14180 * string/test-strchr.c: Update.
14181 Add wcschr support.
14184 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14186 * wcsmbs/Makefile (strop-tests): Add wcslen.
14187 * wcsmbs/test-wcslen.c: New file.
14188 * string/test-strlen.c: Update.
14189 Add wcslen support.
14192 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14194 * po/it.po: Update from translation team.
14196 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14198 * sysdeps/x86_64/wcscmp.S: Update.
14199 Fix wrong comparison semantics.
14200 wcscmp shall use signed comparison not unsigned.
14201 Don't use substraction to avoid overflow bug.
14202 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14203 * wcsmbc/wcscmp.c: Likewise.
14204 * string/test-strcmp.c: Likewise.
14205 Add new tests to check cases with negative values.
14207 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14209 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14210 * sysdeps/x86_64/dla.h: ...here. New file.
14211 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14212 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14221 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14224 __ynl_finite aliases.
14226 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14230 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14232 [DLA_FMA] (EMULV): Use DLA_FMA.
14233 [DLA_FMA] (MUL12): Use EMULV.
14234 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14235 that are not needed.
14236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14244 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14246 * math/s_nan.c: Undef __nan.
14247 * math/s_nanf.c: Undef __nanf.
14248 * math/s_nanl.c: Undef __nanl.
14249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14252 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14254 * math/s_catan.c: Add branch predictions.
14255 * math/s_catanf.c: Likewise.
14256 * math/s_catanh.c: Likewise.
14257 * math/s_catanhf.c: Likewise.
14258 * math/s_catanhl.c: Likewise.
14259 * math/s_catanl.c: Likewise.
14260 * math/s_cexp.c: Likewise.
14261 * math/s_cexpf.c: Likewise.
14262 * math/s_cexpl.c: Likewise.
14263 * math/s_clog.c: Likewise.
14264 * math/s_clog10.c: Likewise.
14265 * math/s_clog10f.c: Likewise.
14266 * math/s_clog10l.c: Likewise.
14267 * math/s_clogf.c: Likewise.
14268 * math/s_clogl.c: Likewise.
14269 * math/s_csqrt.c: Likewise.
14270 * math/s_csqrtf.c: Likewise.
14271 * math/s_csqrtl.c: Likewise.
14272 * math/s_ctanf.c: Likewise.
14273 * math/s_ctanh.c: Likewise.
14274 * math/s_ctanhf.c: Likewise.
14275 * math/s_ctanhl.c: Likewise.
14276 * math/s_ctanl.c: Likewise.
14278 * math/math_private.h: Define __nan, __nanf, __nanl.
14279 * math/s_cacosh.c: Include <math_private.h>.
14280 * math/s_cacoshl.c: Likewise.
14281 * math/s_casinh.c: Likewise.
14282 * math/s_casinhf.c: Likewise.
14283 * math/s_casinhl.c: Likewise.
14284 * math/s_ccos.c: Rely entire on ccosh.
14285 * math/s_ccosf.c: Rely entire on ccoshf.
14286 * math/s_ccosl.c: Rely entirely on ccoshl.
14287 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14288 Remove tests for FE_INVALID.
14289 * math/s_ccoshf.c: Likewise.
14290 * math/s_ccoshl.c: Likewise.
14291 * math/s_csin.c: Likewise.
14292 * math/s_csinf.c: Likewise.
14293 * math/s_csinh.c Likewise.
14294 * math/s_csinhf.c: Likewise.
14295 * math/s_csinhl.c: Likewise.
14296 * math/s_csinl.c: Likewise.
14297 * math/s_ctan.c: Likewise.
14298 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14299 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14300 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14302 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14305 compilation problems.
14307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14310 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14312 * sysdeps/i386/configure.in: Test for -mfma4 option.
14313 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14314 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14315 COMMON_CPUID_INDEX_80000001.
14316 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14317 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14318 use it if FMA3 is not supported.
14319 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14321 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14322 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14324 2011-10-20 Andreas Schwab <schwab@redhat.com>
14327 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14328 it would create a cycle with a link time dependency.
14330 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14332 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14334 * string/Makefile (strop-tests): Add rawmemchr.
14335 * string/test-rawmemchr.c: New file.
14337 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14338 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14339 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14340 when compiling str{,n}casecmp and when AVX is available. Hook up
14341 new optimized code in initializers.
14343 2011-10-19 Andreas Schwab <schwab@redhat.com>
14345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14346 __feraiseexcept instead of feraiseexcept.
14348 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14350 * math/math_private.h: Define defaults for libc_fetestexcept and
14352 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14353 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14354 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14355 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14357 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14358 libc_fetestexcept and libc_feupdateenv.
14360 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14361 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14362 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14363 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14364 libc_feholdexcept_setround.
14366 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14367 Add s_nearbyint-c and s_nearbyintf-c.
14368 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14369 nearbyintf inlines.
14370 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14372 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14375 * math/math_private.h: Define defaults for libc_fegetround,
14376 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14377 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14378 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14379 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14380 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14381 standard functions.
14382 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14383 Remove comments and hacks for old compiler versions.
14384 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14385 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14386 libc_feholdexceptl.
14388 2011-10-18 Andreas Schwab <schwab@redhat.com>
14390 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14391 (__feraiseexcept_renamed): Add __NTH.
14392 (feraiseexcept): Add __NTH. Rename local variables to fix
14393 namespace violations.
14395 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14397 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14399 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14401 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14402 recently added interfaces.
14403 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14405 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14406 about macro parameter expansion.
14408 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14409 __NO_MATH_INLINES is defined. Cleanups.
14411 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14412 and __floorf is target has SSE4.1.
14413 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14414 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14415 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14416 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14418 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14420 (floorf): Likewise.
14422 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14424 2011-10-17 Andreas Schwab <schwab@redhat.com>
14426 * misc/sys/cdefs.h: Fix last change.
14428 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14431 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14433 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14435 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14437 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14438 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14441 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14442 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14443 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14444 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14445 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14446 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14447 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14448 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14449 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14450 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14451 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14452 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14453 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14454 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14455 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14456 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14458 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14459 ceil, ceilf, floor, floorf.
14461 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14462 Perform IRELATIVE relocations last.
14464 * elf/do-rel.h: Add another parameter nrelative, replacing the
14465 local variable with the same name. Change name of the function
14466 to end in Rel or Rela (uppercase).
14467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14468 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14469 elf_dynamic_do_##reloc function.
14471 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14473 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14474 is sufficient, at least on modern CPUs.
14476 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14478 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14481 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14483 * math/bits/math-finite.h: Add entries for exp.
14484 * math/e_expl.c: Add __*_finite alias.
14485 * sysdeps/i386/fpu/e_exp.S: Likewise.
14486 * sysdeps/i386/fpu/e_expf.S: Likewise.
14487 * sysdeps/i386/fpu/e_expl.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14489 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14493 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14494 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14496 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14497 is sufficient, at least on modern CPUs.
14499 * ctype/ctype-info.c (__ctype_init): Define.
14500 * include/ctype.h (__ctype_init): Declare.
14501 (__ctype_b_loc): The variable is always initialized.
14502 (__ctype_toupper_loc): Likewise.
14503 (__ctype_tolower_loc): Likewise.
14504 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14505 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14507 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14509 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14511 * configure.in: Also look in $cxxmachine/include for C++ system
14514 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14516 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14517 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14518 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14519 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14521 (USE_AS_WMEMCMP): New macro.
14523 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14524 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14525 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14526 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14528 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14529 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14530 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14531 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14532 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14534 (USE_AS_WMEMCMP): New macro.
14535 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14536 * sysdeps/string/test-memcmp.c: Update.
14537 Fix simple_wmemcmp.
14539 * wcsmbs/wmemcmp.c: Update.
14540 (WMEMCMP): New macro.
14543 2011-10-12 Andreas Jaeger <aj@suse.de>
14546 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14548 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14550 * libio/iofwide.c (do_length): Avoid warning.
14552 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14554 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14556 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14558 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14559 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14560 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14561 * sysdeps/i386/i686/fpu/e_log.S: New file.
14562 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14563 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14565 * ctype/ctype.h: Add support for inlined isXXX functions when
14566 compiling C++ code.
14568 2011-10-14 Andreas Schwab <schwab@redhat.com>
14570 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14572 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14574 2011-10-13 Roland McGrath <roland@hack.frob.com>
14577 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14579 2011-10-13 Andreas Schwab <schwab@redhat.com>
14581 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14582 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14585 * sysdeps/x86_64/memrchr.S: Check for zero size.
14587 * string/stratcliff.c: Add memrchr tests.
14589 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14592 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14593 rawmemchr-sse2 rawmemchr-sse2-bsf.
14594 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14595 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14596 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14597 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14598 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14599 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14600 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14601 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14602 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14603 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14604 * string/memrchr.c (MEMRCHR): New macro.
14606 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14608 Add integration with gcc's -ffinite-math-only and optimize wrapper
14610 * Versions.def: Define GLIBC_2.15 version for libm.
14611 * math/Makefile (headers): Add bits/math-finite.h.
14612 * math/bits/math-finite.h: New file.
14613 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14614 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14615 * math/e_acoshl.c: Add __*_finite alias.
14616 * math/e_acosl.c: Likewise.
14617 * math/e_asinl.c: Likewise.
14618 * math/e_atan2l.c: Likewise.
14619 * math/e_atanhl.c: Likewise.
14620 * math/e_coshl.c: Likewise.
14621 * math/e_exp10.c: Likewise.
14622 * math/e_exp10f.c: Likewise.
14623 * math/e_exp10l.c: Likewise.
14624 * math/e_exp2l.c: Likewise.
14625 * math/e_fmodl.c: Likewise.
14626 * math/e_gammal_r.c: Likewise.
14627 * math/e_hypotl.c: Likewise.
14628 * math/e_j0l.c: Likewise.
14629 * math/e_j1l.c: Likewise.
14630 * math/e_jnl.c: Likewise.
14631 * math/e_lgammal_r.c: Likewise.
14632 * math/e_log10l.c: Likewise.
14633 * math/e_log2l.c: Likewise.
14634 * math/e_logl.c: Likewise.
14635 * math/e_powl.c: Likewise.
14636 * math/e_sinhl.c: Likewise.
14637 * math/e_sqrtl.c: Likewise.
14638 * math/e_scalb.c: Completely rewritten and optimized.
14639 * math/e_scalbf.c: Likewise.
14640 * math/e_scalbl.c: Likewise.
14641 * math/w_acos.c: Likewise.
14642 * math/w_acosf.c: Likewise.
14643 * math/w_acosl.c: Likewise.
14644 * math/w_acosh.c: Likewise.
14645 * math/w_acoshf.c: Likewise.
14646 * math/w_acoshl.c: Likewise.
14647 * math/w_asin.c: Likewise.
14648 * math/w_asinf.c: Likewise.
14649 * math/w_asinl.c: Likewise.
14650 * math/w_atan2.c: Likewise.
14651 * math/w_atan2f.c: Likewise.
14652 * math/w_atan2l.c: Likewise.
14653 * math/w_atanh.c: Likewise.
14654 * math/w_atanhf.c: Likewise.
14655 * math/w_atanhl.c: Likewise.
14656 * math/w_exp10.c: Likewise.
14657 * math/w_exp10f.c: Likewise.
14658 * math/w_exp10l.c: Likewise.
14659 * math/w_fmod.c: Likewise.
14660 * math/w_fmodf.c: Likewise.
14661 * math/w_fmodl.c: Likewise.
14662 * math/w_j0.c: Likewise.
14663 * math/w_j0f.c: Likewise.
14664 * math/w_j0l.c: Likewise.
14665 * math/w_j1.c: Likewise.
14666 * math/w_j1f.c: Likewise.
14667 * math/w_j1l.c: Likewise.
14668 * math/w_jn.c: Likewise.
14669 * math/w_jnf.c: Likewise.
14670 * math/w_log.c: Likewise.
14671 * math/w_logf.c: Likewise.
14672 * math/w_logl.c: Likewise.
14673 * math/w_log10.c: Likewise.
14674 * math/w_log10f.c: Likewise.
14675 * math/w_log10l.c: Likewise.
14676 * math/w_log2.c: Likewise.
14677 * math/w_log2f.c: Likewise.
14678 * math/w_log2l.c: Likewise.
14679 * math/w_pow.c: Likewise.
14680 * math/w_powf.c: Likewise.
14681 * math/w_powl.c: Likewise.
14682 * math/w_remainder.c: Likewise.
14683 * math/w_remainderf.c: Likewise.
14684 * math/w_remainderl.c: Likewise.
14685 * math/w_scalb.c: Likewise.
14686 * math/w_scalbf.c: Likewise.
14687 * math/w_scalbl.c: Likewise.
14688 * math/w_sqrt.c: Likewise.
14689 * math/w_sqrtf.c: Likewise.
14690 * math/w_sqrtl.c: Likewise.
14691 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14692 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14694 * math/math_private.h: Declare __kernel_standard_f.
14695 * math/w_cosh.c: Remove cruft and optimize a bit.
14696 * math/w_coshf.c: Likewise.
14697 * math/w_coshl.c: Likewise.
14698 * math/w_exp2.c: Likewise.
14699 * math/w_exp2f.c: Likewise.
14700 * math/w_exp2l.c: Likewise.
14701 * math/w_hypot.c: Likewise.
14702 * math/w_hypotf.c: Likewise.
14703 * math/w_hypotl.c: Likewise.
14704 * math/w_lgamma.c: Likewise.
14705 * math/w_lgamma_r.c: Likewise.
14706 * math/w_lgammaf.c: Likewise.
14707 * math/w_lgammaf_r.c: Likewise.
14708 * math/w_lgammal.c: Likewise.
14709 * math/w_lgammal_r.c: Likewise.
14710 * math/w_sinh.c: Likewise.
14711 * math/w_sinhf.c: Likewise.
14712 * math/w_sinhl.c: Likewise.
14713 * math/w_tgamma.c: Likewise.
14714 * math/w_tgammaf.c: Likewise.
14715 * math/w_tgammal.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14718 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14719 Minor optimizations. Pretty printing. Remove cruft.
14720 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14721 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14722 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14724 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14725 * sysdeps/i386/fpu/e_asin.S: Likewise.
14726 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14727 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14728 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14729 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14732 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14733 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14734 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14735 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14736 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14737 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14738 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14739 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14740 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14741 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14742 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14743 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14744 * sysdeps/i386/fpu/e_log.S: Likewise.
14745 * sysdeps/i386/fpu/e_log10.S: Likewise.
14746 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14747 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14748 * sysdeps/i386/fpu/e_log2.S: Likewise.
14749 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14751 * sysdeps/i386/fpu/e_logf.S: Likewise.
14752 * sysdeps/i386/fpu/e_logl.S: Likewise.
14753 * sysdeps/i386/fpu/e_pow.S: Likewise.
14754 * sysdeps/i386/fpu/e_powf.S: Likewise.
14755 * sysdeps/i386/fpu/e_powl.S: Likewise.
14756 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14757 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14758 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14759 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14760 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14762 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14763 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14764 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14786 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14787 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14788 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14789 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14790 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14791 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14792 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14793 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14794 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14799 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14800 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14801 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14802 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14803 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14804 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14805 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14806 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14848 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14850 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14853 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14858 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14859 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14860 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14861 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14862 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14863 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14864 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14865 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14866 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14867 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14868 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14869 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14873 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14874 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14875 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14876 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14877 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14878 (__isnanf): Likewise.
14879 (__isinf_ns): Likewise.
14880 (__isinf_nsf): Likewise.
14881 (__finite): Likewise.
14882 (__finitef): Likewise.
14883 (__ieee754_sqrt): Define as macro.
14884 (__ieee754_sqrtf): Define as macro.
14885 (__ieee754_sqrtl): Define as macro.
14886 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14888 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14889 __FINITE_MATH_ONLY__ consistent.
14890 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14892 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14894 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14899 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14901 * po/ja.po: Update from translation team.
14903 2011-10-08 Roland McGrath <roland@hack.frob.com>
14905 * locale/programs/locarchive.c (prepare_address_space): New function.
14906 (create_archive, enlarge_archive, open_archive): Use it.
14908 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14909 inside [SHARED], where it is used.
14911 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14913 * nss/getent.c (netgroup_keys): Remove unused variable.
14914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14916 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14918 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14919 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14921 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14922 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14923 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14924 * math/Makefile (libm-calls): Add s_isinf_ns.
14925 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14926 * math/multc3.c: Likewise.
14927 * math/s_casin.c: Likewise.
14928 * math/s_casinf.c: Likewise.
14929 * math/s_casinl.c: Likewise.
14930 * math/s_ccos.c: Likewise.
14931 * math/s_ccosf.c: Likewise.
14932 * math/s_ccosl.c: Likewise.
14933 * math/s_ctan.c: Likewise.
14934 * math/s_ctanf.c: Likewise.
14935 * math/s_ctanh.c: Likewise.
14936 * math/s_ctanhf.c: Likewise.
14937 * math/s_ctanhl.c: Likewise.
14938 * math/s_ctanl.c: Likewise.
14939 * math/w_fmod.c: Likewise.
14940 * math/w_fmodf.c: Likewise.
14941 * math/w_fmodl.c: Likewise.
14942 * math/w_remainder.c: Likewise.
14943 * math/w_remainderf.c: Likewise.
14944 * math/w_remainderl.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14946 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14949 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14950 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14951 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14952 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14954 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14956 * stdio-common/printf_fphex.c: Likewise.
14957 * stdio-common/printf_size.c: Likewise.
14959 * math/e_exp10.c: Include math_private.h using <...> not "...".
14960 * math/e_exp10f.c: Likewise.
14961 * math/e_exp10l.c: Likewise.
14962 * math/e_exp2l.c: Likewise.
14963 * math/e_j0l.c: Likewise.
14964 * math/e_j1l.c: Likewise.
14965 * math/e_jnl.c: Likewise.
14966 * math/e_lgammal_r.c: Likewise.
14967 * math/e_rem_pio2l.c: Likewise.
14968 * math/e_scalb.c: Likewise.
14969 * math/e_scalbf.c: Likewise.
14970 * math/e_scalbl.c: Likewise.
14971 * math/k_cosl.c: Likewise.
14972 * math/k_sinl.c: Likewise.
14973 * math/k_tanl.c: Likewise.
14974 * math/s_cacoshf.c: Likewise.
14975 * math/s_catan.c: Likewise.
14976 * math/s_catanf.c: Likewise.
14977 * math/s_catanh.c: Likewise.
14978 * math/s_catanhf.c: Likewise.
14979 * math/s_catanhl.c: Likewise.
14980 * math/s_catanl.c: Likewise.
14981 * math/s_ccosh.c: Likewise.
14982 * math/s_ccoshf.c: Likewise.
14983 * math/s_ccoshl.c: Likewise.
14984 * math/s_cexp.c: Likewise.
14985 * math/s_cexpf.c: Likewise.
14986 * math/s_cexpl.c: Likewise.
14987 * math/s_clog.c: Likewise.
14988 * math/s_clog10.c: Likewise.
14989 * math/s_clog10f.c: Likewise.
14990 * math/s_clog10l.c: Likewise.
14991 * math/s_clogf.c: Likewise.
14992 * math/s_clogl.c: Likewise.
14993 * math/s_csin.c: Likewise.
14994 * math/s_csinf.c: Likewise.
14995 * math/s_csinh.c: Likewise.
14996 * math/s_csinhf.c: Likewise.
14997 * math/s_csinhl.c: Likewise.
14998 * math/s_csinl.c: Likewise.
14999 * math/s_csqrt.c: Likewise.
15000 * math/s_csqrtf.c: Likewise.
15001 * math/s_csqrtl.c: Likewise.
15002 * math/s_ctan.c: Likewise.
15003 * math/s_ctanf.c: Likewise.
15004 * math/s_ctanh.c: Likewise.
15005 * math/s_ctanhf.c: Likewise.
15006 * math/s_ctanhl.c: Likewise.
15007 * math/s_ctanl.c: Likewise.
15008 * math/s_ldexp.c: Likewise.
15009 * math/s_ldexpf.c: Likewise.
15010 * math/s_ldexpl.c: Likewise.
15011 * math/s_significand.c: Likewise.
15012 * math/s_significandf.c: Likewise.
15013 * math/s_significandl.c: Likewise.
15014 * math/w_acos.c: Likewise.
15015 * math/w_acosf.c: Likewise.
15016 * math/w_acosh.c: Likewise.
15017 * math/w_acoshf.c: Likewise.
15018 * math/w_acoshl.c: Likewise.
15019 * math/w_acosl.c: Likewise.
15020 * math/w_asin.c: Likewise.
15021 * math/w_asinf.c: Likewise.
15022 * math/w_asinl.c: Likewise.
15023 * math/w_atan2.c: Likewise.
15024 * math/w_atan2f.c: Likewise.
15025 * math/w_atan2l.c: Likewise.
15026 * math/w_atanh.c: Likewise.
15027 * math/w_atanhf.c: Likewise.
15028 * math/w_atanhl.c: Likewise.
15029 * math/w_cosh.c: Likewise.
15030 * math/w_coshf.c: Likewise.
15031 * math/w_coshl.c: Likewise.
15032 * math/w_dremf.c: Likewise.
15033 * math/w_exp10.c: Likewise.
15034 * math/w_exp10f.c: Likewise.
15035 * math/w_exp10l.c: Likewise.
15036 * math/w_exp2.c: Likewise.
15037 * math/w_exp2f.c: Likewise.
15038 * math/w_fmod.c: Likewise.
15039 * math/w_fmodf.c: Likewise.
15040 * math/w_fmodl.c: Likewise.
15041 * math/w_hypot.c: Likewise.
15042 * math/w_hypotf.c: Likewise.
15043 * math/w_hypotl.c: Likewise.
15044 * math/w_j0.c: Likewise.
15045 * math/w_j0f.c: Likewise.
15046 * math/w_j0l.c: Likewise.
15047 * math/w_j1.c: Likewise.
15048 * math/w_j1f.c: Likewise.
15049 * math/w_j1l.c: Likewise.
15050 * math/w_jn.c: Likewise.
15051 * math/w_jnf.c: Likewise.
15052 * math/w_jnl.c: Likewise.
15053 * math/w_lgamma.c: Likewise.
15054 * math/w_lgamma_r.c: Likewise.
15055 * math/w_lgammaf.c: Likewise.
15056 * math/w_lgammaf_r.c: Likewise.
15057 * math/w_lgammal.c: Likewise.
15058 * math/w_lgammal_r.c: Likewise.
15059 * math/w_log.c: Likewise.
15060 * math/w_log10.c: Likewise.
15061 * math/w_log10f.c: Likewise.
15062 * math/w_log10l.c: Likewise.
15063 * math/w_log2.c: Likewise.
15064 * math/w_log2f.c: Likewise.
15065 * math/w_log2l.c: Likewise.
15066 * math/w_logf.c: Likewise.
15067 * math/w_logl.c: Likewise.
15068 * math/w_pow.c: Likewise.
15069 * math/w_powf.c: Likewise.
15070 * math/w_powl.c: Likewise.
15071 * math/w_remainder.c: Likewise.
15072 * math/w_remainderf.c: Likewise.
15073 * math/w_remainderl.c: Likewise.
15074 * math/w_scalb.c: Likewise.
15075 * math/w_scalbf.c: Likewise.
15076 * math/w_scalbl.c: Likewise.
15077 * math/w_sinh.c: Likewise.
15078 * math/w_sinhf.c: Likewise.
15079 * math/w_sinhl.c: Likewise.
15080 * math/w_sqrt.c: Likewise.
15081 * math/w_sqrtf.c: Likewise.
15082 * math/w_sqrtl.c: Likewise.
15083 * math/w_tgamma.c: Likewise.
15084 * math/w_tgammaf.c: Likewise.
15085 * math/w_tgammal.c: Likewise.
15087 * po/ja.po: Update from translation team.
15089 2011-09-29 Andreas Jaeger <aj@suse.de>
15092 * sunrpc/netname.c (netname2host): Fix logic.
15096 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15098 * math/w_remainder.c (__remainder): Likewise.
15099 * math/w_remainderf.c (__remainderf): Likewise.
15100 * math/libm-test.inc (remainder_test): Add test cases.
15102 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15104 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15107 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15109 * string/test-memcmp.c: Avoid unncessary #defines.
15110 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15112 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15114 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15115 Use new sse2 version for core i3 - i7 as it's faster
15116 than sse42 version.
15117 (bit_Prefer_PMINUB_for_stringop): New.
15118 * sysdeps/x86_64/rawmemchr.S: Update.
15119 Replace with faster SSE2 version.
15120 * sysdeps/x86_64/memrchr.S: New file.
15121 * sysdeps/x86_64/memchr.S: Update.
15122 Replace with faster SSE2 version.
15124 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15126 * elf/dl-load.c (lose): Add cast to avoid warning.
15128 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15130 * po/ca.po: Update from translation team.
15132 * inet/getnetgrent_r.c: Hook up nscd.
15133 * nscd/Makefile (routines): Add nscd_netgroup.
15134 (nscd-modules): Add netgroupcache.
15135 (CFLAGS-netgroupcache.c): Define.
15136 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15137 (cache_search): Add const to second parameter.
15138 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15140 (dbs): Add netgrdb entry.
15141 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15142 (verify_persistent_db): Handle netgrdb.
15143 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15144 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15146 (netgroup_response_header): Define.
15147 (innetgroup_response_header): Define.
15148 (datahead): Add netgroup_response_header and innetgroup_response_header
15150 * nscd/nscd.conf: Add entries for netgroup cache.
15151 * nscd/nscd.h (dbtype): Add netgrdb.
15152 (_PATH_NSCD_NETGROUP_DB): Define.
15153 (netgroup_iov_disabled): Declare.
15154 (xmalloc, xcalloc, xrealloc): Move declarations here.
15155 (cache_search): Adjust prototype.
15156 Add netgroup-related prototypes.
15157 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15158 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15159 (__nscd_innetgr): Declare.
15160 * nscd/selinux.c (perms): Use access_vector_t as element type and
15161 add netgroup-related initializers.
15162 * nscd/netgroupcache.c: New file.
15163 * nscd/nscd_netgroup.c: New file.
15164 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15165 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15166 For four parameters use innetgr.
15167 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15168 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15169 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15170 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15172 * nscd/connections.c (register_traced_file): Don't register file
15173 for disabled databases.
15175 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15177 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15179 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15180 from tree and freeing node.
15182 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15184 * nss/nsswitch.c (__nss_database_lookup): Handle
15185 nss_parse_service_list out of memory case.
15187 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15189 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15190 out of memory case.
15192 2011-10-04 Andreas Schwab <schwab@redhat.com>
15194 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15195 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15197 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15198 elf_machine_rela, elf_machine_lazy_rel.
15199 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15200 (ELF_DYNAMIC_DO_REL): Likewise.
15201 (ELF_DYNAMIC_DO_RELA): Likewise.
15202 (ELF_DYNAMIC_RELOCATE): Likewise.
15203 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15204 to ELF_DYNAMIC_DO_REL.
15205 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15206 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15207 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15209 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15210 skip_ifunc, don't call ifunc function if non-zero.
15211 (elf_machine_rela): Likewise.
15212 (elf_machine_lazy_rel): Likewise.
15213 (elf_machine_lazy_rela): Likewise.
15214 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15215 (elf_machine_lazy_rel): Likewise.
15216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15218 (elf_machine_lazy_rel): Likewise.
15219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15221 (elf_machine_lazy_rel): Likewise.
15222 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15223 (elf_machine_lazy_rel): Likewise.
15224 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15225 (elf_machine_lazy_rel): Likewise.
15226 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15227 (elf_machine_lazy_rel): Likewise.
15228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15229 (elf_machine_lazy_rel): Likewise.
15230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15231 (elf_machine_lazy_rel): Likewise.
15232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15233 (elf_machine_lazy_rel): Likewise.
15235 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15237 * nss/nss_files/files-init.c (_nss_files_init): Use static
15238 initialization for all the *_traced_file variables.
15240 2011-09-28 Andreas Schwab <schwab@redhat.com>
15242 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15244 2011-09-27 Roland McGrath <roland@hack.frob.com>
15247 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15249 2011-09-27 Andreas Schwab <schwab@redhat.com>
15251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15252 Reread the line before reparsing it.
15254 2011-09-26 Andreas Schwab <schwab@redhat.com>
15256 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15258 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15259 Maxim Kuvyrkov <maxim@codesourcery.com>
15260 Joseph Myers <joseph@codesourcery.com>
15262 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15263 if needed for __stack_chk_guard.
15265 2011-09-19 Roland McGrath <roland@hack.frob.com>
15267 * sysdeps/posix/spawni.c (script_execute): Always define it.
15268 It will be optimized away if unused.
15269 (maybe_script_execute): New function.
15270 (__spawni): Call it.
15272 * Makerules: Don't include tls.make.
15273 (config-tls): Always set to thread.
15274 * tls.make.c: File removed.
15276 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15278 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15279 * config.make.in (CPPFLAGS-config): New substituted variable.
15281 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15283 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15286 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15287 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15289 2011-09-15 Roland McGrath <roland@hack.frob.com>
15291 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15292 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15294 (CALL_FAIL): Likewise.
15295 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15296 (CALL_FAIL): Macro removed.
15297 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15299 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15301 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15302 for __FINITE_MATH_ONLY__ == 1.
15304 2011-09-15 Andreas Schwab <schwab@redhat.com>
15306 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15307 __ieee754_sqrt instead of sqrt.
15308 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15309 __ieee754_sqrtf instead of sqrtf.
15310 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15311 __floorf instead of floorf.
15312 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15313 __floorf, __truncf instead of floorf, truncf.
15315 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15317 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15319 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15320 __extern_always_inline.
15321 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15324 2011-09-14 Andreas Schwab <schwab@redhat.com>
15326 * elf/rtld.c (dl_main): Also relocate in dependency order when
15327 doing symbol dependency testing.
15329 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15331 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15332 Always define `refsym'.
15334 2011-09-13 Andreas Schwab <schwab@redhat.com>
15336 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15337 (__FD_ELT): Renamed from __FDELT.
15338 * misc/bits/select2.h (__FD_ELT): Likewise.
15339 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15340 __FD_MASK instead of __FDELT, __FDMASK.
15341 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15343 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15346 * elf/Makefile (gen-ldd): Fix pattern.
15348 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15349 (init_tls): Likewise.
15351 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15355 2011-09-12 Andreas Schwab <schwab@redhat.com>
15357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15358 `struct cmsghdr *' instead of `void *'.
15359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15362 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15364 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15366 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15367 ldd_rewrite_script.
15369 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15371 * configure.in: Remove --with-tls option.
15372 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15373 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15374 out in case it is missing.
15375 * sysdeps/ia64/elf/configure.in: Likewise.
15376 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15377 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15378 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15379 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15380 * sysdeps/sh/elf/configure.in: Likewise.
15381 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15382 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15383 * sysdeps/x86_64/elf/configure.in: Likewise.
15384 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15385 * sysdeps/mach/hurd/tls.h: Likewise.
15388 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15391 * configure.in: Fix use of AC_INIT.
15393 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15395 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15397 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15399 * malloc/hooks.c: Likewise.
15402 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15403 variables statically.
15404 (narenas): Initialize.
15405 (list_lock): Initialize.
15406 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15407 initializtion of main_arena and list_lock. Small cleanups.
15408 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15409 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15410 Add initializers to main_arena and mp_.
15411 (malloc_state): Remove pagesize member. Change all users to use
15414 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15415 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15416 is always initialized.
15418 * malloc/malloc.c: Removed unused configurations and dead code.
15419 * malloc/arena.c: Likewise.
15420 * malloc/hooks.c: Likewise.
15421 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15423 * include/tls.h: Removed. USE___THREAD must always be defined.
15424 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15425 * elf/dl-libc.c: Likewise.
15426 * elf/dl-tsd.c: Likewise.
15427 * include/errno.h: Likewise.
15428 * include/netdb.h: Likewise.
15429 * include/resolv.h: Likewise.
15430 * inet/herrno-loc.c: Likewise.
15431 * inet/herrno.c: Likewise.
15432 * malloc/arena.c: Likewise.
15433 * malloc/hooks.c: Likewise.
15434 * malloc/malloc.c: Likewise.
15435 * resolv/res-state.c: Likewise.
15436 * resolv/res_libc.c: Likewise.
15437 * sysdeps/i386/dl-machine.h: Likewise.
15438 * sysdeps/ia64/dl-machine.h: Likewise.
15439 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15441 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15442 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15443 * sysdeps/sh/dl-machine.h: Likewise.
15444 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15445 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15446 * sysdeps/unix/i386/sysdep.S: Likewise.
15447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15448 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15449 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15453 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15458 * sysdeps/x86_64/dl-machine.h: Likewise.
15459 * tls.make.c: Likewise.
15461 * configure.in: Remove --with-__thread option. Make tests for
15462 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15463 tls_model attribute fail if no support is available. Remove
15465 * Makeconfig: Adjust for dropped configure option. All features are
15467 * Makerules: Likewise.
15468 * Versions.def: Likewise.
15469 * argp/argp-fmtstream.c: Likewise.
15470 * argp/argp-fmtstream.h: Likewise.
15471 * argp/argp-help.c: Likewise.
15472 * assert/assert.c: Likewise.
15473 * config.h.in: Likewise.
15474 * config.make.in: Likewise.
15475 * configure: Likewise.
15476 * configure.in: Likewise.
15477 * csu/Versions: Likewise.
15478 * csu/init.c: Likewise.
15479 * elf/tst-audit2.c: Likewise.
15480 * elf/tst-tls10.c: Likewise.
15481 * elf/tst-tls10.h: Likewise.
15482 * elf/tst-tls11.c: Likewise.
15483 * elf/tst-tls12.c: Likewise.
15484 * elf/tst-tls14.c: Likewise.
15485 * elf/tst-tlsmod11.c: Likewise.
15486 * elf/tst-tlsmod12.c: Likewise.
15487 * elf/tst-tlsmod13.c: Likewise.
15488 * elf/tst-tlsmod13a.c: Likewise.
15489 * elf/tst-tlsmod14a.c: Likewise.
15490 * elf/tst-tlsmod15b.c: Likewise.
15491 * elf/tst-tlsmod16a.c: Likewise.
15492 * elf/tst-tlsmod16b.c: Likewise.
15493 * elf/tst-tlsmod7.c: Likewise.
15494 * elf/tst-tlsmod8.c: Likewise.
15495 * elf/tst-tlsmod9.c: Likewise.
15496 * gmon/gmon.c: Likewise.
15497 * grp/fgetgrent_r.c: Likewise.
15498 * grp/putgrent.c: Likewise.
15499 * hurd/fopenport.c: Likewise.
15500 * include/libc-symbols.h: Likewise.
15501 * include/tls.h: Likewise.
15502 * intl/gettextP.h: Likewise.
15503 * intl/loadinfo.h: Likewise.
15504 * locale/global-locale.c: Likewise.
15505 * locale/localeinfo.h: Likewise.
15506 * mach/devstream.c: Likewise.
15507 * malloc/arena.c: Likewise.
15508 * malloc/set-freeres.c: Likewise.
15509 * misc/err.c: Likewise.
15510 * misc/getttyent.c: Likewise.
15511 * misc/mntent_r.c: Likewise.
15512 * posix/getopt.c: Likewise.
15513 * posix/wordexp.c: Likewise.
15514 * pwd/fgetpwent_r.c: Likewise.
15515 * resolv/Versions: Likewise.
15516 * resolv/res_hconf.c: Likewise.
15517 * shadow/fgetspent_r.c: Likewise.
15518 * shadow/putspent.c: Likewise.
15519 * stdio-common/printf_fphex.c: Likewise.
15520 * stdio-common/tmpfile.c: Likewise.
15521 * stdlib/abort.c: Likewise.
15522 * stdlib/fmtmsg.c: Likewise.
15523 * sunrpc/auth_unix.c: Likewise.
15524 * sunrpc/clnt_perr.c: Likewise.
15525 * sunrpc/clnt_tcp.c: Likewise.
15526 * sunrpc/clnt_udp.c: Likewise.
15527 * sunrpc/clnt_unix.c: Likewise.
15528 * sunrpc/openchild.c: Likewise.
15529 * sunrpc/svc_simple.c: Likewise.
15530 * sunrpc/svc_tcp.c: Likewise.
15531 * sunrpc/svc_udp.c: Likewise.
15532 * sunrpc/svc_unix.c: Likewise.
15533 * sunrpc/xdr.c: Likewise.
15534 * sunrpc/xdr_array.c: Likewise.
15535 * sunrpc/xdr_rec.c: Likewise.
15536 * sunrpc/xdr_ref.c: Likewise.
15537 * sunrpc/xdr_stdio.c: Likewise.
15539 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15541 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15543 2011-07-03 Andreas Jaeger <aj@suse.de>
15545 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15546 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15547 regenerate with gen-libm-tests.pl.
15549 2010-05-12 Petr Baudis <pasky@suse.cz>
15552 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15553 around j0() zero points by switching to j1().
15554 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15559 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15561 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15563 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15566 Patch in part by Pavel Roskin <proski@gnu.org>.
15569 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15571 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15572 Free memory block if necessary.
15575 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15576 be NULL. Don't lock in this case.
15578 2011-09-09 Roland McGrath <roland@hack.frob.com>
15580 * elf/elf.h (ELFOSABI_GNU): New macro.
15581 (ELFOSABI_LINUX): Define to that.
15583 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15585 * string/strncat.c (strncat): Undef the symbol in case it has been
15586 defined in bits/string.h.
15588 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15590 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15592 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15595 2011-08-17 Andreas Jaeger <aj@suse.de>
15597 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15599 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15600 Ian Lance Taylor <iant@google.com>
15602 * math/libm-test.inc (lround_test): New testcase.
15603 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15605 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15607 * Makefile: Remove support for automatic cvs check-ins.
15608 * Makerules: Likewise.
15609 * config.make.in: Likewise.
15610 * configure.in: Likewise.
15611 * intl/Makefile: Likewise.
15612 * locale/Makefile: Likewise.
15613 * po/Makefile: Likewise.
15614 * posix/Makefile: Likewise.
15615 * sysdeps/gnu/Makefile: Likewise.
15616 * sysdeps/mach/hurd/Makefile: Likewise.
15617 * sysdeps/sparc/sparc32/Makefile: Likewise.
15620 * posix/Makefile (bug-regex32-ENV): Define.
15621 Patch by John Stanley <jpsinthemix@verizon.net>.
15623 * misc/Makefile (headers): Add bits/select2.h.
15624 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15625 * misc/bits/select2.h: New file.
15626 * include/bits/select2.h: New file.
15627 * debug/Makefile (routines): Add fdelt_chk.
15628 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15629 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15631 * debug/fdelt_chk.c: New file.
15633 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15634 * wcsmbs/test-wmemcmp.c: Likewise.
15635 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15636 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15638 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15640 * string/Makefile (strop-tests): Add memcmp.
15641 * string/test-wmemcmp.c: New file.
15642 * string/test-memcmp.c: Add wmemcmp support.
15644 2011-09-08 Roland McGrath <roland@hack.frob.com>
15647 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15650 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15651 garbage value in a __mach_port_mod_refs call in the cases of the
15652 task-self and thread-self ports.
15654 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15656 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15658 2011-09-08 Andreas Schwab <schwab@redhat.com>
15660 * elf/dl-load.c (lose): Check for non-null L.
15662 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15664 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15666 * elf/dl-libc.c (dlerror_run): Pass back error code from
15670 * elf/dl-load.c (lose): Free l_origin if it is valid.
15672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15678 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15679 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15681 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15683 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15684 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15685 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15686 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15687 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15688 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15689 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15690 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15691 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15692 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15694 2011-08-15 Alan Modra <amodra@gmail.com>
15697 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15698 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15699 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15700 ppc_mcount to static-only-routines.
15701 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15703 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15704 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15706 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15708 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15709 for finite and infinity parameters.
15711 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15714 and add nop instructions for throughput optimization.
15715 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15717 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15720 aligned copy for power7 with vector-scalar instructions.
15721 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15723 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15728 2011-09-07 Andreas Schwab <schwab@redhat.com>
15731 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15734 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15737 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15738 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15739 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15742 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15745 Forgot to demangle the pointer.
15747 * sysdeps/i386/sysdep.h: Define atom_text_section.
15748 * sysdeps/x86_64/sysdep.h: Likewise.
15749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15750 section with atom_text_section.
15751 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15753 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15757 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15759 already be defined. Change to take two parameters and don't assign
15760 result to variable. Adjust all users.
15761 Define INTERNAL_GETTIME if not already defined.
15762 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15765 HAVE_CLOCK_GETTIME_VSYSCALL.
15766 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15769 gettimeofday vsyscall, just use time.
15771 2011-09-06 Andreas Schwab <schwab@redhat.com>
15773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15776 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15778 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15782 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15784 syscall if possible.
15786 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15788 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15789 e_ident. Don't pass to find_mapsXX.
15790 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15792 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15795 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15796 * sysdeps/x86_64/multiarch/strchr.S: Update.
15797 Check bit_slow_BSF bit.
15798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15799 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15800 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15802 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15805 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15807 (tryshell): Define.
15808 (__spawni): Change last parameter to be flag. Test
15809 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15810 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15811 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15812 * posix/spawni.c: Likewise.
15813 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15814 * posix/spawnp.c: Likewise. Change normal version to use
15815 SPAWN_XFLAGS_USE_PATH.
15816 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15817 SPAWN_XFLAGS_TRY_SHELL.
15820 * posix/glob.h: Remove gcc 1.x support.
15823 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15825 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15828 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15830 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15831 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15833 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15834 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15837 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15839 * sysdeps/x86_64/wcscmp.S: New file.
15841 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15842 wcscmp-c wcscmp-sse2
15843 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15844 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15845 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15846 * wcsmbs/wcscmp.c: Allow renaming.
15848 2011-09-05 David S. Miller <davem@davemloft.net>
15850 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15851 stack slot, rather than the struct return pointer slot.
15852 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15853 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15855 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15857 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15859 * po/ja.po: Update from translation team.
15862 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15863 kernel in 64-bit binaries.
15865 2011-09-01 David S. Miller <davem@davemloft.net>
15867 * elf/elf.h (HWCAP_SPARC_*): Move to..
15868 * sysdeps/sparc/sysdep.h: this new file and add new values.
15869 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15870 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15871 _DL_HWCAP_COUNT to 24.
15872 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15874 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15875 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15876 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15878 instead of magic constants.
15879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15881 2011-08-31 David S. Miller <davem@davemloft.net>
15883 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15885 Reimplement to do errno handling inline.
15886 (SYSCALL_ERROR_HANDLER): New macro.
15887 (__SYSCALL_STRING): Do not do errno handling in asm.
15888 (__CLONE_SYSCALL_STRING): Delete.
15889 (__INTERNAL_SYSCALL_STRING): Delete.
15890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15891 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15892 (PSEUDO): Reimplement to do errno handling inline.
15893 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15894 (SYSCALL_ERROR_HANDLER): New macro.
15895 (__SYSCALL_STRING): Do not do errno handling in asm.
15896 (__CLONE_SYSCALL_STRING): Delete.
15897 (__INTERNAL_SYSCALL_STRING): Delete.
15898 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15899 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15901 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15902 (inline_syscall*): Add 'err' argument.
15903 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15904 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15905 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15906 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15908 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15909 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15911 2011-08-30 Andreas Schwab <schwab@redhat.com>
15913 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15915 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15917 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15920 2011-08-24 David S. Miller <davem@davemloft.net>
15922 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15924 2011-08-24 Andreas Schwab <schwab@redhat.com>
15926 * elf/Makefile: Add rules to build and run unload8 test.
15927 * elf/unload8.c: New file.
15928 * elf/unload8mod1.c: New file.
15929 * elf/unload8mod1x.c: New file.
15930 * elf/unload8mod2.c: New file.
15931 * elf/unload8mod3.c: New file.
15933 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15936 2011-08-23 David S. Miller <davem@davemloft.net>
15938 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15939 subtract stack bias.
15940 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15941 %sp not %fp in calculations.
15942 (_JMPBUF_UNWINDS_ADJ): Likewise.
15944 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15945 (aio_suspend): Call it to force an exception region around the
15946 AIO_MISC_WAIT() invocation.
15948 2011-08-23 Andreas Schwab <schwab@redhat.com>
15950 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15953 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15955 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15957 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15958 and <dl-machine.h>.
15959 (Elf64_FuncDesc): Remove.
15961 2011-08-22 David S. Miller <davem@davemloft.net>
15963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15964 sigaltstack check, add missing cfi directives.
15965 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15966 missing cfi directives, and sigaltstack handling.
15968 2011-08-16 Andreas Schwab <schwab@redhat.com>
15971 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15972 object is seen twice.
15973 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15975 * elf/Makefile (distribute): Add tst-initorder2.c.
15976 (tests): Add tst-initorder2.
15977 (modules-names): Add tst-initorder2a tst-initorder2b
15978 tst-initorder2c tst-initorder2d. Add rules to build them.
15979 ($(objpfx)tst-initorder2.out): New rule.
15980 * elf/tst-initorder2.c: New file.
15981 * elf/tst-initorder2.exp: New file.
15983 2011-08-22 Andreas Schwab <schwab@redhat.com>
15985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15987 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15988 dependencies back to end of function.
15990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15991 $(elfobjdir)/ld.so.
15993 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15996 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15998 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15999 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16000 of __vdso_gettimeofday.
16001 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16002 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16004 (_libc_vdso_platform_setup): Remove initialization of
16005 __vdso_gettimeofday and __vdso_time.
16007 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16009 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16010 and fgetc_unlocked.
16011 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16014 * elf/dl-open.c (add_to_global): Report additions to the global scope
16015 for LD_DEBUG=scopes.
16016 (dl_open_worker): Also print scope of newly loaded dependencies.
16017 (_dl_show_scope): Indicate if there is no scope.
16020 * stdio-common/Makefile (tests): Add bug24.
16021 * stdio-common/bug24.c: New file.
16023 2011-08-19 Andreas Jaeger <aj@suse.de>
16026 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16027 non-existant file when using close-on-exec mode.
16029 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16032 the very first instruction.
16034 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16035 the CFI state in the end.
16036 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16037 inclusion of dl-trampoline.h.
16038 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16040 2011-08-19 Andreas Schwab <schwab@redhat.com>
16042 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16043 expectations for long double.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16046 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16048 2011-08-14 David S. Miller <davem@davemloft.net>
16050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16051 artificual limit depends upon the system page size.
16053 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16055 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16056 * resolv/Makefile: Define CFLAGS-libresolv.
16058 2011-08-17 Andreas Schwab <schwab@redhat.com>
16060 * nss/makedb.c (compute_tables): Make variables used in nested
16063 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16065 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16066 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16067 if buffer was too small.
16069 * elf/pldd.c (main): Attach to all threads in the process.
16070 Rewrite /proc handling to use *at functions.
16072 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16074 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16075 specifies first scope to show.
16076 (dl_open_worker): Update callers. Move printing scope of new
16077 object to before the relocation.
16078 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16079 * sysdeps/generic/ldsodefs.h: Update declaration.
16081 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16082 string for the scope number.
16084 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16086 * nscd/servicescache.c (cache_addserv): Make sure written is always
16089 2011-08-14 Roland McGrath <roland@hack.frob.com>
16091 * sysdeps/i386/i486/bits/atomic.h
16092 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16093 statement expression, so as to suppress "set but not used" warning.
16094 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16096 * string/strncat.c (STRNCAT): Use prototype definition.
16098 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16099 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16101 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16102 (localedef-modules): Add localedef.
16103 (locale-modules): Add locale.
16105 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16106 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16107 to avoid a warning.
16109 2011-08-14 David S. Miller <davem@davemloft.net>
16111 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16112 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16114 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16116 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16117 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16118 * elf/rtld.c (dl_main): Set l_name of vDSO.
16119 Call _dl_show_scope when DL_DEBUG_SCOPES.
16120 (process_dl_debug): Recognize scopes flag and also set it for all.
16121 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16122 Declare _dl_show_scope.
16124 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16125 (do_dlopen): Pass caller_dlopen to dl_open.
16126 (__libc_dlopen_mode): Initialize caller_dlopen.
16128 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16129 of libc. Make tolower call locale-independent. Optimize a bit by
16130 using isdigit instead of isalnum.
16131 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16133 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16135 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16136 was a dependency or dynamically loaded.
16138 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16140 * intl/l10nflist.c: Allow architecture-specific pop function.
16141 * sysdeps/x86_64/l10nflist.c: New file.
16143 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16146 2011-08-10 Andreas Schwab <schwab@redhat.com>
16148 * include/dirent.h: Add libc_hidden_proto for scandirat and
16149 scandirat64. Don't declare __scandirat64.
16150 * dirent/scandirat.c: Add libc_hidden_def.
16151 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16152 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16154 2011-08-10 David S. Miller <davem@davemloft.net>
16156 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16160 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16162 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16164 * Versions.def [libc]: Add GLIBC_2.15.
16165 * dirent/Makefile (routines): Add scandirat and scandirat64.
16166 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16168 * dirent/dirent.h: Declare scandirat and scandirat64.
16169 * dirent/scandirat.c: New file.
16170 * dirent/scandirat64.c: New file.
16171 * sysdeps/wordsize-64/scandirat.c: New file.
16172 * sysdeps/wordsize-64/scandirat64.c: New file.
16173 * dirent/opendir.c: Define opendirat.
16174 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16176 * dirent/scandir64.c: Adjust for scandir.c change.
16177 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16178 __scandirat64, and __scandir_cancel_handler.
16179 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16180 additional parameter and use openat instead of open (outside of ld.so).
16181 Add new __opendir as wrapper around __opendirat.
16182 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16183 here without requiring old scandirat implementation.
16185 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16187 * dirent/scandir.c (cancel_handler): Renamed to
16188 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16189 defined. Adjust users.
16190 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16191 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16193 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16195 * string/test-string.h (IMPL): Use __STRING to expand name and then
16198 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16201 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16203 * string/Makefile: Update.
16204 (strop-tests): Append strncat.
16205 * string/test-wcscmp.c: New file.
16206 New comprehensive test for wcscmp.
16207 * string/test-strcmp.c: Update.
16208 (WIDE): New define.
16210 2011-07-22 Andreas Schwab <schwab@redhat.com>
16212 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16215 2011-07-26 Andreas Schwab <schwab@redhat.com>
16217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16218 encoding to ACE if AI_IDN.
16220 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16223 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16225 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16227 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16228 Fix overflow bug in strncat.
16229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16231 * string/test-strncat.c: Update.
16232 Add new tests for checking overflow bugs.
16234 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16237 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16238 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16239 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16241 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16242 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16243 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16244 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16247 (USE_AS_STRCAT): Define.
16248 Add strcat and strncat support.
16249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16251 2011-07-25 Andreas Schwab <schwab@redhat.com>
16253 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16254 __n bigger than INT_MAX+1.
16255 (__strncmp_g): Likewise.
16257 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16259 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16260 * libio/stido.h: Likewise.
16262 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16267 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16268 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16270 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16271 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16274 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16279 (_dl_x86_64_save_sse): Likewise.
16281 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16285 (_dl_x86_64_save_sse): Likewise.
16287 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16289 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16291 2011-07-21 Andreas Schwab <schwab@redhat.com>
16293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16295 (_dl_x86_64_save_sse): Use correct AVX check.
16297 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16299 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16300 bug in strncpy/strncat.
16301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16303 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16305 * string/tester.c (test_strcat): Add tests for different alignments
16306 of source and destination.
16307 (test_strncat): Likewise.
16309 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16312 * posix/glob.c (glob): Check passed in values before using them in
16313 expressions to avoid some overflows.
16314 (glob_in_dir): Likewise.
16317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16318 check for AVX enablement so that we don't crash with old kernels and
16320 * elf/tst-audit4.c: Add same checks here.
16321 * elf/tst-audit6.c: Likewise.
16323 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16325 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16327 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16329 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16331 * po/cs.po: Update from translation team.
16332 * po/bg.po: Likewise.
16334 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16336 * misc/sys/cdefs.h: Add support for const attribute.
16337 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16338 to gnu_dev_{major,minor,makedev} functions.
16340 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16342 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16344 2011-07-20 Andreas Schwab <schwab@redhat.com>
16346 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16349 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16352 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16353 register in order to avoid conflicts with the soft frame pointer
16354 being held in r11 when necessary.
16355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16356 (INTERNAL_VSYSCALL_NCS): Likewise.
16358 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16360 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16361 * elf/dl-fini.c (_dl_fini): Adjust caller.
16362 * elf/dl-close.c (_dl_close_worker): Likewise.
16363 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16365 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16367 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16368 "aux_cache->nlibs < 0".
16370 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16371 in the reload-count case.
16373 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16376 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16377 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16378 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16379 * sysdeps/x86_64/multiarch/strcat.S: New file.
16380 * sysdeps/x86_64/multiarch/strncat.S: New file.
16381 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16382 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16383 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16384 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16385 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16386 (USE_AS_STRCAT): Define.
16387 Add strcat and strncat support.
16388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16389 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16390 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16391 * string/strncat.c: Update.
16392 (USE_AS_STRNCAT): Define.
16393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16394 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16396 * sysdeps/x86_64/multiarch/init-arch.h
16397 (bit_Prefer_PMINUB_for_stringop): New.
16398 (index_Prefer_PMINUB_for_stringop): Likewise.
16399 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16400 bit_Prefer_PMINUB_for_stringop.
16402 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16404 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16406 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16407 of casting of buffer.
16408 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16409 buffer32 and buffer64.
16410 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16411 writes instead of casting of buffer.
16412 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16414 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16417 2011-07-19 Andreas Schwab <schwab@redhat.com>
16419 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16421 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16423 * nscd/nscd.c (termination_handler): Don't do anything for a database
16424 if it has not yet been initialized.
16426 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16428 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16430 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16432 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16434 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16436 * po/nl.po: Update from translation team.
16437 * po/sv.po: Likewise.
16439 2011-07-16 Roland McGrath <roland@hack.frob.com>
16441 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16442 now disallowed by GCC.
16444 * configure.in (use-default-link): Default to yes if a test -shared
16445 link meets our qualifications.
16446 * configure: Regenerated.
16448 * config.make.in (output-format): New variable.
16449 * configure.in: Check for ld --print-output-format support.
16450 * configure: Regenerated.
16451 * Makerules ($(common-objpfx)format.lds)
16452 [$(output-format) != unknown]: Just use $(output-format),
16453 instead of the linker-script munging.
16455 2011-07-14 Roland McGrath <roland@hack.frob.com>
16457 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16458 of $(common-objpfx)shlib.lds.
16459 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16461 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16462 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16464 * configure.in (-z relro check): Adjust test code to add a large
16465 writable data section after it.
16466 * configure: Regenerated.
16468 2011-07-11 Roland McGrath <roland@hack.frob.com>
16470 * configure.in (-z relro check): Fix test code to make the variable
16472 * configure: Regenerated.
16474 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16476 * nscd/nscd.h (struct traced_file): Define.
16477 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16478 elements. Add traced_files.
16479 (inotify_fd): Declare.
16480 (register_traced_file): Declare.
16481 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16482 (inotify_fd): Export.
16483 (resolv_conf_descr): Remove.
16484 (nscd_init): Move inotify descriptor creation to main.
16485 Don't register files for notification here.
16486 (register_traced_file): New function.
16487 (invalidate_cache): Don't use reset_res to determine whether to call
16488 res_init, go through the list of registered files.
16489 (main_loop_poll): The inotify descriptors are now stored in the
16490 structures for the traced files.
16491 (main_loop_epoll): Likewise
16492 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16493 to __nss_disable_nscd.
16494 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16495 for a database anymore. Check the records for all the registered
16497 * nss/Makefile (libnss_files-routines): Add files-init.
16498 (libnss_db-routines): Add db-init.
16499 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16500 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16501 * nss/nss_db/db-init.c: New file.
16502 * nss/nss_files/files-init.c: New file.
16503 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16504 __nss_lookup_function.
16505 (__nss_lookup_function): Call nss_load_library.
16506 (nss_load_all_libraries): New function.
16507 (__nss_disable_nscd): Take parameter with callback function for files
16508 to register. Set is_nscd. Load all the DSOs for the NSS modules
16509 used for the cached services.
16510 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16511 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16512 options for features to all the files in nscd.
16514 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16516 2011-07-10 Roland McGrath <roland@hack.frob.com>
16518 * csu/elf-init.c (__libc_csu_init): Comment typo.
16520 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16522 * po/pl.po: Update from translation team.
16523 * po/ja.po: Likewise.
16524 * po/ru.po: Likewise.
16525 * po/ko.po: Likewise.
16526 * po/fr.po: Likewise.
16528 2011-07-09 Roland McGrath <roland@hack.frob.com>
16530 * configure.in (.ctors/.dtors header and trailer check):
16531 Use an empirical test on a built program.
16532 * configure: Regenerated.
16534 * configure.in (-z relro check): Use an empirical test on a built DSO.
16535 Detect, but do not require, on ia64.
16536 * configure: Regenerated.
16538 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16539 Update tests that use readelf to use $READELF instead.
16540 * configure: Regenerated.
16542 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16544 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16545 if the result is not used.
16547 2011-07-05 Andreas Jaeger <aj@suse.de>
16550 * stdlib/tst-strtod.c: Add testcase.
16552 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16554 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16555 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16556 The latter has a higher limit. Take additional parameter to pass to
16558 (__pathconf): Pass file to __statfs_link_max.
16559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16561 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16565 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16569 (__statfs_filesize_max): Likewise.
16570 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16572 2011-07-05 Andreas Jaeger <aj@suse.de>
16574 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16576 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16578 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16580 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16583 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16585 * Makefile (strop-tests): Add strncat.
16586 * string/test-strncat.c: New file.
16588 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16590 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16592 2011-06-21 Andreas Jaeger <aj@suse.de>
16594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16595 Copy rule from iconvdata/Makefile.
16597 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16600 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16601 but no long options are defined, just return 'W'.
16603 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16606 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16608 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16610 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16612 (innetgr): Likewise.
16614 2011-07-05 Roland McGrath <roland@hack.frob.com>
16616 * config.make.in (install_root): Default to $(DESTDIR).
16618 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16620 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16622 2011-07-02 Roland McGrath <roland@hack.frob.com>
16624 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16626 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16627 containing directory rather than embedding absolute directory names.
16629 * scripts/check-local-headers.sh: Rewritten using awk.
16630 Match by word, not by line. Print error messages for matches.
16631 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16633 * Makerules [shlib-lds-flags empty]:
16634 ($(common-objpfx)libc_pic.opts): New target.
16635 ($(common-objpfx)libc_pic.os.clean): New target.
16636 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16638 * config.make.in (OBJCOPY): New variable.
16639 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16640 * configure: Regenerated.
16642 * config.make.in (use-default-link): New variable.
16643 * configure.in (use_default_link): Grok --with-default-link to set it.
16644 * configure: Regenerated.
16645 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16646 (shlib-lds, shlib-lds-flags): Define to empty.
16648 * Makerules (shlib-lds): New variable.
16649 (shlib-lds-flags): New variable.
16650 (build-shlib, build-moduile, build-module-asneeded): Use it.
16651 ($(common-objpfx)libc.so): Use $(shlib-lds).
16652 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16653 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16655 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16656 DT_FLAGS/DT_FLAGS_1 with zero flags.
16658 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16659 linker script munging.
16661 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16663 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16665 * crypt/sha512.c (sha512_process_block): Perform total addition using
16666 128-bit if possible.
16667 (__sha512_finish_ctx): Likewise.
16668 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16670 * crypt/sha256.c (SWAP64): Define.
16671 (sha256_process_block): Perform total addition using 64-bit if
16673 (__sha256_finish_ctx): Likewise.
16675 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16677 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16678 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16679 * nscd/hstcache.c (cache_addhst): Likewise.
16680 * nscd/grpcache.c (cache_addgr): Likewise.
16681 * nscd/aicache.c (addhstaiX): Likewise
16682 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16684 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16686 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16688 * nscd/hstcache.c (cache_addhst): Likewise.
16689 * nscd/grpcache.c (cache_addgr): Likewise.
16690 * nscd/aicache.c (addhstaiX): Likewise
16692 2011-07-01 Andreas Schwab <schwab@redhat.com>
16694 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16695 domain only when needed.
16697 2011-06-30 Andreas Schwab <schwab@redhat.com>
16699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16700 is always restored.
16702 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16704 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16705 are re-adding the entry.
16706 * nscd/servicescache.c (cache_addserv): Likewise.
16708 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16710 * sysdeps/generic/dl-irel.h: fix protection against multiple
16712 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16714 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16717 * malloc/memusage.sh: Fix quoting in message.
16718 * debug/xtrace.sh: Likewise.
16720 * configure.in: Remove support for --experimental-malloc option, make
16722 * config.make.in: Likewise.
16723 * malloc/Makefile: Likewise.
16725 2011-06-27 Andreas Schwab <schwab@redhat.com>
16727 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16728 two-byte characters.
16730 2011-06-27 Roland McGrath <roland@hack.frob.com>
16732 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16733 AC_CACHE_CHECK invocation.
16734 * configure: Regenerated.
16736 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16738 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16741 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16742 bit from old_res_options.
16744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16746 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16747 value type for setfct.
16749 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16752 __gettimeofday instead of gettimeofday.
16754 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16756 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16758 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16765 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16768 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16769 strcpy-sse2-unaligned strncpy-sse2-unaligned
16770 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16771 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16772 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16773 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16774 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16777 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16778 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16779 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16780 (STRCPY): Support SSE2 and SSSE3 versions.
16782 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16785 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16786 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16787 kernels which artificially limit size of requests.
16789 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16792 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16793 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16794 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16795 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16796 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16797 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16798 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16801 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16802 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16803 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16804 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16805 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16807 Enable unaligned load optimization for Intel Core i3, i5 and i7
16809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16811 (index_Fast_Unaligned_Load): Define.
16812 (HAS_FAST_UNALIGNED_LOAD): Define.
16814 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16816 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16818 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16822 until it is clear that the information is realy needed.
16823 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16825 2011-06-22 Andreas Schwab <schwab@redhat.com>
16827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16829 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16832 /sys/devices/system/cpu/online if it is usable.
16834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16835 reading the information from the /proc filesystem to once a second.
16837 2011-06-21 Andreas Jaeger <aj@suse.de>
16839 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16840 NULL after inclusion of kernel headers.
16842 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16844 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16845 calls to internal_setent.
16848 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16849 addresses using gethostbyname4_r ignore IPv4 addresses.
16851 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16852 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16854 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16856 2011-06-20 David S. Miller <davem@davemloft.net>
16858 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16860 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16862 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16863 (elf_irel): Use it.
16864 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16865 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16866 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16867 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16868 * sysdeps/x86_64/dl-irel.h: Likewise.
16870 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16871 * elf/dl-sym.c: Likewise.
16873 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16875 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16876 need to dereference resplen2.
16878 2011-06-14 Andreas Schwab <schwab@redhat.com>
16880 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16882 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16884 * Makeconfig: Define vardbdir and inst_vardbdir.
16885 * nss/Makefile: Add rules to install db-Makefile.
16887 * nss/nss_db/db-XXX.c: Cleanup.
16889 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16890 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16892 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16893 * nss/makedb.c: Implement -g option to specify that value strings
16894 are generated and should not be added to table iterated over for
16896 * nss/nss_db/db-initgroups.c: New file.
16898 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16901 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16902 (internal_getgrouplist): Adjust to name change.
16903 Update use_initgroups_entry if this is not the first call.
16904 * nss/databases.def: Add initgroups entry.
16906 * nss/makedb.c (compute_tables): Check result of multiple hash table
16907 sizes to minimize maximum chain length.
16909 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16911 * Versions.def: Add entry for libnss_db.
16912 * shlib-versions: Likewise.
16913 * nss/Makefile: Add rules to build libnss_db.
16914 * nss/Versions: Add libnss_db information. Organize libnss_files
16916 * nss/db-Makefile: Add gshadow support. Change rules for the new
16917 makedb progra. Some minor improvements to generate smaller files.
16918 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16920 * nss/makedb.c: ...here.
16921 Improve database format to be smaller and require less memory at
16923 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16925 * nss/nss_db/db-netgrp.c: Likewise.
16926 * nss/nss_db/db-open.c: Likewise.
16927 * nss/nss_files/flies-XXX.x: Adjust comments.
16928 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16929 * nss/nss_files/files-grp.c: Likewise.
16930 * nss/nss_files/files-hosts.c: Likewise.
16931 * nss/nss_files/files-network.c: Likewise.
16932 * nss/nss_files/files-proto.c: Likewise.
16933 * nss/nss_files/files-pwd.c: Likewise.
16934 * nss/nss_files/files-rpc.c: Likewise.
16935 * nss/nss_files/files-service.c: Likewise.
16936 * nss/nss_files/files-sgrp.c: Likewise.
16937 * nss/nss_files/files-spwd.c: Likewise.
16938 * nss/nss_db/db-alias.c: Removed.
16939 * nss/nss_db/dummy-db.h: Removed.
16941 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16943 * nss/makedb.c: Rewritten to not use database library.
16944 * nss/Makefile: Update to build new makedb program.
16946 2011-06-14 Andreas Jaeger <aj@suse.de>
16948 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16949 memset declaration.
16951 2011-06-10 Andreas Schwab <schwab@redhat.com>
16953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16956 2011-06-10 Roland McGrath <roland@hack.frob.com>
16958 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16959 * elf/Makefile ($(objpfx)ld.so): Likewise.
16961 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16962 Don't list ld.so twice in dependencies.
16964 * posix/bug-regex31.c: Include <stdlib.h>.
16966 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16968 * nis/nss_compat/compat-spwd.c
16969 (getspent_next_nss_netgr): Remove unused variable.
16970 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16972 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16973 nonmembers" output to use the right array.
16975 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16977 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16979 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16980 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16981 * catgets/gencat.c (read_input_file): Likewise.
16982 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16984 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16985 variable definition inside #if's controlling its use.
16987 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16989 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16991 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16993 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16996 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16998 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16999 * configure: Regenerated.
17001 * Makerules: Revert last change.
17002 * elf/Makefile: Likewise.
17004 2011-06-09 Roland McGrath <roland@hack.frob.com>
17006 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17007 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17008 (reloc-link): Likewise.
17010 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17012 * elf/Makefile: Add rules to build pldd.
17013 * elf/pldd.c: New file.
17014 * elf/pldd-xx.c: New file.
17016 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17018 * version.h: Update for 2.15 development version.
17020 2011-06-07 David S. Miller <davem@davemloft.net>
17022 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17025 elf_machine_lazy_rel): Likewise.
17026 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17028 elf_machine_lazy_rel): Likewise.
17029 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17030 dl_hwcap via passed in argument.
17031 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17034 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17036 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17038 2011-06-06 Roland McGrath <roland@hack.frob.com>
17041 * manual/fdl-1.1.texi: New file, verbatim from:
17042 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17043 * manual/lgpl-2.1.texi: New file, verbatim from:
17044 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17045 * manual/Makefile (licenses): New variable, list those new file names.
17047 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17049 * manual/fdl.texi: File removed.
17050 * manual/lesser.texi: File removed.
17051 * manual/libc.texinfo (Copying, Documentation License):
17052 Use new @include file names, put @appendix directive before @include.
17054 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17057 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17058 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17059 (mq_open): Add __NTH.
17061 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17064 Assume Intel Core i3/i5/i7 processor if AVX is available.
17066 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17071 2011-05-31 Andreas Schwab <schwab@redhat.com>
17073 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17074 memory. Use alloca_account. Fix memory leak when retrying.
17076 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17078 * version.h (RELEASE): Bump for 2.14 release.
17079 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17081 * config.make.in (RANLIB): Remove entry.
17083 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17085 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17086 (libc.pot): Work around missing support for .ksh extension in xgettext.
17089 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17090 if both request failed.
17091 (send_dg): In case of server errors clear resplen or *resplen2.
17094 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17095 when there are multiple maps.
17096 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17097 (_dl_fini): Remove test here.
17099 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17101 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17104 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17105 bit from old_res_options.
17106 (gaih_inet): Likewise.
17109 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17112 * resolv/res_init.c (res_setoptions): Make the code more compact.
17115 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17119 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17121 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17124 * malloc/malloc.h: Declare malloc hook variables as volatile.
17126 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17130 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17131 raise in the comment.
17132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17134 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17136 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17139 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17140 grow the buffers more if it already has to be sufficient.
17141 (build_wcs_upper_buffer): Likewise.
17142 * posix/regexec.c (check_matching): Likewise.
17143 (clean_state_log_if_needed): Likewise.
17144 (extend_buffers): Don't enlarge buffers beyond size of the input
17146 Patches mostly by Emil Wojak <emil@wojak.eu>.
17147 * posix/bug-regex32.c: New file.
17148 * posix/Makefile (tests): Add bug-regex32.
17150 * locale/findlocale.c (_nl_find_locale): Return right away if
17151 _nl_explode_name failed.
17152 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17154 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17156 * debug/xtrace.sh: Unify messages.
17157 * malloc/memusage.sh: Likewise.
17160 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17161 time symbol from vDSO. Substitute with vsyscall if not available.
17162 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17165 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17166 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17167 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17168 Add sendmmsg and internal_sendmmsg.
17169 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17170 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17173 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17174 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17177 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17180 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17181 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17183 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17187 * iconvdata/Makefile (tests): Add bug-iconv9.
17188 * iconvdata/bug-iconv9.c: New file.
17190 2011-05-27 Andreas Schwab <schwab@redhat.com>
17193 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17195 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17198 (struct user_regs_struct): Change intcs field back to cs.
17200 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17202 * po/ja.po: Update from translation team.
17204 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17207 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17208 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17210 2011-05-20 Andreas Schwab <schwab@redhat.com>
17212 * stdlib/longlong.h: Update from GCC.
17214 2011-05-23 Andreas Schwab <schwab@redhat.com>
17216 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17218 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17219 Add parameter name.
17220 (__sysconf): Pass it down.
17222 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17225 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17228 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17229 add in in __libc_use_alloca calls. Adjust callers.
17230 (glob): Use malloc in some situations.
17232 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17233 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17236 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17238 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17239 and CLOCK_BOOTTIME_ALARM.
17242 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17245 * string/_strerror.c (__strerror_r): Print negative errors as signed
17249 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17250 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17251 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17253 * configure.in: Fix typo in redirection and correct removal of test
17254 files in two cases.
17257 * locale/setlocale.c (new_composite_name): Fix test to check for
17258 identical name of all categories.
17261 * libio/filedoalloc.c (local_isatty): New function.
17262 (_IO_file_doallocate): Use local_isatty.
17263 * stdio-common/perror.c (perror): In case a new stream is used
17264 forward the stream error.
17265 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17268 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17273 * include/alloca.h (extend_alloca_account): Define.
17276 * posix/regex.h: Fix comments with documentation of user-accessible
17277 fields after compilation and describe correct free'ing of pattern
17278 after re_compile_pattern.
17279 Patch by Reuben Thomas <rrt@sc3d.org>.
17281 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17283 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17284 and -mno-altivec to prevent the compiler from using Altivec and/or
17285 VSX instructions when the corresponding registers are not available.
17287 2011-05-19 Andreas Schwab <schwab@redhat.com>
17289 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17291 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17293 * libio/freopen.c (freopen): Use __dup2, not dup2.
17294 * libio/freopen64.c (freopen64): Likewise.
17296 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17299 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17300 * math/Makefile (tests): Add test-powl.
17301 (CFLAGS-test-powl.c): Define.
17302 * math/test-powl.c: New file.
17304 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17306 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17308 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17311 * iconvdata/gb18030.c: Update to GB18020-2005.
17313 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17315 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17316 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17317 Patch by Aharon Robbins <arnold@skeeve.com>.
17320 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17324 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17325 through underflows.
17328 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17329 point to strings before performing equality test for error_one_per_line
17333 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17337 (struct user_fpregs_struct): Avoid __uint*_t types.
17340 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17341 symbol info. Use it instead of calling _dl_addr locally.
17342 (lock_and_info): New function.
17343 (tr_freehook): Call lock_and_info and pass symbol info as additional
17344 parameter to tr_where.
17345 (tr_mallochook): Likewise.
17346 (tr_reallochook): Likewise.
17347 (tr_memalignhook): Likewise.
17349 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17350 used and couldn't be at all thread-safe.
17352 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17354 * libio/freopen.c (freopen): Don't close old file descriptor
17355 before the new one is opened. Instead dup the new file descriptor
17356 to the old one after the new stream is created.
17357 * libio/freopen64.c (freopen64): Likewise.
17358 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17359 * libio/fileops.c (_IO_new_file_close_it): Handle new
17360 _IO_FLAGS2_NOCLOSE flag.
17361 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17362 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17363 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17364 _IO_FLAGS2_NOCLOSE flag.
17365 * include/unistd.h: Add hidden_proto for dup3.
17366 Define __have_dup3.
17367 * io/dup3.c: Define hidden symbol.
17368 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17371 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17372 when an incomplete long option is used.
17373 * posix/tst-getopt_long1.c: New file.
17374 * posix/Makefile (tests): Add tst-getopt_long1.
17377 * scripts/config.guess: Update from autoconf-2.68.
17378 * scripts/config.sub: Likewise.
17381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17383 (has_cpuclock): ...this. New function.
17384 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17385 macro here based on has_cpuclock code.
17388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17389 First byte (not low byte) is now always NUL.
17390 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17393 Use non-cancelable interfaces.
17396 * locale/iso-639.def: Add entry for Sorani.
17399 * include/stdlib.h: Move include protection to the right place.
17400 Define abort_msg_s. Declare __abort_msg with it.
17401 * stdlib/abort.c (__abort_msg): Adjust type.
17402 * assert/assert.c (__assert_fail_base): New function. Majority
17403 of code from __assert_fail. Allocate memory for __abort_msg with
17405 (__assert_fail): Now call __assert_fail_base.
17406 * assert/assert-perr.c: Remove bulk of implementation. Use
17407 __assert_fail_base.
17408 * include/assert.hL Declare __assert_fail_base.
17409 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17411 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17413 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17417 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17418 until all modules are registered in the DTV.
17419 * elf/Makefile: Add rules to build and run tst-tls19.
17420 * elf/tst-tls19.c: New file.
17421 * elf/tst-tls19mod1.c: New file.
17422 * elf/tst-tls19mod2.c: New file.
17423 * elf/tst-tls19mod3.c: New file.
17424 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17427 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17431 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17432 two-byte sequence errors.
17433 * iconvdata/Makefile (tests): Add bug-iconv8.
17434 * iconvdata/bug-iconv8.c: New file.
17437 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17440 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17443 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17444 (dummy_getcfa): New function.
17445 (init): Get _Unwind_GetCFA address, use dummy if not found.
17446 (backtrace_helper): In recursion check, also check whether CFA changes.
17447 (__backtrace): Completely initialize arg.
17449 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17450 storing incomplete byte sequence in state object. Avoid testing for
17451 guaranteed too small input if we know there is enough data available.
17453 2011-05-11 Andreas Schwab <schwab@redhat.com>
17455 * Makeconfig (+link-pie): Indent.
17456 * Rules (binaries-pie): Define if $(have-fpie) and
17458 (binaries-shared): Also filter out $(binaries-pie).
17459 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17460 * nscd/Makefile (others-pie): Add nscd.
17461 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17462 ($(objpfx)nscd): Remove command override.
17463 * login/Makefile (others-pie): Add pt_chown.
17464 ($(objpfx)pt_chown): Remove command override.
17465 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17466 remove command overrides.
17468 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17470 * libio/tst_putwc.c: Fix error messages.
17473 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17474 currently writing and seek to current position when not.
17475 * libio/Makefile (tests): Add bug-fclose1.
17476 * libio/bug-fclose1.c: New file.
17478 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17481 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17482 don't set DF_1_NODELETE here.
17483 (do_lookup_x): When entering new entry test for copy relocation
17484 and if necessary set DF_1_NODELETE flag.
17485 * elf/tst-unique4.cc: New file.
17486 * elf/tst-unique4.h: New file.
17487 * elf/tst-unique4lib.cc: New file.
17488 * elf/Makefile: Add rules to build and run tst-unique4.
17489 Patch by Piotr Bury <pbury@goahead.com>.
17491 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17494 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17497 * misc/mntent_r.c (addmntent): Flush the stream after the output
17500 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17501 (is_trusted_path_normalize): Skip initial colon. Append slash
17502 to empty buffer. Duplicate is_trusted_path code but allow
17503 constructed patch to be prefix.
17504 (is_dst): Allow $ORIGIN followed by /.
17505 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17506 Correct testing of result of is_trusted_path_normalize
17507 (decompose_rpath): Fix warning.
17509 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17512 * grp/initgroups.c (internal_getgrouplist): When we found the service
17513 list through the initgroups entry in nsswitch.conf do not always
17514 continue on a successful lookup. Don't always use the
17515 __nss_group_database value if it is set.
17516 * nss/nsswitch.conf (initgroups): Change action for successful db
17517 lookup to continue for compatibility.
17519 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17522 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17524 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17526 * iconvdata/tst-tables.sh: Likewise.
17527 * iconvdata/cp770.c: New file.
17528 * iconvdata/cp771.c: New file.
17529 * iconvdata/cp772.c: New file.
17530 * iconvdata/cp773.c: New file.
17531 * iconvdata/cp774.c: New file.
17532 * iconvdata/testdata/CP770: New file.
17533 * iconvdata/testdata/CP770..UTF8: New file.
17534 * iconvdata/testdata/CP771: New file.
17535 * iconvdata/testdata/CP771..UTF8: New file.
17536 * iconvdata/testdata/CP772: New file.
17537 * iconvdata/testdata/CP772..UTF8: New file.
17538 * iconvdata/testdata/CP773: New file.
17539 * iconvdata/testdata/CP773..UTF8: New file.
17540 * iconvdata/testdata/CP774: New file.
17541 * iconvdata/testdata/CP774..UTF8: New file.
17543 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17545 * iconvdata/gen-8bit-gap.sh: Likewise.
17546 * iconvdata/gen-8bit.sh: Likewise.
17548 * locale/iso-639.def: Add ary entry.
17551 * locale/C-translit.h.in: Add U20A1 transliteration.
17554 * locale/iso-639.def: Add wae entry.
17555 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17558 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17562 * locale/C-translit.h.in: Add entry for U20B9.
17563 Patch by pravin.d.s@gmail.com.
17565 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17568 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17569 ENAMETOOLONG use generic getcwd.
17570 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17571 in rtld. Use *stat64.
17572 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17573 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17574 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17575 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17576 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17577 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17578 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17579 __fstatat64 macros.
17580 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17581 * dirent/rewinddir.c: Add libc_hidden_def.
17582 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17583 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17585 * include/dirent.h (__alloc_dir): Add flags parameter.
17586 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17587 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17589 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17590 from fdopendir if O_CLOEXEC is already set.
17592 2011-03-15 Alan Modra <amodra@gmail.com>
17594 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17595 l_tls_firstbyte_offset non-zero. Save padding offset in
17596 l_tls_firstbyte_offset for later use.
17597 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17598 freeing static tls block.
17600 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17602 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17603 where #ifdef was intended. The intent is to prevent ARG_MAX from
17604 being defined by the kernel headers.
17606 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17609 * resolv/resolv.h: Define RES_NOTLDQUERY.
17610 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17611 no-tld-query and set RES_NOTLDQUERY.
17612 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17613 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17614 modern BIND to search name as TLD unless forbidden.
17616 2011-05-07 Petr Baudis <pasky@suse.cz>
17617 Ulrich Drepper <drepper@gmail.com>
17620 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17621 (is_trusted_path): ...to here.
17622 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17623 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17624 using is_trusted_path_normalize() in setuid scripts.
17626 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17628 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17629 __BEGIN/__END_DECLS.
17631 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17634 NSS_STATUS_NOTFOUND if no record was found.
17636 2011-05-05 Andreas Schwab <schwab@redhat.com>
17638 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17639 (headers-not-in-tirpc): Remove rpc/netdb.h
17640 * resolv/netdb.h: Revert last change.
17642 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17644 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17645 circular dependency between libgcc.a and libc.a.
17647 2011-05-05 Andreas Schwab <schwab@redhat.com>
17649 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17650 * nis/Makefile: Don't install rpcsvc/*.
17651 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17652 instead of <rpc/types.h>.
17653 (MAXHOSTNAMELEN): Define.
17655 2011-05-03 Andreas Schwab <schwab@redhat.com>
17657 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17659 2011-04-28 Maciej Babinski <mbabinski@google.com>
17662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17663 gethostbyname4_r when IPv6 results are possible.
17665 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17668 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17669 _PC_PIPE_BUF handling.
17671 2011-04-30 Bruno Haible <bruno@clisp.org>
17674 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17675 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17677 * inet/getnameinfo.c (getnameinfo): Likewise.
17679 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17681 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17682 to groups setting in database lookup.
17683 * nss/nsswitch.conf: Add initgroups entry.
17685 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17688 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17690 Patch by Eric Blake <eblake@redhat.com>.
17692 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17694 * sunrpc/Makefile (need-export-routines): Add svc_run.
17695 (routines): Remove svc_run.
17696 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17697 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17698 * sunrpc/svc_run.c (svc_run): Likewise.
17699 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17701 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17704 problem in reallocation in last patch.
17706 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17708 * sunrpc/Makefile: Move inclusion of Rules.
17710 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17712 * nss/nss_files/files-initgroups.c: New file.
17713 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17714 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17715 _nss_files_initgroups_dyn.
17717 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17719 * elf/elf.h (R_ARM_IRELATIVE): Define.
17721 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17723 * po/ru.po: Update from translation team.
17725 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17727 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17730 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17733 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17734 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17739 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17741 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17743 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17747 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17750 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17752 * stdlib/bug-getcontext.c: New file.
17753 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17755 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17757 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17758 instructions into .machine "z9-109".
17759 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17760 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17762 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17764 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17765 between environment variables and auxiliary vector.
17767 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17769 * Makefile: Add rules to build linkobj/libc.so.
17770 * include/libc-symbols.h: Define libc_hidden_nolink.
17771 * include/rpc/auth.h: Mark functions which are to be hidden.
17772 * include/rpc/auth_des.h: Likewise.
17773 * include/rpc/auth_unix.h: Likewise.
17774 * include/rpc/clnt.h: Likewise.
17775 * include/rpc/des_crypt.h: Likewise.
17776 * include/rpc/key_prot.h: Likewise.
17777 * include/rpc/pmap_clnt.h: Likewise.
17778 * include/rpc/pmap_prot.h: Likewise.
17779 * include/rpc/pmap_rmt.h: Likewise.
17780 * include/rpc/rpc_msg.h: Likewise.
17781 * include/rpc/svc.h: Likewise.
17782 * include/rpc/svc_auth.h: Likewise.
17783 * include/rpc/xdr.h: Likewise.
17784 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17785 * nss/Makefile: Likewise.
17786 * sunrpc/Makefile: Don't install headers. Build library with normal
17787 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17788 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17789 for the compat linking library. Remove use of INTDEF/INTUSE.
17790 * sunrpc/auth_none.c: Likewise.
17791 * sunrpc/auth_unix.c: Likewise.
17792 * sunrpc/authdes_prot.c: Likewise.
17793 * sunrpc/authuxprot.c: Likewise.
17794 * sunrpc/clnt_gen.c: Likewise.
17795 * sunrpc/clnt_perr.c: Likewise.
17796 * sunrpc/clnt_raw.c: Likewise.
17797 * sunrpc/clnt_simp.c: Likewise.
17798 * sunrpc/clnt_tcp.c: Likewise.
17799 * sunrpc/clnt_udp.c: Likewise.
17800 * sunrpc/clnt_unix.c: Likewise.
17801 * sunrpc/des_crypt.c: Likewise.
17802 * sunrpc/des_soft.c: Likewise.
17803 * sunrpc/get_myaddr.c: Likewise.
17804 * sunrpc/key_call.c: Likewise.
17805 * sunrpc/key_prot.c: Likewise.
17806 * sunrpc/netname.c: Likewise.
17807 * sunrpc/pm_getmaps.c: Likewise.
17808 * sunrpc/pm_getport.c: Likewise.
17809 * sunrpc/pmap_clnt.c: Likewise.
17810 * sunrpc/pmap_prot.c: Likewise.
17811 * sunrpc/pmap_prot2.c: Likewise.
17812 * sunrpc/pmap_rmt.c: Likewise.
17813 * sunrpc/publickey.c: Likewise.
17814 * sunrpc/rpc_cmsg.c: Likewise.
17815 * sunrpc/rpc_common.c: Likewise.
17816 * sunrpc/rpc_dtable.c: Likewise.
17817 * sunrpc/rpc_prot.c: Likewise.
17818 * sunrpc/rpc_thread.c: Likewise.
17819 * sunrpc/rtime.c: Likewise.
17820 * sunrpc/svc.c: Likewise.
17821 * sunrpc/svc_auth.c: Likewise.
17822 * sunrpc/svc_authux.c: Likewise.
17823 * sunrpc/svc_raw.c: Likewise.
17824 * sunrpc/svc_run.c: Likewise.
17825 * sunrpc/svc_simple.c: Likewise.
17826 * sunrpc/svc_tcp.c: Likewise.
17827 * sunrpc/svc_udp.c: Likewise.
17828 * sunrpc/svc_unix.c: Likewise.
17829 * sunrpc/svcauth_des.c: Likewise.
17830 * sunrpc/xcrypt.c: Likewise.
17831 * sunrpc/xdr.c: Likewise.
17832 * sunrpc/xdr_array.c: Likewise.
17833 * sunrpc/xdr_float.c: Likewise.
17834 * sunrpc/xdr_intXX_t.c: Likewise.
17835 * sunrpc/xdr_mem.c: Likewise.
17836 * sunrpc/xdr_rec.c: Likewise.
17837 * sunrpc/xdr_ref.c: Likewise.
17838 * sunrpc/xdr_sizeof.c: Likewise.
17839 * sunrpc/xdr_stdio.c: Likewise.
17841 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17844 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17845 * sysdeps/ia64/dl-tls.h: Likewise.
17846 * sysdeps/powerpc/dl-tls.h: Likewise.
17847 * sysdeps/s390/dl-tls.h: Likewise.
17848 * sysdeps/sh/dl-tls.h: Likewise.
17849 * sysdeps/sparc/dl-tls.h: Likewise.
17850 * sysdeps/x86_64/dl-tls.h: Likewise.
17851 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17853 2011-03-14 Andreas Schwab <schwab@redhat.com>
17855 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17856 rpath element also skip the following colon.
17857 (expand_dynamic_string_token): Add is_path parameter and pass
17858 down to DL_DST_REQUIRED and _dl_dst_substitute.
17859 (decompose_rpath): Call expand_dynamic_string_token with
17860 non-zero is_path. Ignore empty rpaths.
17861 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17864 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17869 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17872 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17873 Patch by Filipe David Manana <fdmanana@apache.org>.
17875 2011-04-07 Andreas Schwab <schwab@redhat.com>
17877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17878 Maintain aligned stack.
17879 (CHECK_RSP): Remove unused macro.
17881 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17883 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17886 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17888 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17890 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17892 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17895 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17896 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17897 * sysdeps/x86_64/memmove.c: New file.
17898 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17899 (memcpy): Renamed to ...
17900 (__new_memcpy): This.
17901 (memcpy): Provide GLIBC_2_14 memcpy.
17902 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17903 (memcpy): Provide GLIBC_2_2_5 memcpy.
17905 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17908 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17910 2011-03-30 Andreas Schwab <schwab@redhat.com>
17912 * misc/syncfs.c: New file.
17913 * misc/Makefile (routines): Add syncfs.
17914 * posix/unistd.h: Declare syncfs.
17915 * sysdeps/unix/syscalls.list: Add syncfs.
17917 2011-04-01 Andreas Schwab <schwab@redhat.com>
17919 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17922 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17926 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17929 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17933 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17939 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17940 sync_file_range.c with -fexceptions.
17941 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17942 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17943 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17944 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17945 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17946 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17948 sync_file_range as cancellation point
17949 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17950 now a wrapper around __call_sync_file_range with cancellation handling.
17951 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17952 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17953 function name to __call_sync_file_range.
17954 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17955 Add call_sync_file_range.
17957 2011-04-01 Andreas Schwab <schwab@redhat.com>
17959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17962 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17964 * iconv/iconv.h: Fix typo in comment.
17965 * io/fcntl.h: Likewise.
17966 * libio/stdio.h: Likewise.
17967 * posix/spawn.h: Likewise.
17968 * posix/unistd.h: Likewise.
17969 * stdlib/stdlib.h: Likewise.
17970 * time/time.h: Likewise.
17971 * wcsmbs/wchar.h: Likewise.
17973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17974 open_by_handle): Add.
17975 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17976 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17977 Augment a few comments.
17978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17980 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17983 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17986 * io/fcntl.h (AT_EMPTY_PATH): Define.
17988 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17990 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17991 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17992 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17994 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17995 * Versions.def: Add GLIBC_2.14.
17996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17999 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18001 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18003 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18005 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18008 * string/test-strncmp.c (do_page_test): New function.
18009 (check2): Likewise.
18010 (test_main): Call check2.
18011 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18013 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18017 Handle cache information in CPU leaf 4.
18018 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18020 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18023 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18024 character representation.
18025 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18027 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18029 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18030 END(__isnan) to END(__isnanf) to match function entry point/label
18031 EALIGN(__isnanf,...).
18033 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18035 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18037 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18040 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18041 copy from the symbol referenced in the relocation to initialize the
18043 Patch by Piotr Bury <pbury@goahead.com>.
18044 * elf/Makefile: Add rules to build and tst-unique3.
18045 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18046 * elf/tst-unique3.cc: New file.
18047 * elf/tst-unique3.h: New file.
18048 * elf/tst-unique3lib.cc: New file.
18049 * elf/tst-unique3lib2.cc: New file.
18051 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18053 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18055 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18056 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18059 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18061 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18062 to-be-loaded object along a path to loader is ld.so.
18064 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18065 Ulrich Drepper <drepper@gmail.com>
18067 * sysdeps/x86_64/memset.S: After aligning destination, code
18068 branches to different locations depending on the value of
18069 misalignment, when multiarch is enabled. Fix this.
18071 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18073 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18074 Set _x86_64_preferred_memory_instruction for AMD processsors.
18075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18076 Set bit_Prefer_SSE_for_memop for AMD processors.
18078 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18080 * libio/fmemopen.c (fmemopen): Optimize a bit.
18082 2011-03-03 Andreas Schwab <schwab@redhat.com>
18084 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18086 2011-03-03 Roland McGrath <roland@redhat.com>
18088 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18090 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18092 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18093 __bzero_ultra1 instead of __memset_ultra1.
18095 2011-02-23 Andreas Schwab <schwab@redhat.com>
18096 Ulrich Drepper <drepper@gmail.com>
18099 * include/link.h (struct link_map): Add l_orig_initfini.
18100 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18101 returning unsuccessfully.
18102 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18103 close of a file loaded at startup, restore the original l_initfini
18105 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18106 list, store the pointer.
18107 * elf/Makefile ($(objpfx)noload-mem): New rule.
18108 (noload-ENV): Define.
18109 (tests): Add $(objpfx)noload-mem.
18110 * elf/noload.c: Include <memcheck.h>.
18111 (main): Call mtrace. Close all opened handles.
18113 2011-02-17 Andreas Schwab <schwab@redhat.com>
18116 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18117 dependencies are missing.
18119 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18121 Fix __if_freereq crash: Unlike the generic version which uses free,
18123 * sysdeps/mach/hurd/ifreq.h: New file.
18125 2011-01-27 Petr Baudis <pasky@suse.cz>
18126 Ulrich Drepper <drepper@gmail.com>
18129 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18130 to extend_alloca().
18131 * stdio-common/bug23.c: New file.
18132 * stdio-common/Makefile (tests): Add bug23.
18134 2010-09-28 Andreas Schwab <schwab@redhat.com>
18135 Ulrich Drepper <drepper@gmail.com>
18138 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18139 before performing relro protection. At old place add assertion
18140 to make sure nothing changed.
18142 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18143 Glauber de Oliveira Costa <glommer@gmail.com>
18145 * elf/elf.h: Add new ARM TLS relocs.
18147 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18150 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18152 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18154 * sysdeps/wordsize-64/tst-writev.c: New file.
18156 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18158 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18159 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18160 insns in _dl_start to prevent a TOC reference before relocs are
18163 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18166 * Makeconfig: Remove RANLIB definition.
18167 * Makerules: Don't use RANLIB.
18168 * aclocal.m4: Remove ranlib test.
18169 * configure.in: No need to check for ranlib.
18170 * elf/rtld-Rules: Don't use RANLIB.
18172 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18174 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18176 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18177 inclusion protection macro.
18179 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18180 SIGRTMIN and SIGRTMAX and print information in that case only when
18181 SIGRTMIN is defined.
18183 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18185 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18186 arginfo fn returning -1.
18188 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18189 and thousands string is zero terminated.
18191 2011-02-03 Andreas Schwab <schwab@redhat.com>
18193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18194 sysdeps/unix/sysv/linux/bits/socket.h.
18196 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18198 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18199 (__CPU_COUNT): Remove old macros.
18200 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18201 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18202 (__CPU_ALLOC, __CPU_FREE): Add macros.
18203 (__sched_cpualloc, __sched_cpufree): Add declarations.
18205 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18207 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18208 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18209 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18210 (readdhstai): Return value of addhstaiX call.
18211 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18212 (addgrbyX): Return value returned by cache_addgr.
18213 (readdgrbyname): Return value returned by addgrbyX.
18214 (readdgrbygid): Likewise.
18215 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18216 (addpwbyX): Return value returned by cache_addpw.
18217 (readdpwbyname): Return value returned by addhstbyX.
18218 (readdpwbyuid): Likewise.
18219 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18220 (addservbyX): Return value returned by cache_addserv.
18221 (readdservbyname): Return value returned by addservbyX:
18222 (readdservbyport): Likewise.
18223 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18224 (addhstbyX): Return value returned by cache_addhst.
18225 (readdhstbyname): Return value returned by addhstbyX.
18226 (readdhstbyaddr): Likewise.
18227 (readdhstbynamev6): Likewise.
18228 (readdhstbyaddrv6): Likewise.
18229 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18230 (readdinitgroups): Return value returned by addinitgroupsX.
18231 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18232 (prune_cache): Keep track of timeout value of re-added entries.
18233 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18234 * nscd/nscd.h: Adjust prototypes of readd* functions.
18236 2011-02-04 Roland McGrath <roland@redhat.com>
18238 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18239 (nis_stats): Likewise.
18240 * nis/nis_modify.c (nis_modify): Likewise.
18241 * nis/nis_remove.c (nis_remove): Likewise.
18242 * nis/nis_add.c (nis_add): Likewise.
18244 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18246 * posix/fnmatch_loop.c: Add some consts.
18248 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18250 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18253 * config.make.in (config-cflags-novzeroupper): Define.
18254 * configure.in: Substitute libc_cv_cc_novzeroupper.
18255 * elf/Makefile (AVX-CFLAGS): Define.
18256 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18257 (CFLAGS-tst-auditmod4a.c): Likewise.
18258 (CFLAGS-tst-auditmod4b.c): Likewise.
18259 (CFLAGS-tst-auditmod6b.c): Likewise.
18260 (CFLAGS-tst-auditmod6c.c): Likewise.
18261 (CFLAGS-tst-auditmod7b.c): Likewise.
18262 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18264 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18266 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18267 function to the callback.
18268 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18270 2011-02-02 Andreas Schwab <schwab@redhat.com>
18272 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18275 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18278 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18280 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18282 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18285 * elf/Makefile: Add rules to build and run new test.
18286 * elf/tst-initorder.c: New file.
18287 * elf/tst-initorder.exp: New file.
18288 * elf/tst-initordera1.c: New file.
18289 * elf/tst-initordera2.c: New file.
18290 * elf/tst-initordera3.c: New file.
18291 * elf/tst-initordera4.c: New file.
18292 * elf/tst-initorderb1.c: New file.
18293 * elf/tst-initorderb2.c: New file.
18294 * elf/tst-order-a1.c: New file.
18295 * elf/tst-order-a2.c: New file.
18296 * elf/tst-order-a3.c: New file.
18297 * elf/tst-order-a4.c: New file.
18298 * elf/tst-order-b1.c: New file.
18299 * elf/tst-order-b2.c: New file.
18300 * elf/tst-order-main.c: New file.
18301 New test case by George Gensure <werkt0@gmail.com>.
18303 2010-10-01 Andreas Schwab <schwab@redhat.com>
18305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18306 decoding ACE if AI_CANONIDN.
18308 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18310 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18312 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18314 * version.h (RELEASE): Bump for 2.13 release.
18315 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18317 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18319 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18321 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18325 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18326 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18328 * posix/getconf.c: Update copyright year.
18329 * catgets/gencat.c: Likewise.
18330 * csu/version.c: Likewise.
18331 * debug/catchsegv.sh: Likewise.
18332 * debug/xtrace.sh: Likewise.
18333 * elf/ldconfig.c: Likewise.
18334 * elf/ldd.bash.in: Likewise.
18335 * elf/sprof.c (print_version): Likewise.
18336 * iconv/iconv_prog.c: Likewise.
18337 * iconv/iconvconfig.c: Likewise.
18338 * locale/programs/locale.c: Likewise.
18339 * locale/programs/localedef.c: Likewise.
18340 * malloc/memusage.sh: Likewise.
18341 * malloc/mtrace.pl: Likewise.
18342 * nscd/nscd.c (print_version): Likewise.
18343 * nss/getent.c: Likewise.
18345 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18346 PF_CAIF, and PF_ALG.
18347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18349 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18351 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18352 (modules-names): Use them.
18353 (ifunc-test-modules, ifunc-pie-tests): Define.
18354 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18355 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18356 (test-extras): Likewise.
18357 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18358 $(compile-command.c).
18359 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18360 (all-built-dso): Define.
18361 (check-textrel.out, check-execstack.out): Depend on it.
18363 * configure.in: Don't override --enable-multi-arch.
18365 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18368 * nscd/hstcache.c (tryagain): Define.
18369 (cache_addhst): Return tryagain not notfound for temporary errors.
18370 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18373 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18376 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18377 to make the syscall.
18378 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18381 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18382 and fall back to matching as normal character if the string ends before
18383 the matching ']' is found. This is what POSIX requires.
18384 * posix/testfnm.c: Adjust test result.
18385 * posix/globtest.sh: Adjust test result. Add new test.
18386 * posix/tst-fnmatch.input: Likewise.
18387 * posix/tst-fnmatch2.c: Add new test.
18389 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18391 * elf/Makefile (check-execstack): Revert last change. Depend on
18393 (check-execstack.h): New target.
18394 (generated): Add check-execstack.h.
18395 * elf/check-execstack.c: Include "check-execstack.h".
18396 (main): Revert last change.
18397 (handle_file): Return zero if GNU_STACK is absent and
18398 DEFAULT_STACK_PERMS doesn't include PF_X.
18400 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18402 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18403 in child fails because the descriptor is already closed.
18404 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18405 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18406 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18409 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18413 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18414 temporary buffer used to handle multi lookups locally.
18415 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18417 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18419 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18422 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18424 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18425 alignment for SSE2.
18427 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18430 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18431 characters. When rounding increased number of integer digits recompute
18433 * stdio-common/tst-grouping.c: New file.
18434 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18436 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18438 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18439 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18441 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18443 * bits/select.h: Likewise.
18445 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18447 * po/ja.po: Update from translation team.
18449 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18453 implementation just like for lxstat, fxstatat, et al.
18455 2010-12-27 Jim Meyering <meyering@redhat.com>
18458 * posix/regexec.c (build_trtable): Return failure indication upon
18459 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18461 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18464 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18465 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18466 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18467 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18470 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18473 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18474 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18476 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18478 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18479 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18480 script has SORT_BY_INIT_PRIORITY.
18481 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18482 NO_CTORS_DTORS_SECTIONS is defined.
18483 * elf/soinit.c: Likewise.
18484 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18485 NO_CTORS_DTORS_SECTIONS is defined.
18486 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18487 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18488 * sysdeps/sh/init-first.c: Likewise.
18489 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18491 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18493 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18494 always use the slow path.
18496 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18498 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18499 similar rule which adds the sysdep directories to the header search in
18500 order to pick up the correct platform stackinfo.h.
18501 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18502 perform test if it is, otherwise return successfully without testing.
18503 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18504 DEFAULT_STACK_PERMS define in stackinfo.h.
18505 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18506 defined in stackinfo.h.
18507 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18508 DEFAULT_STACK_PERMS defined in stackinfo.h.
18509 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18510 * sysdeps/ia64/stackinfo.h: Likewise.
18511 * sysdeps/s390/stackinfo.h: Likewise.
18512 * sysdeps/sh/stackinfo.h: Likewise.
18513 * sysdeps/sparc/stackinfo.h: Likewise.
18514 * sysdeps/x86_64/stackinfo.h: Likewise.
18515 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18516 PF_X for powerpc64. Retain PF_X for powerpc32.
18518 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18520 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18522 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18523 GETDENTS_64BIT_ALIGNED.
18525 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18527 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18529 2010-12-10 Andreas Schwab <schwab@redhat.com>
18531 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18534 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18535 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18537 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18538 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18540 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18543 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18546 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18548 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18550 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18552 * po/it.po: Update from translation team.
18554 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18559 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18561 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18563 2010-11-24 Andreas Schwab <schwab@redhat.com>
18565 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18567 (gaih_getanswer_slice): Likewise.
18569 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18573 2010-05-31 Petr Baudis <pasky@suse.cz>
18576 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18577 silently even in the chroot mode.
18579 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18581 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18582 last patch a bit. Pretty printing
18584 2010-05-31 Petr Baudis <pasky@suse.cz>
18587 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18588 initialization of skip_initgroups_dyn.
18590 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18595 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18597 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18599 2010-11-11 Andreas Schwab <schwab@redhat.com>
18601 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18602 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18603 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18604 ($(objpfx)tst-fnmatch-mem): New rule.
18605 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18606 * posix/tst-fnmatch.c (main): Call mtrace.
18608 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18611 Support Intel processor model 6 and model 0x2c.
18613 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18618 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18621 * string/test-strncasecmp.c (check_result): New function.
18622 (do_one_test): Use it.
18623 (check1): New function.
18624 (test_main): Use it.
18625 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18626 Support strcasecmp and strncasecmp.
18628 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18631 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18634 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18636 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18640 * sysdeps/x86_64/multiarch/bzero.S: New file.
18641 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18642 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18643 * sysdeps/x86_64/multiarch/memset.S: New file.
18644 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18646 Set bit_Prefer_SSE_for_memop for Intel processors.
18647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18649 (index_Prefer_SSE_for_memop): Define.
18650 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18652 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18654 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18655 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18657 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18660 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18661 (__x86_64_raw_data_cache_size_half): Likewise.
18662 (__x86_64_raw_shared_cache_size): Likewise.
18663 (__x86_64_raw_shared_cache_size_half): Likewise.
18665 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18666 (__x86_64_raw_data_cache_size_half): Likewise.
18667 (__x86_64_raw_shared_cache_size): Likewise.
18668 (__x86_64_raw_shared_cache_size_half): Likewise.
18669 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18670 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18671 and __x86_64_raw_shared_cache_size_half. Round
18672 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18673 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18674 to multiple of 256 bytes.
18676 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18680 of inacessible symlinks. Verify result of symlink before returning it.
18681 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18682 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18684 2010-10-28 Erich Ritz <erichritz@gmail.com>
18686 * math/math.h (isinf): Fix typo in comment.
18688 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18690 * po/da.po: Update from translation team.
18692 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18694 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18695 is added to the list.
18697 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18698 Ulrich Drepper <drepper@gmail.com>
18700 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18701 the global list here. Move code to...
18702 (_dl_add_to_namespace_list): ...here. New function.
18703 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18704 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18705 * elf/dl-load.c (lose): Don't remove the element from the list.
18706 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18707 (_dl_map_object): Likewise.
18709 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18712 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18713 into all bytes of SSE register.
18714 Patch by Richard Li <richardpku@gmail.com>.
18716 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18719 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18722 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18724 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18725 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18726 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18732 2010-10-22 Andreas Schwab <schwab@redhat.com>
18734 * include/dlfcn.h (__RTLD_SECURE): Define.
18735 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18736 mode & __RTLD_SECURE instead.
18737 (open_path): Rename preloaded parameter to secure.
18738 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18739 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18740 * elf/dl-deps.c (openaux): Likewise.
18741 * elf/rtld.c (struct map_args): Remove is_preloaded.
18742 (map_doit): Don't use it.
18743 (dl_main): Likewise.
18744 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18745 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18747 2010-09-09 Andreas Schwab <schwab@redhat.com>
18749 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18750 (sysd-rules-targets): Remove duplicates.
18751 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18752 rtld-%.$o dependency.
18754 2010-10-18 Andreas Schwab <schwab@redhat.com>
18756 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18757 _dl_map_object do it.
18759 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18761 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18762 fast fma builtins, define the macros in the C99 standard.
18763 (FP_FAST_FMAF): Likewise.
18764 (FP_FAST_FMAL): Likewise.
18765 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18767 * bits/mathdef.h: Update copyright year.
18768 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18770 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18772 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18773 builtins, define the macros in the C99 standard.
18774 (FP_FAST_FMAF): Likewise.
18775 (FP_FAST_FMAL): Likewise.
18776 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18778 (FP_FAST_FMAF): Likewise.
18780 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18783 * math/libm-test.inc (fma_test): Some new testcases.
18784 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18785 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18786 y and infinite z. Do multiplication by C already in long double.
18787 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18789 y and infinite z. Do bitwise or of inexact bit into u.d.
18790 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18791 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18792 * sysdeps/i386/fpu/s_fma.S: Removed.
18793 * sysdeps/i386/fpu/s_fmal.S: Removed.
18795 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18798 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18800 computation is not scheduled after fetestexcept. Fix value
18801 of minimum denormal long double.
18803 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18806 * math/libm-test.inc (fma_test): Add some more tests.
18807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18810 2010-10-15 Andreas Schwab <schwab@redhat.com>
18812 * scripts/data/localplt-s390-linux-gnu.data: New file.
18813 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18815 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18818 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18819 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18821 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18823 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18825 if one of x and y is very large and the other is subnormal.
18826 * sysdeps/s390/fpu/s_fmaf.c: New file.
18827 * sysdeps/s390/fpu/s_fma.c: New file.
18828 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18829 * sysdeps/powerpc/fpu/s_fma.S: New file.
18830 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18831 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18832 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18834 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18837 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18840 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18841 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18842 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18843 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18844 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18847 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18850 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18851 * posix/bug-regex31.input: Add test case.
18853 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18855 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18856 * posix/bug-regex31.input: New file.
18859 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18860 (parse_sub_exp): Fix last change, use postorder.
18862 * posix/bug-regex31.c: New file.
18863 * posix/Makefile: Add rules to build and run bug-regex31.
18865 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18868 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18871 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18872 to have entries in sys_siglist.
18875 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18878 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18881 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18882 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18883 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18884 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18885 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18886 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18887 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18888 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18889 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18890 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18891 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18892 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18893 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18894 * math/ftestexcept.c (fetestexcept): Likewise.
18895 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18896 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18897 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18898 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18899 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18900 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18901 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18903 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18906 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18909 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18911 * string/bug-strstr1.c: New file.
18912 * string/Makefile: Add rules to build and run bug-strstr1.
18914 2010-10-05 Eric Blake <eblake@redhat.com>
18917 * string/str-two-way.h (two_way_long_needle): Always clear memory
18918 when skipping input due to the shift table.
18920 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18923 * malloc/mcheck.c: Handle large requests.
18926 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18927 for strncmp and strncasecmp.
18928 * string/stratcliff.c: Add tests for strcmp and strncmp.
18929 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18931 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18933 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18936 2010-09-30 Andreas Jaeger <aj@suse.de>
18938 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18939 (CGROUP_SUPER_MAGIC): Define.
18940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18941 Handle btrfs and cgroup file systems.
18942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18945 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18947 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18948 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18950 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18953 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18954 trying to locate the ELF header.
18956 2010-09-27 Andreas Schwab <schwab@redhat.com>
18959 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18960 Mask out sign-bit copies when constructing f_fsid.
18962 2010-09-24 Petr Baudis <pasky@suse.cz>
18964 * debug/stack_chk_fail_local.c: Add missing licence exception.
18965 * debug/warning-nop.c: Likewise.
18967 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18969 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18970 implementing getdents64 using getdents syscall, set d_type if
18971 __ASSUME_GETDENTS32_D_TYPE.
18973 2010-09-16 Andreas Schwab <schwab@redhat.com>
18975 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18976 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18978 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18981 * posix/unistd.h: Undo change of feature selection for ftruncate from
18984 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18986 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18989 2010-09-20 Andreas Schwab <schwab@redhat.com>
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18993 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18995 2010-09-14 Andreas Schwab <schwab@redhat.com>
18997 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18998 variables after CHECK_SP call.
18999 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19001 2010-09-13 Andreas Schwab <schwab@redhat.com>
19002 Ulrich Drepper <drepper@redhat.com>
19004 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19005 re-relocationg ld.so.
19006 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19007 _dl_init_paths call.
19008 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19011 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19013 * resolv/res_init.c (__res_vinit): Count the default server we added.
19015 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19016 Ulrich Drepper <drepper@redhat.com>
19019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19020 (____longjmp_chk): Use %ebx for saving value across system call.
19023 2010-09-06 Andreas Schwab <schwab@redhat.com>
19025 * manual/Makefile: Don't mix pattern rules with normal rules.
19027 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19029 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19031 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19032 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19033 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19034 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19038 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19041 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19042 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19044 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19046 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19047 * sysdeps/x86_64/addmul_1.S: Likewise.
19048 * sysdeps/x86_64/lshift.S: Likewise.
19049 * sysdeps/x86_64/mul_1.S: Likewise.
19050 * sysdeps/x86_64/rshift.S: Likewise.
19051 * sysdeps/x86_64/sub_n.S: Likewise.
19052 * sysdeps/x86_64/submul_1.S: Likewise.
19054 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19056 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19057 Define __sched_param instead of SCHED_* and sched_param when
19058 <bits/sched.h> is included with __need_schedparam defined.
19059 * bits/sched.h [__need_schedparam]
19060 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19061 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19062 (__defined_schedparam): Define to 1.
19063 (__sched_param): New structure, identical to sched_param.
19064 (__need_schedparam): Undefine.
19066 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19069 (epoll_create1): Declare.
19071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19073 2010-08-31 Andreas Schwab <schwab@redhat.com>
19076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19077 shifting retval into place.
19079 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19081 * nis/rpcsvc/nis.h: Update copyright notice.
19082 * nis/rpcsvc/nis.x: Likewise.
19083 * nis/rpcsvc/nis_callback.h: Likewise.
19084 * nis/rpcsvc/nis_callback.x: Likewise.
19085 * nis/rpcsvc/nis_object.x: Likewise.
19086 * nis/rpcsvc/nis_tags.h: Likewise.
19087 * nis/rpcsvc/yp.h: Likewise.
19088 * nis/rpcsvc/yp.x: Likewise.
19089 * nis/rpcsvc/ypupd.h: Likewise.
19090 * nis/yp_xdr.c: Likewise.
19091 * nis/ypupdate_xdr.c: Likewise.
19093 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19094 mainly the body of pmap_getport. Add parameters to specify timeouts.
19095 (pmap_getport): Use __libc_rpc_getport.
19096 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19097 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19098 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19100 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19105 2010-08-27 Roland McGrath <roland@redhat.com>
19107 * sysdeps/i386/i686/multiarch/Makefile
19108 (CFLAGS-varshift.c): New variable.
19110 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19112 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19113 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19117 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19119 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19121 * sysdeps/x86_64/strlen.S: Unroll the loop.
19122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19123 strlen-sse2 strlen-sse2-bsf.
19124 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19125 __strlen_no_bsf if bit_Slow_BSF is set.
19126 (__strlen_sse42): Removed.
19127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19128 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19130 2010-08-25 Roland McGrath <roland@redhat.com>
19132 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19133 * sysdeps/x86_64/multiarch/varshift.c: New file.
19134 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19135 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19136 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19137 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19139 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19142 strlen-sse2 strlen-sse2-bsf.
19143 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19144 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19145 (__strlen_sse2): Removed.
19146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19149 bit_Slow_BSF for Atom.
19150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19151 (index_Slow_BSF): Define.
19152 (HAS_SLOW_BSF): Define.
19154 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19157 * resolv/res_init.c (__res_vinit): When no server address at all
19158 is given default to loopback.
19160 2010-08-24 Roland McGrath <roland@redhat.com>
19162 * configure.in: Remove config-name.h generation.
19163 * configure: Regenerated.
19164 * config-name.in: File removed.
19165 * scripts/config-uname.sh: New file.
19166 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19167 ($(objdir)config-name.h): New target.
19169 * sunrpc/rpc_parse.h: Avoid nested comment.
19171 2010-08-24 Richard Henderson <rth@redhat.com>
19172 Ulrich Drepper <drepper@redhat.com>
19173 H.J. Lu <hongjiu.lu@intel.com>
19175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19177 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19178 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19179 _mm_alignr_epi8 with _mm_loadu_si128.
19180 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19181 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19182 (__m128i_shift_right): Removed.
19183 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19184 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19185 * sysdeps/x86_64/multiarch/varshift.h: New file.
19186 * sysdeps/x86_64/multiarch/varshift.S: New file.
19188 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19190 * configure.in: Move assembler checks to before sysdep dir checking.
19192 2010-08-20 Petr Baudis <pasky@suse.cz>
19194 * LICENSES: Sync the sunrpc license.
19196 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19198 * sunrpc/auth_des.c: Update copyright notice once again.
19199 * sunrpc/auth_none.c: Likewise.
19200 * sunrpc/auth_unix.c: Likewise.
19201 * sunrpc/authdes_prot.c: Likewise.
19202 * sunrpc/authuxprot.c: Likewise.
19203 * sunrpc/bindrsvprt.c: Likewise.
19204 * sunrpc/clnt_gen.c: Likewise.
19205 * sunrpc/clnt_perr.c: Likewise.
19206 * sunrpc/clnt_raw.c: Likewise.
19207 * sunrpc/clnt_simp.c: Likewise.
19208 * sunrpc/clnt_tcp.c: Likewise.
19209 * sunrpc/clnt_udp.c: Likewise.
19210 * sunrpc/clnt_unix.c: Likewise.
19211 * sunrpc/des_crypt.c: Likewise.
19212 * sunrpc/des_soft.c: Likewise.
19213 * sunrpc/get_myaddr.c: Likewise.
19214 * sunrpc/getrpcport.c: Likewise.
19215 * sunrpc/key_call.c: Likewise.
19216 * sunrpc/key_prot.c: Likewise.
19217 * sunrpc/openchild.c: Likewise.
19218 * sunrpc/pm_getmaps.c: Likewise.
19219 * sunrpc/pm_getport.c: Likewise.
19220 * sunrpc/pmap_clnt.c: Likewise.
19221 * sunrpc/pmap_prot.c: Likewise.
19222 * sunrpc/pmap_prot2.c: Likewise.
19223 * sunrpc/pmap_rmt.c: Likewise.
19224 * sunrpc/rpc/auth.h: Likewise.
19225 * sunrpc/rpc/auth_unix.h: Likewise.
19226 * sunrpc/rpc/clnt.h: Likewise.
19227 * sunrpc/rpc/des_crypt.h: Likewise.
19228 * sunrpc/rpc/key_prot.h: Likewise.
19229 * sunrpc/rpc/netdb.h: Likewise.
19230 * sunrpc/rpc/pmap_clnt.h: Likewise.
19231 * sunrpc/rpc/pmap_prot.h: Likewise.
19232 * sunrpc/rpc/pmap_rmt.h: Likewise.
19233 * sunrpc/rpc/rpc.h: Likewise.
19234 * sunrpc/rpc/rpc_des.h: Likewise.
19235 * sunrpc/rpc/rpc_msg.h: Likewise.
19236 * sunrpc/rpc/svc.h: Likewise.
19237 * sunrpc/rpc/svc_auth.h: Likewise.
19238 * sunrpc/rpc/types.h: Likewise.
19239 * sunrpc/rpc/xdr.h: Likewise.
19240 * sunrpc/rpc_clntout.c: Likewise.
19241 * sunrpc/rpc_cmsg.c: Likewise.
19242 * sunrpc/rpc_common.c: Likewise.
19243 * sunrpc/rpc_cout.c: Likewise.
19244 * sunrpc/rpc_dtable.c: Likewise.
19245 * sunrpc/rpc_hout.c: Likewise.
19246 * sunrpc/rpc_main.c: Likewise.
19247 * sunrpc/rpc_parse.c: Likewise.
19248 * sunrpc/rpc_parse.h: Likewise.
19249 * sunrpc/rpc_prot.c: Likewise.
19250 * sunrpc/rpc_sample.c: Likewise.
19251 * sunrpc/rpc_scan.c: Likewise.
19252 * sunrpc/rpc_scan.h: Likewise.
19253 * sunrpc/rpc_svcout.c: Likewise.
19254 * sunrpc/rpc_tblout.c: Likewise.
19255 * sunrpc/rpc_util.c: Likewise.
19256 * sunrpc/rpc_util.h: Likewise.
19257 * sunrpc/rpcinfo.c: Likewise.
19258 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19259 * sunrpc/rpcsvc/key_prot.x: Likewise.
19260 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19261 * sunrpc/rpcsvc/mount.x: Likewise.
19262 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19263 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19264 * sunrpc/rpcsvc/rex.x: Likewise.
19265 * sunrpc/rpcsvc/rstat.x: Likewise.
19266 * sunrpc/rpcsvc/rusers.x: Likewise.
19267 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19268 * sunrpc/rpcsvc/spray.x: Likewise.
19269 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19270 * sunrpc/rtime.c: Likewise.
19271 * sunrpc/svc.c: Likewise.
19272 * sunrpc/svc_auth.c: Likewise.
19273 * sunrpc/svc_authux.c: Likewise.
19274 * sunrpc/svc_raw.c: Likewise.
19275 * sunrpc/svc_run.c: Likewise.
19276 * sunrpc/svc_simple.c: Likewise.
19277 * sunrpc/svc_tcp.c: Likewise.
19278 * sunrpc/svc_udp.c: Likewise.
19279 * sunrpc/svc_unix.c: Likewise.
19280 * sunrpc/svcauth_des.c: Likewise.
19281 * sunrpc/xcrypt.c: Likewise.
19282 * sunrpc/xdr.c: Likewise.
19283 * sunrpc/xdr_array.c: Likewise.
19284 * sunrpc/xdr_float.c: Likewise.
19285 * sunrpc/xdr_mem.c: Likewise.
19286 * sunrpc/xdr_rec.c: Likewise.
19287 * sunrpc/xdr_ref.c: Likewise.
19288 * sunrpc/xdr_sizeof.c: Likewise.
19289 * sunrpc/xdr_stdio.c: Likewise.
19291 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19294 2010-08-19 Andreas Schwab <schwab@redhat.com>
19296 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19298 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19300 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19302 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19303 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19305 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19306 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19307 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19308 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19309 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19310 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19311 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19312 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19313 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19315 2010-07-26 Anton Blanchard <anton@samba.org>
19317 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19318 * malloc/arena.c (heap_trim): Likewise.
19320 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19322 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19325 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19327 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19329 * sysdeps/i386/elf/Makefile: New file.
19331 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19333 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19334 from fanotify_init.
19335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19338 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19340 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19342 * sysdeps/multiarch/strcmp.S: Likewise.
19344 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19346 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19347 strncase_l-nonascii.
19348 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19349 Add strncase_l-ssse3.
19350 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19351 * sysdeps/x86_64/strcmp.S: Likewise.
19352 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19353 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19354 * sysdeps/x86_64/strncase.S: New file.
19355 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19356 * sysdeps/x86_64/strncase_l.S: New file.
19357 * string/Makefile (strop-tests): Add strncasecmp.
19358 * string/test-strncasecmp.c: New file.
19360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19363 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19364 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19366 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19368 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19370 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19372 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19374 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19376 2010-05-01 Alan Modra <amodra@gmail.com>
19378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19379 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19380 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19381 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19382 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19383 tidying. Don't tail-call __sigjmp_save for static lib.
19384 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19386 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19387 (CALL_MCOUNT): Add eh info, and nop after bl.
19388 (TAIL_CALL_SYSCALL_ERROR): New macro.
19389 (PSEUDO_RET): Use it.
19390 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19391 Correct save location of integer regs and cr.
19392 (_dl_profile_resolve): Correct cr save location. Delete nops
19393 after bl when SHARED. Reduce cfi size a little by better
19394 placement of cfi directives.
19395 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19396 make a stack frame. Instead use parm save area as a temp.
19397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19398 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19400 Don't make a stack frame for parent, use parm save area.
19401 Increase child stack frame to 112 bytes. Don't save unused reg,
19402 and adjust reg usage. Set up cfi on error recovery and
19403 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19405 (__makecontext): Add dummy nop after jump to exit.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19407 Use correct parm save area and cr save, reduce stack frame.
19408 Correct cfi for possible PSEUDO_RET frame setup.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19410 Branch to local label emitted by PSEUDO_RET rather than
19413 2010-08-12 Andreas Schwab <schwab@redhat.com>
19416 * locale/programs/locale.c (print_assignment): New function.
19417 (show_locale_vars): Use it.
19419 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19421 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19423 (struct statfs64): Likewise.
19424 (_STATFS_F_FLAGS): Define.
19425 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19426 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19427 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19428 (ST_VALID): Define locally.
19429 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19430 __statvfs_getflags, use the provided value.
19431 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19432 __ASSUME_STATFS_F_FLAGS.
19434 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19436 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19437 Add sys/fanotify.h.
19438 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19439 fanotify_mask for GLIBC_2.13.
19440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19441 fanotify_init and fanotify_mark.
19442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19443 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19445 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19447 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19448 prlimit64 for GLIBC_2.13.
19449 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19455 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19456 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19457 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19459 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19462 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19463 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19465 * nss/Makefile: Add rules to build and run tst-nss-test1.
19466 * shlib-versions: Add entry for libnss_test1.
19467 * nss/nss_test1.c: New file.
19468 * nss/tst-nss-test1.c: New file.
19470 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19471 (__nss_configure_lookup): Set appropriate entry in
19472 __nss_configure_lookup to true.
19473 * nss/nsswitch.h: Define enum with indeces of databases in
19474 databases and __nss_database_custom arrays. Declare
19475 __nss_database_custom.
19476 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19477 to avoid using nscd when custom rules are installed.
19478 * nss/getXXbyYY_r.c: Likewise.
19479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19481 * nss/nss_files/files-parse.c: Whitespace fixes.
19483 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19486 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19487 * posix/fnmatch_loop.c: Likewise.
19489 2010-07-17 Andi Kleen <ak@linux.intel.com>
19491 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19492 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19493 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19494 * Versions.def [GLIBC_2.13]: Add.
19496 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19498 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19499 Also fail if tpwd after pwuid call is NULL.
19501 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19503 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19504 when converting to ms.
19506 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19508 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19509 EOPNOTSUPP errors with ENOTTY.
19510 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19511 EOPNOTSUPP errors with ENOTTY.
19513 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19515 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19516 Add strcasecmp_l-ssse3.
19517 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19519 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19520 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19521 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19523 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19525 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19527 * string/Makefile (strop-tests): Add strcasecmp.
19528 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19529 strcasecmp_l-nonascii.
19530 (gen-as-const-headers): Add locale-defines.sym.
19531 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19532 * sysdeps/x86_64/strcasecmp.S: New file.
19533 * sysdeps/x86_64/strcasecmp_l.S: New file.
19534 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19535 * sysdeps/x86_64/locale-defines.sym: New file.
19536 * string/test-strcasecmp.c: New file.
19538 * string/test-strcasestr.c: Test both ends of the range of characters.
19539 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19541 2010-07-29 Roland McGrath <roland@redhat.com>
19544 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19546 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19548 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19551 2010-07-27 Andreas Schwab <schwab@redhat.com>
19553 * manual/memory.texi (Malloc Tunable Parameters): Document
19556 2010-07-26 Roland McGrath <roland@redhat.com>
19559 * configure.in (-fgnu89-inline check): Set and substitute
19560 gnu89_inline, not libc_cv_gnu89_inline.
19561 * configure: Regenerated.
19562 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19564 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19566 * string/test-strnlen.c: New file.
19567 * string/Makefile (strop-tests): Add strnlen.
19568 * string/tester.c (test_strnlen): Add a few more test cases.
19569 * string/tst-strlen.c: Better error reporting.
19571 * sysdeps/x86_64/strnlen.S: New file.
19573 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19576 lower-latency instructions.
19578 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19580 * string/test-strcasestr.c: New file.
19581 * string/test-strstr.c: New file.
19582 * string/Makefile (strop-tests): Add strstr and strcasestr.
19583 * string/str-two-way.h: Don't undefine MAX.
19584 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19586 2010-07-21 Andreas Schwab <schwab@redhat.com>
19588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19589 strcasestr-nonascii.
19590 (CFLAGS-strcasestr-nonascii.c): Define.
19591 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19593 Remove unused attribute.
19595 2010-07-20 Roland McGrath <roland@redhat.com>
19597 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19598 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19599 ld.so.cache was broken. With it, there is no way to disable dsocaps
19600 like LD_HWCAP_MASK can disable hwcaps.
19602 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19604 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19606 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19608 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19609 call in strcasestr.
19610 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19611 __strcasestr_sse42_nonascii.
19612 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19613 strcasestr-nonascii.c.
19614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19616 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19618 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19620 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19623 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19628 2010-07-06 Andreas Schwab <schwab@redhat.com>
19631 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19634 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19636 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19637 _PC_PIPE_BUF using F_GETPIPE_SZ.
19639 2010-07-05 Roland McGrath <roland@redhat.com>
19641 * manual/arith.texi (Rounding Functions): Fix rint description
19642 implicit in round description.
19644 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19646 * elf/Makefile: Fix linking for a few tests to make recent linker
19649 2010-06-30 Andreas Schwab <schwab@redhat.com>
19651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19652 $(common-objpfx)libc_nonshared.a.
19654 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19656 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19657 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19658 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19659 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19660 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19661 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19662 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19663 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19678 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19679 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19680 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19681 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19682 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19683 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19684 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19685 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19686 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19687 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19688 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19689 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19705 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19707 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19708 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19709 * string/memmove.c (memmove): Renamed to ...
19710 (MEMMOVE): ...this. Default to memmove.
19711 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19712 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19715 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19716 mempcpy-ssse3-back memmove-ssse3-back.
19717 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19720 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19721 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19722 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19723 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19724 * sysdeps/x86_64/multiarch/memmove.c: New file.
19725 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19726 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19727 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19728 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19729 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19732 (index_Fast_Copy_Backward): Define.
19733 (HAS_ARCH_FEATURE): Define.
19734 (HAS_FAST_REP_STRING): Define.
19735 (HAS_FAST_COPY_BACKWARD): Define.
19737 2010-06-21 Andreas Schwab <schwab@redhat.com>
19739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19740 Restore proper fallback handling.
19742 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19745 * posix/group_member.c (__group_member): Correct checking loop.
19747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19748 OOM in getpwuid_r correctly. Return error number when the caller
19749 should return, otherwise -1.
19750 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19751 call returning > 0 value.
19752 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19754 2010-06-07 Andreas Schwab <schwab@redhat.com>
19756 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19757 libc_nonshared.a from targets in modules-names.
19759 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19761 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19764 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19766 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19767 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19768 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19771 2010-06-02 Andreas Schwab <schwab@redhat.com>
19773 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19775 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19786 2010-06-14 Roland McGrath <roland@redhat.com>
19788 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19790 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19792 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19793 __REDIRECT followed by __THROW.
19794 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19795 * posix/getopt.h (getopt): Likewise.
19797 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19799 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19800 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19801 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19803 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19804 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19806 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19808 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19810 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19814 Properly check family and model.
19816 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19818 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19820 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19822 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19824 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19826 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19829 2010-05-19 Andreas Schwab <schwab@redhat.com>
19831 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19834 2010-05-21 Andreas Schwab <schwab@redhat.com>
19836 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19837 and internal_recvmmsg.
19838 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19839 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19841 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19843 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19844 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19845 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19847 2010-05-20 Andreas Schwab <schwab@redhat.com>
19849 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19851 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19853 POWER7 optimizations.
19854 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19855 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19857 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19859 * version.h: Update for 2.13 development version.
19861 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19863 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19864 exceptions. Return 0.
19866 2010-05-07 Roland McGrath <roland@redhat.com>
19868 * elf/ldconfig.c (main): Add a const.
19870 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19872 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19873 (args_options): Add no-idn option.
19874 (ahosts_keys_int): Add idn_flags to ai_flags.
19875 (parse_option): Handle 'i' option to clear idn_flags.
19877 * malloc/malloc.c (_int_free): Possible race in the most recently
19878 added check. Only act on the data if no current modification
19881 See ChangeLog.17 for earlier changes.