1 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5 if IS_IN_rtld isn't defined.
7 * elf/dl-support.c (_dl_sysinfo_map): New.
8 Include "get-dynamic-info.h" and "setup-vdso.h".
9 (_dl_non_dynamic_init): Call setup_vdso.
10 * elf/dynamic-link.h: Don't include <assert.h>.
11 (elf_get_dynamic_info): Moved to ...
12 * elf/get-dynamic-info.h: Here. New file.
13 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15 * elf/setup-vdso.h: Here. New file.
16 * elf/rtld.c: Include "setup-vdso.h".
17 (dl_main): Call setup_vdso.
19 2012-10-05 Joseph Myers <joseph@codesourcery.com>
21 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22 creal in comment listing functions tested. List finite, isinf,
23 isnan, isless, islessequal, isgreater, isgreaterequal,
24 islessgreater, isunordered, lgamma_r and pow10 as functions and
25 macros not tested. Mention which functions not tested are aliases
26 for other functions. Fix typo. Note that signs of NaNs are not
29 * scripts/config.guess: Update from config.git.
30 * scripts/config.sub: Likewise.
32 2012-10-04 Roland McGrath <roland@hack.frob.com>
34 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35 * misc/madvise.c (madvise): Renamed to __madvise.
36 Make madvise a weak alias.
37 * include/sys/mman.h: Declare __madvise.
38 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39 * sysdeps/unix/syscalls.list
40 (madvise): Make __madvise the strong name, and madvise a weak alias.
41 * sysdeps/unix/sysv/linux/syscalls.list
42 (madvise, mmap): Remove redundant entries.
43 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44 * malloc/malloc.c (mtrim): Likewise.
45 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
47 2012-10-03 Roland McGrath <roland@hack.frob.com>
49 * sysdeps/mach/hurd/dl-cache.c: File removed.
50 * config.h.in (USE_LDCONFIG): New #undef.
51 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52 * configure: Regenerated.
53 * elf/Makefile (dl-routines): Add dl-cache only under
54 [$(use-ldconfig) = yes].
55 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56 cache on [USE_LDCONFIG].
57 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59 * elf/rtld.c (dl_main): Likewise.
61 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
63 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
64 _SC_LEVEL4_CACHE_LINESIZE.
66 2012-10-03 Roland McGrath <roland@hack.frob.com>
68 * sysdeps/unix/bsd/confstr.h: File removed.
70 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
72 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75 2012-10-02 Roland McGrath <roland@hack.frob.com>
77 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
78 Make 'mapoff' field ElfW(Off) rather than off_t.
80 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
82 * nscd/Makefile: Remove nscd-cflags and all its users.
83 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
84 (CFLAGS-nonlib): Add compiler flags for nscd modules.
87 * malloc.c (malloc_printerr): Clarify error message.
89 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
92 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93 Set bit_FMA_Usable if FMA is supported.
94 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
96 (bit_FMA4_Usable): Updated.
97 (index_FMA_Usable): New macro.
99 (HAS_FMA): Defined with bit_FMA_Usable.
101 2012-10-01 Roland McGrath <roland@hack.frob.com>
103 * bits/types.h (__swblk_t): Type removed.
104 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
105 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
107 (__SWBLK_T_TYPE): Likewise.
108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
109 (__SWBLK_T_TYPE): Likewise.
110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
111 (__SWBLK_T_TYPE): Likewise.
112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
113 (__SWBLK_T_TYPE): Likewise.
115 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
116 Honza Horak <hhorak@redhat.com>
118 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
119 (xdr_mapname): Use YPMAXMAP as maxsize.
120 (xdr_peername): Use YPMAXPEER as maxsize.
121 (xdr_keydat): Use YPAXRECORD as maxsize.
122 (xdr_valdat): Use YPMAXRECORD as maxsize.
124 2012-10-01 Roland McGrath <roland@hack.frob.com>
126 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
128 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
129 * csu/init-first.c: ... here.
130 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
131 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
132 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
134 * sysdeps/i386/init-first.c: File removed.
135 * sysdeps/sh/init-first.c: File removed.
137 2012-10-01 Joseph Myers <joseph@codesourcery.com>
140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
141 if x * y might underflow to zero and z is zero.
142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
144 * math/libm-test.inc (min_subnorm_value): New variable.
145 (fma_test): Add more tests.
146 (fma_test_towardzero): Likewise.
147 (fma_test_downward): Likewise
148 (fma_test_upward): Likewise.
149 (initialize): Set min_subnorm_value.
151 2012-09-29 Joseph Myers <joseph@codesourcery.com>
154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
156 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
157 mode for addition resulting in exact zero.
158 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
163 * math/libm-test.inc (fma_test): Add more tests.
164 (fma_test_towardzero): New function.
165 (fma_test_downward): Likewise.
166 (fma_test_upward): Likewise.
167 (main): Call the new functions.
169 2012-09-28 David S. Miller <davem@davemloft.net>
171 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
173 2012-09-28 Roland McGrath <roland@hack.frob.com>
175 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
178 * sysdeps/gnu/_G_config.h: Moved to ...
179 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
180 * sysdeps/mach/hurd/_G_config.h: Moved to ...
181 * sysdeps/generic/_G_config.h: ... here.
183 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
185 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
187 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
188 Conditionalize target on [libnss_test1.so-version].
190 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
192 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
193 (elfobjdir): Move out of conditionals.
195 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
196 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
197 (__nss_lookup_function): Conditionalize label remove_from_tree on
198 [!DO_STATIC_NSS || SHARED], matching its only use.
200 2012-09-28 David S. Miller <davem@davemloft.net>
202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
203 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
205 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
207 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
209 when HWCAP_SPARC_CRYPTO is present.
211 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
213 * io/tst-mknodat.c: Create a FIFO instead of a socket.
215 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
218 * stdio-common/vfprintf.c (process_string_arg): Revert
221 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
223 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
225 * stdio-common/tst-sprintf.c: Include <locale.h>
226 (main): Test sprintf's handling of incomplete multibyte
229 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
231 * elf/dl-runtime.c (VERSYMIDX): Removed.
232 * elf/dl-version.c (VERSYMIDX): Likewise.
233 * elf/do-rel.h (VERSYMIDX): Likewise.
235 * elf/dynamic-link.h (VERSYMIDX): Likewise.
236 * elf/rtld.c (VALIDX): Likewise.
238 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
239 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
240 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
241 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
245 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
247 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
249 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
252 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
254 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
255 addresses are in the same scope as 192.0.2/24.
256 * posix/gai.conf: Document new scope table defaults.
258 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
261 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
262 for ftell. Compute offsets from write pointers instead.
263 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
265 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
268 * libio/Makefile (tests): New test case tst-fseek.
269 * libio/tst-fseek.c: New test case to verify that fseek/ftell
270 combination works in wide mode.
271 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
272 state when the external buffer state changes.
274 2012-09-27 David S. Miller <davem@davemloft.net>
277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
278 pass reloc->r_addend in as the 'high' argument to
279 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
283 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
285 * rt/tst-aio2.c: Include <pthread.h>.
286 * rt/tst-aio3.c: Likewise.
288 2012-09-27 Steve Ellcey <sellcey@mips.com>
290 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
292 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
294 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
295 contents on [SHARED].
297 2012-09-26 Marek Polacek <polacek@redhat.com>
301 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
302 for C++ and GCC <4.3 as well as for non GCC compilers.
304 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
308 2012-09-25 Roland McGrath <roland@hack.frob.com>
310 * Makefile.in (all, install): Declare with .PHONY.
311 Reported by Michael Hope <michael.hope@linaro.org>.
313 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
315 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
316 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
318 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
320 (sydep_routines): Add the new and the internal functions.
321 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
322 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
324 (GLIBC_2.17): Add the new function.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
326 (GLIBC_2.17): Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
328 (GLIBC_2.17): Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
330 (GLIBC_2.17): Likewise.
331 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
333 2012-09-25 Alan Modra <amodra@gmail.com>
335 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
336 Add release barrier before setting once_control to say
337 initialisation is done. Add hints on lwarx. Use macro in
339 (clear_once_control): Add release barrier.
341 2012-09-25 Joseph Myers <joseph@codesourcery.com>
344 * math/s_clog.c (__clog): Handle more values close to |z| = 1
346 * math/s_clog10.c (__clog10): Likewise.
347 * math/s_clog10f.c (__clog10f): Likewise.
348 * math/s_clog10l.c (__clog10l): Likewise.
349 * math/s_clogf.c (__clogf): Likewise.
350 * math/s_clogl.c (__clogl): Likewise.
351 * math/Makefile (libm-calls): Add x2y2m1.
352 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
353 (__x2y2m1): Likewise.
354 (__x2y2m1l): Likewise.
355 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
356 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
357 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
358 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
359 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
360 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
361 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
362 * sysdeps/i386/fpu/libm-test-ulps: Update.
363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
366 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
367 int as type of variable DEPTH.
368 (glob): Use size_t instead of int as type of variables NEWCOUNT
371 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
373 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
375 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
376 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
377 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
378 macros for using routine as __sincosf_ia32.
379 Use macro for function declaration and weak_alias.
380 * sysdeps/i386/fpu/libm-test-ulps: Update.
382 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
385 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
387 * math/s_cexpf.c (__cexpf): Likewise.
388 * math/s_csinf.c (__csinf): Likewise.
389 * math/s_csinhf.c (__csinhf): Likewise.
390 * math/s_ctanf.c (__ctanf): Likewise.
391 * math/s_ctanhf.c (__ctanhf): Likewise.
392 * math/s_ccosh.c (__ccoshf): Likewise.
393 * math/s_cexp.c (__cexpl): Likewise.
394 * math/s_csin.c (__csin): Likewise.
395 * math/s_csinh.c (__csinh): Likewise.
396 * math/s_ctan.c (__ctan): Likewise.
397 * math/s_ctanh.c (ctanh): Likewise.
398 * math/s_ccoshl.c (__ccoshl): Likewise.
399 * math/s_cexpl.c (__cexpl): Likewise.
400 * math/s_csinl.c (__csinl): Likewise.
401 * math/s_csinhl.c (__csinhl): Likewise.
402 * math/s_ctanl.c (__ctanl): Likewise.
403 * math/s_ctanhl.c (__ctanhl): Likewise.
405 2012-09-25 Joseph Myers <joseph@codesourcery.com>
407 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
408 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
409 (_IO_off_t): Define to __off_t, not _G_off_t.
410 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
411 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
412 (_IO_wint_t): Define to wint_t, not _G_wint_t.
413 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
414 type of __dummy and __dummy2 fields.
415 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
416 (_G_ssize_t): Likewise.
417 (_G_off_t): Likewise.
418 (_G_pid_t): Likewise.
419 (_G_uid_t): Likewise.
420 (_G_wchar_t): Likewise.
421 (_G_wint_t): Likewise.
422 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
423 (_G_ssize_t): Likewise.
424 (_G_off_t): Likewise.
425 (_G_pid_t): Likewise.
426 (_G_uid_t): Likewise.
427 (_G_wchar_t): Likewise.
428 (_G_wint_t): Likewise.
429 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
430 (_G_ssize_t): Likewise.
431 (_G_off_t): Likewise.
432 (_G_pid_t): Likewise.
433 (_G_uid_t): Likewise.
434 (_G_wchar_t): Likewise.
435 (_G_wint_t): Likewise.
437 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
439 * malloc/arena.c: Include malloc-sysdep.h.
440 (shrink_heap): Use check_may_shrink_heap to decide if madvise
441 is sufficient to shrink the heap or an unmap is needed.
442 * sysdeps/generic/malloc-sysdep.h: New file. Define
443 new function check_may_shrink_heap.
444 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
445 new function check_may_shrink_heap.
447 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
449 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
452 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
454 * catgets/test-gencat.sh: Add "set -e".
455 * elf/tst-pathopt.sh: Likewise.
456 * grp/tst_fgetgrent.sh: Likewise.
457 * iconvdata/run-iconv-test.sh: Likewise.
458 * intl/tst-gettext.sh: Likewise.
459 * intl/tst-gettext2.sh: Likewise.
460 * intl/tst-gettext4.sh: Likewise.
461 * intl/tst-gettext6.sh: Likewise.
462 * intl/tst-translit.sh: Likewise.
463 * io/ftwtest-sh: Likewise.
464 * libio/test-freopen.sh: Likewise.
465 * malloc/tst-mtrace.sh: Likewise.
466 * posix/globtest.sh: Likewise.
467 * posix/tst-getconf.sh: Likewise.
468 * posix/wordexp-tst.sh: Likewise.
469 * stdio-common/tst-printf.sh: Likewise.
470 * stdio-common/tst-unbputc.sh: Likewise.
471 * stdlib/tst-fmtmsg.sh: Likewise.
472 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
473 * catgets/Makefile: Do not specify -e option when running
474 testsuite shell scripts.
475 * elf/Makefile: Likewise.
476 * grp/Makefile: Likewise.
477 * iconvdata/Makefile: Likewise.
478 * intl/Makefile: Likewise.
479 * io/Makefile: Likewise.
480 * libio/Makefile: Likewise.
481 * malloc/Makefile: Likewise.
482 * posix/Makefile: Likewise.
483 * stdio-common/Makefile: Likewise.
484 * stdlib/Makefile: Likewise.
485 * sysdeps/x86_64/Makefile: Likewise.
487 * io/ftwtest-sh: Add copyright header.
488 * posix/globtest.sh: Likewise.
489 * posix/tst-getconf.sh: Likewise.
490 * posix/wordexp-tst.sh: Likewise.
491 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
493 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
496 * Makeconfig (+link): Defined as $(+link-static) if
497 $(build-shared) isn't yes.
498 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
500 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
502 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
505 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
506 new chunk size with MALLOC_ALIGN_MASK.
508 2012-09-24 Joseph Myers <joseph@codesourcery.com>
511 * stdio-common/printf_fphex.c: Include <stdbool.h> and
513 (__printf_fphex): Determine rounding using get_rounding_mode and
515 * stdio-common/tst-printf-round.c (struct hex_test): New
517 (hex_tests): New variable.
518 (test_hex_in_one_mode): New function.
519 (do_test): Also run tests for hex float output.
521 2012-09-21 Joseph Myers <joseph@codesourcery.com>
523 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
524 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
525 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
526 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
527 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
528 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
529 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
530 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
532 2012-09-20 Joseph Myers <joseph@codesourcery.com>
534 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
535 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
536 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
537 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
539 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
542 * elf/rtld.c (dl_main): Limit the check for self loading to normal
544 * elf/tst-rtld-load-self.sh: New test.
545 * elf/Makefile: Run it.
547 2012-09-18 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
550 (tst-writev-ENV): Remove.
551 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
553 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
555 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
557 2012-09-17 Joseph Myers <joseph@codesourcery.com>
559 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
561 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
563 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
564 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
565 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
568 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
571 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
572 * config.make.in (have-cpp-asm-debuginfo): Removed.
573 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
574 * configure: Regenerated.
576 2012-09-14 Joseph Myers <joseph@codesourcery.com>
579 * stdio-common/printf_fp.c: Include <stdbool.h> and
581 (___printf_fp): Determine rounding using get_rounding_mode and
583 * stdio-common/tst-printf-round.c: New file.
584 * stdio-common/Makefile (tests): Add tst-printf-round.
585 (link-libm): New variable.
586 ($(objpfx)tst-printf-round): Depend in $(link-libm).
588 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
591 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
592 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
594 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
597 2012-09-13 Joseph Myers <joseph@codesourcery.com>
599 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
600 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
601 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
602 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
604 2012-09-12 Joseph Myers <joseph@codesourcery.com>
607 * include/rounding-mode.h: New file.
608 * sysdeps/generic/get-rounding-mode.h: Likewise.
609 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
610 * stdlib/strtod_l.c: Include <rounding-mode.h>.
611 (MAX_VALUE): New macro.
612 (MIN_VALUE): Likewise.
613 (overflow_value): New function.
614 (underflow_value): Likewise.
615 (round_and_return): Use overflow_value and underflow_value to
616 determine return values in overflow and underflow cases. Use
617 round_away to determine rounding depending on rounding mode.
618 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
619 determine return values in overflow and underflow cases.
620 * stdlib/tst-strtod-round.c: Include <fenv.h>.
621 (struct test_results): New structure.
622 (struct test): Use struct test_results to store expected results
623 for all rounding modes.
624 (TEST): Include expected results for all rounding modes.
625 (test_in_one_mode): New function.
626 (do_test): Use test_in_one_mode to compute and check results.
627 Check results for all rounding modes.
628 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
631 2012-12-09 Allan McRae <allan@archlinux.org>
633 * sysdeps/i386/fpu/libm-test-ulps: Update
635 2012-09-11 Joseph Myers <joseph@codesourcery.com>
637 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
638 (_G_int32_t): Likewise.
639 (_G_uint16_t): Likewise.
640 (_G_uint32_t): Likewise.
641 (_G_HAVE_BOOL): Likewise.
642 (_G_HAVE_ATEXIT): Likewise.
643 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
644 (_G_HAVE_IO_FILE_OPEN): Likewise.
645 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
646 (_G_int32_t): Likewise.
647 (_G_uint16_t): Likewise.
648 (_G_uint32_t): Likewise.
649 (_G_HAVE_BOOL): Likewise.
650 (_G_HAVE_ATEXIT): Likewise.
651 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
652 (_G_HAVE_IO_FILE_OPEN): Likewise.
653 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
654 (_G_int32_t): Likewise.
655 (_G_uint16_t): Likewise.
656 (_G_uint32_t): Likewise.
657 (_G_HAVE_BOOL): Likewise.
658 (_G_HAVE_ATEXIT): Likewise.
659 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
660 (_G_HAVE_IO_FILE_OPEN): Likewise.
662 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
664 * csu/libc-tls.c: Update copyright years.
666 2012-09-10 Joseph Myers <joseph@codesourcery.com>
668 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
669 [!_G_USING_THUNKS]: Remove conditional code.
670 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
671 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
673 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
674 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
675 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
676 (_G_VTABLE_LABEL_PREFIX): Likewise.
677 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
678 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
679 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
680 (_G_VTABLE_LABEL_PREFIX): Likewise.
681 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
682 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
683 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
684 (_G_VTABLE_LABEL_PREFIX): Likewise.
685 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
687 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
689 * libio/Makefile: Include ../Makeconfig before tests.
690 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
691 only if $(build-shared) is yes.
693 * iconv/gconv_db.c: Update copyright years.
695 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
697 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
698 unwind info if defined PIC. Fix special cases description.
699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
701 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
703 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
705 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
707 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
709 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
712 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
713 (LDLIBS-tst-chk4): This.
714 (LDFLAGS-tst-chk5): Renamed to ...
715 (LDLIBS-tst-chk5): This.
716 (LDFLAGS-tst-chk6): Renamed to ...
717 (LDLIBS-tst-chk6): This.
718 (LDFLAGS-tst-lfschk4): Renamed to ...
719 (LDLIBS-tst-lfschk4): This.
720 (LDFLAGS-tst-lfschk5): Renamed to ...
721 (LDLIBS-tst-lfschk5): This.
722 (LDFLAGS-tst-lfschk6): Renamed to ...
723 (LDLIBS-tst-lfschk6): This.
725 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
726 on $(common-objpfx)soversions.mk.
728 2012-09-07 Joseph Myers <joseph@codesourcery.com>
731 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
734 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
736 * malloc/arena.c (arena_get_retry): New function that gets
737 another arena for the caller to try its request on.
738 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
739 current arena cannot fulfill the request.
740 (__libc_memalign): Likewise.
741 (__libc_memalign): Likewise.
742 (__libc_pvalloc): Likewise.
743 (__libc_calloc): Likewise.
745 2012-09-05 John Tobey <john.tobey@gmail.com>
748 * manual/arith.texi (Operations on Complex): Fix description
751 2012-09-06 Joseph Myers <joseph@codesourcery.com>
754 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
758 * manual/memory.texi (Memory): Make order of menu items match
761 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
763 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
764 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
765 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
767 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
769 * csu/libc-tls.c (static_dtv): Renamed to ...
770 (_dl_static_dtv): This. Make it global.
771 (_dl_initial_dtv): Removed.
772 (__libc_setup_tls): Updated.
773 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
774 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
777 2012-09-06 Petr Machata <pmachata@redhat.com>
779 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
780 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
781 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
782 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
784 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
787 * csu/libc-tls.c (_dl_initial_dtv): New variable.
788 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
791 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
794 * Makeconfig (link-static-before-libc): Replace $(+prector)
796 (link-static-after-libc): Replace $(+postctor) with
798 (link-bounded): Replace $(+prector)/$(+postctor) with
799 $(+prectorT)/$(+postctorT).
800 (+prectorT): New macro.
801 (+postctorT): Likewise.
803 2012-09-06 Joseph Myers <joseph@codesourcery.com>
805 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
806 (round_str): Handle values above the maximum for IBM long double
808 * stdlib/tst-strtod-round.c (tests): Regenerated.
810 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
812 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
814 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
815 zarch_nohighgprs around the zarch optimized routines.
816 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
817 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
821 2012-09-05 David S. Miller <davem@davemloft.net>
823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
825 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
826 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
827 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
828 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
831 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
833 * malloc/arena.c: Fold copyright years.
834 * malloc/mcheck.c, malloc/memusage.c: Likewise.
836 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
838 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
840 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
842 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
844 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
846 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
847 change internal state upon failure.
849 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
851 * malloc/mcheck.c (mcheck_check_all): Fix typo.
852 * malloc/memusage.c (mmap): Likewise.
853 (mmap64, mremap): Likewise. Adjust name in comment.
855 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
857 * libio/fileops.c: Fix typos in comments.
858 * libio/oldfileops.c: Likewise.
859 * libio/wfileops.c: Likewise.
861 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
864 * malloc/Makefile (tests): Add tst-malloc-usable test case.
865 (tst-malloc-usable-ENV): Set environment for test case.
866 * malloc/hooks.c (malloc_check_get_size): New function to get
868 * malloc/malloc.c (musable): Use malloc_check_get_size.
869 * malloc/tst-malloc-usable.c: New test case.
871 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
873 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
875 2012-09-05 Allan McRae <allan@archlinux.org>
878 * configure.in (CXX_SYSINCLUDES): Use compiler output to
879 determine header location.
880 * configure: Regenerated.
882 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
884 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
886 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
887 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
891 2012-09-04 David S. Miller <davem@davemloft.net>
893 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
894 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
895 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
897 2012-09-04 Florian Weimer <fweimer@redhat.com>
899 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
902 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
904 2012-09-04 Joseph Myers <joseph@codesourcery.com>
907 * libio/iogetdelim.c: Include <limits.h>.
908 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
909 + len + 1 would overflow.
911 2012-09-03 Andreas Jaeger <aj@suse.de>
913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
914 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
918 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
919 Add s_sinf-sse2, s_conf-sse2.
921 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
922 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
923 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
924 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
926 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
927 for using routine as __sinf_ia32.
928 Use macro for function declaration and weak_alias.
929 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
930 for using routine as __cosf_ia32.
931 Use macro for function declaration and weak_alias.
933 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
934 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
936 * sysdeps/x86_64/fpu/s_sinf.S: New file.
937 * sysdeps/x86_64/fpu/s_cosf.S: New file.
938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
940 * math/libm-test.inc (cos_test): Add more test cases.
941 (sin_test): Likewise.
942 (sincos_test): Likewise.
944 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
947 (IFUNC_RESOLVE): Make pointers to the specialized implementations
949 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
951 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
954 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
955 first element of the GOT.
956 (elf_machine_load_address): Return the difference between
957 the runtime address of _DYNAMIC and elf_machine_dynamic ().
959 2012-09-01 Allan McRae <allan@archlinux.org>
962 * configure.in (AWK): Require gawk version 3.0 or later.
963 * configure: Regenerated.
965 2012-09-01 Joseph Myers <joseph@codesourcery.com>
967 * sysdeps/unix/sysv/linux/kernel-features.h
968 (__ASSUME_POSIX_CPU_TIMERS): Remove.
969 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
970 [__NR_clock_getres]: Make code unconditional.
971 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
972 (clock_getcpuclockid): Remove code left unreachable by removal of
974 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
976 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
977 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
978 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
979 Make code unconditional.
980 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
981 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/clock_settime.c
983 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
985 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
986 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
988 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
991 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
992 scripts/test-installation.pl.
994 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
995 and $ld_so_version if it is set.
997 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1001 failure if reading from procfs failed.
1002 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1004 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1006 * sysdeps/unix/sysv/linux/kernel-features.h
1007 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1008 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1009 Remove conditional code.
1010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1011 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1012 Remove conditional code.
1013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1014 * sysdeps/unix/sysv/linux/i386/fxstat.c
1015 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1016 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1017 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1018 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1020 * sysdeps/unix/sysv/linux/i386/lxstat.c
1021 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1023 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1024 Remove conditional code.
1025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1026 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1027 Remove conditional code.
1028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1030 <kernel-features.h>.
1031 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1033 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1034 Remove conditional code.
1035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1036 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1039 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1042 * NEWS: Add fixed bug number.
1044 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1047 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1048 underflowing exponent in case of negative sign.
1049 * stdlib/tst-strtod-round-data: Add more tests.
1050 * stdlib/tst-strtod-round.c (tests): Regenerated.
1053 * stdlib/strtod_l.c (NDIG): Remove.
1054 (HEXNDIG): Likewise.
1055 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1056 smallest representable value.
1057 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1058 lie within an exact representation of 1/2 ulp of the result.
1059 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1061 (TENS_P9_IDX): Define unconditionally.
1062 (TENS_P9_SIZE): Likewise.
1063 (TENS_P10_IDX): Likewise.
1064 (TENS_P10_SIZE): Likewise.
1065 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1066 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1067 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1068 entries for 10^2^13 and 10^2^14.
1069 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1070 (TENS_P13_IDX): Define.
1071 (TENS_P13_SIZE): Likewise.
1072 (TENS_P14_IDX): Likewise.
1073 (TENS_P14_SIZE): Likewise.
1074 (_fpioconst_pow10): Change array size to
1075 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1077 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1078 1024]: Add entries for 10^2^13 and 10^2^14.
1079 [LAST_POW10 > _LAST_POW10]: Remove #error.
1080 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1081 (_fpioconst_pow10): Change array size to
1082 FPIOCONST_POW10_ARRAY_SIZE.
1083 * stdlib/gen-fpioconst.c: New file.
1084 * stdlib/gen-tst-strtod-round.c: Likewise.
1085 * stdlib/tst-strtod-round-data: Likewise.
1086 * stdlib/tst-strtod-round.c: Likewise.
1087 * stdlib/Makefile (tests): Add tst-strtod-round.
1090 * stdlib/strtod_l.c: Include <stdint.h>.
1091 (NDEBUG): Do not define.
1092 (round_and_return): Change EXPONENT parameter to type intmax_t.
1093 Rearrange calculations to avoid internal overflow possibilities.
1094 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1095 Rearrange calculations to avoid internal overflow possibilities.
1096 Assert that number fits inside MPNSIZE limbs.
1097 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1098 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1099 calculations and add assertions to avoid internal overflow
1100 possibilities. Add casts to avoid signed/unsigned operations.
1101 * stdlib/tst-strtod-overflow.c: New file.
1102 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1104 2012-08-25 Marek Polacek <polacek@redhat.com>
1106 * time/time.h: Fix some typos in comments.
1108 2012-08-23 Roland McGrath <roland@hack.frob.com>
1110 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1111 * posix/tst-rfc3484-2.c: Likewise.
1112 * posix/tst-rfc3484-3.c: Likewise.
1114 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1116 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1117 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1119 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1121 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1122 #include of fxstatat64.c.
1124 2012-08-22 Roland McGrath <roland@hack.frob.com>
1126 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1127 * shadow/getspent_r.c: Likewise.
1128 * shadow/getspnam.c: Likewise.
1129 * shadow/getspnam_r.c: Likewise.
1130 * gshadow/getsgent.c: Likewise.
1131 * gshadow/getsgent_r.c: Likewise.
1132 * gshadow/getsgnam.c: Likewise.
1133 * gshadow/getsgnam_r.c: Likewise.
1134 * inet/getnetbyad.c: Likewise.
1135 * inet/getnetbyad_r.c: Likewise.
1136 * inet/getnetbynm.c: Likewise.
1137 * inet/getnetbynm_r.c: Likewise.
1138 * inet/getnetent.c: Likewise.
1139 * inet/getnetent_r.c: Likewise.
1140 * inet/getproto.c: Likewise.
1141 * inet/getproto_r.c: Likewise.
1142 * inet/getprtent.c: Likewise.
1143 * inet/getprtent_r.c: Likewise.
1144 * inet/getprtname.c: Likewise.
1145 * inet/getprtname_r.c: Likewise.
1146 * inet/getrpcbyname.c: Likewise.
1147 * inet/getrpcbyname_r.c: Likewise.
1148 * inet/getrpcbynumber.c: Likewise.
1149 * inet/getrpcbynumber_r.c: Likewise.
1150 * inet/getrpcent.c: Likewise.
1151 * inet/getrpcent_r.c: Likewise.
1152 * inet/getaliasent.c: Likewise.
1153 * inet/getaliasent_r.c: Likewise.
1154 * inet/getaliasname.c: Likewise.
1155 * inet/getaliasname_r.c: Likewise.
1156 * nscd/getgrgid_r.c: Likewise.
1157 * nscd/getgrnam_r.c: Likewise.
1158 * nscd/gethstbyad_r.c: Likewise.
1159 * nscd/gethstbynm3_r.c: Likewise.
1160 * nscd/getpwnam_r.c: Likewise.
1161 * nscd/getpwuid_r.c: Likewise.
1162 * nscd/getsrvbynm_r.c: Likewise.
1163 * nscd/getsrvbypt_r.c: Likewise.
1164 * nscd/gai.c: Likewise.
1166 * configure.in (build_nscd): New substituted variable, set
1167 by --disable-build-nscd and defaults to $use_nscd.
1168 * configure: Regenerated.
1169 * config.make.in (build-nscd): New substituted variable.
1170 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1171 Change conditional to require [$(build-nscd) = yes] as well.
1172 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1175 * configure.in (use_nscd): New substituted variable, set by
1176 --disable-nscd. If enabled, define USE_NSCD.
1177 * configure: Regenerated.
1178 * config.h.in: Add USE_NSCD.
1179 * config.make.in (use-nscd): New substituted variable.
1180 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1181 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1182 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1183 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1184 (CFLAGS-getgrnam_r.c): Likewise.
1185 (CFLAGS-initgroups.c): Likewise.
1186 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1187 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1189 * inet/getnetgrent_r.c
1190 (nscd_setnetgrent): New function, broken out of ...
1191 (setnetgrent): ... here. Call it.
1192 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1193 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1194 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1195 * nscd/Makefile (routines, aux): Move definitions after include of
1196 Makeconfig. Conditionalize on [$(use-nscd) != no].
1197 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1198 Conditionalize on [USE_NSCD].
1199 (is_nscd, nscd_init_cb): Likewise.
1200 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1201 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1202 * nss/nss_db/db-init.c: Likewise.
1203 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1205 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1206 (make_request): Use it.
1207 (cache_valid_p): New function.
1208 (__check_pf): Use it.
1209 * NEWS: Add item for --disable-nscd.
1211 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1213 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1214 to support sed >= 4.2.1-20-ga9bf076.
1215 * configure: Regenerated.
1217 2012-08-22 Roland McGrath <roland@hack.frob.com>
1219 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1220 Conditionalize whole body on [IREL].
1222 2012-08-22 Jeff Law <law@redhat.com>
1225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1226 if the family is PF_UNSPEC.
1228 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1230 * Makerules (lib-version): Rename from V.
1231 (install-lib-nosubdir): Change V to lib-version.
1233 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1236 * powerpc32/power6/wcschr.c: New file.
1237 * powerpc32/power6/wcscpy.c: New file.
1238 * powerpc32/power6/wcsrchr.c: New file.
1239 * powerpc64/power6/wcschr.c: New file.
1240 * powerpc64/power6/wcscpy.c: New file.
1241 * powerpc64/power6/wcsrchr.c: New file.
1243 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1245 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1246 (two_way_short_needle): Use it.
1247 * string/strstr.c (AVAILABLE1_USES_J): Define.
1248 * string/strcasestr.c: Likewise.
1250 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1252 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1255 * NEWS: Add an entry.
1256 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1257 define their defaults.
1258 (two_way_short_needle): Detect end-of-string on-the-fly.
1259 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1260 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1261 * string/bug-strcasestr1.c: New test.
1262 * string/Makefile: Run it.
1264 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1267 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1268 the first character.
1270 2012-08-21 Roland McGrath <roland@hack.frob.com>
1272 * csu/elf-init.c (__libc_csu_irel): Function removed.
1273 * csu/libc-start.c (apply_irel): New function.
1274 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1276 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/unix/sysv/linux/kernel-features.h
1279 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1280 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1281 <kernel-features.h>.
1282 [__NR_fadvise64_64]: Make code unconditional.
1283 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1284 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1285 !__NR_fadvise64_64)]: Likewise.
1286 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1287 !__NR_fadvise64_64))]: Likewise.
1288 [__NR_fadvise64]: Make code unconditional.
1289 [!__NR_fadvise64]: Remove conditional code.
1290 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1291 <kernel-features.h>.
1292 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1294 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1297 not include <kernel-features.h>.
1298 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1300 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1302 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1303 include <kernel-features.h>.
1304 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1306 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1309 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1311 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1312 slight instruction rearrangements per scrollpipe analysis.
1313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1315 2012-08-20 Roland McGrath <roland@hack.frob.com>
1317 * manual/syslog.texi (syslog; vsyslog, closelog):
1318 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1319 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1321 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1322 DSOCAPS to match condition on defining it.
1324 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1326 * sysdeps/unix/sysv/linux/kernel-features.h
1327 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1329 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1330 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1332 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1333 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1335 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1336 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1338 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1339 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1341 * sysdeps/unix/sysv/linux/kernel-features.h
1342 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1343 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1345 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1346 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1347 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1348 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1349 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1350 Make code unconditional.
1351 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1352 (__mmap64) [!__NR_mmap2]: Likewise.
1353 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1354 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1355 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1356 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1357 [__NR_mmap2]: Make code unconditional.
1358 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1359 (__mmap64) [!__NR_mmap2]: Likewise.
1361 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1363 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1365 2012-08-18 Andreas Jaeger <aj@suse.de>
1367 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1369 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1371 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1372 * include/unistd.h (__have_sock_cloexec): Likewise.
1373 (__have_pipe2): Likewise.
1374 (__have_dup3): Likewise.
1376 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1379 * include/unistd.h (__have_pipe2): Change define into an extern int.
1380 (__have_dup3): Likewise.
1381 * socket/have_sock_cloexec.c: Include fcntl.h.
1382 (__have_pipe2): New variable.
1383 (__have_dup3): Likewise.
1385 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1387 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1389 2012-08-17 Marek Polacek <polacek@redhat.com>
1391 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1392 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1394 2012-08-17 Roland McGrath <roland@hack.frob.com>
1396 * configure.in: Add AC_SUBST for sysheaders.
1397 * configure: Regenerated.
1398 * config.make.in (sysheaders): New substituted variable.
1400 * sysdeps/unix/mkfifo.c: Moved ...
1401 * sysdeps/posix/mkfifo.c: ... here.
1402 * sysdeps/unix/mkfifoat.c: Moved ...
1403 * sysdeps/posix/mkfifoat.c: ... here.
1405 * sysdeps/unix/utime.c: Moved ...
1406 * sysdeps/posix/utime.c: ... here.
1408 * sysdeps/unix/time.c: Moved ...
1409 * sysdeps/posix/time.c: ... here.
1410 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1411 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1413 * sysdeps/unix/nice.c: Moved ...
1414 * sysdeps/posix/nice.c: ... here.
1416 * sysdeps/unix/alarm.c: Moved ...
1417 * sysdeps/posix/alarm.c: ... here.
1419 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1421 2012-08-17 Jeff Law <law@redhat.com>
1423 * intl/Makefile (codeset_mo): New variable.
1424 ($(codeset_mo)): New target.
1425 (tst-codeset.out): Depend on that. Remove explicit rule.
1426 (tst-gettext3.out, tst-gettext5.out): Likewise.
1427 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1428 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1429 * intl/tst-codeset.sh: Remove.
1430 * intl/tst-gettext3.sh: Likewise.
1431 * intl/tst-gettext5.sh: Likewise.
1433 2012-08-17 Roland McGrath <roland@hack.frob.com>
1435 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1436 * sysdeps/unix/syscalls.list: ... here.
1438 * sysdeps/posix/getaddrinfo.c
1439 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1440 (gaiconf_init, gaiconf_reload): Use them.
1442 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1443 Define using time_t rather than struct timespec.
1445 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1446 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1448 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1450 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1451 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1454 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1455 __libc_cleanup_push argument.
1457 * bits/param.h: New file.
1458 * misc/sys/param.h: New file.
1459 * include/sys/param.h: New file.
1460 * misc/Makefile (headers): Add bits/param.h.
1461 * sysdeps/generic/sys/param.h: File removed.
1462 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1463 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1464 * sysdeps/mach/hurd/bits/param.h: New file.
1465 * sysdeps/mach/hurd/sys/param.h: New file.
1467 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1470 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1472 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1473 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1476 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1477 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1478 rather than -D_IO_MTSAFE_IO conditionally.
1479 * stdio-common/Makefile (CPPFLAGS): Likewise.
1480 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1481 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1482 Use $(libio-mtsafe).
1483 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1485 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1486 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1487 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1488 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1489 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1490 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1491 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1492 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1493 (CFLAGS-fread_u_chk.c): Likewise.
1494 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1495 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1496 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1497 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1498 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1499 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1500 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1501 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1502 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1504 * libio/Makefile: Test [$(libc-reentrant) = yes]
1505 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1508 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1509 * sysdeps/pthread/configure: File removed.
1510 * sysdeps/pthread/Makeconfig: New file.
1511 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1512 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1514 2012-08-16 Gary Benson <gbenson@redhat.com>
1516 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1517 unmapping the first object in a namespace.
1519 2012-08-16 Roland McGrath <roland@hack.frob.com>
1521 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1522 (__internal_setnetgrent): ... this. Add internal_function to
1523 definition. Add libc_hidden_def.
1524 (setnetgrent): Update caller.
1525 (internal_endnetgrent): Renamed to ...
1526 (__internal_endnetgrent): ... this. Add internal_function to
1527 definition. Add libc_hidden_def.
1528 (endnetgrent): Update caller.
1529 (internal_getnetgrent_r): Renamed to ...
1530 (__internal_getnetgrent_r): ... this. Add internal_function to
1531 definition. Add libc_hidden_def.
1532 (__getnetgrent_r): Update caller.
1533 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1535 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1537 * stdlib/longlong.h: Update from GCC.
1539 2012-08-16 Roland McGrath <roland@hack.frob.com>
1541 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1542 on _QL, which is set by umul_ppmm but never used.
1543 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1544 variables, which are set by GMP macros but never used.
1545 * stdio-common/_itowa.c (_itowa): Likewise.
1546 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1547 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1549 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1551 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1552 struct La_sh_regs is not constant.
1553 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1554 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1555 and struct La_sparc64_regs are not constant.
1557 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1559 * sysdeps/unix/sysv/linux/kernel-features.h
1560 (__ASSUME_POSIX_TIMERS): Remove.
1561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1562 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1563 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1564 Make code unconditional.
1565 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1566 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1567 Make code unconditional.
1568 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1569 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1570 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1572 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1573 Make code unconditional.
1574 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1575 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1576 (__libc_missing_posix_timers): Remove.
1578 2012-08-15 Roland McGrath <roland@hack.frob.com>
1580 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1581 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1583 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1585 * elf/dl-sym.c: Include <stdlib.h>.
1587 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1588 constants, which avoids warnings in 32-bit builds.
1590 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1591 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1593 * misc/lseek.c: File moved to ...
1594 * io/lseek.c: ... here.
1596 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1598 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1599 shifting LEN more than 31 bits at once.
1601 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1604 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1605 segmentation fault for a case of two empty input strings.
1606 * string/test-strncasecmp.c (check1): Renamed to...
1608 (bz14195): Add new testcase for two empty input strings and N > 0.
1609 (test_main): Call new testcase, adapt for renamed function.
1611 2012-08-15 Andreas Jaeger <aj@suse.de>
1614 * crypt/md5test2.c: New test, based on test supplied by Serge
1615 Belyshev <belyshev@depni.sinp.msu.ru>.
1616 * crypt/Makefile (xtests): Add md5test-giant..
1617 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1619 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1622 * crypt/md5.c (md5_process_block): Don't assume the buffer
1623 length is less than 2**32.
1624 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1625 length is less than 2**64.
1627 2012-08-15 Roland McGrath <roland@hack.frob.com>
1629 * string/str-two-way.h: Include <sys/param.h>.
1630 (MAX): Macro removed.
1632 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1633 Move #define and #undef of memmove to just before and after
1634 including <string.h>.
1636 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1637 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1638 and after including <string.h>. Move declarations of
1639 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1640 to before #include "string/memmove.c".
1642 * include/dirent.h: Declare __getdirentries.
1644 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1645 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1647 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1649 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1650 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1651 * sysdeps/i386/configure: Regenerated.
1652 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1653 STABS_CURRENT_FILE, and STABS_FUN.
1654 (END): Remove call to STABS_FUN_END.
1655 (STABS_CURRENT_FILE1): Delete.
1656 (STABS_CURRENT_FILE): Likewise.
1657 (STABS_FUN): Likewise.
1658 (STABS_FUN_END): Likewise.
1659 (STABS_FUN2): Likewise.
1660 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1661 * sysdeps/x86_64/configure: Regenerated.
1663 2012-08-14 Roland McGrath <roland@hack.frob.com>
1665 * elf/dl-open.c: Include <atomic.h>.
1666 * elf/dl-lookup.c: Likewise.
1668 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1670 * sysdeps/unix/sysv/linux/kernel-features.h
1671 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1672 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1674 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1676 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1677 condition on __ASSUME_CLONE_THREAD_FLAGS.
1679 2012-08-14 Andreas Jaeger <aj@suse.de>
1681 * sysdeps/i386/fpu/libm-test-ulps: Update.
1683 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1685 * include/atomic.h (atomic_exchange_and_add): Split into ...
1686 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1689 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1693 2012-08-13 Jeff Law <law@redhat.com>
1695 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1696 null byte in the output string.
1698 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1700 * sysdeps/unix/sysv/linux/kernel-features.h
1701 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1702 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1703 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1704 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1705 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1706 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1707 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1709 2012-08-09 Jeff Law <law@redhat.com>
1712 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1713 When avoid_arena is set, don't retry in the that arena. Pick the
1714 next one, whatever it might be.
1715 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1716 (arena_lock): Pass in new parameter to arena_get2.
1717 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1719 (__libc_malloc): Unify retrying after main arena failure with
1720 __libc_memalign version.
1721 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1723 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1726 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1727 to __redirect_strstr.
1728 (__strstr_sse42): Use typeof __redirect_strstr.
1729 (__strstr_ia32): Likewise.
1730 (__libc_strstr): New prototype.
1731 (strstr): Renamed to ...
1732 (__libc_strstr): This.
1733 (strstr): New strong alias of __libc_strstr.
1734 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1738 (__libc_time): New prototype.
1739 (time_ifunc): Replace time with __libc_time.
1740 (time): New strong alias and hidden definition of __libc_time.
1741 (__GI_time): Remove strong alias.
1742 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1744 (memmove): Redefined to __redirect_memmove.
1745 (__memmove_sse2): Use typeof __redirect_memmove.
1746 (__memmove_ssse3): Likewise.
1747 (__memmove_ssse3_back): Likewise.
1748 (__libc_memmove): New prototype.
1749 (memmove): Renamed to ...
1750 (__libc_memmove): This.
1751 (memmove): New strong alias of __libc_memmove.
1753 2012-08-08 Mark Salter <msalter@redhat.com>
1756 (R_MN10300_TLS_GD): Define.
1757 (R_MN10300_TLS_LD): Likewise.
1758 (R_MN10300_TLS_LDO): Likewise.
1759 (R_MN10300_TLS_GOTIE): Likewise.
1760 (R_MN10300_TLS_IE): Likewise.
1761 (R_MN10300_TLS_LE): Likewise.
1762 (R_MN10300_TLS_DTPMOD): Likewise.
1763 (R_MN10300_TLS_DTPOFF): Likewise.
1764 (R_MN10300_TLS_TPOFF): Likewise.
1765 (R_MN10300_SYM_DIFF): Likewise.
1766 (R_MN10300_ALIGN): Likewise.
1767 (R_MN10300_NUM): Update.
1769 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1774 2012-08-08 Roland McGrath <roland@hack.frob.com>
1776 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1778 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1779 sysdeps/unix -> sysdeps/posix move.
1780 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1782 2012-08-07 Allan McRae <allan@archlinux.org>
1785 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1786 (SUNOS_CPP): Likewise.
1787 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1789 (open_input): Call CPP using execvp.
1791 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1793 * sysdeps/unix/sysv/linux/kernel-features.h
1794 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1795 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1796 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1797 (__ASSUME_WAITID_SYSCALL): Likewise.
1798 * sysdeps/unix/sysv/linux/dl-execstack.c
1799 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1801 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1803 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1804 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1805 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1807 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1809 [__ASSUME_WAITID_SYSCALL]: Likewise.
1810 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1812 2012-08-07 Roland McGrath <roland@hack.frob.com>
1814 * sysdeps/unix/closedir.c: Renamed to ...
1815 * sysdeps/posix/closedir.c: ... here.
1816 * sysdeps/unix/dirfd.c: Renamed to ...
1817 * sysdeps/posix/dirfd.c: ... here.
1818 * sysdeps/unix/dirstream.h: Renamed to ...
1819 * sysdeps/posix/dirstream.h: ... here.
1820 * sysdeps/unix/fdopendir.c: Renamed to ...
1821 * sysdeps/posix/fdopendir.c: ... here.
1822 * sysdeps/unix/opendir.c: Renamed to ...
1823 * sysdeps/posix/opendir.c: ... here.
1824 * sysdeps/unix/readdir.c: Renamed to ...
1825 * sysdeps/posix/readdir.c: ... here.
1826 * sysdeps/unix/readdir_r.c: Renamed to ...
1827 * sysdeps/posix/readdir_r.c: ... here.
1828 * sysdeps/unix/rewinddir.c: Renamed to ...
1829 * sysdeps/posix/rewinddir.c: ... here.
1830 * sysdeps/unix/seekdir.c: Renamed to ...
1831 * sysdeps/posix/seekdir.c: ... here.
1832 * sysdeps/unix/telldir.c: Renamed to ...
1833 * sysdeps/posix/telldir.c: ... here.
1834 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1835 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1836 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1837 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1839 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1840 * bits/fcntl.h: ... here.
1842 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1844 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1845 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1846 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1847 (struct flock): Move l_start, l_len to the beginning.
1848 Use __pid_t for l_pid.
1849 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1850 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1851 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1852 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1853 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1854 [__USE_LARGEFILE64] (struct flock64): New type.
1855 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1857 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1858 * bits/dirent.h: ... here.
1860 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1861 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1863 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1866 Change from 2.6.0 to 2.6.16.
1867 * sysdeps/unix/sysv/linux/configure: Regenerated.
1868 * sysdeps/unix/sysv/linux/kernel-features.h
1869 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1870 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1872 (__ASSUME_UTIMES): Likewise.
1873 (__ASSUME_CLONE_STOPPED): Remove.
1874 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1875 architectures, not kernel version.
1876 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1877 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1878 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1879 (__ASSUME_WAITID_SYSCALL): Likewise.
1880 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1881 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1882 * README: State 2.6.16 as minimum Linux kernel version. Do not
1883 refer to older versions.
1885 2012-08-06 Roland McGrath <roland@hack.frob.com>
1887 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1888 Define alphasort64 as an alias.
1889 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1890 Define versionsort64 as an alias.
1891 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1892 Define scandir64 as an alias.
1893 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1894 Define scandirat64 as an alias.
1895 * dirent/alphasort64.c (alphasort64):
1896 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1897 * dirent/versionsort64.c: Likewise.
1898 * dirent/scandir64.c: Likewise.
1899 * dirent/scandirat64.c: Likewise.
1900 * sysdeps/wordsize-64/alphasort.c: File removed.
1901 * sysdeps/wordsize-64/alphasort64.c: File removed.
1902 * sysdeps/wordsize-64/scandir.c: File removed.
1903 * sysdeps/wordsize-64/scandir64.c: File removed.
1904 * sysdeps/wordsize-64/scandirat.c: File removed.
1905 * sysdeps/wordsize-64/scandirat64.c: File removed.
1906 * sysdeps/wordsize-64/versionsort.c: File removed.
1907 * sysdeps/wordsize-64/versionsort64.c: File removed.
1908 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1909 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1910 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1912 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1913 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1914 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1917 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1919 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1920 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1921 [defined __arch64__ || defined __sparcv9]
1922 (__INO_T_MATCHES_INO64_T): New macro.
1923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1924 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1925 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1926 * sysdeps/unix/sysv/linux/bits/dirent.h
1927 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1928 (_DIRENT_MATCHES_DIRENT64): New macro.
1930 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1931 Define lockf64 as an alias.
1932 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1933 Define fseeko64 as an alias.
1934 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1935 Define ftello64 as an alias.
1936 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1937 Define _IO_fgetpos64 and fgetpos64 as aliases.
1938 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1939 Define _IO_fsetpos64 and fsetpos64 as aliases.
1940 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1941 Conditionalize body on this.
1942 * libio/fseeko64.c: Likewise.
1943 * libio/ftello64.c: Likewise.
1944 * libio/iofgetpos64.c: Likewise.
1945 * libio/iofsetpos64.c: Likewise.
1946 * sysdeps/wordsize-64/lockf.c: File removed.
1947 * sysdeps/wordsize-64/lockf64.c: File removed.
1948 * sysdeps/wordsize-64/fseeko.c: File removed.
1949 * sysdeps/wordsize-64/fseeko64.c: File removed.
1950 * sysdeps/wordsize-64/ftello.c: File removed.
1951 * sysdeps/wordsize-64/ftello64.c: File removed.
1952 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1953 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1954 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1955 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1960 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1961 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1963 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1967 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1969 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1971 [defined __arch64__ || defined __sparcv9]
1972 (__OFF_T_MATCHES_OFF64_T): New macro.
1973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1974 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1976 (__OFF_T_MATCHES_OFF64_T): New macro.
1978 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1980 * stdlib/secure-getenv.c (__secure_getenv): Replace
1981 GLIBC_2_16 with GLIBC_2_17.
1983 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1985 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1988 2012-08-03 David S. Miller <davem@davemloft.net>
1990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1992 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1996 (__ASSUME_CORRECT_SI_PID): Likewise.
1997 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1998 (__ASSUME_TMPFS_NAME): Likewise.
1999 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2000 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2002 (HAVE_AUX_SECURE): Make definition unconditional.
2003 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2004 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2006 2012-08-03 Roland McGrath <roland@hack.frob.com>
2008 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2009 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2010 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2012 __eloop_threshold instead of SYMLOOP_MAX.
2014 * sysdeps/generic/eloop-threshold.h: New file.
2015 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2017 * elf/chroot_canon.c (chroot_canon): Likewise.
2019 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2023 Change to 2.6.0 everywhere.
2024 * sysdeps/unix/sysv/linux/configure: Regenerated.
2025 * sysdeps/unix/sysv/linux/kernel-features.h
2026 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2027 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2029 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2030 (__ASSUME_FUTEX_REQUEUE): Remove.
2031 (__ASSUME_STATFS64): Define unconditionally.
2032 (__ASSUME_AT_SECURE): Likewise.
2033 (__ASSUME_CORRECT_SI_PID): Likewise.
2034 (__ASSUME_TGKILL): Define without depending on kernel version for
2036 (__ASSUME_UTIMES): Likewise.
2037 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2039 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2040 (__ASSUME_TMPFS_NAME): Likewise.
2041 * README: Update reference to Linux kernel versions.
2043 2012-08-02 Marek Polacek <polacek@redhat.com>
2046 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2047 libc_cv_asm_type_prefix with %.
2048 * configure: Regenerated.
2049 * include/libc-symbols.h: Remove comment about
2050 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2051 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2052 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2053 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2054 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2055 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2056 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2057 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2058 * elf/tst-unique2mod1.c: Likewise.
2059 * elf/tst-unique1mod2.c: Likewise.
2060 * elf/tst-unique1mod1.c: Likewise.
2061 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2062 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2063 Replace ASM_TYPE_DIRECTIVE with .type.
2064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2065 * sysdeps/i386/sysdep.h: Likewise.
2066 * sysdeps/x86_64/sysdep.h: Likewise.
2067 * sysdeps/sh/sysdep.h: Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2069 Do not define ASM_TYPE_DIRECTIVE.
2070 * sysdeps/powerpc/sysdep.h: Likewise.
2071 * sysdeps/powerpc/powerpc32/sysdep.h:
2072 Replace ASM_TYPE_DIRECTIVE with .type.
2073 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2074 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2075 * sysdeps/i386/fpu/e_powf.S: Likewise.
2076 * sysdeps/i386/fpu/e_expl.S: Likewise.
2077 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2078 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2079 * sysdeps/i386/fpu/e_pow.S: Likewise.
2080 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2081 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2082 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2083 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2084 * sysdeps/i386/fpu/e_log2.S: Likewise.
2085 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2086 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2087 * sysdeps/i386/fpu/e_powl.S: Likewise.
2088 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2089 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2090 * sysdeps/i386/fpu/e_logl.S: Likewise.
2091 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2092 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2093 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2094 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2095 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2096 * sysdeps/i386/fpu/e_log.S: Likewise.
2097 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2098 * sysdeps/i386/fpu/e_logf.S: Likewise.
2099 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2101 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2102 * sysdeps/i386/fpu/e_log10.S: Likewise.
2103 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2104 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2105 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2106 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2107 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2108 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2109 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2110 * sysdeps/i386/i686/strtok.S: Likewise.
2111 * sysdeps/i386/i386-mcount.S: Likewise.
2112 * sysdeps/i386/strtok.S: Likewise.
2113 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2114 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2116 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2117 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2118 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2119 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2120 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2121 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2122 * sysdeps/x86_64/_mcount.S: Likewise.
2123 * sysdeps/x86_64/strtok.S: Likewise.
2124 * sysdeps/sh/_mcount.S: Likewise.
2126 2012-08-01 Roland McGrath <roland@hack.frob.com>
2128 * libio/iofopen.c: Include <fcntl.h>.
2129 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2130 (_IO_fopen64, fopen64): Define as aliases.
2131 * libio/iofopen64.c: Include <fcntl.h>.
2132 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2133 Conditionalize body on this.
2134 * sysdeps/wordsize-64/iofopen.c: File removed.
2135 * sysdeps/wordsize-64/iofopen64.c: File removed.
2137 2012-08-01 Marek Polacek <polacek@redhat.com>
2139 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2140 Use dlfcn directly instead of a variable.
2141 (binfmt-subdir): Do not define.
2144 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2147 Remove all definitions.
2148 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2149 <kernel-features.h>.
2150 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2151 (miss_F_GETOWN_EX): Remove all definitions.
2152 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2154 [!__ASSUME_FCNTL64]: Remove conditional code.
2155 [__ASSUME_FCNTL64]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2157 <kernel-features.h>.
2158 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2159 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2160 (lockf64) [__NR_fcntl64]: Make code unconditional.
2161 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2163 * sysdeps/unix/sysv/linux/kernel-features.h
2164 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2165 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2166 Make code unconditional.
2167 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2168 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2170 [__NR_vfork]: Make code unconditional.
2171 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2172 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2174 [__NR_vfork]: Make code unconditional.
2175 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2176 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2178 2012-08-01 Roland McGrath <roland@hack.frob.com>
2180 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2181 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2183 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2184 Define mkstemp64 as an alias.
2185 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2186 Define mkstemps64 as an alias.
2187 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2188 Define mkostemp64 as an alias.
2189 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2190 Define mkostemps64 as an alias.
2191 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2192 Conditionalize body on this.
2193 * misc/mkostemp64.c: Likewise.
2194 * misc/mkostemps64.c: Likewise.
2195 * misc/mkstemps64.c: Likewise.
2196 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2197 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2198 * sysdeps/wordsize-64/mkostemp.c: File removed.
2199 * sysdeps/wordsize-64/mkstemp.c: File removed.
2200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2201 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2203 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2206 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2207 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2208 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2209 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2211 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2212 compat_symbol macros from <shlib-compat.h> rather than the underlying
2213 default_symbol_version and symbol_version macros, so that DEFAULT
2214 lines in shlib-versions are respected.
2215 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2217 2012-08-01 Florian Weimer <fweimer@redhat.com>
2219 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2220 Declare with warn_unused_result.
2221 (setgid, setregid, setegid, setresgid): Likewise.
2222 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2224 * WUR-REPORT: Remove set*id functions.
2226 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2228 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2230 2012-07-31 Roland McGrath <roland@hack.frob.com>
2232 * include/sys/socket.h (__libc_accept, __libc_accept4):
2233 Add attribute_hidden.
2234 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2236 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2238 * inet/getnetgrent_r.c (setup): Likewise.
2240 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2242 2012-07-31 David S. Miller <davem@davemloft.net>
2244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2246 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2249 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2250 value between 1.0 and 2.0 and smaller part has absolute value less
2252 * math/s_clog10.c (__clog10): Likewise.
2253 * math/s_clog10f.c (__clog10f): Likewise.
2254 * math/s_clog10l.c (__clog10l): Likewise.
2255 * math/s_clogf.c (__clogf): Likewise.
2256 * math/s_clogl.c (__clogl): Likewise.
2257 * math/libm-test.inc (clog_test): Add more tests.
2258 (clog10_test): Likewise.
2259 * sysdeps/i386/fpu/libm-test-ulps: Update.
2260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2262 2012-07-31 Florian Weimer <fweimer@redhat.com>
2264 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2265 Exit with zero in case no suitable GID is found, and write a
2266 message to standard error.
2268 2012-07-30 Roland McGrath <roland@hack.frob.com>
2270 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2272 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2273 (MAXPATHLEN): Removed.
2274 (NOGROUP, NODEV): New macros.
2275 (setbit, clrbit, isset, isclr): New macros.
2276 (howmany, roundup, powerof2): New macros.
2277 (DEV_BSIZE): New macro.
2279 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2280 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2282 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2283 definition on [!__NO_LONG_DOUBLE_MATH].
2285 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2286 PTR_MANGLE and PTR_DEMANGLE.
2288 * socket/accept4.c (accept4): Rename to __libc_accept4.
2289 Define accept4 as a weak alias.
2291 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2292 on [_DIRENT_HAVE_D_TYPE].
2293 * io/ftw.c (ftw_dir): Likewise.
2295 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2297 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2299 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2300 Use the BSD numbers rather than the arbitrary ones we had.
2301 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2302 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2303 (SIGXCPU, SIGXFSZ): New macros.
2306 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2307 initializer on [_LIBC_REENTRANT].
2309 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2310 definitions inside [_POSIX_MAPPED_FILES].
2312 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2314 * dirent/opendir.c: Include <fcntl.h>.
2316 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2317 (__libc_getspecific): Likewise.
2318 (__libc_key_create): Likewise.
2320 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2321 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2322 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2323 (tmpfile64): Define as alias.
2324 * sysdeps/wordsize-64/tmpfile.c: File removed.
2325 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2326 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2329 * stdio-common/vfscanf.c: Include <stdbool.h>.
2330 * nss/makedb.c: Likewise.
2331 * stdio-common/_i18n_number.h: Likewise.
2332 * argp/argp-help.c: Likewise.
2333 * posix/wordexp.c: Likewise.
2334 * sysdeps/posix/spawni.c: Likewise.
2335 * nss/nss_files/files-initgroups.c: Likewise.
2336 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2337 * nss/nss_files/files-initgroups.c: Likewise.
2338 * nss/nss_db/db-netgrp.c: Likewise.
2339 * nss/nss_db/db-initgroups.c: Likewise.
2340 * io/fchmodat.c: Include <sys/stat.h>.
2342 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2343 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2345 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2348 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2349 Add multiple inclusion protection.
2351 2012-07-27 David S. Miller <davem@davemloft.net>
2353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2355 2012-07-27 Gary Benson <gbenson@redhat.com>
2358 * elf/rtld.c: Include <stap-probe.h>.
2359 (dl_main): Added static probes "init_start" and "init_complete".
2360 * elf/dl-load.c: Include <stap-probe.h>.
2361 (lose): Take new parameter "nsid".
2362 Added static probe "map_failed".
2363 (_dl_map_object_from_fd): Pass namespace id to lose.
2364 Added static probe "map_start".
2365 (open_verify): Pass namespace id to lose.
2366 * elf/dl-open.c: Include <stap-probe.h>.
2367 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2368 and "reloc_complete".
2369 * elf/dl-close.c: Include <stap-probe.h>.
2370 (_dl_close_worker): Added static probes "unmap_start" and
2372 * elf/rtld-debugger-interface.txt: New file documenting the above.
2374 2012-07-26 Roland McGrath <roland@hack.frob.com>
2376 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2377 rather than a string variable.
2378 * sunrpc/rpc_main.c (h_output): Likewise.
2379 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2381 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2383 * inet/check_native.c: New file.
2385 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2388 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2389 if larger part has absolute value 1.0.
2390 * math/s_clog10.c (__clog10): Likewise.
2391 * math/s_clog10f.c (__clog10f): Likewise.
2392 * math/s_clog10l.c (__clog10l): Likewise.
2393 * math/s_clogf.c (__clogf): Likewise.
2394 * math/s_clogl.c (__clogl): Likewise.
2395 * math/libm-test.inc (clog_test): Add more tests.
2396 (clog10_test): Likewise.
2397 * sysdeps/i386/fpu/libm-test-ulps: Update.
2398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2400 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2401 (pltexit): Likewise.
2402 (La_regs): Likewise.
2403 (La_retval): Likewise.
2404 (int_retval): Likewise.
2405 Update #error for removed macros to refer only to definitions in
2407 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2409 (pltexit): Likewise.
2410 (La_regs): Likewise.
2411 (La_retval): Likewise.
2412 (int_retval): Likewise.
2413 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2415 (pltexit): Likewise.
2416 (La_regs): Likewise.
2417 (La_retval): Likewise.
2418 (int_retval): Likewise.
2419 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2421 (pltexit): Likewise.
2422 (La_regs): Likewise.
2423 (La_retval): Likewise.
2424 (int_retval): Likewise.
2425 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2427 (pltexit): Likewise.
2428 (La_regs): Likewise.
2429 (La_retval): Likewise.
2430 (int_retval): Likewise.
2431 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2433 (pltexit): Likewise.
2434 (La_regs): Likewise.
2435 (La_retval): Likewise.
2436 (int_retval): Likewise.
2437 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2439 (pltexit): Likewise.
2440 (La_regs): Likewise.
2441 (La_retval): Likewise.
2442 (int_retval): Likewise.
2443 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2444 macro definitions in tst-audit.h.
2445 * sysdeps/i386/tst-audit.h: New file.
2446 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2447 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2448 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2449 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2450 * sysdeps/sh/tst-audit.h: Likewise.
2451 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2452 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2453 * sysdeps/x86_64/tst-audit.h: Likewise.
2455 2012-07-26 Andreas Jaeger <aj@suse.de>
2457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2460 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2461 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2462 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2464 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2465 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2466 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2468 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2471 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2473 (si_call_addr, si_syscall, si_arch): Define new macro.
2474 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2476 (si_call_addr, si_syscall, si_arch): Define new marcro.
2477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2479 (si_call_addr, si_syscall, si_arch): Define new macro.
2480 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2482 (si_call_addr, si_syscall, si_arch): Define new macro.
2484 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2488 Change to 2.4.21 where previously 2.4.1.
2489 * sysdeps/unix/sysv/linux/configure: Regenerated.
2490 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2491 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2492 Linux kernel version.
2493 (__ASSUME_STD_AUXV): Remove.
2494 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2496 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2497 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2498 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2499 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2500 (__ASSUME_NETLINK_SUPPORT): Likewise.
2501 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2502 (__no_netlink_support): Remove conditional definition.
2503 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2505 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2506 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2507 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2508 (if_nameindex_ioctl): Remove.
2509 (if_nameindex_netlink): Do not handle __no_netlink_support.
2510 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2512 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2513 Remove conditional code.
2514 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2516 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2518 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2519 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2520 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2522 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2523 [!__ASSUME_STD_AUXV]: Remove conditional code.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2525 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2526 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2528 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2529 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2531 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2533 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2534 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2536 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2538 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2541 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2544 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2546 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2548 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2550 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2553 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2555 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2558 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2560 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2562 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2564 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2567 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2569 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2571 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2573 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2576 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2578 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2579 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2580 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2581 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2582 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2583 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2584 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2586 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2587 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2588 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2589 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2590 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2591 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2594 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2595 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2596 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2598 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2600 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2602 2012-07-25 Florian Weimer <fweimer@redhat.com>
2604 * Versions.def: Add GLIBC_2.17.
2605 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2606 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2607 Introduce __libc_secure_getenv.
2608 * stdlib/Versions (2.17): Add secure_getenv
2609 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2610 * stdlib/secure-getenv.c: Rename __secure_getenv to
2611 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2612 symbol __secure_getenv for GLIBC_2.0.
2613 * stdlib/tst-secure-getenv.c: New.
2614 * stdlib/Makefile (tests): Add testcase.
2615 * manual/startup.texi (Environment Access): Document
2617 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2618 __libc_secure_getenv.
2619 * inet/ruserpass.c (ruserpass): Likewise.
2620 * malloc/mtrace.c (mtrace): Likewise.
2621 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2622 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2623 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2624 * sysdeps/posix/tempname.c: Likewise. Evaluate
2626 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2627 __secure_getenv to __libc_secure_getenv.
2628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2641 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2643 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2644 (struct La_i86_retval): Likewise.
2645 (struct La_x86_64_regs): Likewise.
2646 (struct La_x86_64_retval): Likewise.
2647 (struct La_x32_regs): Likewise.
2648 (struct La_x32_retval): Likewise.
2649 (struct La_ppc32_regs): Likewise.
2650 (struct La_ppc32_retval): Likewise.
2651 (struct La_ppc64_regs): Likewise.
2652 (struct La_ppc64_retval): Likewise.
2653 (struct La_sh_regs): Likewise.
2654 (struct La_sh_retval): Likewise.
2655 (struct La_s390_32_regs): Likewise.
2656 (struct La_s390_32_retval): Likewise.
2657 (struct La_s390_64_regs): Likewise.
2658 (struct La_s390_64_retval): Likewise.
2659 (struct La_sparc32_regs): Likewise.
2660 (struct La_sparc32_retval): Likewise.
2661 (struct La_sparc64_regs): Likewise.
2662 (struct La_sparc64_retval): Likewise.
2663 (struct audit_ifaces): Remove architecture-specific pltenter and
2665 * sysdeps/i386/ldsodefs.h: New file.
2666 * sysdeps/powerpc/ldsodefs.h: Likewise.
2667 * sysdeps/s390/ldsodefs.h: Likewise.
2668 * sysdeps/sh/ldsodefs.h: Likewise.
2669 * sysdeps/sparc/ldsodefs.h: Likewise.
2670 * sysdeps/x86_64/ldsodefs.h: Likewise.
2672 2012-07-25 Marek Polacek <polacek@redhat.com>
2675 * math/libm-test.inc (yn_test): Add another test.
2676 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2677 to ERANGE when the result is +-Inf.
2678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2679 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2680 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2681 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2683 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2685 * conform/data/time.h-data (NULL): Use macro-constant. Require
2687 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2689 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2691 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2693 * configure.in <sysdeps resolving>: Correct printing
2695 * configure: Regenerate.
2697 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2699 * math/w_ilogb.c: Include <limits.h>.
2700 * math/w_ilogbl.c: Likewise.
2702 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2704 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2705 va_copy. Document allowing for unavailable va_copy only as
2706 pre-C99 compatibility.
2707 * manual/string.texi (Copying and Concatenation): Use va_copy
2708 instead of __va_copy in concat example.
2710 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2712 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2713 (__sendto): Use create_address_port. Initialize APORT and deallocate
2716 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2717 with O_NOLINK passed to __file_name_lookup.
2719 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2720 with O_NOLINK passed to __file_name_lookup.
2722 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2723 negative N or less than NGIDS.
2725 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2726 type to string_t. Set ERANGE as errno and return it if NAME is not big
2727 enough. Use memcpy instead of strncpy.
2729 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2731 * elf/Makefile (check-data): Remove.
2732 (localplt.data): New vpath directive.
2733 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2734 instead of $(check-data).
2735 * scripts/data/localplt-generic.data: Move to ...
2736 * sysdeps/generic/localplt.data: ... here.
2737 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2738 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2739 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2742 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2745 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2748 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2751 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2754 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2758 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2761 PPC32 and PPC64 files.
2762 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2763 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2765 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2767 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2768 __makecontext_ret to ...
2769 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2770 ... here and call exit if uc_link is NULL. New file.
2771 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2772 __makecontext_ret.S.
2773 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2774 __makecontext_ret to ...
2775 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2776 ... here and call exit if uc_link is NULL. New file.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2778 __makecontext_ret.S.
2780 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2782 * elf/elf.h (R_390_IRELATIVE): New definition.
2783 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2784 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2785 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2786 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2787 (elf_machine_lazy_rel): Likewise.
2788 * sysdeps/s390/dl-irel.h: New file.
2789 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2790 * sysdeps/s390/s390-64/memset.S: New asm code.
2791 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2792 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2793 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2794 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2795 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2796 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2797 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2798 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2799 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2800 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2801 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2802 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2803 * sysdeps/s390/s390-32/memset.S: New asm code.
2804 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2806 2012-07-17 Marek Polacek <polacek@redhat.com>
2809 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2810 * sysdeps/s390/s390-64/configure.in: Likewise.
2811 * sysdeps/sparc/configure.in: Likewise.
2812 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2813 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2814 * sysdeps/i386/configure.in: Likewise.
2815 * sysdeps/x86_64/configure.in: Likewise.
2816 * sysdeps/sh/configure.in: Likewise.
2817 * sysdeps/s390/s390-32/configure: Regenerated.
2818 * sysdeps/s390/s390-64/configure: Likewise.
2819 * sysdeps/x86_64/configure: Likewise.
2820 * sysdeps/sh/configure: Likewise.
2821 * sysdeps/powerpc/powerpc64/configure: Likewise.
2822 * sysdeps/powerpc/powerpc32/configure: Likewise.
2823 * sysdeps/sparc/configure: Likwise.
2824 * sysdeps/i386/configure: Likewise.
2826 * elf/dl-open.c: Comment fixes.
2828 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2830 * Makefile [CXX] (check-data): Remove.
2831 [CXX] (c++-types.data): New vpath directive.
2832 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2833 vpath. Do not allow for C++ type data being missing.
2834 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2835 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2836 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2837 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2838 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2839 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2840 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2843 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2846 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2849 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2852 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2855 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2858 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2861 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2864 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2865 definitions to architecture-specific files.
2869 * sysdeps/i386/tls-macros.h: New file.
2870 * sysdeps/powerpc/tls-macros.h: Likewise.
2871 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2872 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2873 * sysdeps/sh/tls-macros.h: Likewise.
2874 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2875 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2876 * sysdeps/x86_64/tls-macros.h: Likewise.
2878 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2880 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2881 zero value for regular exit case.
2883 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2884 (__start_context): Preserve zero value for regular exit case.
2886 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2887 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2889 * manual/setjmp.texi (setcontext): Clarify normal process
2890 termination when uc_link is the null pointer.
2891 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2894 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2896 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2897 preprocessor. Test for each exception mask separately.
2899 2012-07-16 Andreas Jaeger <aj@suse.de>
2901 * po/ru.po: Update from translation team.
2903 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2905 * conform/data/string.h-data (NULL): Use macro-constant. Require
2907 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2908 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2909 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2910 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2913 2012-07-13 Andreas Jaeger <aj@suse.de>
2915 * po/fr.po: Update from translation team.
2917 2012-07-12 Marek Polacek <polacek@redhat.com>
2920 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2921 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2924 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2928 Change to 2.4.1 where previously 2.4.0.
2929 * sysdeps/unix/sysv/linux/configure: Regenerated.
2930 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2931 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2933 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2934 (__ASSUME_AT_CLKTCK): Remove.
2935 (__ASSUME_AT_PAGESIZE): Likewise.
2936 (__ASSUME_AT_XID): Likewise.
2937 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2938 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2939 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2941 (HAVE_AUX_PAGESIZE): Likewise.
2942 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2943 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2944 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2946 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2950 the temporary buffer used to invoke __gethostbyname2_r,
2951 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2952 host_data / struct gaih_addrtuple.
2953 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2954 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2955 header file nss/nsswitch.h.
2956 * nss/nsswitch.h (global scope): Add definition of implementation
2957 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2958 resolv/nss_dns/dns-host.c).
2960 2012-07-11 Andreas Jaeger <aj@suse.de>
2962 * po/fr.po: Update from translation team.
2964 * po/sv.po: Update from translation team
2965 * po/fr.po: Another update from translation team.
2967 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2969 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2970 for subnormals or multiply small sinh result by itself.
2971 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2974 2012-07-11 David S. Miller <davem@davemloft.net>
2976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2978 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2981 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2982 (INTERNAL_MARK): Shift it here.
2984 2012-07-10 Marek Polacek <polacek@redhat.com>
2987 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2988 libc_cv_asm_global_directive with .globl.
2989 * configure: Regenerated.
2990 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2992 * sysdeps/i386/configure: Regenerated.
2993 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2995 * sysdeps/x86_64/configure: Regenerated.
2996 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2997 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2998 * elf/tst-unique2mod2.c: Likewise.
2999 * elf/tst-unique2mod1.c: Likewise.
3000 * elf/tst-unique1mod2.c: Likewise.
3001 * elf/tst-unique1mod1.c: Likewise.
3002 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3003 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3004 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3005 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3006 * sysdeps/mach/sysdep.h: Likewise.
3007 * sysdeps/i386/sysdep.h: Likewise.
3008 * sysdeps/i386/i386-mcount.S: Likewise.
3009 * sysdeps/x86_64/_mcount.S: Likewise.
3010 * sysdeps/x86_64/sysdep.h: Likewise.
3011 * sysdeps/sh/_mcount.S: Likewise.
3012 * sysdeps/sh/sysdep.h: Likewise.
3013 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3014 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3015 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3016 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3017 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3018 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3019 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3020 * locale/localeinfo.h: Likewise.
3021 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3022 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3024 2012-07-09 Roland McGrath <roland@hack.frob.com>
3027 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3029 * manual/message.texi (The Uniforum approach): Likewise.
3030 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3031 (glibc iconv Implementation): Likewise.
3033 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3036 * math/s_clog.c (__clog): Avoid scaling a value down where that
3037 could result in underflow.
3038 * math/s_clog10.c (__clog10): Likewise.
3039 * math/s_clog10f.c (__clog10f): Likewise.
3040 * math/s_clog10l.c (__clog10l): Likewise.
3041 * math/s_clogf.c (__clogf): Likewise.
3042 * math/s_clogl.c (__clogl): Likewise.
3043 * math/libm-test.inc (clog_test): Add more tests.
3044 (clog10_test): Likewise.
3045 * sysdeps/i386/fpu/libm-test-ulps: Update.
3046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3048 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3051 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3052 by 7 not 8 to examine high bit of fractional part.
3055 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3056 for call to __mcount_internal.
3057 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3058 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3059 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3061 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3064 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3065 approximation for values within 0x1p-13f of an odd multiple of
3067 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3068 exception. Add more tests.
3069 * sysdeps/i386/fpu/libm-test-ulps: Update.
3072 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3073 inputs and return -1 for them. Do not check for +Inf in case not
3075 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3076 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3078 and return -1 for them. Do not check for +Inf in case not
3080 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3082 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3083 and return -1 for them. Do not check for +Inf in case not
3085 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3087 * sysdeps/i386/fpu/libm-test-ulps: Update.
3088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3090 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3092 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3094 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3098 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3099 could result in spurious underflow. Scale down values above
3100 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3101 * math/s_csqrtf.c (__csqrtf): Likewise.
3102 * math/s_csqrtl.c (__csqrtl): Likewise.
3103 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3105 * sysdeps/i386/fpu/libm-test-ulps: Update.
3106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3108 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3110 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3112 * catgets/xopen-msg.awk: New file.
3113 * catgets/xopen-msg.sed: Removed.
3115 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3117 * intl/po2test.awk: New file.
3118 * intl/po2test.sed: Removed.
3120 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3123 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3124 or multiply small sinh result by itself.
3125 * math/s_ctanf.c (__ctanf): Likewise.
3126 * math/s_ctanh.c (__ctanh): Likewise.
3127 * math/s_ctanhf.c (__ctanhf): Likewise.
3128 * math/s_ctanhl.c (__ctanhl): Likewise.
3129 * math/s_ctanl.c (__ctanl): Likewise.
3130 * math/libm-test.inc (ctan_test_tonearest): New function.
3131 (ctan_test_towardzero): Likewise.
3132 (ctan_test_downward): Likewise.
3133 (ctan_test_upward): Likewise.
3134 (ctanh_test_tonearest): Likewise.
3135 (ctanh_test_towardzero): Likewise.
3136 (ctanh_test_downward): Likewise.
3137 (ctanh_test_upward): Likewise.
3138 (main): Call these new functions.
3139 * sysdeps/i386/fpu/libm-test-ulps: Update.
3140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3142 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3144 * .gitignore: Delete /ports entry.
3146 2012-07-03 Andreas Jaeger <aj@suse.de>
3148 * po/bg.po: Update from translation team.
3149 * po/cs.po: Likewise.
3150 * po/de.po: Likewise.
3151 * po/hr.po: Likewise.
3152 * po/nl.pl: Likewise.
3153 * po/pl.po: Likewise.
3154 * po/vi.po: Likewise.
3156 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3158 * Makeconfig [!+link] (+link-before-libc): New variable.
3159 [!+link] (+link-after-libc): Likewise.
3160 [!+link] (+link-tests): Likewise.
3161 [!+link] (+link): Define in terms of $(+link-before-libc) and
3162 $(+link-after-libc).
3163 [!+link-static] (+link-static-before-libc): New variable.
3164 [!+link-static] (+link-static-after-libc): Likewise.
3165 [!+link-static] (+link-static-tests): Likewise.
3166 [!+link-static] (+link-static): Define in terms of
3167 $(+link-static-before-libc) and $(+link-static-after-libc).
3168 [build-shared] (link-libc-before-gnulib): New variable.
3169 [build-shared] (link-libc-tests): Likewise.
3170 [build-shared] (link-libc): Define in terms of
3171 $(link-libc-before-gnulib).
3172 [!build-shared] (link-libc-tests): New variable.
3173 (link-libc-static-tests): New variable.
3174 [!gnulib] (gnulib-arch): New variable.
3175 [!gnulib] (gnulib-tests): Likewise.
3176 [!gnulib] (static-gnulib-arch): Likewise.
3177 [!gnulib] (static-gnulib-tests): Likewise.
3178 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3179 Define with "=" instead of ":=".
3180 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3181 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3182 * Rules (binaries-all-notests): New variable.
3183 (binaries-all-tests): Likewise.
3184 (binaries-static-notests): Likewise.
3185 (binaries-static-tests): Likewise.
3186 (binaries-all): Define using $(binaries-all-notests) and
3187 $(binaries-all-tests).
3188 (binaries-static): Define using $(binaries-static-notests) and
3189 $(binaries-static-tests).
3190 (binaries-shared-tests): New variable.
3191 (binaries-shared-notests): Likewise.
3192 (binaries-shared): Remove variable.
3193 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3194 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3195 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3196 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3197 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3198 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3199 * elf/Makefile (sln-modules): New variable.
3200 (extra-objs): Add $(sln-modules:=.o).
3201 (ldconfig-modules): Add static-stubs.
3202 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3203 * elf/static-stubs.c: New file.
3206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3207 by 7 not 8 to examine high bit of fractional part. Use volatile
3208 variables when splitting into final array of floats if
3209 __FLT_EVAL_METHOD__ != 0.
3210 * math/libm-test.inc (cos_test): Add another test.
3211 (sin_test): Likewise.
3212 * sysdeps/i386/fpu/libm-test-ulps: Update.
3215 * math/libm-test.inc (cosh_test): Add more tests.
3217 * version.h (RELEASE): Set to "development".
3218 (VERSION): Set to "2.16.90".
3220 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3222 * NEWS: Update copyright. Remove last-updated date.
3223 Mention math library bug fixes and timezone data changes.
3224 * README: Mention GNU/Hurd, x32, and HPPA support status.
3226 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3228 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3230 2012-06-27 Andreas Jaeger <aj@suse.de>
3232 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3234 2012-06-25 Andreas Jaeger <aj@suse.de>
3236 * sysdeps/s390/fpu/libm-test-ulps: Update.
3238 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3239 Thomas Schwinge <thomas@codesourcery.com>
3241 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3242 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3246 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3248 * sysdeps/mach/start.c: Remove file.
3249 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3250 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3251 * sysdeps/sh/init-first.c: Likewise.
3253 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3254 registers for frame unwinding purposes, add CFI directives.
3255 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3256 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3257 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3260 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3261 __fortify_fail returning.
3262 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3264 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3265 sysdeps/sh/____longjmp_chk.S.
3266 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3267 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3268 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3269 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3271 * sysdeps/sh/abort-instr.h: New file.
3272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3273 process in case exit returns.
3275 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3276 initialize the GOT register before use.
3278 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3279 calculation of ARGC > 4.
3281 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3282 meaningful names to some local labels.
3284 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3285 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3287 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3288 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3289 (__arch_compare_and_exchange_val_16_acq): Likewise.
3290 (__arch_compare_and_exchange_val_32_acq): Likewise.
3291 (atomic_exchange_and_add): Fix gUSA sequence.
3292 (atomic_add): Likewise.
3293 (atomic_add_negative): Likewise.
3294 (atomic_add_zero): Likewise.
3295 (atomic_bit_test_set): Likewise.
3297 2012-06-22 Andreas Schwab <schwab@redhat.com>
3300 * include/link.h (struct link_map): Add l_free_initfini.
3301 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3303 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3304 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3305 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3308 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3310 * configure.in: Use AC_LANG_SOURCE.
3311 * configure: Regenerate.
3313 2012-06-22 Roland McGrath <roland@hack.frob.com>
3315 * configure.in (libc_cv_localstatedir): New substituted variable.
3316 * configure: Regenerated.
3317 * config.make.in (localstatedir): New variable, substituted from
3318 libc_cv_localstatedir.
3319 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3320 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3321 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3322 * sysdeps/gnu/configure: Regenerated.
3324 2012-06-21 Jeff Law <law@redhat.com>
3327 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3328 free. Simplify list management for _LIBC case.
3330 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3333 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3334 Clear sign bit of 64-bit integer value before comparing against
3337 * sysdeps/mach/configure: Regenerated.
3339 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3342 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3344 2012-06-21 Jeff Law <law@redhat.com>
3347 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3348 uint16_t for elements in the "seen" array to avoid char overflows.
3349 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3350 * elf/dl-open.c (dl_open_worker): Likewise.
3352 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3354 * scripts/list-sources.sh: Scan PORTS for translations.
3355 * po/libc.pot: Regenerated.
3357 2012-06-21 Andreas Jaeger <aj@suse.de>
3360 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3362 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3363 * bits/byteswap-16.h (__bswap_16): Likewise.
3364 * bits/byteswap.h (__bswap_constant_16): Likewise.
3366 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3369 * sysdeps/i386/fpu_control.h: Removed.
3370 * sysdeps/x86_64/fpu_control.h: Moved to ...
3371 * sysdeps/x86/fpu_control.h: Here.
3373 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3374 (_FPU_SETCW): Likewise.
3376 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3379 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3380 * sysdeps/x86/fpu/bits/mathinline.h: This.
3381 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3385 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3386 functions if __x86_64__ is defined.
3388 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3390 * string/endian.h: Add !__ASSEMBLER__ condition for including
3391 conversion interfaces.
3393 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3396 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3397 of ABS(x) in calculating zero to negative powers other than odd
3399 * math/libm-test.inc (pow_test): Add more tests.
3401 2012-06-15 Andreas Jaeger <aj@suse.de>
3403 * manual/contrib.texi (Contributors): Update entry of Liubov
3404 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3407 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3409 * string/string.h: Add __wur to GNU version of strerror_r.
3411 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3414 * string/Makefile (tests): Add tst-strtok_r.
3415 * string/tst-strtok_r.c: New file.
3416 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3417 RAX_LP/RDX_LP on SAVE_PTR.
3419 2012-06-14 Roland McGrath <roland@hack.frob.com>
3421 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3423 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3425 * libm_test.inc (csqrt_test): Allow more spurious underflow
3427 (j0_test): Likewise.
3428 (j1_test): Likewise.
3429 (y0_test): Likewise.
3430 (y1_test): Likewise.
3432 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3434 * po/Makefile (libc.pot): Use UTF-8 charset.
3436 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3439 Suppress sign-conversion warning from FD_SET.
3440 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3441 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3442 not unsigned long int.
3443 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3445 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3449 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3450 __extern_always_inline instead of __extern_inline.
3451 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3452 (__signbit): Likewise.
3453 (__signbitl): Support C++ namespace.
3454 (lrintf): New inline function.
3456 (llrintf): Likewise.
3468 (nearbyint): Likewise.
3469 (nearbyintf): Likewise.
3471 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3473 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3474 non-default versions.
3476 2012-06-11 Roland McGrath <roland@hack.frob.com>
3479 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3481 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3483 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3484 (FE_UPWARD, FE_DOWNWARD): Don't define.
3485 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3486 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3488 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3490 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3491 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3493 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3495 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3496 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3497 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3498 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3500 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3503 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3504 * sysdeps/i386/fpu/Implies: New file.
3505 * sysdeps/x86_64/fpu/Implies: Likewise.
3506 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3507 * sysdeps/x86/fpu/bits/fenv.h: This.
3509 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3512 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3515 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3516 character 0xffff that matches the last element of the
3519 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3521 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3524 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3527 values higher than 25.6283.
3529 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3532 subnormal exponent extraction and add some __builtin_expect.
3533 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3534 Fix for subnormal mantissa calculation.
3536 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3538 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3539 cpu2 is -1 and errno is not ENOSYS.
3541 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3544 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3545 * sysdeps/x86/bits/string.h: This.
3546 * sysdeps/x86_64/bits/string.h: Removed.
3548 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3549 if not compiling for x86-64, but compiling for >= i486.
3551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3552 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3554 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3555 New macro from Linux kernel 3.4.0.
3556 (FP_XSTATE_MAGIC2): Likewise.
3557 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3558 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3559 (struct _fpx_sw_bytes): New struct.
3560 (struct _xsave_hdr): Likewise.
3561 (struct _ymmh_state): Likewise.
3562 (struct _xstate): Likewise.
3564 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3565 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3567 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3568 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3569 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3571 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3572 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3573 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3574 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3575 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3576 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3578 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3581 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3582 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3583 (sysdep_headers): Include sys/platform/ppc.h.
3584 * sysdeps/powerpc/test-gettimebase.c: Test for
3585 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3586 * manual/Makefile (appendices): Include platform.texi.
3587 * manual/contrib.texi (Contributors): Update @node pointers.
3588 * manual/maint.texi (Maintenance): Likewise.
3589 (Platform): New node.
3590 * manual/platform.texi: New file. Document the new features.
3592 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 Jakub Jelinek <jakub@redhat.com>
3596 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3597 where __builtin_expect is unavailable.
3599 2012-06-03 David S. Miller <davem@davemloft.net>
3601 * stdlib/longlong.h: Updated from GCC.
3603 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3606 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3607 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3610 (GLIBC_2.16): Likewise.
3612 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3614 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3616 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3619 (default-abi): New variable.
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3621 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3623 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3625 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3627 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3630 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3631 definition. Document in comment.
3633 2012-06-01 David S. Miller <davem@davemloft.net>
3635 * stdlib/longlong.h: Updated from GCC.
3637 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3640 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3641 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3642 sys/debugreg.h sys/io.h here.
3643 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3644 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3646 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3647 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3648 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3649 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3650 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3651 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3653 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3654 Define only if __x86_64__ is defined.
3656 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3659 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3660 Use int64_t for variable i.
3661 * math/libm-test.inc (fmod_test): Add more tests.
3663 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3664 z computation is not scheduled after fetestexcept.
3665 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3666 Use math_force_eval instead of asm to ensure calculation scheduled
3667 before exception test.
3668 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3669 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3671 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3674 computation is not scheduled after fetestexcept.
3676 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3679 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3680 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3682 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3685 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3687 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3690 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3692 (__WCHAR_MIN): Support __WORDSIZE == 64.
3693 (__WCHAR_MAX): Likewise.
3695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3696 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3699 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3700 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3703 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3704 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3707 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3709 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3710 Defined to 1 if __x86_64__ isn't defined.
3711 (_STAT_VER_LINUX_OLD): New.
3712 (st_atime): Remove duplicate.
3713 (st_mtime): Likewise.
3714 (st_ctime): Likewise.
3716 2012-05-31 David S. Miller <davem@davemloft.net>
3718 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3721 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3723 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3727 * elf/dl-reloc.c: Include <_itoa.h>.
3728 (_dl_reloc_bad_type): Remove use of INTUSE.
3729 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3730 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3731 * stdio-common/psiginfo.c (psiginfo): Likewise.
3732 * stdio-common/psignal.c (psignal): Likewise.
3733 * string/strsignal.c (strsignal): Likewise.
3734 * include/signal.h (_sys_siglist): Declare hidden proto.
3735 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3736 INTVARDEF with libc_hidden_data_def.
3737 * stdio-common/itoa-udigits.c: Likewise.
3738 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3739 (_itoa_lower_digits_internal): Remove declaration.
3740 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3741 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3742 (_sys_sigabbrev_internal): Remove aliases.
3743 (_sys_siglist): Define hidden alias.
3745 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3750 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3753 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3754 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3756 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3757 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3758 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3759 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3760 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3761 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3763 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3764 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3765 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3767 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3775 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3777 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3779 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3780 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3781 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3782 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3783 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3784 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3786 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3787 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3789 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3790 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3793 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3794 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3796 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3797 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3799 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3801 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3802 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3803 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3805 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3807 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3809 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3811 * math/math.h (M_El): Use two more decimal places.
3812 (M_LOG2El): Likewise.
3813 (M_LOG10El): Likewise.
3815 (M_LN10l): Likewise.
3817 (M_PI_2l): Likewise.
3818 (M_PI_4l): Likewise.
3819 (M_1_PIl): Likewise.
3820 (M_2_PIl): Likewise.
3821 (M_2_SQRTPIl): Likewise.
3822 (M_SQRT2l): Likewise.
3823 (M_SQRT1_2l): Likewise.
3825 2012-05-31 David S. Miller <davem@davemloft.net>
3827 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3828 values between float registers.
3829 * sysdeps/sparc/sparc64/memset.S: Likewise.
3830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3832 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3834 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3835 -D_FORTIFY_SOURCE=1.
3836 (CPPFLAGS-tst-longjmp_chk.c): Define.
3837 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3838 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3839 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3840 CFLAGS-tst-wchar-h.c.
3842 2012-05-31 Marek Polacek <polacek@redhat.com>
3845 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3846 __endmntent_internal): Remove declaration.
3847 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3848 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3849 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3851 2012-05-30 David S. Miller <davem@davemloft.net>
3853 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3854 (___Q_simulate_exceptions): Use real FP ops rather than writing
3856 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3859 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3862 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3863 * sysdeps/x86/bits/xtitypes.h: This.
3865 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3866 * sysdeps/x86/bits/wordsize.h: This.
3868 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3869 * sysdeps/x86/bits/huge_vall.h: This.
3871 * sysdeps/i386/bits/select.h: Removed.
3872 * sysdeps/x86_64/bits/select.h: Renamed to ...
3873 * sysdeps/x86/bits/select.h: This.
3875 * sysdeps/i386/bits/setjmp.h: Removed.
3876 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3877 * sysdeps/x86/bits/setjmp.h: This.
3879 * sysdeps/i386/bits/mathdef.h: Removed.
3880 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3881 * sysdeps/x86/bits/mathdef.h: This.
3883 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3886 * include/sys/socket.h (__connect_internal)
3887 (__libc_sa_len_internal): Remove declaration.
3888 (__connect, __libc_sa_len): Declare hidden_proto.
3889 (SA_LEN): Remove use of INTUSE.
3890 * socket/connect.c: Add libc_hidden_def.
3891 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3892 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3893 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3895 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3896 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3897 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3898 of adding _internal alias.
3900 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3903 * sysdeps/i386/bits/link.h: Removed.
3904 * sysdeps/i386/bits/linkmap.h: Likewise.
3905 * sysdeps/x86_64/bits/link.h: Renamed to ...
3906 * sysdeps/x86/bits/link.h: This.
3907 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3908 * sysdeps/x86/bits/linkmap.h: This.
3910 * sysdeps/i386/bits/endian.h: Removed.
3911 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3912 * sysdeps/x86/bits/endian.h: This.
3914 * sysdeps/i386/bits/byteswap.h: Removed.
3915 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3916 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3917 * sysdeps/x86/bits/byteswap.h: This.
3918 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3919 * sysdeps/x86/bits/byteswap-16.h: This.
3920 * sysdeps/i386/Implies: Add x86.
3921 * sysdeps/x86_64/Implies: Likewise.
3923 2012-05-30 David S. Miller <davem@davemloft.net>
3925 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3926 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3927 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3928 (FP_TRAPPING_EXCEPTIONS): Define.
3929 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3930 (FP_TRAPPING_EXCEPTIONS): Define.
3931 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3932 subnormals only when inexact has been signalled or underflow
3933 exceptions are enabled.
3934 (_FP_PACK_CANONICAL): Likewise.
3936 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3939 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3940 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3942 2012-05-30 Richard Henderson <rth@twiddle.net>
3944 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3945 with #ifndef NOT_IN_libc.
3947 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3948 marked to avoid plt entry.
3950 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3953 * Makeconfig (default-abi): New macro.
3954 (abi-includes): Likewise.
3955 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3956 $(abi-$(default-abi)-lib-soname) for soname if defined.
3957 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3959 * Makefile (installed-stubs): Likewise.
3960 * include/stubs-biarch.h: Removed.
3961 * scripts/lib-names.awk: Only handle one library at a time.
3962 * scripts/soversions.awk: Remove WORDSIZE support.
3963 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3965 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3967 (syscall-list-default-condition): Likewise.
3968 (syscall-list-default-condition): Likewise.
3969 (syscall-list-includes): Likewise.
3970 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3971 syscall-list-* with abi-*. Handle undefined abi-variants.
3972 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3973 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3974 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3975 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3976 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3977 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3979 (syscall-list-32-options): Likewise.
3980 (syscall-list-32-condition): Likewise.
3981 (syscall-list-64-options): Likewise.
3982 (syscall-list-64-condition): Likewise.
3983 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3985 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3988 (abi-64-ld-soname): New macro.
3989 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3990 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3993 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3994 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3996 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3998 * sysdeps/unix/sysv/linux/kernel-features.h
3999 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4000 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4001 include <kernel-features.h>.
4002 [!__NR_ftruncate64]: Remove conditional code.
4003 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4004 [__NR_ftruncate64]: Make code unconditional.
4005 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4006 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4007 include <kernel-features.h>.
4008 [!__NR_ftruncate64]: Remove conditional code.
4009 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4010 [__NR_ftruncate64]: Make code unconditional.
4011 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4013 include <kernel-features.h>.
4014 [!__NR_ftruncate64]: Remove conditional code.
4015 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4016 [__NR_ftruncate64]: Make code unconditional.
4017 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4019 include <kernel-features.h>.
4020 [!__NR_ftruncate64]: Remove conditional code.
4021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4022 [__NR_ftruncate64]: Make code unconditional.
4023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4025 * configure.in (libc_cv_fpie): Weaken to a compile test using
4027 * configure: Regenerated.
4029 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4044 2012-05-27 David S. Miller <davem@davemloft.net>
4046 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4048 (__Q_simulate_exceptions): Return void. Change to simulate
4049 exceptions by writing into the %fsr.
4050 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4051 (__Qp_handle_exceptions): Likewise.
4053 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4054 __Qp_handle_exceptions.
4055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4056 __Qp_handle_exceptions.
4057 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4058 as unused and give dummy FP_RND_NEAREST initializer.
4059 (FP_INHIBIT_RESULTS): Define.
4060 (___Q_simulate_exceptions): Update declaration.
4061 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4063 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4064 as unused and give dummy FP_RND_NEAREST initializer.
4065 (__Qp_handle_exceptions): Update declaration.
4066 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4069 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4071 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4072 the temporary FPU control word.
4073 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4074 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4075 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4076 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4077 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4078 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4079 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4080 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4081 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4082 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4083 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4085 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4087 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4090 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4092 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4093 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4094 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4095 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4097 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4098 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4101 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4103 * po/h.po: Update from translation team.
4105 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4107 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4109 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4110 handling of denormals.
4111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4112 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4113 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4120 2012-05-26 Marek Polacek <polacek@redhat.com>
4123 * math/libm-test.inc (fma_test): Don't always expect underflow
4126 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4129 * elf/tst-execstack.c: Include stackinfo.h.
4130 (do_test): Adjust test case to ensure that pthread_getattr_np
4131 behaviour remains the same after marking stack executable.
4133 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4135 * sysdeps/unix/sysv/linux/kernel-features.h
4136 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4137 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4139 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4140 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4141 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4143 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4144 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4146 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4148 * configure.in: Define the default includes to being none.
4149 * configure: Regenerated.
4151 2012-05-25 Roland McGrath <roland@hack.frob.com>
4153 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4154 * sysdeps/x86_64/setjmp.S: Likewise.
4155 * sysdeps/i386/bsd-setjmp.S: Likewise.
4156 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4157 * sysdeps/i386/setjmp.S: Likewise.
4158 * sysdeps/i386/__longjmp.S: Likewise.
4159 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4160 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4162 * include/stap-probe.h: New file.
4163 * configure.in: Handle --enable-systemtap.
4164 * configure: Regenerated.
4165 * config.h.in (USE_STAP_PROBE): New #undef.
4166 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4167 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4168 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4170 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4174 to 2.4.0 where earlier.
4175 * sysdeps/unix/sysv/linux/configure: Regenerated.
4176 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4177 <kernel-features.h>.
4178 [__ASSUME_32BITUIDS]: Make code unconditional.
4179 [!__ASSUME_32BITUIDS]: Remove conditional code.
4180 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4181 <kernel-features.h>.
4182 [__ASSUME_32BITUIDS]: Make code unconditional.
4183 [!__ASSUME_32BITUIDS]: Remove conditional code.
4184 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4185 [__ASSUME_32BITUIDS]: Make code unconditional.
4186 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4187 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4188 <kernel-features.h>.
4189 [__ASSUME_32BITUIDS]: Make code unconditional.
4190 [!__ASSUME_32BITUIDS]: Remove conditional code.
4191 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
4228 <kernel-features.h>.
4229 [__NR_setresgid] (__setresgid): Do not declare.
4230 [__ASSUME_32BITUIDS]: Make code unconditional.
4231 [!__ASSUME_32BITUIDS]: Remove conditional code.
4232 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4233 <kernel-features.h>.
4234 [__NR_setresuid] (__setresuid): Do not declare.
4235 [__ASSUME_32BITUIDS]: Make code unconditional.
4236 [!__ASSUME_32BITUIDS]: Remove conditional code.
4237 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4238 <kernel-features.h>.
4239 [__ASSUME_32BITUIDS]: Make code unconditional.
4240 [!__ASSUME_32BITUIDS]: Remove conditional code.
4241 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4242 <kernel-features.h>.
4243 [__ASSUME_32BITUIDS]: Make code unconditional.
4244 [!__ASSUME_32BITUIDS]: Remove conditional code.
4245 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4246 <kernel-features.h>.
4247 [__ASSUME_32BITUIDS]: Make code unconditional.
4248 [!__ASSUME_32BITUIDS]: Remove conditional code.
4249 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4250 <kernel-features.h>.
4251 [__ASSUME_32BITUIDS]: Make code unconditional.
4252 [!__ASSUME_32BITUIDS]: Remove conditional code.
4253 * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.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/i386/setresuid.c: Do not include
4262 <kernel-features.h>.
4263 [__ASSUME_32BITUIDS]: Make code unconditional.
4264 [!__ASSUME_32BITUIDS]: Remove conditional code.
4265 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4266 <kernel-features.h>.
4267 [__ASSUME_32BITUIDS]: Make code unconditional.
4268 [!__ASSUME_32BITUIDS]: Remove conditional code.
4269 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4270 <kernel-features.h>.
4271 [__ASSUME_32BITUIDS]: Make code unconditional.
4272 [!__ASSUME_32BITUIDS]: Remove conditional code.
4273 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4274 <kernel-features.h>.
4275 [__ASSUME_32BITUIDS]: Make code unconditional.
4276 [!__ASSUME_32BITUIDS]: Remove conditional code.
4277 * sysdeps/unix/sysv/linux/kernel-features.h
4278 (__ASSUME_SETRESUID_SYSCALL): Remove.
4279 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4280 (__ASSUME_32BITUIDS): Likewise.
4281 (__ASSUME_LDT_WORKS): Likewise.
4282 (__ASSUME_O_DIRECTORY): Likewise.
4283 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4284 architecture but not kernel version.
4285 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4286 (__ASSUME_MMAP2_SYSCALL): Likewise.
4287 (__ASSUME_STAT64_SYSCALL): Likewise.
4288 (__ASSUME_IPC64): Likewise.
4289 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4290 <kernel-features.h>.
4291 [__ASSUME_32BITUIDS]: Make code unconditional.
4292 [!__ASSUME_32BITUIDS]: Remove conditional code.
4293 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4294 <kernel-features.h>.
4295 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4296 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4297 132096]: Remove conditional code.
4298 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4299 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4300 <kernel-features.h>.
4301 [__ASSUME_32BITUIDS]: Make code unconditional.
4302 [!__ASSUME_32BITUIDS]: Remove conditional code.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4304 <kernel-features.h>.
4305 [__ASSUME_32BITUIDS]: Make code unconditional.
4306 [!__ASSUME_32BITUIDS]: Remove conditional code.
4307 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4308 <kernel-features.h>.
4309 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4311 (__setresgid): Do not declare.
4312 [__ASSUME_32BITUIDS]: Make code unconditional.
4313 [!__ASSUME_32BITUIDS]: Remove conditional code.
4314 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4315 <kernel-features.h>.
4316 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4318 (__setresuid): Do not declare.
4319 [__ASSUME_32BITUIDS]: Make code unconditional.
4320 [!__ASSUME_32BITUIDS]: Remove conditional code.
4321 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4322 <kernel-features.h>.
4323 [__ASSUME_32BITUIDS]: Make code unconditional.
4324 [!__ASSUME_32BITUIDS]: Remove conditional code.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4326 <kernel-features.h>.
4327 [__ASSUME_32BITUIDS]: Make code unconditional.
4328 [!__ASSUME_32BITUIDS]: Remove conditional code.
4330 2012-05-25 Richard Henderson <rth@twiddle.net>
4332 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4333 dl_hwcap to ifunc resolver.
4334 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4336 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4337 dl_hwcap to ifunc resolver.
4338 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4340 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4343 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4344 for |x| <= 2**-26, not 2**-57.
4345 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4348 2012-05-24 Jeff Law <law@redhat.com>
4350 * stdio-common/Makefile (tests): Add bug25.
4351 * stdio-common/bug25.c: New test.
4353 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4356 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4357 multiple of MALLOC_ALIGNMENT in size.
4358 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4360 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4362 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4364 (FILENAME_MAX): Use macro-int-constant.
4365 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4366 (_IOFBF): Use macro-int-constant.
4369 (SEEK_CUR): Likewise.
4370 (SEEK_END): Likewise.
4371 (SEEK_SET): Likewise.
4372 (TMP_MAX): Likewise.
4373 (EOF): Use macro-int-constant. Require < 0.
4374 (NULL): Use macro-constant. Require == 0.
4375 (stdin): Require type to be FILE *.
4378 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4380 (EXIT_SUCCESS): Likewise.
4381 (NULL): Use macro-constant. Require == 0.
4382 (RAND_MAX): Use macro-int-constant.
4383 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4384 [C99-based standards] (strtof): Require function.
4385 [C99-based standards] (strtold): Likewise.
4386 [C99-based standards] (strtoll): Likewise.
4387 [C99-based standards] (strtoull): Likewise.
4388 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4389 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4390 [ISO || ISO99 || ISO11] (math.h): Likewise.
4391 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4392 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4393 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4395 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4398 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4399 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4400 * intl/dgettext.c (DCGETTEXT): Likewise.
4401 * intl/gettext.c (DCGETTEXT): Likewise.
4402 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4403 * posix/regex_internal.h (gettext): Likewise.
4404 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4406 * include/argz.h (__argz_count_internal)
4407 (__argz_stringify_internal): Remove declaration.
4408 (__argz_count, __argz_stringify): Declare hidden proto.
4409 * intl/dcgettext.c: Remove use of INTDEF.
4410 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4411 * string/argz-stringify.c: Likewise.
4412 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4413 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4414 Declare hidden proto.
4415 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4416 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4417 Declare hidden proto.
4418 * include/stdio.h (__asprintf_internal): Don't declare.
4419 (__asprintf): Don't define as macro. Declare hidden proto.
4420 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4421 (__fsetlocking): Declare hidden proto.
4422 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4423 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4425 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4426 (_IO_setlinebuf): Remove use of INTUSE.
4427 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4428 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4429 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4431 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4432 (_IO_do_flush): Remove use of INTUSE.
4433 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4434 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4435 (_IO_adjust_column, _IO_least_wmarker)
4436 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4437 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4438 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4439 (_IO_default_doallocate, _IO_wdefault_doallocate)
4440 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4441 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4442 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4443 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4444 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4445 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4446 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4447 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4448 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4449 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4450 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4451 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4452 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4454 (_IO_flush_all_internal, _IO_adjust_column_internal)
4455 (_IO_default_uflow_internal, _IO_default_finish_internal)
4456 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4457 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4458 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4459 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4460 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4461 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4462 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4463 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4464 (_IO_file_close_internal, _IO_file_close_it_internal)
4465 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4466 (_IO_file_init_internal, _IO_file_attach_internal)
4467 (_IO_file_fopen_internal, _IO_file_read_internal)
4468 (_IO_file_sync_internal, _IO_file_seek_internal)
4469 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4470 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4471 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4472 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4473 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4474 (_IO_list_all_internal, _IO_link_in_internal)
4475 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4476 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4477 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4478 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4479 (_IO_do_write_internal, _IO_padn_internal)
4480 (_IO_getline_info_internal, _IO_getline_internal)
4481 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4482 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4483 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4484 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4485 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4486 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4487 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4488 with libc_hidden_ver, remove use of INTUSE.
4489 * libio/genops.c: Likewise.
4490 * libio/freopen.c: Likewise.
4491 * libio/freopen64.c: Likewise.
4492 * libio/iofclose.c: Likewise.
4493 * libio/iofdopen.c: Likewise.
4494 * libio/iofflush.c: Likewise.
4495 * libio/iofflush_u.c: Likewise.
4496 * libio/iofgets.c: Likewise.
4497 * libio/iofgets_u.c: Likewise.
4498 * libio/iofopen.c: Likewise.
4499 * libio/iofopncook.c: Likewise.
4500 * libio/iofread.c: Likewise.
4501 * libio/iofread_u.c: Likewise.
4502 * libio/ioftell.c: Likewise.
4503 * libio/iofwrite.c: Likewise.
4504 * libio/iogetline.c: Likewise.
4505 * libio/iogets.c: Likewise.
4506 * libio/iogetwline.c: Likewise.
4507 * libio/iopadn.c: Likewise.
4508 * libio/iopopen.c: Likewise.
4509 * libio/ioseekoff.c: Likewise.
4510 * libio/ioseekpos.c: Likewise.
4511 * libio/iosetbuffer.c: Likewise.
4512 * libio/iosetvbuf.c: Likewise.
4513 * libio/ioungetc.c: Likewise.
4514 * libio/ioungetwc.c: Likewise.
4515 * libio/iovdprintf.c: Likewise.
4516 * libio/iovsprintf.c: Likewise.
4517 * libio/iovsscanf.c: Likewise.
4518 * libio/memstream.c: Likewise.
4519 * libio/obprintf.c: Likewise.
4520 * libio/oldfileops.c: Likewise.
4521 * libio/oldiofclose.c: Likewise.
4522 * libio/oldiofdopen.c: Likewise.
4523 * libio/oldiofopen.c: Likewise.
4524 * libio/oldiopopen.c: Likewise.
4525 * libio/oldstdfiles.c: Likewise.
4526 * libio/putc.c: Likewise.
4527 * libio/setbuf.c: Likewise.
4528 * libio/setlinebuf.c: Likewise.
4529 * libio/stdfiles.c: Likewise.
4530 * libio/strops.c: Likewise.
4531 * libio/vasprintf.c: Likewise.
4532 * libio/vscanf.c: Likewise.
4533 * libio/vsnprintf.c: Likewise.
4534 * libio/vswprintf.c: Likewise.
4535 * libio/wfiledoalloc.c: Likewise.
4536 * libio/wfileops.c: Likewise.
4537 * libio/wgenops.c: Likewise.
4538 * libio/wmemstream.c: Likewise.
4539 * libio/wstrops.c: Likewise.
4540 * libio/__fpurge.c: Likewise.
4541 * libio/__fsetlocking.c: Likewise.
4542 * assert/assert.c: Likewise.
4543 * debug/fgets_chk.c: Likewise.
4544 * debug/fgets_u_chk.c: Likewise.
4545 * debug/fread_chk.c: Likewise.
4546 * debug/fread_u_chk.c: Likewise.
4547 * debug/gets_chk.c: Likewise.
4548 * debug/obprintf_chk.c: Likewise.
4549 * debug/vasprintf_chk.c: Likewise.
4550 * debug/vdprintf_chk.c: Likewise.
4551 * debug/vsnprintf_chk.c: Likewise.
4552 * debug/vsprintf_chk.c: Likewise.
4553 * malloc/mtrace.c: Likewise.
4554 * misc/error.c: Likewise.
4555 * misc/syslog.c: Likewise.
4556 * stdio-common/asprintf.c: Likewise.
4557 * stdio-common/fxprintf.c: Likewise.
4558 * stdio-common/getw.c: Likewise.
4559 * stdio-common/isoc99_fscanf.c: Likewise.
4560 * stdio-common/isoc99_scanf.c: Likewise.
4561 * stdio-common/isoc99_vfscanf.c: Likewise.
4562 * stdio-common/isoc99_vscanf.c: Likewise.
4563 * stdio-common/isoc99_vsscanf.c: Likewise.
4564 * stdio-common/printf-prs.c: Likewise.
4565 * stdio-common/printf_fp.c: Likewise.
4566 * stdio-common/printf_fphex.c: Likewise.
4567 * stdio-common/printf_size.c: Likewise.
4568 * stdio-common/putw.c: Likewise.
4569 * stdio-common/scanf.c: Likewise.
4570 * stdio-common/sprintf.c: Likewise.
4571 * stdio-common/tmpfile.c: Likewise.
4572 * stdio-common/vfprintf.c: Likewise.
4573 * stdio-common/vfscanf.c: Likewise.
4574 * stdlib/strfmon_l.c: Likewise.
4575 * sunrpc/openchild.c: Likewise.
4576 * sunrpc/xdr_stdio.c: Likewise.
4577 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4578 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4580 2012-05-24 Roland McGrath <roland@hack.frob.com>
4582 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4584 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4585 in the third column, to generate for the shared library an IFUNC
4586 that uses _dl_vdso_vsym.
4587 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4588 * Makeconfig (object-suffixes-noshared): New variable.
4590 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4591 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4592 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4593 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4596 * include/sys/time.h (__gettimeofday): Remove macro.
4597 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4598 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4600 (__gettimeofday): Add libc_hidden_def.
4601 (gettimeofday): Add libc_hidden_weak.
4602 * sysdeps/mach/gettimeofday.c: Likewise.
4603 * sysdeps/posix/gettimeofday.c: Likewise.
4604 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4605 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4607 (__gettimeofday_internal): Remove strong_alias.
4608 (__gettimeofday): Add libc_hidden_def.
4609 (gettimeofday): Add libc_hidden_weak.
4610 * sysdeps/unix/syscalls.list (gettimeofday):
4611 Remove __gettimeofday_internal alias.
4613 2012-05-24 Daniel Jacobowitz <drow@false.org>
4614 H.J. Lu <hongjiu.lu@intel.com>
4617 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4618 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4619 (largebin_index_32_big): New.
4620 (largebin_index): Use it for 16-byte alignment.
4621 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4622 correction with front_misalign.
4624 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4652 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4653 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4655 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4659 * math/libm-test.inc (exp_test): Add test from bug 14036.
4660 (pow_test): Add test from bug 10846.
4662 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4664 (special_function): Do not include flags in test name.
4665 (parse_args): Likewise.
4666 * sysdeps/i386/fpu/libm-test-ulps: Update.
4667 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4668 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4672 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4674 * math/libm-test.inc ("Philosophy"): Update comment about
4676 (UNDERFLOW_EXCEPTION): New macro.
4677 (UNDERFLOW_EXCEPTION_OK): Likewise.
4678 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4679 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4680 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4681 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4682 (INVALID_EXCEPTION_OK): Update value.
4683 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4684 (OVERFLOW_EXCEPTION_OK): Likewise.
4685 (IGNORE_ZERO_INF_SIGN): Likewise.
4686 (test_exceptions): Handle underflow exceptions.
4687 (acos_test): Update for underflow exception expectations.
4688 (cexp_test): Likewise.
4689 (clog_test): Likewise.
4690 (clog10_test): Likewise.
4691 (csqrt_test): Likewise.
4692 (ctan_test): Likewise.
4693 (ctanh_test): Likewise.
4694 (exp_test): Likewise.
4695 (exp10_test): Likewise.
4696 (exp2_test): Likewise.
4697 (expm1_test): Likewise.
4698 (fma_test): Likewise.
4699 (j0_test): Likewise.
4700 (jn_test): Likewise.
4701 (nexttoward_test): Likewise.
4702 (pow_test): Likewise.
4703 (scalbn_test): Likewise.
4704 (scalbln_test): Likewise.
4705 (tan_test): Likewise.
4706 (y1_test): Likewise.
4707 * sysdeps/i386/fpu/libm-test-ulps: Update.
4708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4710 2012-05-23 David S. Miller <davem@davemloft.net>
4712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4713 (__libc_sigaction): Remove unused local variables.
4715 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4717 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4719 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4721 mktime: avoid signed integer overflow
4722 * time/mktime.c (__mktime_internal): Do not mishandle the case
4723 where diff == INT_MIN.
4725 mktime: simplify computation of average
4726 * time/mktime.c (ranged_convert): Use new time_t_avg function
4727 instead of rolling our own (probably-slower) code.
4729 mktime: do not assume signed right shift propagates sign bit
4730 * time/mktime.c (isdst_differ): New static function.
4731 (__mktime_internal): No need to normalize tm_isdst now.
4732 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4735 mktime: merge another wrapv change from gnulib
4736 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4737 from some compilers.
4739 mktime: remove incorrect attempt at unusual arithmetics
4740 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4741 The code didn't really work on such machines anyway.
4742 (TYPE_MINIMUM): Assume two's complement.
4743 (twos_complement_arithmetic): Verify that long_int and time_t
4744 are two's complement (or unsigned, in the latter case).
4746 mktime: check signed shifts on long_int and time_t, too
4747 * time/mktime.c (SHR): Check that shifts work as desired
4748 on the types long_int and time_t too, as SHR is used on
4751 mktime: do not assume 'long' is wide enough
4752 * time/mktime.c (verify): Move decl up.
4753 (long_int): New type.
4754 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4755 to remove assumption in the code that 'long' is wide enough to
4756 store year values. This assumption is not true on x32 and on
4757 some non-glibc platforms.
4759 mktime: merge wrapv change from gnulib
4760 * time/mktime.c (WRAPV): New macro.
4761 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4762 (guess_time_tm, __mktime_internal): Do not assume that signed
4763 integer overflow wraps around; modern compilers generate code
4764 where this assumption is no longer valid.
4766 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4768 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4769 Replace "jmp L(pseudo_end)" with "ret".
4770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4773 2012-05-23 Andreas Jaeger <aj@suse.de>
4775 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4776 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4778 2012-05-23 Andreas Jaeger <aj@suse.de>
4779 Maximilian Attems <max@stro.at>
4781 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4784 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4787 code so that pseudo_end is just ret and the stack pointer is
4788 correct also for static library in error case.
4790 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4792 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4793 move to syscalls.list.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4799 * manual/install.texi (Running make install): Do not mention Linux
4800 kernel version for which pt_chown is not needed.
4801 (Linux): Do not mention problems with nscd with 2.0 kernels.
4802 * INSTALL: Regenerated.
4804 2012-05-23 Andreas Jaeger <aj@suse.de>
4806 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4807 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4809 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4810 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4811 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4812 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4813 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4814 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4816 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4817 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4818 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4819 * sysdeps/unix/sysv/linux/bits/in.h
4820 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4822 2012-05-22 Roland McGrath <roland@hack.frob.com>
4824 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4825 (PREPARE_VERSION): Just use assert instead, it will be elided
4826 under [NDEBUG] anyway.
4828 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4830 * sysdeps/unix/sysv/linux/Makefile: Include
4831 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4832 (sysdep_routines): Remove sysctl.
4833 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4834 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4835 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4836 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4837 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4839 2012-05-22 Andreas Jaeger <aj@suse.de>
4841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4842 that pseudo_end is just ret and the stack pointer is correct also
4843 for static library in error case.
4845 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4848 * nss/nsswitch.c (defconfig_entries): New variable.
4849 (__nss_database_lookup): Don't leak defconfig entries.
4850 (nss_parse_service_list): Don't leak on error paths.
4851 (free_database_entries): New function.
4852 (free_defconfig): New function.
4853 (free_mem): Move common code to free_database_entries.
4855 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4857 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4859 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4861 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4862 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4865 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4866 (INTERNAL_SYSCALL_TYPES): Likewise.
4867 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4868 (LOAD_REGS_TYPES_[1-6]): Likewise.
4869 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4870 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4872 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4875 copysignl for GLIBC_2_0.
4876 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4877 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4879 logbl for GLIBC_2_0.
4880 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4881 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4883 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4886 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4888 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4891 * time/mktime.c: Update copyright years.
4893 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4895 mktime: merge comment-quoting-style change from gnulib
4896 * time/mktime.c: Quote 'like this' in comments.
4897 The GNU coding standards suggest that we no longer quote `like this',
4898 as "`" and "'" are typically rendered asymmetrically nowadays.
4899 The typical gnulib style is to quote 'like this' when quoting
4900 code, and "like this" when quoting English.
4902 * time/mktime.c (compile-command): Add "-I.".
4904 mktime: merge mktime-internal.h change from gnulib
4905 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4907 mktime: merge time_r change from gnulib
4908 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4910 mktime: merge DEBUG change from gnulib
4911 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4912 case system <time.h> has a #define.
4914 mktime: merge <sys/types.h> change from gnulib
4915 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4916 since <time.t> is now guaranteed to define time_t.
4918 mktime: merge HAVE_CONFIG_H change from gnulib
4919 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4921 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4926 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4928 (struct rusage): Use anonymous union to pad each field to
4931 2012-05-21 David S. Miller <davem@davemloft.net>
4933 * Makefules (o-iterator): Remove .s cases.
4934 (compile-command.s): Delete.
4935 (COMPILE.s): Delete.
4936 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4938 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4940 * configure.in (libc_cv_predef_stack_protector): Only consider
4941 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4942 * configure: Regenerated.
4944 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4947 New macro. Use R*LP on int and pointer.
4948 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4950 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4951 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4953 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4954 [__WORDSIZE_TIME64_COMPAT32] instead of
4955 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4956 (struct utmp): Likewise.
4957 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4958 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4960 (__WORDSIZE_TIME64_COMPAT32): This.
4961 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4962 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4963 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4964 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4965 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4966 (__WORDSIZE_TIME64_COMPAT32): New macro.
4968 2012-05-21 Andreas Jaeger <aj@suse.de>
4970 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4971 only if [SHARED]. Add prototype for __wcschr_ia32.
4973 2012-05-21 Roland McGrath <roland@hack.frob.com>
4975 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4976 of %rbp unmolested in the jmp_buf while mangling the low bits.
4977 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4978 unmolested high bits of %rbp while demangling the low bits.
4979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4981 2012-05-21 Andreas Jaeger <aj@suse.de>
4983 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4984 * sunrpc/svc_simple.c: Use it for registerrpc.
4985 * sunrpc/xcrypt.c: Use it for passwd2des.
4987 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4989 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4991 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4992 Don't define if [__SYSCALL_WORDSIZE != 32].
4993 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4996 2012-05-21 Bruno Haible <bruno@clisp.org>
4997 Andreas Jaeger <aj@suse.de>
4999 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5000 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5001 inptr and inend for must_buffer_ch.
5002 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5003 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5004 * stdio-common/Makefile (tests): Remove bug15.
5005 (bug15-ENV): Remove macro.
5006 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5009 2012-05-19 Andreas Jaeger <aj@suse.de>
5010 Roland McGrath <roland@hack.frob.com>
5012 * manual/contrib.texi: Completely rewritten. It contains now an
5013 alphabetical list of contributors and their contributions.
5015 2012-05-21 Richard Henderson <rth@twiddle.net>
5017 * misc/getauxval.c (__getauxval): Use unsigned long int.
5018 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5019 (getauxval): Use unsigned long int.
5021 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5023 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5025 2012-05-21 Roland McGrath <roland@hack.frob.com>
5027 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5028 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5029 __alignof__ (long double).
5031 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5035 2012-05-20 Richard Henderson <rth@twiddle.net>
5037 * misc/getauxval.c: New file.
5038 * misc/sys/auxv.h: New file.
5039 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5040 (routines): Add getauxval.
5041 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5042 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5043 * elf/dl-sysdep.c (_dl_auxv): Remove.
5044 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5045 * elf/dl-support.c (_dl_auxv): New variable.
5046 (_dl_aux_init): Initialize it.
5047 * manual/startup.texi (Auxiliary Vector): New node.
5048 * sysdeps/generic/bits/hwcap.h: New file.
5049 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5050 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5051 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5052 * sysdeps/sparc/sysdep.h: ... here. Include it.
5053 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5060 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5066 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5070 2012-05-19 David S. Miller <davem@davemloft.net>
5072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5074 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5077 * math/s_ccosh.c: Include <float.h>
5078 (__ccosh): Avoid internal overflow calculating sinh and cosh
5079 values before multiplying by sin and cos values.
5080 * math/s_ccoshf.c: Likewise.
5081 * math/s_ccoshl.c: Likewise.
5082 * math/s_csin.c: Likewise.
5083 * math/s_csinf.c: Likewise.
5084 * math/s_csinl.c: Likewise.
5085 * math/s_csinh.c: Likewise.
5086 * math/s_csinhf.c: Likewise.
5087 * math/s_csinhl.c: Likewise.
5088 * math/libm-test.inc (ccos_test): Add more tests.
5089 (ccosh_test): Likewise.
5090 (csin_test): Likewise.
5091 (csinh_test): Likewise.
5092 * sysdeps/i386/fpu/libm-test-ulps: Update.
5093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5095 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5097 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5098 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5100 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5102 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5104 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5105 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5106 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5107 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5108 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5109 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5110 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5111 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5112 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5113 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5114 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5115 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5116 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5117 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5118 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5119 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5120 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5121 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5122 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5123 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5124 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5125 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5126 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5127 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5128 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5129 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5130 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5131 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5132 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5133 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5134 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5136 2012-05-18 Andreas Jaeger <aj@suse.de>
5138 * csu/.gitignore: Delete.
5140 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5142 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5143 (timex): Use __syscall_slong_t.
5145 2012-05-18 Andreas Jaeger <aj@suse.de>
5146 Carlos O'Donell <carlos_odonell@mentor.com>
5148 * manual/install.texi (Configuring and compiling): Update
5149 description about files modified in the source directory.
5150 * INSTALL: Regenerated.
5152 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5154 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5155 value. Use "or" to set return value to -1.
5156 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5157 negate return value.
5159 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5161 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5162 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5163 failure if the compiler has Graphite support disabled.
5164 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5166 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5167 CFLAGS-memmove.c): Likewise.
5168 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5171 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5173 * sysdeps/x86_64/x32/_itoa.h: New file.
5175 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5176 getdents system call only if kernel and user dirents have the
5177 same d_ino and d_off.
5179 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5180 LLONG_MAX != LONG_MAX.
5181 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5182 (_fitoa_word): Likewise.
5184 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5187 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5190 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5191 include <bits/wordsize.h>. Check __x86_64__ instead of
5193 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5194 if __x86_64__ is defined. Use anonymous union on fpstate.
5196 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5199 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5201 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5202 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5203 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5204 Refer to _rtld_local_ro instead of _rtld_global_ro.
5205 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5207 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5209 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5211 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5212 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5213 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5215 * sysdeps/powerpc/powerpc32/dl-machine.c
5216 (__elf_machine_runtime_setup) [PROF]: Don't reference
5219 2012-05-18 Andreas Jaeger <aj@suse.de>
5221 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5222 function only available for GCCs before 3.4 since GCC 3.4
5223 introduced a builtin.
5225 (llrintf): Likewise.
5233 (nearbyint): Likewise.
5234 (nearbyintf): Likewise.
5240 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5242 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5243 on both fields and cast pointer to __syscall_ulong_t.
5245 * bits/types.h (__fsword_t): New type.
5246 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5247 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5249 (__FSWORD_T_TYPE): Likewise.
5250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5251 (__FSWORD_T_TYPE): Likewise.
5252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5253 (__FSWORD_T_TYPE): Likewise.
5254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5255 (__FSWORD_T_TYPE): Likewise.
5256 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5257 __SWORD_TYPE with __fsword_t.
5258 (statfs64): Likewise.
5260 2012-05-17 David S. Miller <davem@davemloft.net>
5262 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5264 2012-05-17 Andreas Jaeger <aj@suse.de>
5266 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5269 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5271 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5273 2012-05-17 Andreas Jaeger <aj@suse.de>
5275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5278 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5280 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5282 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5284 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5285 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5287 2012-05-17 Andreas Jaeger <aj@suse.de>
5288 Carlos O'Donell <carlos_odonell@mentor.com>
5291 * sysdeps/x86_64/multiarch/init-arch.h
5292 (bit_YMM_Usable): Rename to...
5293 (bit_AVX_Usable): ... this.
5294 (bit_FMA4_Usable): New macro.
5295 (bit_XMM_state): New macro.
5296 (bit_YMM_state): New macro.
5297 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5298 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5299 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5300 (CPUID_OSXSAVE): New macro.
5301 (CPUID_AVX): New macro.
5302 (CPUID_FMA4): New macro.
5303 (index_YMM_Usable): Rename to...
5304 (index_AVX_Usable): ... this.
5305 (HAS_AVX): Use HAS_ARCH_FEATURE.
5306 (HAS_FMA4): Likewise.
5307 (HAS_YMM_USABLE): Remove.
5308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5309 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5311 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5312 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5313 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5314 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5315 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5317 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5319 * math/libm-test.c: Support platforms without multiple rounding modes.
5320 * math/bug-nextafter.c: Support platforms without FP exceptions.
5321 * math/bug-nexttoward.c: Likewise.
5322 * math/test-fenv.c: Likewise.
5323 * math/test-misc.c: Likewise.
5324 * stdlib/bug-getcontext.c: Likewise.
5326 2012-05-17 Andreas Jaeger <aj@suse.de>
5328 * manual/examples/search.c (critter_cmp): Change signature to
5330 * manual/string.texi (Collation Functions): Likewise.
5332 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5334 * bits/types.h: Fold copyright years.
5335 * bits/typesizes.h: Likewise.
5336 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5338 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5340 * time/time.h: Likewise.
5342 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5345 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5346 in instead of returning them. Return void.
5347 (__libc_mallinfo): Accumulate over all arenas.
5348 (__malloc_stats): Adjust for change in int_mallinfo interface.
5350 2012-05-16 Roland McGrath <roland@hack.frob.com>
5353 * configure.in (NM): Add AC_CHECK_TOOL for it.
5354 (libc_extra_cflags): New substituted variable.
5355 Check for -fstack-protector being used implicitly.
5356 * configure: Regenerated.
5357 * config.make.in (config-extra-cflags): New variable,
5358 gets @libc_extra_cflags@.
5359 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5362 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5363 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5364 * configure: Regenerated.
5365 * config.make.in (CPPUNDEFS): New substituted variable.
5366 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5367 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5368 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5372 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5373 (mq_attr): Use __syscall_slong_t.
5375 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5377 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5378 Check __x86_64__ instead of __WORDSIZE.
5379 (_STAT_VER_LINUX): Likewise.
5380 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5381 __syscall_ulong_t and __syscall_slong_t.
5384 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5386 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5388 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5390 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5392 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5394 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5397 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5398 include <bits/wordsize.h>. Check __x86_64__ instead of
5400 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5402 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5404 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5405 include <bits/wordsize.h>. Check __x86_64__ instead of
5407 (user_regs_struct): Use "__extension__ unsigned long long"
5408 instead of "unsigned long" if __x86_64__ is defined.
5409 (user): Likewise. Pad after pointer field if __ILP32__ is
5412 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5414 * configure.in (makeinfo): Require version 4.5 or later. Allow
5416 * configure: Regenerated.
5417 * manual/install.texi (texinfo): Increase version requirement to
5419 * INSTALL: Regenerated.
5421 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5423 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5425 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5427 * sysdeps/x86_64/x32/ffs.c: New file.
5429 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5431 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5432 defined. Use __syscall_ulong_t.
5433 (shminfo): Use __syscall_ulong_t.
5434 (shm_info): Likewise.
5436 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5439 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5441 (msgqnum_t): Use __syscall_ulong_t.
5442 (msglen_t): Likewise.
5443 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5446 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5447 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5449 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5451 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5452 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5454 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5457 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5458 include <bits/wordsize.h>. Check __x86_64__ instead of
5461 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5462 "unsigned long long int" if __x86_64__ is defined.
5463 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5465 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5466 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5467 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5469 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5471 (GET_PC): Cast to uintptr_t first.
5472 (GET_FRAME): Likewise.
5473 (GET_STACK): Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5478 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5479 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5481 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5482 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5483 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5484 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5485 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5487 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5488 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5489 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5495 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5496 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5499 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5501 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5502 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5503 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5505 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5507 * Makerules (+depfiles): Also collect depfiles from .oS in
5509 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5510 .oS, $(libnldbl-routines)).
5512 * Makerules (native-compile-mkdep-flags): Define.
5513 * sunrpc/Makefile (extra-objs): Add $(addprefix
5514 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5515 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5516 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5517 calling $(make-target-directory).
5519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5521 * bits/types.h (__snseconds_t): Removed.
5522 * time/time.h (struct timespec): Replace __snseconds_t with
5524 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5525 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5527 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5528 (__SNSECONDS_T_TYPE): Likewise.
5529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5530 (__SNSECONDS_T_TYPE): Likewise.
5531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5532 (__SNSECONDS_T_TYPE): Likewise.
5534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5536 * sysdeps/mach/hurd/bits/typesizes.h
5537 (__SYSCALL_SLONG_TYPE): New macro.
5538 (__SYSCALL_ULONG_TYPE): Likewise.
5540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5542 * bits/types.h (__syscall_slong_t): New type.
5543 (__syscall_ulong_t): Likewise.
5545 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5546 (__SYSCALL_ULONG_TYPE): Likewise.
5547 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5548 (__SYSCALL_SLONG_TYPE): Likewise.
5549 (__SYSCALL_ULONG_TYPE): Likewise.
5550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5551 (__SYSCALL_SLONG_TYPE): Likewise.
5552 (__SYSCALL_ULONG_TYPE): Likewise.
5553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5554 (__SYSCALL_SLONG_TYPE): Likewise.
5555 (__SYSCALL_ULONG_TYPE): Likewise.
5557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5559 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5560 Add sigaltstack-offsets.sym.
5561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5562 <sigaltstack-offsets.h>.
5563 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5564 longjmp_msg pointer.
5565 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5566 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5568 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5570 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5572 * elf/stackguard-macros.h: Remove file.
5573 * sysdeps/generic/stackguard-macros.h: New file.
5574 * sysdeps/i386/stackguard-macros.h: Likewise.
5575 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5576 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5577 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5578 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5579 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5580 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5581 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5582 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5583 <elf/stackguard-macros.h>.
5586 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5587 __aligned__ in attribute.
5588 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5589 (gregset_t): Likewise.
5591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5593 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5594 * sysdeps/x86_64/64/Implies-after: Here. New file.
5595 * sysdeps/x86_64/x32/Implies-after: New file.
5597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5599 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5600 and access return value for _dl_profile_fixup. Use R10_LP to
5603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5605 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5609 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5610 * sysdeps/x86_64/x32/sysdep.h: New file.
5612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5614 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5615 * sysdeps/x86_64/setjmp.S: Likewise.
5617 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5619 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5620 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5621 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5623 remove unused global constant.
5625 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5627 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5628 include of <not-cancel.h>.
5630 2012-05-15 Roland McGrath <roland@hack.frob.com>
5632 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5634 2012-05-15 Jeff Law <law@redhat.com>
5635 Andreas Jaeger <aj@suse.de>
5638 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5640 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5641 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5642 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5643 code changing __hst_map_handle.map.
5645 2012-05-15 Roland McGrath <roland@hack.frob.com>
5647 * configure.in (sysnames): Look for Implies-before and Implies-after
5649 * configure: Regenerated.
5651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5653 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5654 8-byte data alignment with LP_SIZE alignment.
5656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5658 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5663 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5667 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5675 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5676 (stackinfo_sub_sp): Likewise.
5678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5680 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5690 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5695 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5699 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5700 into R11_LP and load __x86_64_shared_cache_size_half into
5703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5705 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5708 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5714 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5716 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5717 powerpc32/power7/fpu/s_logb.c via #include.
5718 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5719 powerpc32/power7/fpu/s_logbf.c via #include.
5720 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5721 powerpc32/power7/fpu/s_logbl.c via #include.
5723 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5725 * README.libm: Remove file.
5727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5729 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5730 count for x32. Use R*_LP and omit operand-size suffix.
5732 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5734 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5735 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5736 * sysdeps/x86_64/x32/shlib-versions: New file.
5738 2012-05-14 Roland McGrath <roland@hack.frob.com>
5740 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5741 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5742 Use _dl_fatal_printf instead.
5744 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5746 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5747 set if not set by the user. Do not allow for being unset.
5748 * sysdeps/unix/sysv/linux/configure: Regenerated.
5750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5752 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5753 the `q' suffix from lea and replace .quad with ASM_ADDR.
5755 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5758 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5760 (PTR_DEMANGLE): Likewise.
5762 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5764 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5766 (ASM_ADDR): Likewise.
5784 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5786 * sysdeps/x86_64/x32/dl-machine.h: New file.
5788 2012-05-14 Andreas Jaeger <aj@suse.de>
5790 * manual/Makefile (subdir): Remove export of subdir.
5791 (all): Remove target.
5792 (.PHONY): Remove all from list.
5793 (mkinstalldirs): Remove.
5794 (.PHONY): Remove installdirs from list.
5795 ($(inst_infodir)/libc.info): Use make-target-directory.
5796 (installdirs): Remove.
5798 (glibc-targets): Remove.
5801 ($(objpfx)stubs ../po/manual.pot): Remove.
5802 ($(objpfx)stamp%): Remove.
5803 (make-target-directory): Remove.
5804 (subdir_install): Remove.
5812 * manual/.gitignore: Remove, it's not needed anymore.
5813 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5815 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5817 (texis): Renamed to $(objpfx)texis.
5818 (texis-path): New, contains path to generated files.
5819 (chapters.%): Use texis-path for complete path, add extra argument
5821 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5822 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5823 (summary,texi, stamp-summary): Use complete path of
5824 files. Generate files in build dir.
5825 (dir-add.texi): Build in build dir.
5826 (libm-err.texi,stamp-libm-err): Likewise.
5827 (version.texi, stamp-version): Likewise.
5828 (.%c.texi): Likewise.
5829 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5830 (mostlyclean): Remove target.
5831 (realclean): Remove target.
5832 (generated): Add new variable with contents from mostlyclean and
5833 realclean, remove entries duplicated in common-mostlyclean, add
5834 stamp-libm-err and stamp-version.
5835 (generated-dirs): Add libc directory.
5836 ($(inst_infodir)/libc.info): Install files from build dir.
5838 * manual/install.texi (Configuring and compiling): Adjust since
5839 the info files are not part of the tar ball anymore.
5841 2012-05-14 Andreas Jaeger <aj@suse.de>
5843 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5846 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5850 to 2.2.0 where earlier.
5851 * sysdeps/unix/sysv/linux/configure: Regenerated.
5852 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5853 Remove conditional code.
5854 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5855 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5856 Remove conditional code.
5857 [!__NR_lchown]: Likewise.
5858 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5859 [__NR_lchown]: Likewise.
5860 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5861 comment referencing __ASSUME_LCHOWN_SYSCALL.
5862 * sysdeps/unix/sysv/linux/i386/sigaction.c
5863 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5864 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5865 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5866 Remove conditional code.
5867 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5868 (__protocol_available): Remove #if 0 code.
5869 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5871 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5872 * sysdeps/unix/sysv/linux/kernel-features.h
5873 (__ASSUME_GETCWD_SYSCALL): Don't define.
5874 (__ASSUME_REALTIME_SIGNALS): Likewise.
5875 (__ASSUME_PREAD_SYSCALL): Likewise.
5876 (__ASSUME_PWRITE_SYSCALL): Likewise.
5877 (__ASSUME_POLL_SYSCALL): Likewise.
5878 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5879 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5881 (__ASSUME_SIOCGIFNAME): Don't define.
5882 (__ASSUME_MSG_NOSIGNAL): Likewise.
5883 (__ASSUME_SENDFILE): Define unconditionally.
5884 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5885 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5887 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5888 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5889 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5890 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5891 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5892 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5893 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5895 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5898 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5904 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5910 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5911 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5916 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5917 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5918 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5919 Remove conditional code.
5920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5921 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5922 Remove conditional code.
5923 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5924 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5925 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5926 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5927 Remove conditional code.
5928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5929 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5930 Remove conditional code.
5931 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5932 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5933 Remove conditional code.
5934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5935 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5936 Remove conditional code.
5937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5938 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5939 Remove conditional code.
5940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5941 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5942 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5944 * sysdeps/unix/sysv/linux/sigaction.c
5945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5947 * sysdeps/unix/sysv/linux/sigpending.c
5948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5950 * sysdeps/unix/sysv/linux/sigprocmask.c
5951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5953 * sysdeps/unix/sysv/linux/sigsuspend.c
5954 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5955 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5956 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5957 (__libc_missing_rt_sigs): Remove.
5958 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5959 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5960 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5961 Remove conditional code.
5962 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5963 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5965 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5966 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5967 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5968 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5970 2012-05-14 Andreas Jaeger <aj@suse.de>
5972 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5973 it's not used in glibc.
5974 (__coshm1): Likewise.
5975 (__acosh1p): Likewise.
5978 * manual/string.texi (Copying and Concatenation): Add missing
5979 variable in concat example.
5980 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5982 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5986 __builtin_clzl with __builtin_clzll.
5988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5991 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5994 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5996 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5997 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5998 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5999 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6001 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6003 * NEWS: Update ia64 info.
6005 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6007 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6010 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6012 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6013 * sysdeps/unix/syscalls.list (dup3): Likewise.
6014 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6015 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6017 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6019 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6020 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6022 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6024 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6026 (TLS_IE): Use mov/add instead of movq/addq to load thread
6028 (TLS_GD_PREFIX): New.
6031 2012-05-11 David S. Miller <davem@davemloft.net>
6033 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6034 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6035 (_FPU_SETCW): Likewise.
6037 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6039 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6042 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6045 * iconvdata/gb18030.c: Update tables.
6046 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6047 characters specially.
6048 (BODY for TO_LOOP): Add encoding of missing ranges.
6050 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6053 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6054 * sysdeps/mach/hurd/dup3.c: Likewise.
6055 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6056 * sysdeps/powerpc/memmove.c:: Likewise.
6058 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6061 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6063 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6065 * elf/elf.h (R_X86_64_RELATIVE64): New.
6066 (R_X86_64_NUM): Updated.
6067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6068 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6069 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6070 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6071 tst-quad1pie tst-quad2pie
6072 (modules-names): Add tst-quadmod1 tst-quadmod2.
6073 ($(objpfx)tst-quad1): New dependency.
6074 ($(objpfx)tst-quad2): Likewise.
6075 ($(objpfx)tst-quad1pie): Likewise.
6076 ($(objpfx)tst-quad2pie): Likewise.
6077 * sysdeps/x86_64/tst-quad1.c: New file.
6078 * sysdeps/x86_64/tst-quad1pie.c: New file.
6079 * sysdeps/x86_64/tst-quad2.c: Likewise.
6080 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6081 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6082 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6083 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6084 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6088 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6089 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6090 * streams/stropts.h (t_scalar_t): Define type.
6092 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6093 (_PATH_PRESERVE): Set to "/var/lib".
6094 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6096 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6099 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6100 if __dir_mkfile succeeded.
6102 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6103 checking for _hurd_dtablesize. Unlock it right after having
6104 finished _hurd_dtable allocation.
6106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6108 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6109 * sysdeps/mach/hurd/configure: Regenerated.
6110 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6111 special-casing to...
6112 * sysdeps/gnu/configure.in: ... this new file.
6113 * sysdeps/unix/sysv/linux/configure: Regenerated.
6114 * sysdeps/gnu/configure: New generated file.
6116 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6117 for Linux: use nsec instead of usec, as well as:
6118 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6119 members of type struct timespec.
6120 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6122 (struct stat64): Likewise.
6123 (_STATBUF_ST_NSEC): New macro.
6124 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6126 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6127 __strtoul_internal rather than strtoul.
6129 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6131 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6134 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6136 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6137 which preserves existing values.
6138 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6140 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6142 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6143 TIMEOUT values. Return EINVAL for NFDS values either negative or
6144 greater than FD_SETSIZE.
6146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6148 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6149 allocated, call __vm_protect to finish enabling the existing space, and
6150 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6151 allocate the remainder.
6153 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6155 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6156 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6160 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6161 sysdeps/mach/hurd/readlink.c.
6163 * posix/tst-sysconf.c (posix_options): Only use
6164 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6165 _POSIX_SYNCHRONIZED_IO when they are defined
6166 * sysdeps/mach/hurd/bits/posix_opt.h:
6167 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6168 (_XOPEN_REALTIME): Undefine macro.
6169 (_XOPEN_REALTIME_THREADS): Undefine macro.
6170 (_XOPEN_SHM): Undefine macro.
6171 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6173 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6175 (_POSIX_ASYNC_IO): Undefine macro.
6176 (_POSIX_PRIORITIZED_IO): Undefine macro.
6177 (_POSIX_SPIN_LOCKS): Define macro to -1.
6179 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6180 SA_NODEFER, SA_RESETHAND.
6181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6182 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6187 * elf/Makefile (pldd-modules): Define unconditionally.
6189 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6191 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6193 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6195 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6196 Return ENOENT when name is empty.
6197 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6199 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6201 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6203 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6207 Fix mlock in all cases except non-readable pages.
6208 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6209 instead of VM_PROT_ALL as parameter to __vm_wire function.
6211 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6212 (__mkdir): When path is `/', just fail with EEXIST.
6213 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6217 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6218 <sys/uio.h> (for writev).
6219 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6220 and <sys/param.h> (for MIN).
6222 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6224 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6225 REQUESTED_TIME. Properly set the remaining time and return EINTR
6228 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6230 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6231 Depend on against $(link-rpcuserlibs).
6233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6235 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6236 (__libc_stack_end): Do not use attribute_relro.
6237 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6238 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6239 to libthread-provided value.
6240 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6243 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6246 * bits/libc-lock.h (__libc_once_get): New macro.
6247 * sysdeps/mach/bits/libc-lock.h: Likewise.
6248 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6250 instead of using implementation details.
6252 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6253 * libio/freopen.c: Likewise.
6254 * libio/freopen64.c: Likewise.
6255 * misc/syslog.c: Likewise.
6256 * nscd/connections.c: Likewise.
6257 * nscd/netgroupcache.c: Likewise.
6258 * sysdeps/posix/getcwd.c: Likewise.
6260 2012-05-10 Roland McGrath <roland@hack.frob.com>
6262 * math/w_ilogbf.c: Add #include <limits.h>.
6264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6266 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6267 path instead of returning without unlocking.
6269 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6270 immediate-write ioctls.
6271 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6273 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6275 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6276 __builtin_frame_address instead of making assumptions about the
6277 location of the return address relative to DATA. Force early load of
6279 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6280 __builtin_frame_address.
6283 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6284 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6285 implement dup3 and do some further code clean-ups.
6286 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6287 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6291 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6293 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6294 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6295 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6296 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6297 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6300 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6301 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6302 when handler == SIG_ERR, not when handler != SIG_ERR.
6304 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6306 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6307 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6310 accept4 for GNU Hurd.
6311 * include/sys/socket.h (__libc_accept4): New prototype.
6312 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6313 to implement __libc_accept4.
6314 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6316 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6318 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6319 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6320 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6325 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6329 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6330 assertion on O_CLOEXEC flag.
6331 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6332 * hurd/intern-fd.c: Likewise.
6333 * hurd/port2fd.c: Likewise.
6335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6338 * bits/in.h (IPV6_PKTINFO): Define new macro.
6339 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6341 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6346 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6348 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6351 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6352 * math/libm-test.inc (logb_test) : Additional logb tests.
6354 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6355 Andreas Jaeger <aj@suse.de>
6357 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6358 * configure: Regenerated.
6359 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6360 * config.make.in (link-obsolete-rpc): New substituted variable.
6361 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6362 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6363 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6364 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6365 so that libc.a contains the symbols.
6366 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6367 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6368 * sunrpc/auth_none.c: Likewise.
6369 * sunrpc/auth_unix.c: Likewise.
6370 * sunrpc/authdes_prot.c: Likewise.
6371 * sunrpc/authuxprot.c: Likewise.
6372 * sunrpc/clnt_gen.c: Likewise.
6373 * sunrpc/clnt_perr.c: Likewise.
6374 * sunrpc/clnt_raw.c: Likewise.
6375 * sunrpc/clnt_simp.c: Likewise.
6376 * sunrpc/clnt_tcp.c: Likewise.
6377 * sunrpc/clnt_udp.c: Likewise.
6378 * sunrpc/clnt_unix.c: Likewise.
6379 * sunrpc/des_crypt.c: Likewise.
6380 * sunrpc/des_soft.c: Likewise.
6381 * sunrpc/get_myaddr.c: Likewise.
6382 * sunrpc/key_call.c: Likewise.
6383 * sunrpc/key_prot.c: Likewise.
6384 * sunrpc/netname.c: Likewise.
6385 * sunrpc/pm_getmaps.c: Likewise.
6386 * sunrpc/pm_getport.c: Likewise.
6387 * sunrpc/pmap_clnt.c: Likewise.
6388 * sunrpc/pmap_prot.c: Likewise.
6389 * sunrpc/pmap_prot2.c: Likewise.
6390 * sunrpc/pmap_rmt.c: Likewise.
6391 * sunrpc/publickey.c: Likewise.
6392 * sunrpc/rpc_cmsg.c: Likewise.
6393 * sunrpc/rpc_common.c: Likewise.
6394 * sunrpc/rpc_dtable.c: Likewise.
6395 * sunrpc/rpc_prot.c: Likewise.
6396 * sunrpc/rpc_thread.c: Likewise.
6397 * sunrpc/rtime.c: Likewise.
6398 * sunrpc/svc.c: Likewise.
6399 * sunrpc/svc_auth.c: Likewise.
6400 * sunrpc/svc_raw.c: Likewise.
6401 * sunrpc/svc_run.c: Likewise.
6402 * sunrpc/svc_tcp.c: Likewise.
6403 * sunrpc/svc_udp.c: Likewise.
6404 * sunrpc/svc_unix.c: Likewise.
6405 * sunrpc/svcauth_des.c: Likewise.
6406 * sunrpc/xcrypt.c: Likewise.
6407 * sunrpc/xdr.c: Likewise.
6408 * sunrpc/xdr_array.c: Likewise.
6409 * sunrpc/xdr_float.c: Likewise.
6410 * sunrpc/xdr_intXX_t.c: Likewise.
6411 * sunrpc/xdr_mem.c: Likewise.
6412 * sunrpc/xdr_rec.c: Likewise.
6413 * sunrpc/xdr_ref.c: Likewise.
6414 * sunrpc/xdr_sizeof.c: Likewise.
6415 * sunrpc/xdr_stdio.c: Likewise.
6417 2012-05-10 Roland McGrath <roland@hack.frob.com>
6419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6420 change. Update copyright years.
6422 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6424 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6426 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6427 Joseph Myers <joseph@codesourcery.com>
6428 Paul Pluzhnikov <ppluzhnikov@google.com>
6431 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6433 [cross-compiling] (extra-libs): Likewise.
6434 [cross-compiling] (extra-libs-others): Likewise.
6435 [cross-compiling] (librpcsvc-routines): Likewise.
6436 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6437 [cross-compiling] (omit-deps): Likewise.
6438 (sunrpc-CPPFLAGS): New variable.
6439 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6440 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6441 (cross-rpcgen-objs): New variable.
6442 (extra-objs): Append $(cross-rpcgen-objs).
6443 ($(cross-rpcgen-objs)): New rule.
6444 ($(objpfx)cross-rpcgen): Likewise.
6445 (rpcgen-cmd): Define to use $(built-program-file). Expand
6447 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6448 ($(objpfx)x%.stmp): Likewise.
6449 * sunrpc/proto.h [IS_IN_build] (_): Define.
6450 [IS_IN_build] (_libc_intl_domainname): Likewise.
6452 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6455 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6456 and R_X86_64_TPOFF64.
6458 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6460 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6461 sysdeps/unix/sysv/syscalls.list.
6464 * sysdeps/unix/sysv/syscalls.list: Remove file.
6466 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6469 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6470 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6471 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6472 (__LC_IDENTIFICATION): Make these macros useful in #if
6473 expressions, as required by C99.
6475 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6477 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6478 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6481 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6483 * stdlib/longlong.h: Updated from GCC.
6485 2012-05-09 Andreas Jaeger <aj@suse.de>
6487 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6488 default is first entry.
6489 (run_mode): Set type.
6490 (main): Remove informal message about syslog.
6491 (options): Fix typo.
6494 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6497 (llrintf): Likewise.
6501 (nearbyint): Likewise.
6502 (nearbyintf): Likewise.
6504 2012-05-09 Andreas Jaeger <aj@suse.de>
6505 Pedro Alves <palves@redhat.com>
6507 * nscd/nscd.c (run_mode): Use enum.
6508 (main): Cleanup coding style issue.
6510 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6511 Andreas Jaeger <aj@suse.de>
6513 * nscd/nscd.c (go_background): Replaced with...
6514 (run_mode): ... this.
6515 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6516 (options): Add -F --foreground.
6517 (main): Implement it.
6518 (parse_opt): Parse it.
6520 2012-05-09 Andreas Jaeger <aj@suse.de>
6523 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6524 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6525 -Wconversion warning.
6526 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6529 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6531 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6533 (LC_ALL): Use macro-int-constant.
6534 (LC_COLLATE): Likewise.
6535 (LC_CTYPE): Likewise.
6536 (LC_MESSAGES): Likewise.
6537 (LC_MONETARY): Likewise.
6538 (LC_NUMERIC): Likewise.
6539 (LC_TIME): Likewise.
6540 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6541 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6543 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6545 [C99-based standards] (float_t): Expect type.
6546 [C99-based standards] (double_t): Expect type.
6547 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6549 [C99-based standards] (HUGE_VALL): Likewise.
6550 [C99-based standards] (INFINITY): Likewise.
6551 [C99-based standards] (NAN): Likewise.
6552 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6553 [C99-based standards] (FP_NAN): Likewise.
6554 [C99-based standards] (FP_NORMAL): Likewise.
6555 [C99-based standards] (FP_SUBNORMAL): Likewise.
6556 [C99-based standards] (FP_ZERO): Likewise.
6557 [C99-based standards] (FP_FAST_FMA): Use
6558 optional-macro-int-constant. Specify type. Require == 1.
6559 [C99-based standards] (FP_FAST_FMAF): Likewise.
6560 [C99-based standards] (FP_FAST_FMAL): Likewise.
6561 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6562 [C99-based standards] (FP_ILOGBNAN): Likewise.
6563 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6565 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6566 [C99-based standards] (math_errhandling): Specify type.
6567 [ISO99 || ISO11] (signgam): Do not allow.
6568 [non-C99-based standards] (copysignf): Do not allow.
6569 [non-C99-based standards] (exp2f): Likewise.
6570 [non-C99-based standards] (log2f): Likewise.
6571 [non-C99-based standards] (modff): Allow.
6572 [non-C99-based standards] (erff): Do not allow.
6573 [non-C99-based standards] (erfcf): Likewise.
6574 [non-C99-based standards] (gammaf): Likewise.
6575 [non-C99-based standards] (hypotf): Likewise.
6576 [non-C99-based standards] (j0f): Likewise.
6577 [non-C99-based standards] (j1f): Likewise.
6578 [non-C99-based standards] (jnf): Likewise.
6579 [non-C99-based standards] (lgammaf): Likewise.
6580 [non-C99-based standards] (tgammaf): Likewise.
6581 [non-C99-based standards] (y0f): Likewise.
6582 [non-C99-based standards] (y1f): Likewise.
6583 [non-C99-based standards] (ynf): Likewise.
6584 [non-C99-based standards] (isnanf): Likewise.
6585 [non-C99-based standards] (acoshf): Likewise.
6586 [non-C99-based standards] (asinhf): Likewise.
6587 [non-C99-based standards] (atanhf): Likewise.
6588 [non-C99-based standards] (cbrtf): Likewise.
6589 [non-C99-based standards] (expm1f): Likewise.
6590 [non-C99-based standards] (ilogbf): Likewise.
6591 [non-C99-based standards] (log1pf): Likewise.
6592 [non-C99-based standards] (logbf): Likewise.
6593 [non-C99-based standards] (nextafterf): Likewise.
6594 [non-C99-based standards] (remainderf): Likewise.
6595 [non-C99-based standards] (rintf): Likewise.
6596 [non-C99-based standards] (scalbf): Likewise.
6597 [non-C99-based standards] (copysignl): Likewise.
6598 [non-C99-based standards] (exp2l): Likewise.
6599 [non-C99-based standards] (log2l): Likewise.
6600 [non-C99-based standards] (modfl): Allow.
6601 [non-C99-based standards] (erfl): Do not allow.
6602 [non-C99-based standards] (erfcl): Likewise.
6603 [non-C99-based standards] (gammal): Likewise.
6604 [non-C99-based standards] (hypotl): Likewise.
6605 [non-C99-based standards] (j0l): Likewise.
6606 [non-C99-based standards] (j1l): Likewise.
6607 [non-C99-based standards] (jnl): Likewise.
6608 [non-C99-based standards] (lgammal): Likewise.
6609 [non-C99-based standards] (tgammal): Likewise.
6610 [non-C99-based standards] (y0l): Likewise.
6611 [non-C99-based standards] (y1l): Likewise.
6612 [non-C99-based standards] (ynl): Likewise.
6613 [non-C99-based standards] (isnanl): Likewise.
6614 [non-C99-based standards] (acoshl): Likewise.
6615 [non-C99-based standards] (asinhl): Likewise.
6616 [non-C99-based standards] (atanhl): Likewise.
6617 [non-C99-based standards] (cbrtl): Likewise.
6618 [non-C99-based standards] (expm1l): Likewise.
6619 [non-C99-based standards] (ilogbl): Likewise.
6620 [non-C99-based standards] (log1pl): Likewise.
6621 [non-C99-based standards] (logbl): Likewise.
6622 [non-C99-based standards] (nextafterl): Likewise.
6623 [non-C99-based standards] (remainderl): Likewise.
6624 [non-C99-based standards] (rintl): Likewise.
6625 [non-C99-based standards] (scalbl): Likewise.
6626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6627 [non-C99-based standards] (FP_*): Do not allow.
6628 [C99-based standards] (FP_*): Change to
6629 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6630 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6632 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6633 (SIG_ERR): Likewise.
6634 [X/Open-based standards] (SIG_HOLD): Likewise.
6635 (SIG_IGN): Likewise.
6636 (SIGABRT): Use macro-int-constant. Specify type. Require
6641 (SIGSEGV): Likewise.
6643 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6644 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6650 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6651 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6656 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6657 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6658 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6659 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6661 [X/Open-based standards] (SIGTRAP): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6663 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6664 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6665 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6666 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6669 2012-05-08 Ian Wienand <ianw@vmware.com>
6672 * time/tzset.c (__tzset_parse_tz): Update default rules for
6673 daylight time changes in the Energy Policy Act of 2005.
6675 2012-05-09 Andreas Jaeger <aj@suse.de>
6678 * elf/ldconfig.c (parse_conf): Change string to make clear that
6679 ldconfig only issued a warning if ld.so.conf does not exist.
6681 2012-05-08 David S. Miller <davem@davemloft.net>
6683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6684 movxtod instead of popping the value on the stack.
6686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6688 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6690 * config.h.in: Add HAVE_ARM_PCS_VFP.
6692 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6695 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6696 checking but the checks are disabled for any reason.
6698 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6700 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6701 and ELF64_R_TYPE with ELFW(R_TYPE).
6703 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6705 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6708 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6709 (settimeofday): Likewise.
6711 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6713 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6714 a struct th_u2 inside the union, and move tu_block/tu_code into
6715 a new th_u3 union of tu_block/tu_code inside of that. Move
6716 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6717 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6718 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6719 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6720 (th_stuff): Change to th_u1.tu_stuff.
6722 (th_msg): Change to th_u1.th_u2.tu_data.
6724 2012-05-07 David S. Miller <davem@davemloft.net>
6726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6729 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6730 (SETUP_PIC_REG): Use it.
6731 (SETUP_PIC_REG_LEAF): Use it.
6733 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6737 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6739 (EXPL_FINITE): Likewise.
6741 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6742 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6744 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6746 (EXPL_FINITE): Likewise.
6748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6749 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6751 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6752 test of -max_value argument for long double.
6753 * sysdeps/i386/fpu/libm-test-ulps: Update.
6754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6756 2012-05-06 David S. Miller <davem@davemloft.net>
6758 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6759 quad soft-float symbols whose references which are compiler
6761 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6763 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6769 (EXPL_FINITE): Likewise.
6773 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6774 Adjust comments for base varying.
6775 (__expl_finite): Change alias to EXPL_FINITE.
6776 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6778 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6779 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6781 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6784 (EXPL_FINITE): Likewise.
6788 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6789 Adjust comments for base varying.
6790 (__expl_finite): Change alias to EXPL_FINITE.
6791 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6796 * math/libm-test.inc (check_float_internal): Correct ulp
6797 calculation for subnormal expected results.
6799 2012-05-06 Andreas Jaeger <aj@suse.de>
6801 * Makeconfig (+math-flags): New, set to -frounding-math.
6802 (+cflags): Add +math-flags so that all of glibc gets compiled with
6805 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6807 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6809 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6815 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6816 (__ieee754_expl): Allow for and saturate large arguments.
6817 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6818 (u_threshold): Likewise.
6819 (__exp): Call __ieee754_exp before checking for overflow and
6821 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6822 (u_threshold): Likewise.
6823 (__expf): Call __ieee754_expf before checking for overflow and
6825 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6826 (u_threshold): Likewise.
6827 (__expl): Call __ieee754_expl before checking for overflow and
6829 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6830 (__ieee754_expl): Allow for and saturate large arguments.
6831 * math/libm-test.inc (exp_test): Add another test. Do not allow
6832 missing overflow exception on overflow.
6833 (expm1_test): Do not allow missing overflow exception on overflow.
6835 * sysdeps/i386/fpu/e_expl.c: Move to ...
6836 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6837 rather than using inline asm.
6838 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6839 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6840 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6842 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6849 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6851 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6852 sysdeps/unix/common/syscalls.list.
6855 (ftruncate): Likewise.
6856 (getrusage): Likewise.
6857 (gettimeofday): Likewise.
6858 (setpgid): Likewise.
6859 (setregid): Likewise.
6860 (setreuid): Likewise.
6861 (sigaction): Likewise.
6862 (truncate): Likewise.
6863 (vhangup): Likewise.
6864 * sysdeps/unix/common/syscalls.list: Remove file.
6865 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6866 * sysdeps/unix/sysv/linux/Implies: Likewise.
6868 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6870 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6872 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6876 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6879 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6882 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6885 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6888 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6891 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6894 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6898 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6902 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6905 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6909 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6913 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/unix/common/bits/dirent.h: Remove file.
6916 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6918 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6919 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6920 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6921 * sysdeps/unix/bsd/isatty.c: Likewise.
6922 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6923 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6924 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6926 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6930 long double comparison inaccuracies.
6931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6934 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6936 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6939 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6943 nonzero digits before rounding a hex value.
6944 * stdlib/tst-strtod.c (tests): Add another test.
6946 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6948 * sysdeps/s390/fpu/libm-test-ulps: Update.
6950 2012-05-03 Andreas Jaeger <aj@suse.de>
6952 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6953 does not get optimized out.
6954 (malloc_opt_barrier): New.
6956 2012-05-03 Andreas Jaeger <aj@suse.de>
6957 Roland McGrath <roland@hack.frob.com>
6959 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6960 intermediate file deletion.
6961 (generated): Add .symlist files.
6963 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6966 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6967 Redirect under this condition.
6968 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6969 [__USE_GNU] (__dprintf_chk): Not under this condition.
6970 [__USE_GNU] (__vdprintf_chk): Likewise.
6971 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6972 under this condition.
6973 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6974 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6975 [__USE_XOPEN2K8] (vdprintf): Likewise.
6976 [__USE_GNU] (__dprintf_chk): Not under this condition.
6977 [__USE_GNU] (__vdprintf_chk): Likewise.
6978 [__USE_GNU] (dprintf): Likewise.
6979 [__USE_GNU] (vdprintf): Likewise.
6981 2012-05-03 Roland McGrath <roland@hack.frob.com>
6983 * elf/Makefile (common-generated): Set this instead of generated for
6984 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6985 $(all-built-dso)-derived lists.
6987 2012-05-03 Andreas Jaeger <aj@suse.de>
6989 * sysdeps/i386/fpu/libm-test-ulps: Update.
6993 * scripts/gen-FAQ.pl: Likewise.
6994 * manual/install.texi (Installation): Point to online location of
6996 * Makefile (files-for-dist): Remove FAQ.
6999 2012-05-02 Allan McRae <allan@archlinux.org>
7001 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7002 (LDFLAGS-reldepmod5.so): Likewise.
7003 (LDFLAGS-reldep6mod1.so): Likewise.
7004 (LDFLAGS-reldep6mod4.so): Likewise.
7005 (LDFLAGS-reldep8mod3.so): Likewise.
7006 (LDFLAGS-unload4mod1.so): Likewise.
7007 (LDFLAGS-unload4mod2.so): Likewise.
7008 (LDFLAGS-tst-initorder): Likewise.
7009 (LDFLAGS-tst-initordera2.so): Likewise.
7010 (LDFLAGS-tst-initordera3.so): Likewise.
7011 (LDFLAGS-tst-initordera4.so): Likewise.
7012 (LDFLAGS-tst-initorderb2.so): Likewise.
7013 (LDFLAGS-noload): Likewise.
7014 (LDFLAGS-next): Likewise.
7015 (LDFLAGS-order2mod1.so): Likewise.
7016 (LDFLAGS-order2mod2.so): Likewise.
7017 (LDFLAGS-tst-initorder2): Likewise.
7018 (LDFLAGS-tst-initorder2a.so): Likewise.
7019 (LDFLAGS-tst-initorder2b.so): Likewise.
7020 (LDFLAGS-tst-initorder2c.so): Likewise.
7021 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7023 2012-05-02 David S. Miller <davem@davemloft.net>
7025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7027 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7030 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7032 2012-05-02 Andreas Jaeger <aj@suse.de>
7034 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7035 since we manipulate rounding mode.
7036 (CPPFLAGS-test-idouble.c): Likewise.
7037 (CPPFLAGS-test-ifloat.c): Likewise.
7038 (CFLAGS-test-ldouble.c): Likewise.
7039 (CFLAGS-test-double.c): Likewise.
7040 (CFLAGS-test-float.c): Likewise.
7041 (CFLAGS-test-misc.c): Likewise.
7042 (CFLAGS-test-test-fenv.c): Likewise.
7044 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7049 comparisons to determine direction to adjust input.
7051 2012-05-01 Roland McGrath <roland@hack.frob.com>
7053 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7054 output to the target.
7056 * scripts/localplt.awk: New file.
7057 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7058 (check-localplt-CFLAGS): Variable removed.
7059 ($(all-built-dso:=.jmprel)): New static pattern rule.
7060 (generated): Add those targets.
7061 (localplt-built-dso): New variable.
7062 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7064 * elf/check-localplt.c: File removed.
7066 * scripts/check-execstack.awk: New file.
7067 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7068 (check-execstack-CFLAGS): Variable removed.
7069 ($(objpfx)check-execstack.h): Target removed.
7070 ($(objpfx)execstack-default): New target.
7071 (generated): Add that instead of check-execstack.h.
7072 ($(all-built-dso:=.phdr)): New static pattern rule.
7073 (generated): Add those targets.
7074 * elf/check-execstack.c: File removed.
7076 * scripts/check-textrel.awk: New file.
7077 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7078 (check-textrel-CFLAGS): Variable removed.
7079 (all-built-dso): Use := to define.o
7080 ($(all-built-dso:=.dyn)): New static pattern rule.
7081 (generated): Add those targets.
7082 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7083 * config.make.in (READELF): New substituted variable.
7084 * elf/check-textrel.c: File removed.
7086 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7088 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7090 * conform/data/ctype.h-data [C99-based standards] (isblank):
7092 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7093 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7095 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7096 Specify type. Require positive value.
7099 [ISO || POSIX] (EILSEQ): Do not expect.
7100 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7101 Specify type. Require positive value.
7102 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7103 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7104 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7105 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7106 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7107 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7108 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7109 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7111 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7112 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7113 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7114 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7115 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7116 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7117 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7118 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7119 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7120 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7121 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7122 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7123 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7124 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7125 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7126 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7127 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7128 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7129 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7130 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7131 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7132 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7133 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7134 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7135 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7136 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7137 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7138 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7139 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7140 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7141 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7142 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7143 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7144 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7145 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7146 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7147 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7148 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7149 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7150 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7151 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7152 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7153 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7154 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7155 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7156 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7157 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7158 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7159 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7160 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7161 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7162 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7163 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7164 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7165 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7166 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7167 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7168 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7169 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7170 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7171 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7172 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7173 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7174 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7175 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7176 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7177 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7178 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7180 (FLT_ROUNDS): Expect as macro, not constant.
7181 (FLT_MANT_DIG): Use macro-int-constant.
7182 (DBL_MANT_DIG): Likewise.
7183 (LDBL_MANT_DIG): Likewise.
7184 (FLT_DIG): Likewise.
7185 (DBL_DIG): Likewise.
7186 (LDBL_DIG): Likewise.
7187 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7188 (DBL_MIN_EXP): Likewise.
7189 (LDBL_MIN_EXP): Likewise.
7190 (FLT_MAX_EXP): Use macro-int-constant.
7191 (DBL_MAX_EXP): Likewise.
7192 (LDBL_MAX_EXP): Likewise.
7193 (FLT_MAX_10_EXP): Likewise.
7194 (DBL_MAX_10_EXP): Likewise.
7195 (LDBL_MAX_10_EXP): Likewise.
7196 (FLT_MAX): Use macro-constant.
7197 (DBL_MAX): Likewise.
7198 (LDBL_MAX): Likewise.
7199 (FLT_EPSILON): Use macro-constant. Give upper bound.
7200 (DBL_EPSILON): Likewise.
7201 (LDBL_EPSILON): Likewise.
7202 (FLT_MIN): Likewise.
7203 (DBL_MIN): Likewise.
7204 (LDBL_MIN): Likewise.
7205 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7206 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7207 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7208 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7209 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7210 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7211 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7212 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7213 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7214 [ISO11] (FLT_TRUE_MIN): Likewise.
7215 [ISO11] (LDBL_TRUE_MIN): Likewise.
7216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7217 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7218 (SCHAR_MIN): Use macro-int-constant. Specify type.
7219 (SCHAR_MAX): Likewise.
7220 (UCHAR_MAX): Likewise.
7221 (CHAR_MIN): Likewise.
7222 (CHAR_MAX): Likewise.
7223 (MB_LEN_MAX): Use macro-int-constant.
7224 (SHRT_MIN): Use macro-int-constant. Specify type.
7225 (SHRT_MAX): Likewise.
7226 (USHRT_MAX): Likewise.
7227 (INT_MAX): Likewise.
7228 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7230 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7232 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7234 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7235 bound negative. Suffix upper bound with "L".
7236 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7238 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7240 [C99-based standards] (LLONG_MAX): Likewise.
7241 [C99-based standards] (ULLONG_MAX): Likewise.
7242 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7244 [ISO11] (max_align_t): Require type.
7245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7247 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7248 from $CFLAGS, without defining away __attribute__ calls.
7249 (checknamespace): Use $CFLAGS_namespace.
7251 * conform/conformtest.pl (@keywords): Only include C99 keywords
7252 for standards based on C99 or C11.
7254 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7256 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7259 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7260 usability of symbols in #if.
7262 * conform/conformtest.pl: If macro or constant types start
7263 "promoted:", expect the symbol to be of the following type
7264 promoted by the integer promotions.
7266 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7267 in one place. Also handle "macro-constant".
7269 * conform/conformtest.pl: Only accept expected macro values with
7270 "==". Parse all "macro" lines in one place.
7271 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7273 * conform/conformtest.pl: Handle braced types on "constant" lines
7274 instead of handling "typed-constant".
7275 * conform/data/signal.h-data: Use "constant" instead of
7278 * conform/conformtest.pl: Handle "optional-" at start of lines in
7279 one place rather than duplicating several cases. Handle each
7280 format of "macro" line with initial "optional-".
7282 * conform/conformtest.pl: Only accept expected constant or
7283 optional-constant values with "==". Parse all "constant" lines in
7284 one place. Parse all "optional-constant" lines in one place.
7285 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7286 * conform/data/fmtmsg.h-data: Likewise.
7287 * conform/data/netinet/in.h-data: Likewise.
7288 * conform/data/tar.h-data: Likewise.
7289 * conform/data/limits.h-data: Use "==" form on "constant" and
7290 "optional-constant" lines.
7292 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7293 Use -std=c99 for XOPEN2K.
7294 (@knownproblems): Remove.
7295 (newtoken): Don't check %isknown.
7297 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7298 Do not expect macro.
7299 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7311 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7312 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7329 [XPG3] (acosh): Likewise.
7330 [XPG3] (asinh): Likewise.
7331 [XPG3] (atanh): Likewise.
7332 [XPG3] (cbrt): Likewise.
7333 [XPG3] (expm1): Likewise.
7334 [XPG3] (ilogb): Likewise.
7335 [XPG3] (log1p): Likewise.
7336 [XPG3] (logb): Likewise.
7337 [XPG3] (nextafter): Likewise.
7338 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7340 [XPG3] (remainder): Likewise.
7341 [XPG3] (rint): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7347 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7348 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7349 [UNIX98 || XOPEN2K] (scalb): Expect.
7350 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7351 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7364 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7365 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7366 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7367 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7368 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7378 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7379 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7385 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7386 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7387 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7388 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7389 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7390 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7391 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7392 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7393 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7396 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7397 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7398 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7400 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7401 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7402 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7403 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7404 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7405 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7406 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7407 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7446 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7447 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7448 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7449 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7452 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7453 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7466 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7467 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7468 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7488 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7489 _XOPEN_SOURCE_EXTENDED for XPG4.
7491 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7493 * Makeconfig (localtime): Remove variable.
7494 (inst_localtime-file): Likewise.
7496 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7517 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7521 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7522 comparisons to determine direction to adjust input.
7523 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7524 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7531 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7532 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7534 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7536 * math/libm-test.inc (nexttoward_test): Add more tests.
7538 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7541 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7542 in version GLIBC_2.1, not GLIBC_2.0.
7543 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7546 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7549 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7551 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7552 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7553 * math/libm-test.inc (acos_test): Add more tests.
7554 (asin_test): Likewise.
7555 * sysdeps/i386/fpu/libm-test-ulps: Update.
7556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7559 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7561 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7562 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7563 * math/libm-test.inc (acos_test_tonearest): New function.
7564 (acos_test_towardzero): Likewise.
7565 (acos_test_downward): Likewise.
7566 (acos_test_upward): Likewise.
7567 (asin_test_tonearest): Likewise.
7568 (asin_test_towardzero): Likewise.
7569 (asin_test_downward): Likewise.
7570 (asin_test_upward): Likewise.
7571 (main): Call the new functions.
7572 * sysdeps/i386/fpu/libm-test-ulps: Update.
7573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7577 * math/e_exp10.c: Include <float.h>.
7578 (__ieee754_exp10): Handle underflow here rather than multiplying
7579 large negative argument by M_LN10.
7580 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7582 * math/e_exp10l.c: Include <float.h>.
7583 (__ieee754_exp10l): Handle underflow here rather than multiplying
7584 large negative argument by M_LN10l.
7585 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7586 spurious overflow exception on underflow.
7588 2012-04-29 Marek Polacek <polacek@redhat.com>
7590 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7591 (__fortify_function): New macro.
7592 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7593 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7594 __extern_always_inline.
7595 * libio/bits/stdio2.h: Likewise.
7596 * libio/bits/stdio.h: Likewise.
7597 * string/string.h: Likewise.
7598 * string/bits/string3.h: Likewise.
7599 * include/stdio.h: Likewise.
7600 * stdlib/bits/stdlib.h: Likewise.
7601 * stdlib/stdlib.h: Likewise.
7602 * rt/bits/mqueue2.h: Likewise.
7603 * rt/mqueue.h: Likewise.
7604 * posix/bits/unistd.h: Likewise.
7605 * posix/unistd.h: Likewise.
7606 * io/bits/poll2.h: Likewise.
7607 * io/bits/fcntl2.h: Likewise.
7608 * io/fcntl.h: Likewise.
7609 * io/sys/poll.h: Likewise.
7610 * misc/bits/syslog.h: Likewise.
7611 * misc/bits/syslog-ldbl.h: Likewise.
7612 * misc/sys/syslog.h: Likewise.
7613 * socket/bits/socket2.h: Likewise.
7614 * socket/sys/socket.h: Likewise.
7615 * debug/tst-chk1.c: Likewise.
7616 * wcsmbs/bits/wchar2.h: Likewise.
7617 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7618 * wcsmbs/wchar.h: Likewise.
7620 2012-04-29 Andreas Jaeger <aj@suse.de>
7622 * Makerules (tests): Remove enable-check-abi protection.
7623 (check-abi-warn): Remove.
7624 (check-abi-%): Remove check-abi-warn usage.
7626 * configure.in: Remove check-abi configure option.
7627 * configure: Regenerated.
7628 * config.make.in (enable-check-abi): Remove.
7630 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7633 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7634 double functions to double *_finite functions.
7637 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7638 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7640 * stdio-common/Makefile (tests): Add tst-sprintf3.
7641 * stdio-common/tst-sprintf3.c: New file.
7643 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7644 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7646 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7648 * conform/conformtest.pl: Remove duplicate typed-constant
7651 2012-04-28 David S. Miller <davem@davemloft.net>
7653 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7654 (check-abi-%): Remove AWK script prerequisite and explicit
7656 (check-abi): Rewrite to just diff the symlist with the abilist.
7657 (config-tls, config-abi-config): Delete, no longer used.
7658 (update-abi-%): Remove AWK script and explicit abilist directory.
7659 (update-abi): Rewrite to simply compare and conditionally copy the
7660 symlist and the sysdep abilist file. Remove update-abi-config
7662 * abilist/ld.abilist: Remove.
7663 * abilist/libBrokenLocale.abilist: Remove.
7664 * abilist/libanl.abilist: Remove.
7665 * abilist/libcrypt.abilist: Remove.
7666 * abilist/libdl.abilist: Remove.
7667 * abilist/librt.abilist: Remove.
7668 * abilist/libthread_db.abilist: Remove.
7669 * abilist/libutil.abilist: Remove.
7670 * scripts/extract-abilist.awk: Remove.
7671 * scripts/merge-abilist.awk: Remove.
7672 * sysdeps/generic/libcidn.abilist: New file.
7673 * sysdeps/generic/libnss_compat.abilist: New file.
7674 * sysdeps/generic/libnss_db.abilist: New file.
7675 * sysdeps/generic/libnss_dns.abilist: New file.
7676 * sysdeps/generic/libnss_files.abilist: New file.
7677 * sysdeps/generic/libnss_hesiod.abilist: New file.
7678 * sysdeps/generic/libnss_nis.abilist: New file.
7679 * sysdeps/generic/libnss_nisplus.abilist: New file.
7680 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7681 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7682 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7684 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7685 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7686 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7687 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7688 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7689 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7690 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7691 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7692 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7694 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7695 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7696 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7697 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7699 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7700 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7701 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7702 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7703 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7704 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7706 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7707 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7708 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7710 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7814 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7815 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7818 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7819 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7820 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7821 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7822 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7823 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7824 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7825 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7826 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7878 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7880 * conform/conformtest.pl: Fix typo in handling typed-constant from
7883 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7885 * README: Cut down references to pre-2.6 Linux kernels and
7886 Linuxthreads. Update lists of configurations in libc and ports
7887 and sort alphabetically. Say "or newer" with Linux kernel version
7890 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7892 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7895 * math/libm-test.inc (logb_test_downward): New test to expose
7896 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7899 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7902 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7904 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7905 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7907 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7909 * sysdeps/unix/i386/brk.S: Remove file.
7910 * sysdeps/unix/i386/dl-brk.S: Likewise.
7911 * sysdeps/unix/i386/pipe.S: Likewise.
7912 * sysdeps/unix/i386/sigreturn.S: Likewise.
7913 * sysdeps/unix/i386/syscall.S: Likewise.
7914 * sysdeps/unix/i386/vfork.S: Likewise.
7915 * sysdeps/unix/i386/wait.S: Likewise.
7917 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7918 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7920 * configure.in (arm*-none*): Do not allow without
7921 --enable-hacker-mode.
7922 (netbsd*): Remove case setting base_os.
7923 (386bsd*): Likewise.
7924 (freebsd*): Likewise.
7928 (ultrix*): Likewise.
7929 (newsos*): Likewise.
7939 (solaris[2-9]*): Likewise.
7941 * configure: Regenerated.
7943 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7946 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7947 overflow or cancellation in calculating denominator.
7948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7950 down expression to avoid unexpected rounding in newer GCCs.
7951 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7953 2012-04-26 David S. Miller <davem@davemloft.net>
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7956 long-double compat symbols.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7971 2012-04-25 David S. Miller <davem@davemloft.net>
7973 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7974 HWCAP_* values only after the memory barriers have been defined.
7975 (atomic_full_barrier): Define.
7976 (atomic_read_barrier): Define.
7977 (atomic_write_barrier): Define.
7979 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7981 * shlib-versions: Add libgcc_s version information.
7982 * sysdeps/generic/libgcc_s.h: Remove.
7983 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7985 * sysdeps/gnu/unwind-resume.c: Likewise.
7986 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7988 2012-04-25 David S. Miller <davem@davemloft.net>
7990 * sysdeps/unix/sparc/brk.S: Delete.
7991 * sysdeps/unix/sparc/dl-brk.S: Delete.
7992 * sysdeps/unix/sparc/pipe.S: Delete.
7993 * sysdeps/unix/sparc/sysdep.S: Delete.
7994 * sysdeps/unix/sparc/sysdep.h: Delete.
7995 * sysdeps/unix/sparc/vfork.S: Delete.
7996 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7997 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7999 ret_ERRVAL, r0, r1, MOVE): Define.
8000 (JUMPTARGET): Remove.
8001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8002 sysdeps/unix/sparc/sysdep.h
8003 (ENTRY, END): Remove.
8004 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8006 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8008 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8009 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8012 * timezone/README: Update upstream location and email address for
8014 * timezone/zdump.c: Update from tzcode 2012b.
8015 * timezone/zic.c: Likewise.
8017 * configure.in (libc_cv_as_needed): Remove test.
8018 * configure: Regenerated.
8019 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8020 conditional definition.
8021 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8022 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8023 * config.make.in (have-as-needed): Remove variable.
8025 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8026 Paul Pluzhnikov <ppluzhnikov@google.com>
8028 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8031 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8033 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8034 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8035 * sysdeps/sh/strlen.S: Likewise.
8037 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8039 * sysdeps/unix/fork.S: Remove file.
8040 * sysdeps/unix/i386/fork.S: Likewise.
8041 * sysdeps/unix/sparc/fork.S: Likewise.
8043 * sysdeps/unix/system.c: Remove file.
8044 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8046 * sysdeps/unix/getegid.S: Remove file.
8047 * sysdeps/unix/geteuid.S: Likewise.
8049 2012-04-24 Roland McGrath <roland@hack.frob.com>
8051 * scripts/check-localplt.awk: New file.
8052 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8054 * scripts/data/localplt-generic.data: Add a comment.
8056 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8057 NODE when __dir_mkfile failed.
8058 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8059 Reported by Ludovic Courtès <ludo@gnu.org>.
8061 2012-04-24 Andreas Jaeger <aj@suse.de>
8063 * Makerules (common-clean): Also remove gen-as-const-headers
8066 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8068 * Makerules (native-compile): Do not change working directory for
8069 build. Use $(OUTPUT_OPTION) in command.
8070 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8072 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8075 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8076 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8077 * math/libm-test.inc (floor_test): Add more tests.
8078 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8080 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8082 * sysdeps/unix/getdents.c: Remove file.
8083 * sysdeps/unix/sysv/getdents.c: Likewise.
8084 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8086 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8087 sysdeps/unix/mman/syscalls.list.
8089 (mprotect): Likewise.
8092 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8093 * sysdeps/unix/mman/syscalls.list: Remove.
8094 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8096 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8097 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8098 * configure: Regenerated.
8099 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8101 * config.make.in (libgcc_s_suffix): Remove variable.
8103 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8105 * sysdeps/unix/sysv/gethostname.c: Move to ...
8106 * sysdeps/posix/gethostname.c: ... here.
8108 * sysdeps/unix/execve.S: Remove file.
8110 * sysdeps/unix/_exit.S: Remove file.
8112 2012-04-23 Andreas Jaeger <aj@suse.de>
8115 * manual/Makefile: Remove make dist support, there's no
8116 need for a stand-alone documentation tar ball.
8117 (TEXI2DVI): Define always, it's not in Makeconfig.
8121 (glibc-doc-$(edition).tar): Removed
8125 (ETAGS): Remove, it's in Makeconfig.
8126 (move-if-change): Remove, it's in Makeconfig.
8128 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8131 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8132 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8133 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8134 (strtod_l, strtof_l, strtold_l): Remove __wur.
8135 It is not necessarily an error to ignore strtol's return value.
8136 One can reliably look at the stored endptr to decide whether
8137 the number had valid syntax.
8139 2012-04-21 Andreas Jaeger <aj@suse.de>
8142 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8144 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8146 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8147 * sysdeps/unix/sysv/Versions: Remove file.
8149 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8154 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8158 version from __vm86.
8160 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8162 * sysdeps/unix/common/lxstat.c: Remove file.
8163 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8165 * sysdeps/unix/sysv/Makefile: Remove file.
8167 * sysdeps/unix/sysv/direct.h: Remove file.
8169 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8170 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8171 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8172 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8173 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8174 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8175 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8177 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8179 * sysdeps/unix/xmknod.c: Remove file.
8180 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8182 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8184 * sysdeps/unix/sysv/i386/time.S: Remove file.
8186 * sysdeps/unix/fxstat.c: Remove file.
8187 * sysdeps/unix/xstat.c: Likewise.
8188 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8190 * sysdeps/unix/sysv/sigaction.c: Remove file.
8192 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8193 (sysdep_headers): Remove variable.
8194 [termio.h not in sysdep_headers] (generated): Likewise.
8195 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8196 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8197 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8198 * sysdeps/unix/sysv/tcflow.c: Likewise.
8199 * sysdeps/unix/sysv/tcflush.c: Likewise.
8200 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8201 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8202 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8203 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8204 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8206 * sysdeps/unix/siglist.c: Remove file.
8208 * sysdeps/unix/getppid.S: Remove file.
8210 * sysdeps/unix/mkdir.c: Remove file.
8211 * sysdeps/unix/rmdir.c: Likewise.
8213 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8215 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8217 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8218 errlist-compat value.
8220 2012-04-18 David S. Miller <davem@davemloft.net>
8222 * sysdeps/generic/memcopy.h (reg_char): Delete.
8223 * debug/strcat_chk.c: Use char, not reg_char.
8224 * debug/strcpy_chk.c: Likewise.
8225 * debug/strncat_chk.c: Likewise.
8226 * debug/strncpy_chk.c: Likewise.
8227 * string/memchr.c: Likewise.
8228 * string/memrchr.c: Likewise.
8229 * string/rawmemchr.c: Likewise.
8230 * string/strcat.c: Likewise.
8231 * string/strchr.c: Likewise.
8232 * string/strchrnul.c: Likewise.
8233 * string/strcmp.c: Likewise.
8234 * string/strcpy.c: Likewise.
8235 * string/strncat.c: Likewise.
8236 * string/strncmp.c: Likewise.
8237 * string/strncpy.c: Likewise.
8239 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8241 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8242 __builtin_memcopy is called when src and dest ranges are known to not
8245 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8247 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8248 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8249 fwd_align_merge macro call.
8250 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8251 bwd_align_merge macro call.
8252 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8254 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8256 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8257 bwd_align_merge macros.
8258 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8259 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8260 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8262 2012-04-18 David S. Miller <davem@davemloft.net>
8264 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8266 2012-04-18 Andreas Jaeger <aj@suse.de>
8269 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8270 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8271 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8273 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8274 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8275 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8277 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8278 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8279 Adjust for changed ldbl-128 files.
8281 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8282 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8283 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8285 2012-04-17 David S. Miller <davem@davemloft.net>
8287 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8289 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8291 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8292 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8293 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8294 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8295 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8298 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8301 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8302 * math/libm-test.inc: Add ilogb errno and exception tests.
8303 * math/w_ilogb.c: New file: ilogb wrapper.
8304 * math/w_ilogbf.c: New file: ilogbf wrapper.
8305 * math/w_ilogbl.c: New file: ilogbl wrapper.
8306 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8307 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8308 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8309 exception being thrown with 0.0 as argument.
8310 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8311 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8312 exception being thrown with 0.0 as argument.
8313 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8314 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8315 exception being thrown with 0.0 as argument.
8316 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8317 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8318 exception being thrown with 0.0 as argument.
8319 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8320 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8321 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8322 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8323 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8324 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8325 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8326 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8327 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8329 2012-04-17 Petr Baudis <pasky@ucw.cz>
8331 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8334 2012-04-16 Marek Polacek <polacek@redhat.com>
8336 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8338 2012-04-16 Marek Polacek <polacek@redhat.com>
8340 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8341 operands of fdivp instruction.
8343 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8345 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8346 * elf/tst-auditmod3b.c: Likewise.
8347 * elf/tst-auditmod4b.c: Likewise.
8348 * elf/tst-auditmod5b.c: Likewise.
8349 * elf/tst-auditmod6b.c: Likewise.
8350 * elf/tst-auditmod6c.c: Likewise.
8351 * elf/tst-auditmod7b.c: Likewise.
8352 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8353 * sysdeps/x86_64/preconfigure.in: Likewise.
8354 * sysdeps/x86_64/preconfigure: Regenerated.
8356 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8358 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8361 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8363 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8364 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8366 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8369 * locale/iso-639.def: Fix gl language name. Spotted by
8372 2012-04-12 Roland McGrath <roland@hack.frob.com>
8375 * libio/libio.h (__io_write_fn): Update comment.
8377 2012-04-12 Petr Baudis <pasky@ucw.cz>
8380 * stdio.texi (Hook Functions): The user provided writer function
8381 is not allowed to return -1.
8383 2012-04-11 David S. Miller <davem@davemloft.net>
8385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8387 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8389 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8390 Add a leading slash to rtkaio.
8392 2012-04-11 Jim Meyering <meyering@redhat.com>
8395 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8396 It is not necessarily an error to ignore fwrite's return
8397 value. One can reliably use ferror to test for errors after
8400 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8402 * bits/types.h (__snseconds_t): New type.
8403 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8405 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8407 (__SNSECONDS_T_TYPE): Likewise.
8408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8409 (__SNSECONDS_T_TYPE): Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8411 (__SNSECONDS_T_TYPE): Likewise.
8413 2012-04-10 Andreas Jaeger <aj@suse.de>
8416 * manual/time.texi (Processor Time): Return type of times is
8417 elapsed real time since an arbitrary point in the past.
8418 (CPU Time): Move CLK_TCK from here...
8419 (Processor Time): ...to here. Correct description.
8420 * manual/conf.texi (Constants for Sysconf): Correct description of
8423 2012-04-10 David S. Miller <davem@davemloft.net>
8426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8427 where the is a gap between DT_REL(A) and DT_JMPREL.
8429 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8431 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8432 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8433 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8435 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8437 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8438 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8439 (dl_main): Handle --inhibit-cache.
8440 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8442 * elf/dl-load.c (_dl_map_object): Use it.
8443 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8445 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8448 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8449 (__ieee754_powl): Saturate large exponents rather than testing for
8450 overflow of y*log2(x).
8451 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8452 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8456 * math/s_ctan.c: Include <float.h>.
8457 (__ctan): Avoid internal overflow or cancellation in calculating
8459 * math/s_ctanf.c: Likewise.
8460 * math/s_ctanl.c: Likewise.
8461 * math/s_ctanh.c: Likewise.
8462 * math/s_ctanhf.c: Likewise.
8463 * math/s_ctanhl.c: Likewise.
8464 * math/libm-test.inc (ctan_test): Add more tests.
8465 (ctanh_test): Likewise.
8466 * sysdeps/i386/fpu/libm-test-ulps: Update.
8467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8469 2012-04-09 Andreas Jaeger <aj@suse.de>
8472 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8473 is an optional BSD extension.
8476 * manual/stdio.texi (Opening Streams): Document additional fopen
8479 2012-04-09 Roland McGrath <roland@hack.frob.com>
8481 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8482 %eax without telling the compiler.
8484 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8487 * manual/install.texi: Use sourceware.org.
8489 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8492 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8493 (__ieee754_pow): Generate overflow and underflow using huge*huge
8494 and tiny*tiny rather than just returning constant infinity or zero
8495 for large exponents.
8496 * math/libm-test.inc (pow_test): Require overflow exceptions for
8497 applicable cases of large exponents.
8500 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8501 (__ieee754_pow): Use iterative multiplication algorithm only for
8502 integer exponents with absolute value below 1024. Check for odd
8503 integer exponents when using algorithm for real exponents.
8504 * math/libm-test.inc (pow_test): Add more tests.
8505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8507 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8510 * math/libm-test.inc (exp_test): Do not allow overflow exception
8513 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8516 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8517 instead of __kernel_standard_f.
8519 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8521 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8522 * sysdeps/x86_64/memset_chk.S: Likewise.
8524 2012-04-08 Andreas Jaeger <aj@suse.de>
8527 * manual/startup.texi (Environment Access): Describe return value
8528 for putenv and setenv.
8531 * manual/filesys.texi (Directory Entries): Add description for
8535 * manual/filesys.texi (Directory Entries): Clarify that it's file
8536 system not operating system in the description of DT_UNKNOWN.
8539 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8541 2012-04-08 Stephen Compall <s11@member.fsf.org>
8544 * manual/llio.texi (Opening and Closing Files): Add cross
8545 reference to explain mode argument.
8547 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8549 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8550 * sysdeps/x86_64/memset_chk.S: Likewise.
8552 2012-04-07 David S. Miller <davem@davemloft.net>
8554 * elf/elf.h (R_SPARC_WDISP10): Define.
8555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8558 R_SPARC_SIZE64 and R_SPARC_H34.
8560 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8562 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8563 conditions and remove no longer applicable assertion.
8565 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8567 * bits/byteswap.h: Include <features.h>.
8568 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8569 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8571 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8573 * bits/byteswap.h (__bswap_16): Removed.
8574 Include <bits/byteswap-16.h> to get __bswap_16.
8575 * sysdeps/i386/bits/byteswap.h: Likewise.
8576 * sysdeps/s390/bits/byteswap.h: Likewise.
8577 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8578 * bits/byteswap-16.h: New file.
8579 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8580 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8581 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8582 * string/Makefile (headers): Add bits/byteswap-16.h.
8584 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8587 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8589 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8590 * nss/tst-nss-static.c: New.
8592 2012-04-06 Robert Millan <rmh@gnu.org>
8595 * manual/llio.texi (File Position Primitive): lseek
8596 refers to WHENCE when it really means OFFSET.
8598 2012-04-06 Andreas Jaeger <aj@suse.de>
8600 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8601 strncmp declarations.
8603 * abilist/libc.abilist: Add __poll and __ppoll.
8605 2012-04-05 David S. Miller <davem@davemloft.net>
8607 * scripts/check-local-headers.sh: Accept a host triplet in the
8608 path matched by the exclude regexp.
8610 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8612 * sysdeps/powerpc/powerpc32/dl-machine.h
8613 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8614 * sysdeps/s390/s390-32/dl-machine.h
8615 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8616 * sysdeps/sparc/sparc32/dl-machine.h
8617 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8618 * sysdeps/sparc/sparc64/dl-machine.h
8619 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8621 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8623 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8624 undefined symbol errors.
8626 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8629 2012-04-05 Michael Matz <matz@suse.de>
8632 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8634 2012-04-05 Andreas Jaeger <aj@suse.de>
8637 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8640 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8642 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8643 which ROUND is no valid rounding mode.
8645 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8647 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8649 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8651 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8653 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8654 an exception using FPU order intentionally.
8656 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8658 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8659 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8660 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8661 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8663 2012-04-05 Simon Josefsson <simon@josefsson.org>
8666 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8667 EINVAL when BUFLEN is too smal.
8669 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8672 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8673 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8675 2012-04-03 Andreas Jaeger <aj@suse.de>
8678 * manual/setjmp.texi (System V contexts): Fix sentence.
8681 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8682 New macro for this case.
8683 [!__GNUC__] (__bswap_64): New inline function for this case.
8684 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8685 * bits/byteswap.h: Likewise.
8686 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8687 ull, guard with __GLIBC_HAVE_LONG_LONG.
8689 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8690 __GLIBC_HAVE_LONG_LONG.
8692 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8693 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8695 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8698 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8699 inptr and inend, rather than using last_ch.
8701 2012-04-02 David S. Miller <davem@davemloft.net>
8703 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8704 * stdio-common/printf-parse.h (read_int): Change return type to
8705 'int', return -1 on INT_MAX overflow.
8706 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8707 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8708 overflows INT_MAX. Check for overflow of in-format-string precision
8709 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8710 SIZE_MAX not INT_MAX for integer overflow test.
8711 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8712 skip the construct in the format string but do not record anything.
8713 * stdio-common/bug22.c: Adjust to test both width/prevision
8714 INT_MAX overflow as well as total length INT_MAX overflow. Check
8715 explicitly for proper errno values.
8717 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8719 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8721 * string/test-strcmp.c [! WIDE]: Likewise.
8722 * time/tst-mktime2.c: Likewise for INT_MAX.
8723 * string/test-string.h: #include <sys/param.h> for MIN.
8725 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8726 * sysdeps/i386/init-first.c (init): Likewise.
8727 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8728 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8729 * sysdeps/sh/init-first.c (init): Likewise.
8731 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8733 * po/ru.po: Update from translation team.
8734 * po/vi.po: Likewise.
8736 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8738 * resolv/nss_dns/dns-host.c: Merge copyright years.
8740 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8742 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8743 Optimize memcpy with prefetch if
8744 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8745 src, dst pointers have unequal 16 byte alignments.
8747 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8750 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8751 from a CNAME entry and return the minimum ttl for the query.
8752 (gaih_getanswer_slice): Likewise.
8754 2012-03-30 Jeff Law <law@redhat.com>
8756 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8758 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8759 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8761 * resolv/nss_dns/dns-host.c: Update copyright year.
8763 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8765 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8766 requests to save a system call. Fix check that all bytes are sent.
8768 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8769 comments for sendmmsg.
8771 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8774 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8775 with only 1 character between 0x0041 and 0x01b0.
8776 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8777 * wcsmbs/tst-mbsnrtowcs.c: New file.
8779 2012-03-29 David S. Miller <davem@davemloft.net>
8781 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8782 small copies by hand.
8784 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8787 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8788 _nss_compat_initgroups_dyn): Fall back to malloc/free
8789 for large group memberships.
8791 2012-03-28 David S. Miller <davem@davemloft.net>
8793 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8794 that branches into memcpy.
8795 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8797 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8798 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8801 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8803 * sysdeps/sparc/mempcpy.S: New file.
8805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8806 the IFUNC routine in the libc case.
8807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8809 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8810 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8811 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8812 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8813 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8814 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8815 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8816 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8818 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8819 loop to 256 bytes instead of 64 bytes and fix test signedness.
8821 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8822 * sysdeps/sparc/sparc32/Makefile: rather than here...
8823 * sysdeps/sparc/sparc64/Makefile: and here.
8825 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8827 * malloc/mallocbug.c: Avoid warnings about unused variables.
8829 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8832 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8833 in the right place. Discard and retry query if response is
8834 larger than input buffer size.
8836 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8841 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8842 x for large integer exponent.
8843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8844 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8845 sign of result as needed afterwards.
8846 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8847 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8848 result for underflowing pow the same as for overflow.
8849 (__kernel_standard_l): Handle powl overflow and underflow here
8850 rather than calling __kernel_standard.
8851 * math/libm-test.inc (pow_test): Add more tests.
8866 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8867 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8868 (__kernel_standard_l): New function.
8869 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8871 * math/w_acosl.c (__acosl): Likewise.
8872 * math/w_asinl.c (__asinl): Likewise.
8873 * math/w_atan2l.c (__atan2l): Likewise.
8874 * math/w_atanhl.c (__atanhl): Likewise.
8875 * math/w_coshl.c (__coshl): Likewise.
8876 * math/w_exp10l.c (__exp10l): Likewise.
8877 * math/w_exp2l.c (__exp2l): Likewise.
8878 * math/w_fmodl.c (__fmodl): Likewise.
8879 * math/w_hypotl.c (__hypotl): Likewise.
8880 * math/w_j0l.c (__j0l, __y0l): Likewise.
8881 * math/w_j1l.c (__j1l, __y1l): Likewise.
8882 * math/w_jnl.c (__jnl, __ynl): Likewise.
8883 * math/w_lgammal.c (__lgammal): Likewise.
8884 * math/w_log10l.c (__log10l): Likewise.
8885 * math/w_log2l.c (__log2l): Likewise.
8886 * math/w_logl.c (__logl): Likewise.
8887 * math/w_powl.c (__powl): Likewise.
8888 * math/w_remainderl.c (__remainderl): Likewise.
8889 * math/w_scalbl.c (sysv_scalbl): Likewise.
8890 * math/w_sinhl.c (__sinhl): Likewise.
8891 * math/w_sqrtl.c (__sqrtl): Likewise.
8892 * math/w_tgammal.c (__tgammal): Likewise.
8893 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8894 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8895 * math/libm-test.inc (acos_test): Add more tests.
8896 (acosh_test): Likewise.
8897 (asin_test): Likewise.
8898 (atanh_test): Likewise.
8899 (exp_test): Likewise.
8900 (exp10_test): Likewise.
8901 (exp2_test): Likewise.
8902 (expm1_test): Likewise.
8903 (lgamma_test): Likewise.
8904 (log_test): Likewise.
8905 (log10_test): Likewise.
8906 (log1p_test): Likewise.
8907 (log2_test): Likewise.
8908 (pow_test): Do not allow some spurious overflow exceptions.
8909 (sqrt_test): Add more tests.
8910 (tgamma_test): Likewise.
8911 (y0_test): Likewise.
8912 (y1_test): Likewise.
8913 (yn_test): Likewise.
8915 2012-03-27 Anton Blanchard <anton@samba.org>
8917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8919 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8920 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8921 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8923 2012-03-27 David S. Miller <davem@davemloft.net>
8925 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8927 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8930 2012-03-27 Andreas Jaeger <aj@suse.de>
8932 * sysdeps/x86_64/elf/configure.in: Moved to ...
8933 * sysdeps/x86_64/configure.in: ... here.
8934 * sysdeps/x86_64/elf/start.S: Moved to ...
8935 * sysdeps/x86_64/start.S: ... here.
8936 * sysdeps/x86_64/elf/configure: Delete.
8938 * sysdeps/x86_64/configure.in: Merge contents from
8939 sysdeps/i386/configure.in (without i686 check).
8941 * sysdeps/i386/elf/Versions: Merge into ...
8942 * sysdeps/i386/Versions: ... this.
8943 * sysdeps/i386/elf/Versions: Delete file.
8944 * sysdeps/i386/elf/start.S: Moved to ...
8945 * sysdeps/i386/start.S: ...here.
8946 * sysdeps/i386/elf/configure.in: Merge into...
8947 * sysdeps/i386/configure.in: ...here.
8948 * sysdeps/i386/elf/configure.in: Delete file.
8949 * sysdeps/i386/elf/configure: Delete file.
8951 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8952 * debug/backtracesyms.c: ... here.
8953 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8954 * debug/backtracesymsfd.c: ... here.
8955 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8956 * sysdeps/generic/ifunc-sel.h: ... here.
8958 * sysdeps/unix/i386/start.c: Delete file.
8959 * sysdeps/unix/sparc/start.c: Delete file.
8960 * sysdeps/unix/start.c: Delete file.
8962 * sysdeps/sh/elf/configure.in: Moved to ...
8963 * sysdeps/sh/configure.in: ... here.
8964 * sysdeps/sh/elf/start.S: Moved to ...
8965 * sysdeps/sh/start.S: ... here.
8966 * sysdeps/sh/elf/configure: Delete file.
8968 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8969 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8970 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8971 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8972 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8973 * sysdeps/powerpc/powerpc64/start.S: here.
8974 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8975 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8976 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8977 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8978 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8980 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8981 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8982 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8983 * sysdeps/powerpc/powerpc32/start.S: ... here.
8984 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8985 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8986 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8988 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8989 * sysdeps/powerpc/ifunc-sel.h: ... here.
8990 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8991 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8993 * sysdeps/sparc/elf/configure.in: Moved to ...
8994 * sysdeps/sparc/configure.in: ... here.
8995 * sysdeps/sparc/elf/configure: Delete file.
8996 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8997 * sysdeps/sparc/sparc32/start.S: ... here.
8998 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8999 * sysdeps/sparc/sparc64/start.S: ... here.
9000 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9001 * sysdeps/sparc/sparc32/Makefile: ... this.
9002 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9003 * sysdeps/sparc/sparc64/Makefile: ... this.
9005 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9006 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9007 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9008 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9009 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9010 * sysdeps/s390/s390-32/setjmp.S: ... here.
9011 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9012 * sysdeps/s390/s390-32/configure.in: ... here.
9013 * sysdeps/s390/s390-32/elf/configure: Delete file.
9014 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9015 * sysdeps/s390/s390-32/start.S: ... here.
9017 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9018 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9019 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9020 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9021 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9022 * sysdeps/s390/s390-64/setjmp.S: ... here.
9023 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9024 * sysdeps/s390/s390-64/configure.in: ... here
9025 * sysdeps/s390/s390-64/elf/configure: Delete file.
9026 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9027 * sysdeps/s390/s390-64/start.S: ... here.
9028 * sysdeps/s390/s390-64/elf/configure: Delete.
9030 * configure.in: Remove support for elf directories in sysdeps.
9032 * configure: Regenerated.
9033 * sysdeps/i386/configure: Regenerated.
9034 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9035 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9036 * sysdeps/s390/s390-32/configure: Regenerated.
9037 * sysdeps/s390/s390-64/configure: Regenerated.
9038 * sysdeps/sh/configure: Regenerated.
9039 * sysdeps/sparc/configure: Regenerated.
9040 * sysdeps/x86_64/configure: Regenerated.
9042 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9047 denormal result into account.
9049 2012-03-25 Roland McGrath <roland@hack.frob.com>
9051 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9052 Reported by Allan McRae <allan@archlinux.org>.
9054 2012-03-23 Jeff Law <law@redhat.com>
9056 * nss/getnssent.c (__nss_getent): Fix typo.
9058 2012-03-23 David S. Miller <davem@davemloft.net>
9060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9062 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9064 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9065 to pad to uint64_t for each field.
9066 (dl_tls_index): Replace unsigned long with uint64_t.
9068 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9069 Paul Pluzhnikov <ppluzhnikov@google.com>
9072 * grp/Makefile (otherlibs): Don't set it.
9073 * inet/Makefile (otherlibs): Likewise.
9074 * login/Makefile (otherlibs): Likewise.
9075 * nscd/Makefile (otherlibs): Likewise.
9076 * posix/Makefile (otherlibs): Likewise.
9077 * pwd/Makefile (otherlibs): Likewise.
9078 * rt/Makefile (otherlibs): Likewise.
9079 * sunrpc/Makefile (otherlibs): Likewise.
9080 * nss/Makefile (otherlibs): Likewise.
9081 Add libnss_files to routines and static-only-routines.
9082 ($(objpfx)getent): Remove rule.
9083 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9084 static-only-routines.
9086 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9089 * math/s_cexp.c: Include <float.h>.
9090 (__cexp): Handle exp result overflowing not necessarily
9091 overflowing both real and imaginary parts of result.
9092 * math/s_cexpf.c: Likewise.
9093 * math/s_cexpl.c: Likewise.
9094 * math/libm-test.inc (cexp_test): Add more tests.
9095 * sysdeps/i386/fpu/libm-test-ulps: Update.
9096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9098 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9100 * include/link.h (ELFW): New macro.
9101 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9102 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9104 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9106 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9109 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9111 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9113 (struct La_x32_retval): Likewise.
9115 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9117 * sysdeps/x86_64/preconfigure.in: New file.
9118 * sysdeps/x86_64/preconfigure: New generated file.
9120 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9123 * math/e_exp2l.c: Include <float.h>.
9124 (__ieee754_exp2l): Handle overflow and underflow cases
9125 separately. Only pass fractional part of argument to
9127 * math/libm-test.inc (exp2_test): Add more tests.
9129 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9130 negating x to take absolute value.
9131 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9133 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9136 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9137 computing low part if x was negated.
9138 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9140 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9142 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9144 (pltexit): Cast int_retval to ptrdiff_t.
9145 * elf/tst-auditmod3b.c: Likewise.
9146 * elf/tst-auditmod4b.c: Likewise.
9147 * elf/tst-auditmod5b.c: Likewise.
9148 * elf/tst-auditmod6b.c: Likewise.
9149 * elf/tst-auditmod6c.c: Likewise.
9150 * elf/tst-auditmod7b.c: Likewise.
9152 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9153 and x32_gnu_pltexit.
9155 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9157 (La_x32_regs): New macro.
9158 (La_x32_retval): Likewise.
9159 (la_x32_gnu_pltenter): New function prototype.
9160 (la_x32_gnu_pltexit): Likewise.
9162 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9169 * configure.in (libc_cv_cc_nofma): Check for option to disable
9170 generation of FMA instructions.
9171 * configure: Regenerate.
9172 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9173 * sysdeps/ieee754/dbl-64/Makefile: New file.
9174 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9175 Remove brandred-fma4.
9176 (CFLAGS-brandred-fma4.c): Remove.
9177 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9183 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9185 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9186 LLONG_MAX != LONG_MAX.
9187 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9188 (_fitoa_word): Likewise.
9189 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9190 LLONG_MAX != LONG_MAX.
9191 * stdio-common/_itowa.h: Include <_itoa.h>.
9192 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9193 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9194 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9195 only if not defined.
9196 (_ITOA_WORD_TYPE): Likewise.
9197 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9198 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9200 2012-03-21 David S. Miller <davem@davemloft.net>
9202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9204 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9206 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9207 of x86_64 when setting libc_cv_slibdir, libdir and
9209 * sysdeps/unix/sysv/linux/configure: Regenerated.
9211 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9213 * manual/lang.texi (Old Varargs): Remove section.
9214 (How Variadic): Update menu.
9215 (va_start): Do not mention varargs.h.
9217 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9218 Joseph Myers <joseph@codesourcery.com>
9220 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9222 * configure: Regenerated.
9224 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9226 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9227 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9230 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9233 * Makefile (files-for-dist): Remove NOTES.
9234 (NOTES): Remove rule.
9235 * README: Don't refer to NOTES.
9236 * manual/creature.texi: Don't include macros.texi.
9237 * manual/intro.texi (creature.texi): Remove comment referring to
9240 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9241 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9242 * configure: Regenerated.
9243 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9245 (libc_cv_as_i686): Likewise.
9246 (libc_cv_cc_avx): Likewise.
9247 (libc_cv_cc_sse2avx): Likewise.
9248 (libc_cv_cc_fma4): Likewise.
9249 (libc_cv_cc_novzeroupper): Likewise.
9250 * sysdeps/i386/configure: Regenerated.
9253 * sysdeps/i386/fpu/s_cexp.S: Remove.
9254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9255 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9256 * math/libm-test.inc (cexp_test): Add more tests.
9257 * sysdeps/i386/fpu/libm-test-ulps: Update.
9258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9260 2012-03-21 Allan McRae <allan@archlinux.org>
9262 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9264 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9267 * math/w_exp2.c: Do not include <float.h>.
9268 (o_threshold, u_threshold): Remove.
9269 (__exp2): Calculate result before checking finiteness and calling
9271 * math/w_exp2f.c: Likewise.
9272 * math/w_exp2l.c: Likewise.
9273 * math/libm-test.inc (exp2_test): Require overflow exception for
9277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9278 range of signed 64-bit integers before using fistpll. Remove
9279 checks for whether integers fit in mantissa bits.
9280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9281 the range of signed 32-bit integers before using fistpl. Remove
9282 checks for whether integers fit in mantissa bits.
9283 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9284 (__ieee754_powl): Test for y outside the range of signed 64-bit
9285 integers before using fistpll. Reduce 64-bit values to 63-bit
9287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9288 divide-by-zero is raised for zero to large negative powers.
9289 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9290 (__ieee754_powl): Test for y outside the range of signed 64-bit
9291 integers before using fistpll. Reduce 64-bit values to 63-bit
9293 * math/libm-test.inc (pow_test): Add more tests.
9295 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9297 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9298 <stdio-common/_itoa.h>.
9299 * debug/segfault.c: Likewise.
9300 * elf/dl-cache.c: Likewise.
9301 * elf/dl-minimal.c: Likewise.
9302 * elf/dl-misc.c: Likewise.
9303 * elf/dl-sysdep.c: Likewise.
9304 * elf/dl-version.c: Likewise.
9305 * elf/rtld.c: Likewise.
9306 * hurd/hurdsock.c: Likewise.
9307 * hurd/lookup-retry.c: Likewise.
9308 * malloc/malloc.c: Likewise.
9309 * malloc/mtrace.c: Likewise.
9310 * nscd/nscd_getgr_r.c: Likewise.
9311 * nscd/nscd_getpw_r.c: Likewise.
9312 * nscd/nscd_getserv_r.c: Likewise.
9313 * posix/getopt_init.c: Likewise.
9314 * posix/wordexp.c: Likewise.
9315 * stdio-common/_itoa.c: Likewise.
9316 * stdio-common/printf_fphex.c: Likewise.
9317 * stdio-common/vfprintf.c: Likewise.
9318 * string/_strerror.c: Likewise.
9319 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9320 * sysdeps/i386/i686/hp-timing.h: Likewise.
9321 * sysdeps/mach/_strerror.c: Likewise.
9322 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9323 * sysdeps/mach/hurd/sethostid.c: Likewise.
9324 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9325 * sysdeps/mach/xpg-strerror.c: Likewise.
9326 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9327 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9328 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9329 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9330 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9331 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9332 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9333 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9334 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9335 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9336 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9337 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9339 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9340 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9341 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9342 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9343 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9344 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9345 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9346 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9348 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9350 * stdio-common/_itoa.h: Moved to ...
9351 * sysdeps/generic/_itoa.h: Here.
9353 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9355 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9356 instead of "_itoa.h" and "_itowa.h".
9357 * stdio-common/vfprintf.: Likewise.
9359 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9361 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9363 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9364 (__signbit): Likwise.
9368 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9370 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9373 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9375 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9376 OVERFLOW_EXCEPTION_OK.
9377 * math/libm-test.inc ("Philosophy"): Update comment about
9379 (OVERFLOW_EXCEPTION): Define.
9380 (OVERFLOW_EXCEPTION_OK): Likewise.
9381 (INVALID_EXCEPTION_OK): Renumber.
9382 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9383 (IGNORE_ZERO_INF_SIGN): Likewise.
9384 (test_exceptions): Handle FE_OVERFLOW.
9385 (exp10_test): Expect overflow exceptions.
9386 (exp2_test): Likewise.
9387 (expm1_test): Likewise.
9388 (nextafter_test): Likewise.
9389 (pow_test): Likewise.
9390 (scalbn_test): Likewise.
9391 (scalbln_test): Likewise.
9393 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9395 * sysdeps/x86_64/bits/atomic.h
9396 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9398 (atomic_exchange_acq): Likewise.
9399 (__arch_exchange_and_add_body): Likewise.
9400 (__arch_add_body): Likewise.
9401 (atomic_add_negative): Likewise.
9402 (atomic_add_zero): Likewise.
9404 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9406 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9407 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9409 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9411 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9412 Check __x86_64__ instead of __WORDSIZE.
9414 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9416 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9418 2012-03-19 David S. Miller <davem@davemloft.net>
9420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9422 * sysdeps/sparc/fpu/fenv_private.h: New file.
9423 * sysdeps/sparc/fpu/math_private.h: Use it.
9424 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9426 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9427 (libc_feholdexcept_setroundl): Remove.
9428 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9430 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9431 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9433 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9435 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9436 int64_t instead of long int.
9437 (INSERT_WORDS64): Likwise.
9439 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9441 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9442 _Unwind_GetCFA return to _Unwind_Ptr first.
9444 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9447 * math/s_clog.c: Include <float.h>.
9448 (__clog): Scale large or subnormal inputs.
9449 * math/s_clogf.c: Likewise.
9450 * math/s_clogl.c: Likewise.
9451 * math/s_clog10.c: Include <float.h>.
9452 (M_LOG10_2): Define.
9453 (__clog10): Scale large or subnormal inputs.
9454 * math/s_clog10f.c: Likewise.
9455 * math/s_clog10l.c: Likewise.
9456 * math/libm-test.inc (clog_test): Add more tests.
9457 (clog10_test): Likewise.
9458 * sysdeps/i386/fpu/libm-test-ulps: Update.
9459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9464 * math/libm-test.inc (atan2_test): Add another test.
9466 * Makerules (common-objdir-compile): Remove.
9467 * sysdeps/unix/Makefile (config-generated): Do not add
9468 $(unix-generated) to variable.
9469 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9470 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9472 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9474 [generic bits/local_lim.h] (before-compile): Do not append to
9476 [generic bits/local_lim.h] (common-generated): Likewise.
9477 [generic sys/param.h] (before-compile): Do not append to variable.
9478 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9479 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9480 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9481 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9483 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9484 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9485 [generic sys/param.h] ($(addprefix
9486 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9487 [generic sys/param.h] (common-generated): Do not append to
9489 [generic sys/param.h] (sysdep_headers): Likewise.
9490 [generic bits/errno.h] (before-compile): Do not append to
9492 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9494 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9495 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9496 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9497 [generic bits/errno.h] (common-generated): Do not append to
9499 [generic bits/ioctls.h] (before-compile): Do not append to
9501 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9503 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9504 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9505 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9507 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9508 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9509 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9510 [generic bits/ioctls.h] (common-generated): Do not append to
9512 [generic sys/syscall.h] (syscall.h): Remove variable.
9513 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9515 [generic sys/syscall.h] (before-compile): Do not append to
9517 [generic sys/syscall.h] (common-generated): Likewise.
9518 * sysdeps/unix/errnos-tmpl.c: Remove file.
9519 * sysdeps/unix/errnos.awk: Likewise.
9520 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9521 * sysdeps/unix/ioctls.awk: Likewise.
9522 * sysdeps/unix/mk-local_lim.c: Likewise.
9523 * sysdeps/unix/snarf-ioctls: Likewise.
9525 2012-03-19 Richard Henderson <rth@twiddle.net>
9527 * sysdeps/i386/fpu/fenv_private.h: New file.
9528 * sysdeps/i386/fpu/math_private.h: Use it.
9529 (math_opt_barrier, math_force_eval): Remove.
9530 (libc_feholdexcept_setround_53bit): Remove.
9531 (libc_feupdateenv_53bit): Remove.
9532 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9533 (math_opt_barrier, math_force_eval): Remove.
9534 (libc_feholdexcept): Remove.
9535 (libc_feholdexcept_setround): Remove.
9536 (libc_fetestexcept, libc_fesetenv): Remove.
9537 (libc_feupdateenv_test): Remove.
9538 (libc_feupdateenv, libc_feholdsetround): Remove.
9539 (libc_feresetround): Remove.
9541 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9542 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9544 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9545 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9546 (libc_feupdateenv_testl): New.
9547 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9548 (libc_feupdateenv_testf): New.
9549 (libc_feupdateenv): Use libc_feupdateenv_test.
9550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9553 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9554 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9555 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9556 (libc_feresetround_noex): New.
9557 (libc_feresetround_noexf): New.
9558 (libc_feresetround_noexl): New.
9559 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9560 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9561 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9562 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9567 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9568 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9569 SET_RESTORE_ROUND_NOEX.
9570 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9571 SET_RESTORE_ROUND_NOEXF.
9572 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9573 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9574 (libc_feholdsetroundf): New.
9575 (libc_feresetround, libc_feresetroundf): New.
9577 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9578 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9579 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9581 * sysdeps/generic/math_private.h: Include <fenv.h>.
9582 (default_libc_feholdexcept): New.
9583 (default_libc_feholdexcept_setround): New.
9584 (default_libc_fesetenv, default_libc_feupdateenv): New.
9585 (libc_feholdexcept): Only define if undefined.
9586 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9587 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9588 (libc_feholdexcept_setroundl): Likewise.
9589 (libc_feholdexcept_setround_53bit): Likewise.
9590 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9591 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9592 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9593 (libc_feupdateenv_53bit): Likewise.
9594 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9595 (libc_feholdexcept): Convert from macro to inline function.
9596 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9597 (libc_fesetenv, libc_feupdateenv): Likewise.
9599 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9600 not previously defined.
9601 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9602 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9603 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9604 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9605 * sysdeps/ieee754/flt-32/math_private.h: New file.
9606 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9607 math_private.h below SET_FLOAT_WORD.
9608 (__isnan, __isinf_ns, __finite): Remove.
9609 (__isnanf, __isinf_nsf, __finitef): Remove.
9611 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9615 2012-03-17 David S. Miller <davem@davemloft.net>
9618 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9621 2012-03-16 David S. Miller <davem@davemloft.net>
9623 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9627 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9629 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9630 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9631 sysdep_routines when subdir is sysvipc.
9632 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9635 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9637 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9639 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9642 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9645 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9646 (__lround): Renamed to ...
9647 (__llround): This. Replace long int with long long int.
9648 Define lround functions as aliases of llround functions.
9649 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9651 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9653 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9654 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9655 adresses to uintptr_t. Replace "long int" and "unsigned long
9656 int" with "greg_t" on va_arg.
9658 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9660 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9661 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9663 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9664 Move e_machine check before EI_CLASS check. Handle x32
9665 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9666 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9667 SKIP_EM_IA_64 and include
9668 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9670 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9671 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9672 (add_system_dir): New macro.
9674 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9675 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9677 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9688 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9690 * math/w_j0f.c (j0f): Likewise.
9692 * math/w_j0l.c (__j0l): Likewise.
9694 * math/w_j1.c (j1): Likewise.
9696 * math/w_j1f.c (j1f): Likewise.
9698 * math/w_j1l.c (__j1l): Likewise.
9700 * math/w_jn.c (jn): Likewise.
9702 * math/w_jnf.c (jnf): Likewise.
9704 * math/w_jnl.c (__jnl): Likewise.
9706 * math/libm-test.inc (j0_test): Add more tests.
9707 (j1_test): Likewise.
9708 (jn_test): Likewise. Add trailing semicolon to existing test.
9709 (y0_test): Likewise.
9710 (y1_test): Likewise.
9711 * sysdeps/i386/fpu/libm-test-ulps: Update.
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9716 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9717 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9718 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9719 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9720 (__tanl): Set errno for infinite argument.
9721 * sysdeps/i386/fpu/mptan.c: Remove.
9722 * sysdeps/i386/fpu/s_tan.S: Likewise.
9723 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9724 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9725 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9726 * math/libm-test.inc (tan_test): Add more tests and enable more
9727 tests for double and long double.
9728 * sysdeps/i386/fpu/libm-test-ulps: Update.
9729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9731 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9733 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9734 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9736 2012-03-16 Roland McGrath <roland@hack.frob.com>
9738 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9739 * configure.in: Use it for both main tree and add-ons.
9740 * configure: Regenerated.
9742 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9744 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9746 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9748 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9752 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9753 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9758 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9761 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9762 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9763 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9764 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9765 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9766 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9767 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9768 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9769 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9770 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9771 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9772 * math/libm-test.inc (cos_test): Add more tests and enable more
9773 tests for long double.
9774 (sin_test): Likewise.
9775 (sincos_test): Likewise.
9776 * sysdeps/i386/fpu/libm-test-ulps: Update.
9777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9779 2012-03-16 David S. Miller <davem@davemloft.net>
9781 * sysdeps/sparc/fpu/math_private.h: New file.
9783 2012-03-15 David S. Miller <davem@davemloft.net>
9785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9799 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9800 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9802 * sysdeps/sparc/sparc-ifunc.h: New file.
9803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9848 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9850 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9854 2012-03-15 Andreas Jaeger <aj@suse.de>
9857 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9858 ieee754/flt-32 implementation for sin, cos and sincos.
9859 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9860 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9861 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9862 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9863 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9864 ieee754/flt-32 implementation for tan.
9866 * math/libm-test.inc (cos_test): Enable some large input tests for
9868 (sin_test): Likewise.
9869 (sincos_test): Likewise.
9870 (tan_test): Add tests for large input.
9872 * sysdeps/i386/fpu/libm-test-ulps: Update.
9874 2012-03-15 Andreas Jaeger <aj@suse.de>
9877 * math/libm-test.inc (cos_test): Add more test cases.
9878 (sin_test): Likewise.
9879 (sincos_test): Likewise.
9881 2012-03-15 Andreas Jaeger <aj@suse.de>
9884 * math/libm-test.inc (cos_test): Add a test case for large input
9886 (sin_test): Likewise.
9887 (sincos_test): Likewise.
9889 2012-03-15 Andreas Jaeger <aj@suse.de>,
9890 Joseph Myers <joseph@codesourcery.com>
9893 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9894 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9895 * sysdeps/i386/fpu/branred.c: Likewise.
9896 * sysdeps/i386/fpu/dosincos.c: Likewise.
9897 * sysdeps/i386/fpu/mpa.c: Likewise.
9898 * sysdeps/i386/fpu/s_cos.S: Likewise.
9899 * sysdeps/i386/fpu/s_sin.S: Likewise.
9900 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9901 * sysdeps/i386/fpu/sincos32.c: Likewise.
9903 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9905 (libc_feupdateenv_53bit): Define.
9906 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9908 (libc_feupdateenv_53bit): Define.
9910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9911 53 bit (without extend i386 double precision).
9913 * math/libm-test.inc (sincos_test): Add tests for large input.
9917 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9919 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9923 2012-03-15 David S. Miller <davem@davemloft.net>
9925 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9926 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9928 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9953 fmin/fmax sysdep routines.
9954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9956 2012-03-14 David S. Miller <davem@davemloft.net>
9958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10030 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10035 * sysdeps/sparc/configure.in: New file.
10036 * sysdeps/sparc/configure: Generate.
10037 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10038 * configure: Regenerate.
10039 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10040 * config.make.in (have-as-vis3): New.
10041 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10042 available use -Av9d instead of -Av9a.
10043 * sysdeps/sparc/sparc64/Makefile: Likewise.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10053 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10059 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10060 fzeros/fnegs to load 0x80000000 into a float register instead of
10062 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10064 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10068 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10069 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10070 ($(inst_includedir)/bits/syscall.h): Remove rule.
10071 ($(objpfx)bits/syscall.d): Include instead of
10072 $(objpfx)syscall-list.d.
10073 (generated): Change syscall-list.h and syscall-list.d to
10074 bits/syscall.h and bits/syscall.d.
10076 2012-03-14 Roland McGrath <roland@hack.frob.com>
10079 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10081 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10084 * math/s_csqrt.c: Include <float.h>.
10085 (__csqrt): Scale large or subnormal inputs.
10086 * math/s_csqrtf.c: Likewise.
10087 * math/s_csqrtl.c: Likewise.
10088 * math/libm-test.inc (csqrt_test): Add more tests.
10089 * sysdeps/i386/fpu/libm-test-ulps: Update.
10090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10093 * math/libm-test.inc (hypot_test): Add more tests.
10095 2012-03-13 David S. Miller <davem@davemloft.net>
10098 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10099 double-precision for the calculation instead of scaling.
10101 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10103 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10104 manipulate bits before adding and subtracting TWO52[sx].
10105 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10108 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10110 2012-03-13 David S. Miller <davem@davemloft.net>
10112 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10113 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10115 rtld-global-offsets.h
10116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10118 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10121 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10123 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10124 'err' in the ifdef scope in which it is actually used.
10126 * nss/nss_db/db-init.c: Include string.h
10128 2012-03-12 David S. Miller <davem@davemloft.net>
10130 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10131 masking out of the most significant byte of random value used.
10132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10133 Fix coding style in previous change.
10135 * sysdeps/unix/sysv/linux/kernel-features.h
10136 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10137 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10139 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10142 2012-03-11 David S. Miller <davem@davemloft.net>
10144 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10145 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10146 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10147 for 'resultvar' otherwise things get truncated on 64-bit.
10149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10150 Fix masking out of the most significant byte of random value used.
10152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10154 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10158 2012-03-09 David S. Miller <davem@davemloft.net>
10160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10161 variables with appropriate CPP guards.
10162 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10163 frame pointer, not the stack pointer. Correct layout comments. Fix test
10164 on resulting framesize and the management of the outregs buffer for pltexit.
10165 Preserve floating point return values across _dl_call_pltexit call.
10166 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10167 framesize and the management of the outregs buffer for pltexit.
10168 Preserve floating point return values across _dl_call_pltexit
10170 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10171 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10172 (print_exit): Fix format string for return register value.
10174 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10176 * sunrpc/Makefile (others): Add rpcgen.
10177 ($(objpfx)rpcgen): Remove special build rule and dependency on
10179 * sunrpc/rpcgen.c: New file.
10181 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10184 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10185 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10186 * sysdeps/i386/crti.S: Likewise.
10187 * sysdeps/i386/crtn.S: Likewise.
10188 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10189 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10190 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10191 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10192 * sysdeps/sh/crti.S: Likewise.
10193 * sysdeps/sh/crtn.S: Likewise.
10194 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10197 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10199 * locale/programs/locfile-kw.gperf: Likewise.
10200 * locale/programs/charmap-kw.h: Regenerated.
10201 * locale/programs/locfile-kw.h: Likewise.
10204 * intl/plural.y: Replace FSF snail mail address with URL.
10205 * intl/plural.c: Regenerated.
10207 2012-03-09 Richard Henderson <rth@twiddle.net>
10209 * include/math_private.h: Remove file.
10210 * math/math_private.h: Move file ...
10211 * sysdeps/generic/math_private.h: ... here.
10213 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10214 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10215 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10217 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10218 and <math_private.h>.
10219 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10220 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10221 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10222 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10223 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10262 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10307 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10308 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10309 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10310 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10311 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10312 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10313 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10314 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10315 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10316 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10317 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10318 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10319 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10320 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10321 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10322 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10323 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10324 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10325 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10326 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10327 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10329 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10330 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10331 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10332 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10333 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10334 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10335 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10336 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10337 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10338 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10341 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10342 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10343 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10344 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10345 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10346 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10347 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10348 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10349 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10350 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10351 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10352 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10353 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10354 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10355 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10356 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10357 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10358 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10359 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10360 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10361 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10362 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10363 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10364 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10365 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10366 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10367 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10368 * sysdeps/ieee754/k_standard.c: Likewise.
10369 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10373 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10484 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10488 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10491 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10496 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10501 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10529 * sysdeps/ieee754/s_lib_version.c: Likewise.
10530 * sysdeps/ieee754/s_matherr.c: Likewise.
10531 * sysdeps/ieee754/s_signgam.c: Likewise.
10532 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10533 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10534 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10535 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10536 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10537 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10538 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10539 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10540 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10541 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10542 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10543 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10544 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10545 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10546 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10547 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10548 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10549 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10550 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10551 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10554 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10556 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10557 * sunrpc/rpc_main.c: Likewise.
10558 * sunrpc/rpc_svcout.c: Likewise.
10560 2012-03-09 David S. Miller <davem@davemloft.net>
10562 * include/math_private.h: New file.
10564 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10566 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10567 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10568 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10569 from <bits/socket_type.h>.
10570 (enum __socket_type): Don't define here.
10571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10573 bits/socket_type.h.
10576 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10577 checking __USE_GNU.
10579 * Makerules ($(inst_includedir)/%.h): New rule.
10580 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10581 (install-others): Remove variable setting.
10582 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10584 2012-03-08 Richard Henderson <rth@twiddle.net>
10586 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10587 from macro to inline function; merge with the
10588 !__LIBC_INTERNAL_MATH_INLINES version.
10589 (__ieee754_sqrtf): Likewise.
10591 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10592 to inline function.
10593 (__rintf, __floor, __floorf): Likewise.
10595 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10596 macro to inline function.
10597 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10600 not <math/math_private.h>.
10602 2012-03-08 David S. Miller <davem@davemloft.net>
10604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10606 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10608 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10610 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10612 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10613 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10615 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10617 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10618 be defined individually, they must be defined as a block. Define
10619 S for printing a string instead of hidint the different by using a
10620 macro for adding the 'l'.
10621 * stdio-common/tst-fphex-wide.c: Adjust.
10623 2012-03-07 Marek Polacek <polacek@redhat.com>
10625 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10627 2012-03-08 Marek Polacek <polacek@redhat.com>
10630 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10631 * stdio-common/tst-fphex.c: Define a few macros to make the
10632 test reusable. Use them.
10633 * stdio-common/tst-fphex-wide.c: New file.
10635 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10638 * manual/macros.texi (gnusystems): New macro.
10639 (nongnusystems): Likewise.
10640 (gnulinuxhurdsystems): Likewise.
10641 (gnuhurdsystems): Likewise..
10642 (gnulinuxsystems): Likewise.
10643 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10644 variants of the GNU system, not "GNU system".
10645 * manual/conf.texi: Likewise.
10646 * manual/errno.texi: Likewise. Update example of errno macro
10648 * manual/filesys.texi: Likewise.
10649 (getumask): Document as specific to GNU/Hurd.
10650 * manual/install.texi: Likewise. Reword some references to
10652 * manual/intro.texi: Likewise.
10653 * manual/io.texi: Likewise.
10654 (File Name Portability): Detail which constraints are inapplicable
10655 to all GNU systems and which are only inapplicable to GNU/Hurd.
10656 * manual/job.texi: Likewise.
10657 * manual/llio.texi: Likewise.
10658 (O_NOCTTY): Document as present on GNU/Linux.
10659 * manual/maint.texi: Likewise.
10660 * manual/memory.texi: Likewise.
10661 * manual/pattern.texi: Likewise.
10662 * manual/pipe.texi: Likewise.
10663 * manual/process.texi: Likewise.
10664 * manual/resource.texi: Likewise.
10665 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10667 * manual/setjmp.texi: Likewise.
10668 * manual/signal.texi: Likewise.
10669 * manual/startup.texi: Likewise.
10670 * manual/stdio.texi: Likewise.
10671 * manual/terminal.texi: Likewise.
10672 (ONLCR): Document as POSIX.
10673 (OXTABS): Document availability on GNU/Linux as XTABS.
10674 (ONOEOT): Document availability separately from other bits.
10675 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10676 * manual/time.texi: Likewise.
10677 * manual/users.texi: Likewise.
10678 * INSTALL: Regenerated.
10679 * sysdeps/gnu/errlist.c: Regenerated.
10681 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10682 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10683 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10685 * configure: Regenerated.
10687 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10689 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10690 default includes instead of AC_HEADER_CHECK.
10691 * sysdeps/i386/configure: Regenerated.
10694 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10695 * math/s_cacoshf.c (__cacoshf): Likewise.
10696 * math/s_cacoshl.c (__cacoshl): Likewise.
10697 * math/s_casinh.c (__casinh): Set signs of result from argument.
10698 * math/s_casinhf.c (__casinhf): Likewise.
10699 * math/s_casinhl.c (__casinhl): Likewise.
10700 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10701 (casinh_test): Add more tests.
10702 * sysdeps/i386/fpu/libm-test-ulps: Update.
10703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10707 * po/zh_TW.po: Update from translation team.
10709 * login/Makefile (distribute): Remove variable.
10710 * catgets/Makefile: Likewise.
10711 * mach/Makefile: Likewise.
10712 * malloc/Makefile: Likewise.
10713 * misc/Makefile: Likewise.
10714 * iconv/Makefile: Likewise.
10715 * nscd/Makefile: Likewise.
10716 * hurd/Makefile: Likewise.
10717 * manual/Makefile: Likewise.
10718 * locale/Makefile: Likewise.
10719 * intl/Makefile: Likewise.
10720 * conform/Makefile: Likewise.
10721 * nss/Makefile: Likewise.
10722 * time/Makefile: Likewise.
10723 * soft-fp/Makefile: Likewise.
10724 * dirent/Makefile: Likewise.
10725 * gmon/Makefile: Likewise.
10726 * po/Makefile: Likewise.
10727 * rt/Makefile: Likewise.
10728 * socket/Makefile: Likewise.
10729 * math/Makefile: Likewise.
10730 * signal/Makefile: Likewise.
10731 * debug/Makefile: Likewise.
10732 * elf/Makefile: Likewise.
10733 * timezone/Makefile: Likewise.
10734 * stdlib/Makefile: Likewise.
10735 * iconvdata/Makefile: Likewise.
10736 * sunrpc/Makefile: Likewise.
10737 * io/Makefile: Likewise.
10738 * argp/Makefile: Likewise.
10739 * inet/Makefile: Likewise.
10740 * hesiod/Makefile: Likewise.
10741 * grp/Makefile: Likewise.
10742 * csu/Makefile: Likewise.
10743 * wctype/Makefile: Likewise.
10744 * crypt/Makefile: Likewise.
10745 * libio/Makefile: Likewise.
10746 * string/Makefile: Likewise.
10747 * nis/Makefile: Likewise.
10748 * resolv/Makefile: Likewise.
10749 * stdio-common/Makefile: Likewise.
10750 * wcsmbs/Makefile: Likewise.
10751 * dlfcn/Makefile: Likewise.
10752 * posix/Makefile: Likewise.
10755 * timezone/Makefile: Don't install timezone files, just the programs
10758 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10760 * nss/databases.def: Add missing gshadow entry.
10762 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10764 2012-03-06 Marek Polacek <polacek@redhat.com>
10767 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10768 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10769 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10770 * stdio-common/tst-long-dbl-fphex.c: New file.
10772 2012-03-06 David S. Miller <davem@davemloft.net>
10774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10775 (set_obp_int): New function.
10776 (get_obp_int): New function.
10777 (__get_clockfreq_via_dev_openprom): Likewise.
10778 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10779 Avoid unused variable warnings on 'val' and use builtin_expect.
10780 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10782 (INLINE_CLONE_SYSCALL): Likewise.
10784 2012-03-05 David S. Miller <davem@davemloft.net>
10786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10788 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10793 only for |x| >= 40.
10794 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10796 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10799 Replace gettimeofday with __vdso_gettimeofday.
10801 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10802 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10803 __vdso_clock_gettime and __vdso_getcpu.
10805 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10806 time with __vdso_time.
10808 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10810 * manual/lang.texi (size_t): Note types to which size_t may be
10811 equivalent with the GNU C Library, but do not describe when
10812 differences between them are significant.
10814 2012-03-05 Andreas Jaeger <aj@suse.de>
10816 * sysdeps/i386/fpu/libm-test-ulps: Update.
10818 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10821 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10822 (__ieee754_pow): Save and restore rounding mode and use
10823 round-to-nearest for main computations.
10824 * math/libm-test.inc (pow_test_tonearest): New function.
10825 (pow_test_towardzero): Likewise.
10826 (pow_test_downward): Likewise.
10827 (pow_test_upward): Likewise.
10828 (main): Call the new functions.
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833 * math/libm-test.inc (cosh_test_tonearest): New function.
10834 (cosh_test_towardzero): Likewise.
10835 (cosh_test_downward): Likewise.
10836 (cosh_test_upward): Likewise.
10837 (sinh_test_tonearest): Likewise.
10838 (sinh_test_towardzero): Likewise.
10839 (sinh_test_downward): Likewise.
10840 (sinh_test_upward): Likewise.
10841 (main): Call the new functions.
10842 * sysdeps/i386/fpu/libm-test-ulps: Update.
10843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10845 2012-03-05 Tom de Vries <tom@codesourcery.com>
10847 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10848 default stack guard is set in last bytes.
10849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10851 2012-03-05 Kees Cook <keescook@chromium.org>
10853 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10856 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10857 possibly allocate from heap instead of stack.
10858 * stdio-common/bug-vfprintf-nargs.c: New file.
10859 * stdio-common/Makefile (tests): Add nargs overflow test.
10861 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10865 2012-03-03 Marek Polacek <polacek@redhat.com>
10867 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10868 * math/math_private.h: Likewise.
10869 * stdlib/tst-strtod.c: Likewise.
10870 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10871 * sysdeps/x86_64/bits/atomic.h: Likewise.
10873 2012-03-02 David S. Miller <davem@davemloft.net>
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10880 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10881 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10882 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10884 2012-03-02 Roland McGrath <roland@hack.frob.com>
10887 * manual/examples/README: New file, says the example source files
10888 can be used under GPL>=2.
10889 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10890 line containing just "*/".
10891 * manual/examples/add.c: Add copyright header (GPL>=2).
10892 * manual/examples/argp-ex1.c: Likewise.
10893 * manual/examples/argp-ex2.c: Likewise.
10894 * manual/examples/argp-ex3.c: Likewise.
10895 * manual/examples/argp-ex4.c: Likewise.
10896 * manual/examples/atexit.c: Likewise.
10897 * manual/examples/db.c: Likewise.
10898 * manual/examples/dir.c: Likewise.
10899 * manual/examples/dir2.c: Likewise.
10900 * manual/examples/execinfo.c: Likewise.
10901 * manual/examples/filecli.c: Likewise.
10902 * manual/examples/filesrv.c: Likewise.
10903 * manual/examples/fmtmsgexpl.c: Likewise.
10904 * manual/examples/genpass.c: Likewise.
10905 * manual/examples/inetcli.c: Likewise.
10906 * manual/examples/inetsrv.c: Likewise.
10907 * manual/examples/isockad.c: Likewise.
10908 * manual/examples/longopt.c: Likewise.
10909 * manual/examples/memopen.c: Likewise.
10910 * manual/examples/memstrm.c: Likewise.
10911 * manual/examples/mkfsock.c: Likewise.
10912 * manual/examples/mkisock.c: Likewise.
10913 * manual/examples/mygetpass.c: Likewise.
10914 * manual/examples/pipe.c: Likewise.
10915 * manual/examples/popen.c: Likewise.
10916 * manual/examples/rprintf.c: Likewise.
10917 * manual/examples/search.c: Likewise.
10918 * manual/examples/select.c: Likewise.
10919 * manual/examples/setjmp.c: Likewise.
10920 * manual/examples/sigh1.c: Likewise.
10921 * manual/examples/sigusr.c: Likewise.
10922 * manual/examples/stpcpy.c: Likewise.
10923 * manual/examples/strdupa.c: Likewise.
10924 * manual/examples/strftim.c: Likewise.
10925 * manual/examples/strncat.c: Likewise.
10926 * manual/examples/subopt.c: Likewise.
10927 * manual/examples/swapcontext.c: Likewise.
10928 * manual/examples/termios.c: Likewise.
10929 * manual/examples/testopt.c: Likewise.
10930 * manual/examples/testpass.c: Likewise.
10931 * manual/examples/timeval_subtract.c: Likewise.
10934 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10936 * manual/timeval_subtract.c.texi: ... here, new file.
10938 2012-03-02 David S. Miller <davem@davemloft.net>
10940 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10942 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10945 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10946 (__sin): Save and restore rounding mode and use round-to-nearest
10947 for all computations.
10948 (__cos): Save and restore rounding mode and use round-to-nearest
10949 for all computations.
10950 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10952 (tan): Save and restore rounding mode and use round-to-nearest for
10954 * math/libm-test.inc (cos_test_tonearest): New function.
10955 (cos_test_towardzero): Likewise.
10956 (cos_test_downward): Likewise.
10957 (cos_test_upward): Likewise.
10958 (sin_test_tonearest): Likewise.
10959 (sin_test_towardzero): Likewise.
10960 (sin_test_downward): Likewise.
10961 (sin_test_upward): Likewise.
10962 (tan_test_tonearest): Likewise.
10963 (tan_test_towardzero): Likewise.
10964 (tan_test_downward): Likewise.
10965 (tan_test_upward): Likewise.
10966 (main): Call the new functions.
10967 * sysdeps/i386/fpu/libm-test-ulps: Update.
10968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10972 small n, then large n, before computing and testing k+n.
10973 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10978 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10979 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10981 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10982 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10984 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10986 * math/libm-test.inc (scalbn_test): Add more tests.
10987 (scalbln_test): Likewise.
10989 * manual/filesys.texi (mode_t): Describe constraints on size and
10990 signedness, not exact equivalence to a particular type.
10992 (ino64_t): Likewise.
10994 (nlink_t): Likewise.
10995 (blkcnt_t): Likewise.
10996 (blkcnt64_t): Likewise.
10997 * manual/llio.texi (off_t): Likewise.
11000 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11001 (__ieee754_exp): Save and restore rounding mode and use
11002 round-to-nearest for all computations.
11003 * math/libm-test.inc (exp_test_tonearest): New function.
11004 (exp_test_towardzero): Likewise.
11005 (exp_test_downward): Likewise.
11006 (exp_test_upward): Likewise.
11007 (main): Call the new functions.
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11011 2012-03-01 Chris Demetriou <cgd@google.com>
11013 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11014 have predictable order.
11016 2012-03-01 David S. Miller <davem@davemloft.net>
11018 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11020 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11021 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11022 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11023 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11025 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11026 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11027 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11030 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11031 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11032 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11033 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11038 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11041 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11042 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11043 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11044 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11045 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11048 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11050 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11051 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11054 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11055 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11057 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11058 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11059 * sysdeps/sparc/elf/configure: Regenerated.
11061 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11063 * configure.in (AS, LD): Require binutils 2.20 or later.
11064 * configure: Regenerated.
11065 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11066 as required minimum version.
11067 * INSTALL: Regenerated.
11071 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11072 before squaring exponent.
11073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11074 bottom long double and 27 bits of top long double before squaring
11076 * math/libm-test.inc (erfc_test): Add more tests.
11077 * sysdeps/i386/fpu/libm-test-ulps: Update.
11078 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081 2012-03-01 Kai Tietz <ktietz@redhat.com>
11083 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11084 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11085 containing bit-fields.
11086 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11087 * soft-fp/single.h (_FP_UNION_S): Likewise.
11088 * soft-fp/double.h (_FP_UNION_D): Likewise.
11090 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11093 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11094 not include ../strcmp.S.
11095 [USE_AS_STRNCASECMP_L]: Likewise.
11096 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11097 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11098 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11099 (__strncasecmp_l_ia32): Define as alias to
11100 __strncasecmp_l_nonascii.
11103 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11104 * sysdeps/i386/fpu/libm-test-ulps: Update.
11105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11107 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11110 2012-02-29 Jeff Law <law@redhat.com>
11112 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11113 out of bounds read.
11115 2012-02-29 Marek Polacek <polacek@redhat.com>
11118 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11119 * elf/Makefile: Add rules to run tst-unused-dep.out.
11121 2012-02-28 David S. Miller <davem@davemloft.net>
11123 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11124 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11127 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11128 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11130 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11132 * math/libm-test.inc (llround_test): Move one test from
11133 lround_test. Use TEST_f_L in moved test.
11134 (lround_test): Move misplaced test to llround_test. Add testcase
11137 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11139 * sysdeps/x86_64/fpu/e_expf.S: New file.
11140 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11142 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11145 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11146 of remain_len that may cause incomplete multi-byte character and
11148 * posix/bug-regex33.c: New file.
11149 * posix/Makefile (tests): Add bug-regex33.
11151 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11153 * manual/macros.texi: New file.
11154 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11155 * manual/libc.texinfo: Include macros.texi.
11156 * manual/creatute.texi: Likewise.
11157 * manual/install.texi: Likewise.
11158 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11159 @glibcadj{} in references to the GNU C Library.
11160 * manual/charset.texi: Likewise.
11161 * manual/conf.texi: Likewise.
11162 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11163 when not using those macros.
11164 * manual/creature.texi: Likewise.
11165 * manual/crypt.texi: Likewise.
11166 * manual/errno.texi: Likewise.
11167 * manual/filesys.texi: Likewise.
11168 * manual/header.texi: Likewise.
11169 * manual/install.texi: Likewise.
11170 * manual/intro.texi: Likewise.
11171 * manual/io.texi: Likewise.
11172 * manual/job.texi: Likewise.
11173 * manual/lang.texi: Likewise.
11174 * manual/libc.texiinfo: Likewise.
11175 * manual/llio.texi: Likewise.
11176 * manual/locale.texi: Likewise.
11177 * manual/maint.texi: Likewise.
11178 * manual/math.texi: Likewise.
11179 * manual/memory.texi: Likewise.
11180 * manual/message.texi: Likewise.
11181 * manual/nss.texi: Likewise.
11182 * manual/pattern.texi: Likewise.
11183 * manual/process.texi: Likewise.
11184 * manual/resource.texi: Likewise.
11185 * manual/search.texi: Likewise.
11186 * manual/setjmp.texi: Likewise.
11187 * manual/signal.texi: Likewise.
11188 * manual/socket.texi: Likewise.
11189 * manual/startup.texi: Likewise.
11190 * manual/stdio.texi: Likewise.
11191 * manual/string.texi: Likewise.
11192 * manual/sysinfo.texi: Likewise.
11193 * manual/syslog.texi: Likewise.
11194 * manual/terminal.texi: Likewise.
11195 * manual/time.texi: Likewise.
11196 * manual/users.texi: Likewise.
11197 * INSTALL: Regenerated.
11198 * NOTES: Regenerated.
11199 * sysdeps/gnu/errlist.c: Regenerated.
11201 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11203 * include/dirent.h: Include <dirstream.h> before
11206 2012-02-28 David S. Miller <davem@davemloft.net>
11208 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11209 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11210 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11211 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11213 2012-02-27 David S. Miller <davem@davemloft.net>
11215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11217 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11218 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11221 frame pointer instead of stack pointer relative arg slot.
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11223 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11224 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11226 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11229 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11231 2012-02-27 David S. Miller <davem@davemloft.net>
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11239 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11240 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11242 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11244 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11245 later. Allow versions 5-9.
11246 * configure: Regenerated.
11247 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11248 required minimum version and 4.6 as recommended version. Do not
11249 mention bugs in GCC 2.7 and 2.8.
11250 * INSTALL: Regenerated.
11252 2012-02-27 David S. Miller <davem@davemloft.net>
11254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11258 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11259 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11260 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11261 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11264 manipulate bits before adding and subtracting TWO112[sx].
11265 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11267 2012-02-27 Roland McGrath <roland@hack.frob.com>
11270 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11271 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11272 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11273 being in POSIX, because they are in 1003.1-2008.
11275 * rt/tst-aio.c: Include <fcntl.h>.
11276 * rt/tst-aio7.c: Likewise.
11277 * rt/tst-aio64.c: Likewise.
11279 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11281 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11283 * manual/install.texi (--with-headers): Describe headers as
11284 interface headers, not private headers.
11285 (Specific advice for GNU/Linux systems): Describe use of headers
11286 from "make headers_install", not private headers from older
11288 * INSTALL: Regenerated.
11289 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11291 * sysdeps/unix/sysv/linux/configure: Regenerated.
11293 * manual/llio.texi (fclean): Remove documentation.
11295 * manual/Makefile (libc-texi-generated): New variable. Include
11297 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11298 $(libc-texi-generated), not duplicated list of files.
11299 (version.texi, stamp-version): New rules.
11300 (realclean): Remove $(libc-texi-generated), not individual files
11301 from that list. Do not remove dir-add.texinfo.
11302 * manual/libc.texinfo: Comment out uses of edition numbers and
11303 references to printed manual. Remove last-updated dates.
11304 (EDITION): Comment out.
11306 (VERSION, UPDATED): Remove.
11307 (version.texi): Include.
11309 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11311 * sysdeps/posix/spawni.c: Include <signal.h>.
11312 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11313 * sysdeps/pthread/aio_fsync.c: Likewise.
11315 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11317 * conform/Makefile (tests): Run only when not cross-compiling and
11318 when fast-check is not defined.
11320 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11321 * conform/data/limits.h-data: Fixes for POSIX2008.
11322 * conform/run-conformtest.sh: Run all tests.
11323 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11325 * include/bits/dlfcn.h: Likewise.
11326 * include/langinfo.h: Likewise.
11327 * include/monetary.h: Likewise.
11328 * include/sys/poll.h: Likewise.
11330 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11332 * posix/spawn.h: Define __need_sigset_t.
11333 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11334 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11335 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11336 to get sigevent_t only.
11337 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11338 only for __USE_GNU.
11339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11340 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11341 process_vm_writev only for __USE_GNU.
11342 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11344 * conform/Makefile: For now ignore errors from run-conformtest.
11345 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11346 POSIX to avoid namespace pollution. Don't prepend headers.
11347 * conform/data/aio.h-data: Fixes for POSIX testing.
11348 * conform/data/fcntl.h-data: Likewise.
11349 * conform/data/glob.h-data: Likewise.
11350 * conform/data/grp.h-data: Likewise.
11351 * conform/data/pthread.h-data: Likewise.
11352 * conform/data/pwd.h-data: Likewise.
11353 * conform/data/signal.h-data: Likewise.
11354 * conform/data/spawn.h-data: Likewise.
11355 * conform/data/stdio.h-data: Likewise.
11356 * conform/data/stdlib.h-data: Likewise.
11357 * conform/data/stropts.h-data: Likewise.
11358 * conform/data/sys/mman.h-data: Likewise.
11359 * conform/data/sys/stat.h-data: Likewise.
11360 * conform/data/sys/types.h-data: Likewise.
11361 * conform/data/sys/wait.h-data: Likewise.
11362 * conform/data/time.h-data: Likewise.
11363 * conform/data/unistd.h-data: Likewise.
11364 * conform/data/utime.h-data: Likewise.
11366 * io/sys/stat.h: fchmod was always in POSIX.
11367 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11368 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11369 * rt/aio.h: Define __need_timespec before including <time.h>.
11370 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11371 struct. Add forward declaration of pthread_attr_t and use it in
11373 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11375 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11376 always remove CLK_TCK definition.
11378 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11380 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11382 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11384 * conform/run-conformtest.sh: New file.
11385 * conform/Makefile: Run run-conformtest for tests.
11386 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11389 * conform/data/uchar.h-data: New file.
11390 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11391 * conform/data/arpa/inet.h-data: Likewise.
11392 * conform/data/assert.h-data: Likewise.
11393 * conform/data/complex.h-data: Likewise.
11394 * conform/data/cpio.h-data: Likewise.
11395 * conform/data/ctype.h-data: Likewise.
11396 * conform/data/dirent.h-data: Likewise.
11397 * conform/data/dlfcn.h-data: Likewise.
11398 * conform/data/errno.h-data: Likewise.
11399 * conform/data/fcntl.h-data: Likewise.
11400 * conform/data/float.h-data: Likewise.
11401 * conform/data/fmtmsg.h-data: Likewise.
11402 * conform/data/fnmatch.h-data: Likewise.
11403 * conform/data/ftw.h-data: Likewise.
11404 * conform/data/glob.h-data: Likewise.
11405 * conform/data/grp.h-data: Likewise.
11406 * conform/data/iconv.h-data: Likewise.
11407 * conform/data/inttypes.h-data: Likewise.
11408 * conform/data/langinfo.h-data: Likewise.
11409 * conform/data/libgen.h-data: Likewise.
11410 * conform/data/limits.h-data: Likewise.
11411 * conform/data/locale.h-data: Likewise.
11412 * conform/data/math.h-data: Likewise.
11413 * conform/data/monetary.h-data: Likewise.
11414 * conform/data/mqueue.h-data: Likewise.
11415 * conform/data/ndbm.h-data: Likewise.
11416 * conform/data/net/if.h-data: Likewise.
11417 * conform/data/netdb.h-data: Likewise.
11418 * conform/data/netinet/in.h-data: Likewise.
11419 * conform/data/nl_types.h-data: Likewise.
11420 * conform/data/poll.h-data: Likewise.
11421 * conform/data/pthread.h-data: Likewise.
11422 * conform/data/pwd.h-data: Likewise.
11423 * conform/data/regex.h-data: Likewise.
11424 * conform/data/sched.h-data: Likewise.
11425 * conform/data/search.h-data: Likewise.
11426 * conform/data/semaphore.h-data: Likewise.
11427 * conform/data/setjmp.h-data: Likewise.
11428 * conform/data/signal.h-data: Likewise.
11429 * conform/data/spawn.h-data: Likewise.
11430 * conform/data/stdarg.h-data: Likewise.
11431 * conform/data/stdio.h-data: Likewise.
11432 * conform/data/stdlib.h-data: Likewise.
11433 * conform/data/string.h-data: Likewise.
11434 * conform/data/strings.h-data: Likewise.
11435 * conform/data/stropts.h-data: Likewise.
11436 * conform/data/sys/ipc.h-data: Likewise.
11437 * conform/data/sys/mman.h-data: Likewise.
11438 * conform/data/sys/msg.h-data: Likewise.
11439 * conform/data/sys/resource.h-data: Likewise.
11440 * conform/data/sys/select.h-data: Likewise.
11441 * conform/data/sys/sem.h-data: Likewise.
11442 * conform/data/sys/shm.h-data: Likewise.
11443 * conform/data/sys/socket.h-data: Likewise.
11444 * conform/data/sys/stat.h-data: Likewise.
11445 * conform/data/sys/statvfs.h-data: Likewise.
11446 * conform/data/sys/time.h-data: Likewise.
11447 * conform/data/sys/timeb.h-data: Likewise.
11448 * conform/data/sys/times.h-data: Likewise.
11449 * conform/data/sys/types.h-data: Likewise.
11450 * conform/data/sys/uio.h-data: Likewise.
11451 * conform/data/sys/un.h-data: Likewise.
11452 * conform/data/sys/utsname.h-data: Likewise.
11453 * conform/data/sys/wait.h-data: Likewise.
11454 * conform/data/syslog.h-data: Likewise.
11455 * conform/data/tar.h-data: Likewise.
11456 * conform/data/termios.h-data: Likewise.
11457 * conform/data/utime.h-data: Likewise.
11458 * conform/data/utmpx.h-data: Likewise.
11459 * conform/data/varargs.h-data: Likewise.
11460 * conform/data/wchar.h-data: Likewise.
11461 * conform/data/wctype.h-data: Likewise.
11462 * conform/data/wordexp.h-data: Likewise.
11464 * include/stropts.h: New file.
11465 * include/uchar.h: New file.
11466 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11467 * include/assert.h: Likewise.
11468 * include/ctype.h: Likewise.
11469 * include/dirent.h: Likewise.
11470 * include/dlfcn.h: Likewise.
11471 * include/fcntl.h: Likewise.
11472 * include/fnmatch.h: Likewise.
11473 * include/glob.h: Likewise.
11474 * include/grp.h: Likewise.
11475 * include/libio.h: Likewise.
11476 * include/locale.h: Likewise.
11477 * include/math.h: Likewise.
11478 * include/net/if.h: Likewise.
11479 * include/netdb.h: Likewise.
11480 * include/netinet/in.h: Likewise.
11481 * include/pthread.h: Likewise.
11482 * include/pwd.h: Likewise.
11483 * include/regex.h: Likewise.
11484 * include/sched.h: Likewise.
11485 * include/search.h: Likewise.
11486 * include/setjmp.h: Likewise.
11487 * include/signal.h: Likewise.
11488 * include/stdio.h: Likewise.
11489 * include/stdlib.h: Likewise.
11490 * include/string.h: Likewise.
11491 * include/sys/cdefs.h: Likewise.
11492 * include/sys/mman.h: Likewise.
11493 * include/sys/msg.h: Likewise.
11494 * include/sys/resource.h: Likewise.
11495 * include/sys/select.h: Likewise.
11496 * include/sys/socket.h: Likewise.
11497 * include/sys/stat.h: Likewise.
11498 * include/sys/statvfs.h: Likewise.
11499 * include/sys/time.h: Likewise.
11500 * include/sys/times.h: Likewise.
11501 * include/sys/uio.h: Likewise.
11502 * include/sys/utsname.h: Likewise.
11503 * include/sys/wait.h: Likewise.
11504 * include/termios.h: Likewise.
11505 * include/time.h: Likewise.
11506 * include/ulimit.h: Likewise.
11507 * include/unistd.h: Likewise.
11508 * include/utime.h: Likewise.
11509 * include/wchar.h: Likewise.
11510 * include/wctype.h: Likewise.
11511 * include/wordexp.h: Likewise.
11513 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11515 * time/time.h: TIME_UTC must be a macro.
11516 Make timespec_get available for ISO C11 only as well.
11518 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11520 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11521 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11523 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11525 * configure.in: Use -o not -a in test for unsupported multi-arch.
11527 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11529 * manual/texinfo.tex: Update to version 2012-01-19.16.
11531 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11533 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11535 2012-02-24 Roland McGrath <roland@hack.frob.com>
11538 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11539 * manual/fdl-1.3.texi: New file.
11540 * manual/fdl-1.1.texi: File removed.
11543 * manual/libc.texinfo (FDL_VERSION): New @set.
11544 Use it for mention of FDL in cover text.
11545 (Documentation License): Use it in @include file name.
11547 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11548 Roland McGrath <roland@hack.frob.com>
11551 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11552 not LONG_LONG_MAX and LONG_LONG_MIN.
11553 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11554 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11556 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11558 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11562 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11563 manipulate bits before adding and subtracting TWO23[sx].
11564 * math/libm-test.inc (nearbyint_test): Add more tests.
11566 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11570 bits before adding and subtracting TWO23[sx].
11571 * math/libm-test.inc (rint_test): Add more tests.
11572 (rint_test_tonearest): Likewise.
11573 (rint_test_towardzero): Likewise.
11574 (rint_test_downward): Likewise.
11575 (rint_test_upward: Likewise.
11577 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11580 * include/stdc-predef.h: New file. Extracted from features.h.
11581 * include/features.h: Include stdc-predef.h.
11582 * Makefile (headers): Add stdc-predef.h.
11583 * CONFORMANCE (Compiler limitations): Update.
11585 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11587 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11589 2012-02-21 David S. Miller <davem@davemloft.net>
11591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11594 2012-02-20 David S. Miller <davem@davemloft.net>
11596 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11597 using a normal save/restore sequence, rather than allocating a
11598 dummy stack frame just to store a frame pointer and restore.
11599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11601 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11603 * manual/install.texi: Fix stray word in line-wrapped comment.
11605 2012-02-20 David S. Miller <davem@davemloft.net>
11607 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11608 both binutils and gcc support GOTDATA.
11610 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11611 "rd %pc" in the PIC register setup sequences.
11613 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11614 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11615 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11616 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11617 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11619 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11620 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11622 (SYSCALL_ERROR_HANDLER): Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11626 (SYSCALL_ERROR_HANDLER): Likewise.
11628 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11629 (HAVE_GCC_GOTDATA): New.
11630 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11631 relocation support in both binutils and gcc.
11632 * sysdeps/sparc/elf/configure: Regenerate.
11634 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11635 * sysdeps/sparc/sparc32/elf/configure: Delete.
11636 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11637 * sysdeps/sparc/sparc64/elf/configure: Delete.
11638 * sysdeps/sparc/elf/configure.in: New file.
11639 * sysdeps/sparc/elf/configure: Generate.
11641 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11642 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11643 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11644 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11645 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11647 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11649 * manual/install.texi: Do not mention specific glibc version
11651 * manual/libc.texinfo (VERSION, UPDATED): Update.
11652 (@copying): Use @copyright{} and range of years.
11654 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11657 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11658 [crti.S not in sysdirs] (generated): Do not append.
11659 [crti.S not in sysdirs] (omit-deps): Likewise.
11660 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11661 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11662 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11663 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11664 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11666 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11667 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11668 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11669 * csu/defs.awk: Remove file.
11670 * sysdeps/generic/initfini.c: Likewise.
11671 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11673 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11676 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11679 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11680 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11683 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11685 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11686 (__EPOLL_PACKED): Define to empty if not defined by
11688 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11692 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11694 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11695 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11696 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11697 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11699 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11703 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11705 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11707 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11708 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11712 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11714 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11715 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11717 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11719 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11720 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11722 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11724 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11727 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11729 * math/w_acos.c: Use non-signaling floating-point comparisons.
11730 * math/w_acosf.c: Likewise.
11731 * math/w_acosh.c: Likewise.
11732 * math/w_acoshf.c: Likewise.
11733 * math/w_acoshl.c: Likewise.
11734 * math/w_acosl.c: Likewise.
11735 * math/w_asin.c: Likewise.
11736 * math/w_asinf.c: Likewise.
11737 * math/w_asinl.c: Likewise.
11738 * math/w_atanh.c: Likewise.
11739 * math/w_atanhf.c: Likewise.
11740 * math/w_atanhl.c: Likewise.
11741 * math/w_exp2.c: Likewise.
11742 * math/w_exp2f.c: Likewise.
11743 * math/w_exp2l.c: Likewise.
11744 * math/w_j0.c: Likewise.
11745 * math/w_j0f.c: Likewise.
11746 * math/w_j0l.c: Likewise.
11747 * math/w_j1.c: Likewise.
11748 * math/w_j1f.c: Likewise.
11749 * math/w_j1l.c: Likewise.
11750 * math/w_jn.c: Likewise.
11751 * math/w_jnf.c: Likewise.
11752 * math/w_log.c: Likewise.
11753 * math/w_log10.c: Likewise.
11754 * math/w_log10f.c: Likewise.
11755 * math/w_log10l.c: Likewise.
11756 * math/w_log2.c: Likewise.
11757 * math/w_log2f.c: Likewise.
11758 * math/w_log2l.c: Likewise.
11759 * math/w_logf.c: Likewise.
11760 * math/w_logl.c: Likewise.
11761 * math/w_sqrt.c: Likewise.
11762 * math/w_sqrtf.c: Likewise.
11763 * math/w_sqrtl.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11766 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11767 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11770 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11773 * manual/string.texi (strnlen): Use correct parameter name in
11774 equivalent expression.
11776 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11779 * manual/users.texi (seteuid): Consistently use neweuid for
11782 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11785 * manual/nss.texi (Services in the NSS configuration): Correct
11786 list of services in example configuration file.
11788 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11791 * manual/arith.texi: Remove statements about negative zero
11792 behaving identically to zero.
11794 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11797 * manual/install.texi: Do not document upgrading from libc5.
11799 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11802 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11804 2012-02-18 David S. Miller <davem@davemloft.net>
11806 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11807 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11808 %o7 across the call.
11809 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11812 SETUP_PIC_REG_LEAF.
11813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11814 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11815 * sysdeps/sparc/crtn.S: Likewise.
11817 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11819 * aout/Makefile: Remove.
11821 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11824 * manual/examples/argp-ex1.c (main): Format definition in GNU
11826 * manual/examples/argp-ex2.c (main): Likewise.
11827 * manual/examples/argp-ex3.c (main): Likewise.
11828 * manual/examples/argp-ex4.c (main): Likewise.
11829 * manual/examples/longopt.c (main): Use new-style prototype
11831 * manual/examples/strncat.c (main): Specify return type and use
11832 (void) for arguments.
11833 * manual/examples/subopt.c (main): Use char **argv argument.
11835 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11838 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11841 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11844 * manual/string.texi (strchr): Change when strchrnul is
11847 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11850 * manual/locale.texi (setlocale): Document LOCPATH.
11852 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11855 * manual/process.texi (execle): Move @dots{} before last argument.
11857 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11860 * manual/charset.texi (Generic Charset Conversion): Fix typo
11861 (LC_TYPE -> LC_CTYPE).
11863 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11866 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11867 (scalbnf): Likewise.
11868 (scalbnl): Likewise.
11869 (scalbln): Likewise.
11870 (scalblnf): Likewise.
11871 (scalblnl): Likewise.
11872 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11873 (vwarnx): Likewise.
11876 * manual/filesys.texi (telldir): Use braces around return type.
11877 * manual/llio.texi (mmap): Add space after comma.
11878 (mmap64): Likewise.
11879 * manual/math.texi (jn): Use @var{} on parameter names.
11885 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11887 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11889 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11890 (sched_get_priority_max): Likewise.
11891 * manual/signal.texi (sigvec): Add space after comma.
11892 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11894 (if_indextoname): Likewise.
11895 (if_freenameindex): Likewise.
11896 (sendto): Use ',' instead of '.' in prototype.
11897 * manual/startup.texi (syscall): Use @dots{} instead of literal
11899 * manual/stdio.texi (__fpending): Separate initial words of
11900 paragraph from @deftypefun line.
11901 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11903 (vsyslog): Use @var{} on parameter names.
11904 * manual/terminal.texi (stty): Use @var{} on parameter names.
11905 * manual/users.texi (getutmp): Use @var{} on parameter names.
11906 (getutmpx): Likewise.
11908 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11911 * manual/stdio.texi (fopen): Fix typos in description of
11914 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11917 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11918 get clock_id definition.
11920 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11923 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11924 (madvise): Cast every argument to void on its own.
11926 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11929 * manual/startup.texi (Exit Status): Fix typo.
11931 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11934 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11935 * manual/examples/argp-ex2.c: Likewise.
11936 * manual/examples/argp-ex3.c: Likewise.
11938 2012-02-16 Richard Henderson <rth@redhat.com>
11940 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11941 * sysdeps/s390/s390-32/initfini.c: Remove.
11942 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11943 * sysdeps/s390/s390-64/initfini.c: Remove.
11945 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11947 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11948 compiler output for sysdeps/generic/initfini.c.
11949 * sysdeps/sh/elf/initfini.c: Remove file.
11951 2012-02-16 David S. Miller <davem@davemloft.net>
11954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11956 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11957 * sysdeps/sparc/crti.S: New file.
11958 * sysdeps/sparc/crtn.S: New file.
11959 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11960 * sysdeps/sparc/sparc64/Makefile: Likewise.
11962 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11965 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11967 2012-02-15 Roland McGrath <roland@hack.frob.com>
11970 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11972 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11973 (write, read, close): Likewise.
11974 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11976 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11978 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11979 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11980 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11981 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11983 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11987 2012-02-14 Marek Polacek <polacek@redhat.com>
11989 * sysdeps/x86_64/crti.S: New file.
11990 * sysdeps/x86_64/crtn.S: New file.
11991 * sysdeps/x86_64/elf/initfini.c: Remove file.
11993 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11995 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11996 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11997 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11998 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12000 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12004 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12006 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12007 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12008 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12009 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12011 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12015 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12017 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12018 __feraiseexcept instead of feraiseexcept.
12020 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12021 nanosleep invocations.
12022 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12023 strings, and add error checking for a nanosleep invocations.
12025 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12027 Replace FSF snail mail address with URLs, as per GNU coding standards.
12028 Most of the snail mail addresses were wrong anyway, and omitting
12029 them makes the source code easier to maintain. Almost all of the
12030 changes are to license notices and to locale LC_IDENTIFICATION
12031 addresses, except for this one:
12032 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12033 not its snail mail address.
12035 2012-02-09 Richard Henderson <rth@twiddle.net>
12037 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12038 of kernel-features.h.
12040 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12042 2012-02-08 Marek Polacek <polacek@redhat.com>
12044 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12045 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12046 * sysdeps/gnu/_G_config.h: Likewise.
12047 * sysdeps/generic/_G_config.h: Likewise.
12049 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12051 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12055 * sysdeps/powerpc/powerpc32/crti.S: New file.
12056 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12057 * sysdeps/powerpc/powerpc64/crti.S: New file.
12058 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12060 * Makeconfig (have-initfini): Don't set.
12061 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12062 * configure.in (nopic_initfini): Don't substitute.
12063 * config.h.in (HAVE_INITFINI): Don't #undef.
12064 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12065 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12067 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12069 Support crti.S and crtn.S provided directly by architectures.
12070 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12071 [crti.S in sysdirs] (omit-deps): Likewise.
12072 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12073 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12074 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12075 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12076 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12077 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12078 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12079 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12080 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12081 compiler output for sysdeps/generic/initfini.c.
12082 * sysdeps/i386/elf/Makefile: Remove file.
12083 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12085 2012-02-07 Marek Polacek <polacek@redhat.com>
12087 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12088 * sysdeps/gnu/_G_config.h: Likewise.
12089 * sysdeps/mach/hurd/_G_config.h: Likewise.
12091 2012-02-07 Marek Polacek <polacek@redhat.com>
12093 * math/Makefile (tests): Add tst-CMPLX2.
12094 * math/tst-CMPLX2.c: New file.
12096 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12100 * math/libm-test.inc (jn_test): Add missing L suffix.
12102 2012-02-06 Marek Polacek <polacek@redhat.com>
12104 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12105 * sysdeps/i386/fpu/e_powf.S: Likewise.
12106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12107 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12108 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12109 * sysdeps/i386/fpu/e_pow.S: Likewise.
12110 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12111 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12112 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12113 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12114 * sysdeps/i386/fpu/e_log2.S: Likewise.
12115 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12116 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12117 * sysdeps/i386/fpu/e_powl.S: Likewise.
12118 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12119 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12120 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12121 * sysdeps/i386/fpu/e_logl.S: Likewise.
12122 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12123 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12124 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12125 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12126 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12127 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12128 * sysdeps/i386/fpu/e_log.S: Likewise.
12129 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12131 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12132 * sysdeps/i386/fpu/e_logf.S: Likewise.
12133 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12134 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12135 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12136 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12137 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12138 * sysdeps/i386/fpu/e_log10.S: Likewise.
12139 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12140 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12141 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12142 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12143 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12144 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12145 * sysdeps/i386/asm-syntax.h: Likewise.
12146 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12147 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12148 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12149 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12150 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12151 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12152 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12153 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12154 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12155 * sysdeps/powerpc/sysdep.h: Likewise.
12156 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12157 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12159 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12162 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12164 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12166 * sysdeps/i386/sysdep.h: Include <features.h>.
12167 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12170 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12172 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12174 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12177 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12179 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12180 (SETUP_PIC_REG): Use GET_PC_THUNK.
12181 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12184 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12186 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12187 for non-PIC compilation.
12188 (SETUP_PIC_REG): Add .p2align directive.
12189 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12190 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12193 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12194 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12195 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12197 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12204 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12205 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12206 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12209 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12227 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12231 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12233 * math/tst-CMPLX.c: Include <stdio.h>.
12235 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12237 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12239 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12240 * sysdeps/sparc/bits/mathdef.h: Likewise.
12242 2012-01-31 Marek Polacek <polacek@redhat.com>
12244 * libio/libio.h: Don't define _PARAMS.
12245 * locale/programs/config.h: Don't define PARAMS.
12246 * stdlib/strtol_l.c: Likewise.
12247 (__strtol_l): Remove PARAMS from the prototype.
12249 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12251 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12252 names. Just use the correct names. Remove unnecessary wrapper
12254 * malloc/arena.c: Likewise.
12255 * malloc/hooks.c: Likewise.
12257 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12258 ARENA_TEST says not to. Simplify test for creation of a new arena.
12259 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12261 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12263 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12265 (update_get_addr): New function.
12266 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12267 GET_ADDR_MODULE parameter.
12269 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12271 * crypt/cert.c: Remove __STDC__ conditionals.
12272 * crypt/crypt-entry.c: Likewise.
12273 * crypt/crypt_util.c: Likewise.
12274 * libio/filedoalloc.c: Likewise.
12275 * libio/fileops.c: Likewise.
12276 * libio/genops.c: Likewise.
12277 * libio/iofclose.c: Likewise.
12278 * libio/iofdopen.c: Likewise.
12279 * libio/iofopen.c: Likewise.
12280 * libio/iofopen64.c: Likewise.
12281 * libio/iogetdelim.c: Likewise.
12282 * libio/iopopen.c: Likewise.
12283 * libio/obprintf.c: Likewise.
12284 * libio/oldfileops.c: Likewise.
12285 * libio/oldiofclose.c: Likewise.
12286 * libio/oldiofdopen.c: Likewise.
12287 * libio/oldiofopen.c: Likewise.
12288 * libio/oldiopopen.c: Likewise.
12289 * libio/wfiledoalloc.c: Likewise.
12290 * libio/wgenops.c: Likewise.
12291 * locale/programs/xmalloc.c: Likewise.
12292 * misc/syslog.c: Likewise.
12293 * stdio-common/xbug.c: Likewise.
12294 * string/memchr.c: Likewise.
12295 * string/memcmp.c: Likewise.
12296 * string/memrchr.c: Likewise.
12297 * string/rawmemchr.c: Likewise.
12298 * sysdeps/posix/getcwd.c: Likewise.
12299 * time/strftime_l.c: Likewise.
12301 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12303 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12304 * config.make.in (config-cflags-sse2avx): Define.
12305 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12308 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12310 * scripts/config.guess: Update from upstream config git repository.
12311 * scripts/config.sub: Likewise.
12313 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12315 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12317 (R_TILEPRO_*, R_TILEGX_*): New macros.
12319 * scripts/firstversions.awk: Fix bug in version range handling.
12321 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12323 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12325 * include/sys/epoll.h: New file.
12326 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12329 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12331 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12332 Avoid unnecessary __WORDSIZE == 64 test.
12333 (fmaxf): Use VEX format if possible.
12338 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12339 * math/math_private.h: Remove libc_fegetround* and
12341 * sysdeps/i386/configure.in: Check for -msse2avx.
12342 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12343 also if SSE2AVX is defined.
12344 Remove libc_fegetround* and libc_fesetround*.
12345 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12346 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12350 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12352 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12353 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12355 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12357 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12361 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12363 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12366 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12368 * Makeconfig (libm): Define.
12369 * elf/Makefile: Add rules to build and run tst-relsort1.
12370 * elf/tst-relsort1.c: New file.
12371 * elf/tst-relsort1mod1.c: New file.
12372 * elf/tst-relsort1mod2.c: New file.
12374 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12376 * math/s_ldexp.c: Remove __STDC__ conditionals.
12377 * math/s_ldexpf.c: Likewise.
12378 * math/s_ldexpl.c: Likewise.
12379 * math/s_nextafter.c: Likewise.
12380 * math/s_nexttowardf.c: Likewise.
12381 * math/s_significand.c: Likewise.
12382 * math/s_significandf.c: Likewise.
12383 * math/s_significandl.c: Likewise.
12384 * math/w_jnl.c: Likewise.
12385 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12386 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12387 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12388 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12389 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12407 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12408 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12409 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12410 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12411 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12412 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12413 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12414 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12415 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12416 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12417 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12422 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12424 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12425 * sysdeps/ieee754/k_standard.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12505 * sysdeps/ieee754/s_matherr.c: Likewise.
12506 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12507 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12511 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12513 * crypt/md5.h: Remove __STDC__ conditionals.
12514 * libio/libioP.h: Likewise.
12515 * locale/programs/config.h: Likewise.
12516 * sysdeps/generic/sysdep.h: Likewise.
12517 * sysdeps/i386/asm-syntax.h: Likewise.
12518 * sysdeps/s390/asm-syntax.h: Likewise.
12519 * sysdeps/unix/sysdep.h: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12523 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12525 * libio/libio.h: Remove __STDC__ conditionals.
12526 * malloc/obstack.h: Likewise.
12527 * math/complex.h: Likewise.
12528 * math/math.h: Likewise.
12529 * sysdeps/generic/_G_config.h: Likewise.
12530 * sysdeps/gnu/_G_config.h: Likewise.
12531 * sysdeps/mach/hurd/_G_config.h: Likewise.
12532 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12533 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12534 * sysdeps/sparc/bits/mathdef.h: Likewise.
12536 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12539 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12540 Clean up HAS_* macros.
12541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12542 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12552 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12554 * elf/tst-unique3.cc (gets): Remove declaration.
12555 * elf/tst-unique3lib.cc (gets): Likewise.
12556 * elf/tst-unique3lib2.cc (gets): Likewise.
12557 * elf/tst-unique4.cc (gets): Likewise.
12559 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12561 * include/stdio.h: Add C++ protection. Add gets declarations and
12563 * debug/tst-chk1.c: Don't declare gets here.
12564 * stdio-common/tst-gets.c: Likewise.
12566 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12568 * posix/glob: Remove directory.
12570 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12572 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12574 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12576 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12577 of the non-standard EPFNOSUPPORT.
12579 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12581 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12582 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12583 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12585 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12587 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12589 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12591 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12593 * nscd/grpcache.c (cache_addgr): Likewise.
12594 * nscd/hstcache.c (cache_addhst): Likewise.
12595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12596 * nscd/pwdcache.c (cache_addpw): Likewise.
12597 * nscd/servicescache.c (cache_addserv): Likewise.
12599 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12601 * malloc/malloc.c: Various cleanups.
12602 * malloc/hooks.c: Likewise.
12604 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12605 * stdlib/bug-fmtmsg1.c: New file.
12607 * stdlib/fmtmsg.c (init): Add missing unlock.
12608 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12610 2012-01-12 Marek Polacek <polacek@redhat.com>
12612 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12615 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12617 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12618 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12619 macro to ensure uniqueness of label name.
12620 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12621 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12623 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12625 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12628 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12632 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12634 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12636 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12637 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12638 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12640 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12642 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12643 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12647 * math/bits/math-finite.h: Add ldexp support.
12649 2012-01-10 Marek Polacek <polacek@redhat.com>
12651 * locale/programs/localedef.h (show_archive_content): Add noreturn
12654 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12656 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12658 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12660 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12662 * io/Makefile (headers): Add bits/poll2.h.
12664 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12667 typo #include statement.
12669 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12671 * include/sys/cdefs.h: Define __attribute_alloc_size.
12672 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12673 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12674 * elf/pldd.c: Likewise.
12675 * iconv/iconv_charmap.c: Likewise.
12676 * iconv/iconvconfig.c: Likewise.
12677 * iconv/strtab.c: Likewise.
12678 * locale/programs/locale.c: Likewise.
12679 * locale/programs/localedef.h: Likewise.
12680 * locale/programs/simple-hash.c: Likewise.
12681 * nscd/nscd.h: Likewise.
12682 * nss/makedb.c: Likewise.
12683 * sysdeps/generic/ldconfig.h: Likewise.
12684 * locale/programs/localedef.c: Remove xmalloc prototype.
12685 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12687 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12689 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12692 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12694 * math/Makefile (tests): Add tst-CMPLX.
12695 * math/tst-CMPLX.c: New file.
12697 * math/complex.h (CMPLXL): Fix typo.
12699 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12700 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12702 * debug/tst-chk1.c: Add poll and ppoll tests.
12703 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12704 * include/sys/poll.h: Add hidden proto for ppoll.
12705 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12706 * sysdeps/mach/hurd/ppoll.c: Likewise.
12707 * io/ppoll.c: Likewise.
12708 * debug/poll_chk.c: New file.
12709 * debug/ppoll_chk.c: New file.
12710 * include/bits/poll2.h: New file.
12711 * io/bits/poll2.h: New file.
12714 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12716 * configure.in: static is always set to yes. Remove.
12717 * config.make.in: Don't set build-static.
12718 * Makeconfig: Remove use of build-static.
12719 * dlfcn/Makefile: Likewise.
12720 * elf/Makefile: Likewise.
12721 * math/Makefile: Likewise.
12722 * misc/Makefile: Likewise.
12723 * nptl/Makefile: Likewise.
12724 * sysdeps/mach/hurd/Makefile: Likewise.
12726 * configure.in: PWD_P is not used anymore.
12727 * config.make.in: Remove PWD_P entry.
12729 * configure.in: Remove last remnants of RANLIB.
12730 No need to check for signed size_t anymore.
12731 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12733 Remove __builtin_expect test because we require at least gcc 3.4.
12734 * aclocal.m4: Likewise.
12736 * wcsmbs/mbrtoc16.c: Implement using towc function.
12737 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12738 * wcsmbs/wcsmbsload.c: Likewise.
12739 * iconv/gconv_simple.c: Likewise.
12740 * iconv/gconv_int.h: Likewise.
12741 * iconv/gconv_builtin.h: Likewise.
12742 * iconv/iconv_prog.c: Remove CHAR16 handling.
12744 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12746 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12748 * configure.in: Remove --with-elf and --enable-bounded options.
12749 Dont set base_machine for ia64. More non-ELF conditions removed.
12750 Remove testing and setting of leading underscore information.
12751 * config.make.in (build-bounded): Set to no.
12752 * config.h.in: Remove NO_UNDERSCORES entry.
12753 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12755 * csu/start.c: Remove !NO_UNDERSCORE code.
12756 * locale/localeinfo.h: Likewise.
12757 * sysdeps/generic/machine-gmon.h: Likewise.
12758 * sysdeps/generic/sysdep.h: Likewise.
12759 * sysdeps/i386/sysdep.h: Likewise.
12760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12761 * sysdeps/mach/sysdep.h: Likewise.
12762 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12763 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12764 * sysdeps/sh/sysdep.h: Likewise.
12765 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12766 * sysdeps/unix/i386/sysdep.S: Likewise.
12767 * sysdeps/unix/sparc/start.c: Likewise.
12768 * sysdeps/unix/sparc/sysdep.S: Likewise.
12769 * sysdeps/unix/sparc/sysdep.h: Likewise.
12770 * sysdeps/unix/start.c: Likewise.
12771 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12772 * sysdeps/x86_64/sysdep.h: Likewise.
12774 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12777 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12779 * argp/argp-fmtstream.h: Use const instead __const.
12780 * argp/argp.h: Likewise.
12781 * assert/assert.h: Likewise.
12782 * bits/fenv.h: Likewise.
12783 * bits/sched.h: Likewise.
12784 * bits/sigset.h: Likewise.
12785 * bits/sigthread.h: Likewise.
12786 * catgets/nl_types.h: Likewise.
12787 * conform/data/pthread.h-data: Likewise.
12788 * crypt/crypt-private.h: Likewise.
12789 * crypt/crypt.h: Likewise.
12790 * crypt/crypt_util.c: Likewise.
12791 * ctype/ctype.h: Likewise.
12792 * debug/execinfo.h: Likewise.
12793 * debug/mbsnrtowcs_chk.c: Likewise.
12794 * debug/mbsrtowcs_chk.c: Likewise.
12795 * debug/wcsnrtombs_chk.c: Likewise.
12796 * debug/wcsrtombs_chk.c: Likewise.
12797 * debug/wcstombs_chk.c: Likewise.
12798 * dirent/dirent.h: Likewise.
12799 * dlfcn/dlfcn.h: Likewise.
12800 * elf/neededtest4.c: Likewise.
12801 * grp/grp.h: Likewise.
12802 * gshadow/gshadow.h: Likewise.
12803 * iconv/gconv.h: Likewise.
12804 * iconv/gconv_int.h: Likewise.
12805 * iconv/gconv_simple.c: Likewise.
12806 * iconv/iconv.h: Likewise.
12807 * iconv/loop.c: Likewise.
12808 * iconv/skeleton.c: Likewise.
12809 * include/aio.h: Likewise.
12810 * include/aliases.h: Likewise.
12811 * include/argz.h: Likewise.
12812 * include/arpa/inet.h: Likewise.
12813 * include/assert.h: Likewise.
12814 * include/dirent.h: Likewise.
12815 * include/dlfcn.h: Likewise.
12816 * include/execinfo.h: Likewise.
12817 * include/fcntl.h: Likewise.
12818 * include/fenv.h: Likewise.
12819 * include/glob.h: Likewise.
12820 * include/grp.h: Likewise.
12821 * include/libintl.h: Likewise.
12822 * include/mntent.h: Likewise.
12823 * include/netdb.h: Likewise.
12824 * include/pwd.h: Likewise.
12825 * include/rpc/netdb.h: Likewise.
12826 * include/sched.h: Likewise.
12827 * include/search.h: Likewise.
12828 * include/shadow.h: Likewise.
12829 * include/signal.h: Likewise.
12830 * include/stdio.h: Likewise.
12831 * include/stdlib.h: Likewise.
12832 * include/string.h: Likewise.
12833 * include/sys/socket.h: Likewise.
12834 * include/sys/stat.h: Likewise.
12835 * include/sys/statfs.h: Likewise.
12836 * include/sys/statvfs.h: Likewise.
12837 * include/sys/syslog.h: Likewise.
12838 * include/sys/time.h: Likewise.
12839 * include/sys/uio.h: Likewise.
12840 * include/time.h: Likewise.
12841 * include/unistd.h: Likewise.
12842 * include/utmp.h: Likewise.
12843 * include/wchar.h: Likewise.
12844 * include/wctype.h: Likewise.
12845 * inet/aliases.h: Likewise.
12846 * inet/arpa/inet.h: Likewise.
12847 * inet/netinet/ether.h: Likewise.
12848 * inet/netinet/in.h: Likewise.
12849 * intl/libintl.h: Likewise.
12850 * io/bits/fcntl2.h: Likewise.
12851 * io/fcntl.h: Likewise.
12852 * io/ftw.h: Likewise.
12853 * io/sys/poll.h: Likewise.
12854 * io/sys/stat.h: Likewise.
12855 * io/sys/statfs.h: Likewise.
12856 * io/sys/statvfs.h: Likewise.
12857 * io/utime.h: Likewise.
12858 * libio/bits/stdio.h: Likewise.
12859 * libio/bits/stdio2.h: Likewise.
12860 * libio/libio.h: Likewise.
12861 * libio/libioP.h: Likewise.
12862 * libio/stdio.h: Likewise.
12863 * locale/lc-ctype.c: Likewise.
12864 * locale/locale.h: Likewise.
12865 * login/utmp.h: Likewise.
12866 * malloc/arena.c: Likewise.
12867 * malloc/malloc.c: Likewise.
12868 * malloc/malloc.h: Likewise.
12869 * malloc/mcheck.c: Likewise.
12870 * malloc/mtrace.c: Likewise.
12871 * math/bits/mathcalls.h: Likewise.
12872 * math/fenv.h: Likewise.
12873 * math/math_private.h: Likewise.
12874 * misc/bits/error.h: Likewise.
12875 * misc/bits/syslog.h: Likewise.
12876 * misc/err.h: Likewise.
12877 * misc/error.h: Likewise.
12878 * misc/fstab.h: Likewise.
12879 * misc/mntent.h: Likewise.
12880 * misc/regexp.h: Likewise.
12881 * misc/search.h: Likewise.
12882 * misc/sgtty.h: Likewise.
12883 * misc/sys/mman.h: Likewise.
12884 * misc/sys/syslog.h: Likewise.
12885 * misc/sys/uio.h: Likewise.
12886 * misc/sys/xattr.h: Likewise.
12887 * misc/ttyent.h: Likewise.
12888 * nis/rpcsvc/ypclnt.h: Likewise.
12889 * nss/nss.h: Likewise.
12890 * posix/bits/unistd.h: Likewise.
12891 * posix/fnmatch.h: Likewise.
12892 * posix/glob.h: Likewise.
12893 * posix/sched.h: Likewise.
12894 * posix/spawn.h: Likewise.
12895 * posix/sys/wait.h: Likewise.
12896 * posix/unistd.h: Likewise.
12897 * posix/wordexp.h: Likewise.
12898 * pwd/pwd.h: Likewise.
12899 * resolv/netdb.h: Likewise.
12900 * resource/sys/resource.h: Likewise.
12901 * rt/aio.h: Likewise.
12902 * rt/bits/mqueue2.h: Likewise.
12903 * rt/mqueue.h: Likewise.
12904 * shadow/shadow.h: Likewise.
12905 * signal/signal.h: Likewise.
12906 * socket/send.c: Likewise.
12907 * socket/sendto.c: Likewise.
12908 * socket/sys/socket.h: Likewise.
12909 * stdio-common/printf.h: Likewise.
12910 * stdlib/bits/stdlib.h: Likewise.
12911 * stdlib/fmtmsg.h: Likewise.
12912 * stdlib/monetary.h: Likewise.
12913 * stdlib/stdlib.h: Likewise.
12914 * stdlib/ucontext.h: Likewise.
12915 * streams/stropts.h: Likewise.
12916 * string/argz.h: Likewise.
12917 * string/bits/string2.h: Likewise.
12918 * string/string.h: Likewise.
12919 * string/strings.h: Likewise.
12920 * sunrpc/rpc/auth.h: Likewise.
12921 * sunrpc/rpc/auth_des.h: Likewise.
12922 * sunrpc/rpc/clnt.h: Likewise.
12923 * sunrpc/rpc/netdb.h: Likewise.
12924 * sunrpc/rpc/pmap_clnt.h: Likewise.
12925 * sunrpc/rpc/xdr.h: Likewise.
12926 * sysdeps/generic/inttypes.h: Likewise.
12927 * sysdeps/generic/net/if.h: Likewise.
12928 * sysdeps/generic/sys/swap.h: Likewise.
12929 * sysdeps/gnu/net/if.h: Likewise.
12930 * sysdeps/gnu/utmpx.h: Likewise.
12931 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12932 * sysdeps/i386/i486/bits/string.h: Likewise.
12933 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12934 * sysdeps/s390/bits/string.h: Likewise.
12935 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12936 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12937 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12938 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12939 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12940 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12941 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12942 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12943 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12944 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12945 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12946 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12947 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12948 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12949 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12950 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12951 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12958 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12959 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12963 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12964 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12965 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12966 * sysvipc/sys/ipc.h: Likewise.
12967 * sysvipc/sys/msg.h: Likewise.
12968 * sysvipc/sys/sem.h: Likewise.
12969 * sysvipc/sys/shm.h: Likewise.
12970 * termios/termios.h: Likewise.
12971 * time/sys/time.h: Likewise.
12972 * time/time.h: Likewise.
12973 * wcsmbs/bits/wchar2.h: Likewise.
12974 * wcsmbs/uchar.h: Likewise.
12975 * wcsmbs/wchar.h: Likewise.
12976 * wctype/wctype.h: Likewise.
12979 * Makeconfig: Remove all but ELF support including AIX support.
12980 * Makerules: Likewise.
12981 * config.h.in: Likewise.
12982 * config.make.in: Likewise.
12983 * configure: Likewise.
12984 * configure.in: Likewise.
12985 * csu/Makefile: Likewise.
12986 * csu/version.c: Likewise.
12987 * debug/Makefile: Likewise.
12988 * dlfcn/Makefile: Likewise.
12989 * elf/Makefile: Likewise.
12990 * extra-lib.mk: Likewise.
12991 * iconv/Makefile: Likewise.
12992 * include/libc-symbols.h: Likewise.
12993 * include/shlib-compat.h: Likewise.
12994 * resolv/Makefile: Likewise.
12995 * resolv/res_libc.c: Likewise.
12996 * rt/Makefile: Likewise.
12997 * sysdeps/i386/asm-syntax.h: Likewise.
12998 * sysdeps/i386/sysdep.h: Likewise.
12999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13000 * sysdeps/mach/sysdep.h: Likewise.
13001 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13002 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13003 * sysdeps/s390/asm-syntax.h: Likewise.
13004 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13005 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13006 * sysdeps/sh/sysdep.h: Likewise.
13007 * sysdeps/unix/sparc/sysdep.h: Likewise.
13008 * sysdeps/wordsize-32/divdi3.c: Likewise.
13009 * sysdeps/x86_64/sysdep.h: Likewise.
13011 * argp/Versions: Remove _argp_unlock_xxx.
13014 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13015 * abilist/libBrokenLocale.abilist: Likewise.
13016 * abilist/libanl.abilist: Likewise.
13017 * abilist/libc.abilist: Likewise.
13018 * abilist/libcrypt.abilist: Likewise.
13019 * abilist/libdl.abilist: Likewise.
13020 * abilist/libm.abilist: Likewise.
13021 * abilist/libnsl.abilist: Likewise.
13022 * abilist/libpthread.abilist: Likewise.
13023 * abilist/libresolv.abilist: Likewise.
13024 * abilist/librt.abilist: Likewise.
13025 * abilist/libthread_db.abilist: Likewise.
13026 * abilist/libutil.abilist: Likewise.
13027 * abilist/libnss_db.abilist: New file.
13029 * scripts/abilist.awk: Add support for indirect functions.
13031 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13033 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13035 * shlib-versions: Remove entries for ports architectures.
13037 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13039 * elf/stackguard-macros.h: Remove support for IA-64.
13040 * elf/tst-auditmod1.c: Likewise.
13041 * sysdeps/generic/ldsodefs.h: Likewise.
13043 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13044 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13048 * configure.in: Remove --enable-omitfp support.
13050 * config.make.in: Likewise.
13051 * Makeconfig: Likewise.
13052 * manual/install.texi: Likewise.
13054 In case anyone cares, the IA-64 architecture could move to ports.
13055 * sysdeps/ia64/*: Removed.
13056 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13057 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13060 * configure.in: Remove entries for unsupported architectures.
13063 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13064 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13066 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13067 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13068 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13069 fall back to using wcrtomb.
13070 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13071 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13073 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13074 * wcsmbs/tst-c16c32-1.c: New file.
13076 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13079 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13081 * elf/tst-unique3.cc: Add explicit declaration of gets.
13082 * elf/tst-unique3lib.cc: Likewise.
13083 * elf/tst-unique3lib2.cc: Likewise.
13084 * elf/tst-unique4.cc: Likewise.
13086 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13088 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13091 * assert/assert.h (static_assert): Don't define for C++.
13092 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13093 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13095 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13097 * iconv/loop.c (single loop): Fix assertion in storing of
13100 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13102 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13104 * posix/getconf.c: Update copyright year.
13105 * nss/getent.c: Likewise.
13106 * nss/makedb.c: Likewise.
13107 * iconv/iconvconfig.c: Likewise.
13108 * iconv/iconv_prog.c: Likewise.
13109 * elf/ldconfig.c: Likewise.
13110 * elf/pldd.c: Likewise.
13111 * elf/sotruss.ksh: Likewise.
13112 * catgets/gencat.c: Likewise.
13113 * csu/version.c: Likewise.
13114 * elf/ldd.bash.in: Likewise.
13115 * elf/sprof.c (print_version): Likewise.
13116 * locale/programs/locale.c: Likewise.
13117 * locale/programs/localedef.c: Likewise.
13118 * login/programs/pt_chown.c: Likewise.
13119 * nscd/nscd.c (print_version): Likewise.
13120 * debug/xtrace.sh: Likewise.
13121 * malloc/memusage.sh: Likewise.
13122 * malloc/mtrace.pl: Likewise.
13123 * debug/catchsegv.sh: Likewise.
13125 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13127 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13130 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13133 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13134 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13136 * iconv/gconv_int.h: Likewise.
13137 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13138 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13139 from libc for GLIBC_2.16.
13140 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13141 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13142 * wcsmbs/uchar.h: Really define mbstate_t.
13143 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13144 * wcsmbs/c16rtomb.c: New file.
13145 * wcsmbs/mbrtoc16.c: New file.
13146 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13147 for C/POSIX locale.
13148 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13149 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13151 * wcsmbs/wchar.h: Add missing __restrict.
13153 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13156 * time/Makefile (routines): Add timespec_get.
13157 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13158 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13159 timespec for ISO C11.
13160 * time/timespec_get.c: New file.
13161 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13162 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13165 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13166 * stdlib/stdlib.h: Declare aligned_alloc.
13167 * Versions.def: Add GLIBC_2.16 for libc.
13168 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13171 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13174 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13178 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13181 * assert/assert.h (static_assert): Define.
13183 * version.h: Update for 2.16 development version.
13186 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13189 * version.h (RELEASE): Bump for 2.15 release.
13190 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13192 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13193 Patch by Marek Polacek <mpolacek@redhat.com>.
13195 * bits/byteswap.h: Protect long long constants with __extension__.
13196 * sysdeps/i386/bits/byteswap.h: Likewise.
13197 * sysdeps/ia64/bits/byteswap.h: Likewise.
13198 * sysdeps/s390/bits/byteswap.h: Likewise.
13199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13201 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13205 destination buffer.
13206 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13208 2011-12-23 Marek Polacek <polacek@redhat.com>
13210 * elf/dl-addr.c (determine_info): Add inline keyword.
13211 * elf/tst-auditmod4b.c (check_avx): Likewise.
13212 * elf/tst-auditmod6b.c (check_avx): Likewise.
13213 * elf/tst-auditmod6c.c (check_avx): Likewise.
13214 * elf/tst-auditmod7b.c (check_avx): Likewise.
13216 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13221 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13224 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13225 processing for last bytes.
13227 2011-08-06 Bruno Haible <bruno@clisp.org>
13230 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13231 U+0385, not to U+1FEE.
13234 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13235 entry for U+00A5 U+0301.
13237 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13240 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13241 buffer for the output is too small.
13243 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13247 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13248 SSE flags if possible.
13250 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13253 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13254 processing for last bytes.
13256 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13259 (syscall-list-default-options, syscall-list-default-condition)
13260 (syscall-list-includes): Define.
13261 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13262 list of ABIs and options and #if conditions for each ABI. Do not
13263 handle common syscalls between ABIs specially.
13264 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13266 (syscall-list-variants, syscall-list-32bit-options)
13267 (syscall-list-32bit-condition, syscall-list-64bit-options)
13268 (syscall-list-64bit-condition): Define.
13269 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13270 (syscall-list-variants, syscall-list-32bit-options)
13271 (syscall-list-32bit-condition, syscall-list-64bit-options)
13272 (syscall-list-64bit-condition): Define.
13273 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13275 (syscall-list-variants, syscall-list-32bit-options)
13276 (syscall-list-32bit-condition, syscall-list-64bit-options)
13277 (syscall-list-64bit-condition): Define.
13278 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13280 (syscall-list-variants, syscall-list-32bit-options)
13281 (syscall-list-32bit-condition, syscall-list-64bit-options)
13282 (syscall-list-64bit-condition): Define.
13284 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13286 * locale/iso-639.def: Add brx entry.
13289 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13290 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13292 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13293 __feraiseexcept_renamed.
13295 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13298 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13299 EPOLLET with unsigned values.
13300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13303 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13304 to large cancellation.
13305 * math/s_cacoshf.c: Likewise.
13306 * math/s_cacoshl.c: Likewise.
13308 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13312 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13313 * math/s_cacoshf.c: Likewise.
13314 * math/s_cacoshl.c: Likewise.
13316 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13319 * iconv/gconv.h: Define __GCONV_SWAP.
13320 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13321 * iconvdata/utf-16.c: Likewise.
13322 * iconvdata/utf-32.c: Likewise.
13324 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13328 numerator after shifting it by one limb.
13330 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13332 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13333 under [__USE_EXTERN_INLINES].
13335 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13338 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13340 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13343 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13345 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13346 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13347 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13348 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13349 for strncasecmp/strncasecmp_l compilation.
13350 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13351 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13353 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13356 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13359 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13362 * time/tzfile.c (__tzfile_read): Check values from file header.
13364 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13366 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13367 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13368 * powerpc/powerpc32/dl-start.S: Likewise.
13369 * powerpc/powerpc32/elf/start.S: Likewise.
13370 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13371 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13372 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13373 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13374 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13375 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13376 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13377 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13378 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13379 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13380 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13381 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13382 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13383 * powerpc/powerpc32/memset.S: Likewise.
13384 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13385 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13386 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13387 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13388 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13389 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13390 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13391 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13392 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13393 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13394 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13395 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13396 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13398 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13400 * math/libm-test.inc: Added more nearbyint tests.
13401 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13403 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13406 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13408 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13411 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13413 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13414 Add wcscpy-ssse3 wcscpy-c.
13415 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13416 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13417 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13418 * sysdeps/x86_64/wcschr.S: New file.
13419 * sysdeps/x86_64/wcsrchr.S: New file.
13420 * string/test-strcmp.c: Remove checking of wcscmp function for
13422 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13423 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13424 wcsrchr-sse2 wcsrchr-c.
13425 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13426 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13427 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13428 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13429 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13430 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13431 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13432 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13434 * wcsmbc/wcschr.c (WCSCHR): New macro.
13436 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13438 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13439 * wcsmbs/test-wcsrchr.c: New file.
13440 * string/test-strrchr.c: Add wcsrchr support.
13442 * wcsmbs/test-wcscpy.c: New file.
13443 * string/test-strcpy.c: Add wcscpy support.
13446 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13448 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13451 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13454 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13456 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13458 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13459 Minor optimizations.
13461 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13462 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13463 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13465 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13467 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13468 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13469 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13470 for gcc to avoid warnings.
13471 * inet/Makefile (tests): Add tst-checks.
13472 * inet/tst-checks.c: New file.
13474 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13477 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13480 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13481 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13483 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13485 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13487 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13490 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13492 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13494 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13495 conditional on GCC version.
13496 (__arch_compare_and_exchange_val_8_acq)
13497 (__arch_compare_and_exchange_val_16_acq)
13498 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13499 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13500 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13502 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13504 * sysdeps/sh/backtrace.c: New file.
13506 2011-12-02 Andreas Schwab <schwab@redhat.com>
13508 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13511 2011-12-01 Andreas Schwab <schwab@redhat.com>
13513 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13514 falling back to utime.
13516 2011-11-30 Andreas Schwab <schwab@redhat.com>
13518 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13519 expectations for float.
13521 2011-11-29 Andreas Schwab <schwab@redhat.com>
13523 * locale/weight.h (findidx): Add parameter len.
13524 * locale/weightwc.h (findidx): Likewise.
13525 * posix/fnmatch_loop.c (FCT): Adjust caller.
13526 * posix/regcomp.c (build_equiv_class): Likewise.
13527 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13528 * posix/regexec.c (check_node_accept_bytes): Likewise.
13529 * string/strcoll_l.c (STRCOLL): Likewise.
13530 * string/strxfrm_l.c (STRXFRM): Likewise.
13532 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13534 * Makefile.in: Remove CVSOPT handling.
13535 * configure.in: Remove use of AC_REVISION.
13536 * iconvdata/Makefile (distribute): No need to filter out CVS.
13537 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13540 2011-11-16 Andreas Schwab <schwab@redhat.com>
13542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13543 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13544 [USE_AS_STRNCASECMP_L]: Likewise.
13545 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13546 NO_TLS_DIRECT_SEG_REFS.
13547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13548 Fix argument offsets for non-PIC.
13549 [USE_AS_STRNCASECMP_L]: Likewise.
13550 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13551 NO_TLS_DIRECT_SEG_REFS.
13553 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13555 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13557 * locale/loadlocale.c (_nl_load_locale): Likewise.
13559 2011-11-15 Andreas Schwab <schwab@redhat.com>
13561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13562 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13563 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13564 (SYSCALL_GETTIME): Set errno on error.
13566 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13567 count references to noai6ai_cached.
13569 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13571 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13573 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13574 FD_CLOEXEC for /proc/self/maps.
13576 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13577 FD_CLOEXEC for /proc/meminfo.
13579 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13582 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13583 FD_CLOEXEC for given file.
13585 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13587 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13588 FD_CLOEXEC for /etc/hosts.
13589 (_gethtent): Likewise.
13591 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13593 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13594 cancellation and set FD_CLOEXEC for /etc/netgroup.
13596 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13597 reading /etc/publickey.
13599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13600 allow cancellation when reading /etc/group.
13602 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13604 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13606 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13607 when using data file.
13609 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13611 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13612 (write_nis_obj): Use "c" and "e" in fopen.
13614 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13616 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13618 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13620 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13622 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13625 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13627 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13629 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13631 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13632 file parsing and set FD_CLOEXEC.
13634 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13636 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13638 2011-11-14 Andreas Schwab <schwab@redhat.com>
13640 * malloc/arena.c (arena_get2): Don't call reused_arena when
13641 _int_new_arena failed.
13643 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13645 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13646 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13648 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13651 to compile strcasecmp and strncasecmp.
13652 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13653 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13657 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13659 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13660 locale-defines.sym to gen-as-const-headers.
13661 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13662 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13664 to compile strcasecmp and strncasecmp.
13665 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13666 strcasecmp_l and strncasecmp_l.
13667 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13668 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13669 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13670 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13671 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13672 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13673 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13674 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13675 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13676 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13677 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13679 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13681 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13682 result of SYSDEP_GETTIME_CPU to retval.
13683 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13684 parameter list to macro. Remove trailing semicolon. Adjust users.
13686 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13689 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13691 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13693 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13694 from unused variable.
13696 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13698 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13701 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13704 * sunrpc/rpc_prot.c (rejected): Fix case value.
13706 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13707 unsigned long long int to avoid warnings in shift.
13709 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13711 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13714 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13715 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13716 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13718 * nis/nis_table.c (nis_list): Use variable of correct type for
13719 result of __follow_path call.
13721 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13723 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13724 of math functions ceil, trunc, floor, round, and sqrt, when
13725 avaliable on the platform.
13726 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13728 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13729 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13730 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13732 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13734 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13735 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13737 2011-11-11 Roland McGrath <roland@hack.frob.com>
13739 * include/unistd.h: Fix __readlink return type.
13740 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13742 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13744 * stdlib/ucontext.h: Undo last change for makecontext.
13746 2011-11-11 Andreas Schwab <schwab@redhat.com>
13748 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13750 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13751 * setjmp/setjmp.h: Mark functions as non-leaf.
13752 * setjmp/bits/setjmp2.h: Likewise.
13753 * stdlib/ucontext.h: Likewise.
13755 2011-11-10 Andreas Schwab <schwab@redhat.com>
13757 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13758 (reused_arena): Don't check arena limit.
13759 (arena_get2): Atomically check arena limit.
13761 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13763 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13764 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13769 2011-11-07 Andreas Schwab <schwab@redhat.com>
13771 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13772 handler when locking.
13774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13775 Fix size of allocated buffer.
13777 2011-11-04 Andreas Schwab <schwab@redhat.com>
13780 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13781 declarations for long double functions.
13782 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13784 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13786 2011-11-03 Andreas Schwab <schwab@redhat.com>
13788 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13791 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13794 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13796 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13798 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13800 * include/alloca.h (stackinfo_alloca_round): Define.
13801 (extend_alloca): Use it.
13802 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13803 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13806 * scripts/check-local-headers.sh: Ignore libaudit.h.
13808 * nscd/Makefile (extra-objs): Make recursively expanded.
13810 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13812 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13815 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13816 * posix/tst-rfc3484-2.c: Likewise.
13817 * posix/tst-rfc3484-3.c: Likewise.
13819 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13821 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13823 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13824 process_vm_writev from libc using GLIBC_2.15 version.
13826 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13828 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13830 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13833 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13836 * nss/getent.c (initgroups_keys): Show error message in case no group
13839 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13840 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13841 __bump_nl_timestamp.
13842 * nscd/connections (nscd_init): When host database is served open
13843 netlink socket and request notification about configuration changes.
13844 (main_loop_poll): Track netlink file descriptor and bump timestamp
13845 in case data becomes available.
13846 (main_loop_epoll): Likewise.
13847 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13848 (database_pers_head): Add extra_data fileds.
13849 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13850 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13851 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13854 in6ai data, call __free_in6ai.
13855 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13856 Add -DHAVE_NETLINK.
13857 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13858 interface information. Reuse previous data if netlink timestamp
13860 (__bump_nl_timestamp): New function.
13861 (__free_in6ai): New function.
13863 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13866 close_not_cancel_no_status here.
13867 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13869 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13872 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13875 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13876 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13877 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13879 2011-07-03 Andreas Jaeger <aj@suse.de>
13882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13883 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13884 * math/libm-test.inc (sin_test): Add test case.
13886 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13889 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13890 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13892 * elf/chroot_canon.c (chroot_canon): Cleanups.
13894 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13897 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13898 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13900 * string/test-strchr.c: Make usable for strchrnul testing.
13901 * string/test-strchrnul.c: New file.
13902 * string/Makefile (strop-tests): Add strchrnul.
13904 * po/it.po: Update from translation team.
13905 * po/es.po: Likewise.
13907 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13909 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13910 the three constants needed as parameters. Drop the others.
13911 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13912 __m128i_strloadu_tolower.
13913 Create and initialize variable zero and use it in all the places
13914 where _mm_setzero_si128 was used.
13916 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13917 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13918 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13919 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13921 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13922 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13923 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13924 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13925 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13926 __mpranred, __mptan.
13927 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13928 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13929 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13930 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13931 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13932 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13935 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13937 2011-10-28 Andreas Schwab <schwab@redhat.com>
13939 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13940 redefine if SHARED.
13941 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13944 wide char related routines to wcsmbs subdir.
13946 2011-10-27 Andreas Schwab <schwab@redhat.com>
13949 * misc/sys/cdefs.h (__THROWNL): Define.
13950 * posix/unistd.h: Use __THREADNL instead of __THREAD
13951 for memory synchronization functions.
13953 2011-10-26 Roland McGrath <roland@hack.frob.com>
13956 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13958 * manual/stdio.texi (Obstack Streams): Node removed.
13960 2011-10-26 Andreas Schwab <schwab@redhat.com>
13962 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13964 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13966 * math/math_private.h (math_force_eval): Allow non-addressable
13968 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13970 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13972 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13973 file is not needed.
13975 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13979 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13982 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13984 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13985 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13986 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13987 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13988 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13989 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13990 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13991 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13992 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13993 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13994 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13995 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13996 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13997 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13998 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13999 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14000 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14001 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14002 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14004 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14005 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14007 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14008 place. Use VEX encoding when compiling for AVX.
14010 2011-10-25 Andreas Schwab <schwab@redhat.com>
14012 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14013 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14015 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14017 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14019 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14020 useless if() expression.
14021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14031 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14032 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14033 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14034 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14035 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14036 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14037 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14039 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14041 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14043 2011-10-25 Andreas Schwab <schwab@redhat.com>
14045 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14047 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14049 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14051 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14052 .text section. Avoid duplicate constants.
14053 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14063 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14065 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14068 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14076 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14077 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14078 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14079 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14080 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14082 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14083 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14084 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14085 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14086 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14087 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14088 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14089 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14090 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14091 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14092 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14095 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14096 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14097 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14099 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14101 * sysdeps/x86_64/dla.h: Move to ...
14102 * sysdeps/x86_64/fpu/dla.h: ...here.
14103 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14104 situations. Use __builtin_fma only for gcc 4.6 and up.
14106 * config.make.in: Add have-mfma4 entry.
14107 * configure.in: Substitute libc_cv_cc_fma4.
14108 * math/Makefile (dbl-only-routines): Add sincostab.
14109 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14110 Use __sincostab not sincos.
14111 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14118 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14119 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14120 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14121 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14123 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14124 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14126 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14127 define aliases when function name is a macro.
14128 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14129 sysdeps/ieee754/dbl-64/sincos.tbl.
14130 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14131 fma4-enabled routines.
14132 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14133 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14134 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14135 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14136 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14137 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14142 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14143 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14144 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14145 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14146 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14147 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14148 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14149 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14150 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14151 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14152 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14153 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14155 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14156 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14157 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14159 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14160 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14161 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14163 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14165 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14174 2011-10-24 Andreas Schwab <schwab@redhat.com>
14176 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14178 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14180 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14182 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14184 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14186 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14187 Remove unused variable magic_bits.
14188 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14190 * string/strnlen.c: Define and use STRNLEN macro.
14191 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14192 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14193 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14194 * wcsmbs/wcslen.c: Define and use WCSLEN.
14195 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14196 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14197 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14198 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14199 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14200 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14201 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14203 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14206 strnlen-sse2-no-bsf.
14207 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14209 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14210 Add strnlen support.
14211 (USE_AS_STRNLEN): New macro.
14212 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14213 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14214 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14215 * sysdeps/x86_64/wcslen.S: New file.
14217 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14220 XMM-moves are used for copying on small sizes.
14222 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14224 * wcsmbs/Makefile (strop-tests): Add wcschr.
14225 * wcsmbs/test-wcschr.c: New file.
14226 * string/test-strchr.c: Update.
14227 Add wcschr support.
14230 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14232 * wcsmbs/Makefile (strop-tests): Add wcslen.
14233 * wcsmbs/test-wcslen.c: New file.
14234 * string/test-strlen.c: Update.
14235 Add wcslen support.
14238 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14240 * po/it.po: Update from translation team.
14242 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14244 * sysdeps/x86_64/wcscmp.S: Update.
14245 Fix wrong comparison semantics.
14246 wcscmp shall use signed comparison not unsigned.
14247 Don't use substraction to avoid overflow bug.
14248 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14249 * wcsmbc/wcscmp.c: Likewise.
14250 * string/test-strcmp.c: Likewise.
14251 Add new tests to check cases with negative values.
14253 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14255 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14256 * sysdeps/x86_64/dla.h: ...here. New file.
14257 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14267 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14270 __ynl_finite aliases.
14272 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14276 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14278 [DLA_FMA] (EMULV): Use DLA_FMA.
14279 [DLA_FMA] (MUL12): Use EMULV.
14280 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14281 that are not needed.
14282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14290 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14292 * math/s_nan.c: Undef __nan.
14293 * math/s_nanf.c: Undef __nanf.
14294 * math/s_nanl.c: Undef __nanl.
14295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14298 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14300 * math/s_catan.c: Add branch predictions.
14301 * math/s_catanf.c: Likewise.
14302 * math/s_catanh.c: Likewise.
14303 * math/s_catanhf.c: Likewise.
14304 * math/s_catanhl.c: Likewise.
14305 * math/s_catanl.c: Likewise.
14306 * math/s_cexp.c: Likewise.
14307 * math/s_cexpf.c: Likewise.
14308 * math/s_cexpl.c: Likewise.
14309 * math/s_clog.c: Likewise.
14310 * math/s_clog10.c: Likewise.
14311 * math/s_clog10f.c: Likewise.
14312 * math/s_clog10l.c: Likewise.
14313 * math/s_clogf.c: Likewise.
14314 * math/s_clogl.c: Likewise.
14315 * math/s_csqrt.c: Likewise.
14316 * math/s_csqrtf.c: Likewise.
14317 * math/s_csqrtl.c: Likewise.
14318 * math/s_ctanf.c: Likewise.
14319 * math/s_ctanh.c: Likewise.
14320 * math/s_ctanhf.c: Likewise.
14321 * math/s_ctanhl.c: Likewise.
14322 * math/s_ctanl.c: Likewise.
14324 * math/math_private.h: Define __nan, __nanf, __nanl.
14325 * math/s_cacosh.c: Include <math_private.h>.
14326 * math/s_cacoshl.c: Likewise.
14327 * math/s_casinh.c: Likewise.
14328 * math/s_casinhf.c: Likewise.
14329 * math/s_casinhl.c: Likewise.
14330 * math/s_ccos.c: Rely entire on ccosh.
14331 * math/s_ccosf.c: Rely entire on ccoshf.
14332 * math/s_ccosl.c: Rely entirely on ccoshl.
14333 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14334 Remove tests for FE_INVALID.
14335 * math/s_ccoshf.c: Likewise.
14336 * math/s_ccoshl.c: Likewise.
14337 * math/s_csin.c: Likewise.
14338 * math/s_csinf.c: Likewise.
14339 * math/s_csinh.c Likewise.
14340 * math/s_csinhf.c: Likewise.
14341 * math/s_csinhl.c: Likewise.
14342 * math/s_csinl.c: Likewise.
14343 * math/s_ctan.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14345 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14346 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14348 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14351 compilation problems.
14353 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14356 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14358 * sysdeps/i386/configure.in: Test for -mfma4 option.
14359 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14360 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14361 COMMON_CPUID_INDEX_80000001.
14362 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14363 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14364 use it if FMA3 is not supported.
14365 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14367 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14368 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14370 2011-10-20 Andreas Schwab <schwab@redhat.com>
14373 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14374 it would create a cycle with a link time dependency.
14376 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14378 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14380 * string/Makefile (strop-tests): Add rawmemchr.
14381 * string/test-rawmemchr.c: New file.
14383 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14385 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14386 when compiling str{,n}casecmp and when AVX is available. Hook up
14387 new optimized code in initializers.
14389 2011-10-19 Andreas Schwab <schwab@redhat.com>
14391 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14392 __feraiseexcept instead of feraiseexcept.
14394 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14396 * math/math_private.h: Define defaults for libc_fetestexcept and
14398 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14399 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14400 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14401 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14402 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14403 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14404 libc_fetestexcept and libc_feupdateenv.
14406 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14407 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14408 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14409 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14410 libc_feholdexcept_setround.
14412 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14413 Add s_nearbyint-c and s_nearbyintf-c.
14414 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14415 nearbyintf inlines.
14416 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14417 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14418 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14421 * math/math_private.h: Define defaults for libc_fegetround,
14422 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14423 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14424 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14425 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14426 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14427 standard functions.
14428 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14429 Remove comments and hacks for old compiler versions.
14430 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14431 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14432 libc_feholdexceptl.
14434 2011-10-18 Andreas Schwab <schwab@redhat.com>
14436 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14437 (__feraiseexcept_renamed): Add __NTH.
14438 (feraiseexcept): Add __NTH. Rename local variables to fix
14439 namespace violations.
14441 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14445 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14447 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14448 recently added interfaces.
14449 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14451 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14452 about macro parameter expansion.
14454 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14455 __NO_MATH_INLINES is defined. Cleanups.
14457 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14458 and __floorf is target has SSE4.1.
14459 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14460 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14461 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14462 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14464 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14466 (floorf): Likewise.
14468 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14470 2011-10-17 Andreas Schwab <schwab@redhat.com>
14472 * misc/sys/cdefs.h: Fix last change.
14474 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14477 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14479 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14481 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14487 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14488 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14489 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14490 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14491 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14492 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14493 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14494 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14495 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14496 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14497 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14498 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14499 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14500 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14501 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14502 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14504 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14505 ceil, ceilf, floor, floorf.
14507 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14508 Perform IRELATIVE relocations last.
14510 * elf/do-rel.h: Add another parameter nrelative, replacing the
14511 local variable with the same name. Change name of the function
14512 to end in Rel or Rela (uppercase).
14513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14514 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14515 elf_dynamic_do_##reloc function.
14517 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14519 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14520 is sufficient, at least on modern CPUs.
14522 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14524 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14525 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14527 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14529 * math/bits/math-finite.h: Add entries for exp.
14530 * math/e_expl.c: Add __*_finite alias.
14531 * sysdeps/i386/fpu/e_exp.S: Likewise.
14532 * sysdeps/i386/fpu/e_expf.S: Likewise.
14533 * sysdeps/i386/fpu/e_expl.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14535 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14539 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14542 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14543 is sufficient, at least on modern CPUs.
14545 * ctype/ctype-info.c (__ctype_init): Define.
14546 * include/ctype.h (__ctype_init): Declare.
14547 (__ctype_b_loc): The variable is always initialized.
14548 (__ctype_toupper_loc): Likewise.
14549 (__ctype_tolower_loc): Likewise.
14550 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14551 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14553 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14555 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14557 * configure.in: Also look in $cxxmachine/include for C++ system
14560 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14562 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14563 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14564 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14565 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14567 (USE_AS_WMEMCMP): New macro.
14569 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14570 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14571 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14572 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14574 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14575 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14576 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14577 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14578 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14580 (USE_AS_WMEMCMP): New macro.
14581 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14582 * sysdeps/string/test-memcmp.c: Update.
14583 Fix simple_wmemcmp.
14585 * wcsmbs/wmemcmp.c: Update.
14586 (WMEMCMP): New macro.
14589 2011-10-12 Andreas Jaeger <aj@suse.de>
14592 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14594 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14596 * libio/iofwide.c (do_length): Avoid warning.
14598 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14600 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14602 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14604 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14605 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14606 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14607 * sysdeps/i386/i686/fpu/e_log.S: New file.
14608 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14609 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14611 * ctype/ctype.h: Add support for inlined isXXX functions when
14612 compiling C++ code.
14614 2011-10-14 Andreas Schwab <schwab@redhat.com>
14616 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14618 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14620 2011-10-13 Roland McGrath <roland@hack.frob.com>
14623 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14625 2011-10-13 Andreas Schwab <schwab@redhat.com>
14627 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14628 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14631 * sysdeps/x86_64/memrchr.S: Check for zero size.
14633 * string/stratcliff.c: Add memrchr tests.
14635 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14638 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14639 rawmemchr-sse2 rawmemchr-sse2-bsf.
14640 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14641 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14642 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14643 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14644 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14645 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14646 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14647 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14648 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14649 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14650 * string/memrchr.c (MEMRCHR): New macro.
14652 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14654 Add integration with gcc's -ffinite-math-only and optimize wrapper
14656 * Versions.def: Define GLIBC_2.15 version for libm.
14657 * math/Makefile (headers): Add bits/math-finite.h.
14658 * math/bits/math-finite.h: New file.
14659 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14660 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14661 * math/e_acoshl.c: Add __*_finite alias.
14662 * math/e_acosl.c: Likewise.
14663 * math/e_asinl.c: Likewise.
14664 * math/e_atan2l.c: Likewise.
14665 * math/e_atanhl.c: Likewise.
14666 * math/e_coshl.c: Likewise.
14667 * math/e_exp10.c: Likewise.
14668 * math/e_exp10f.c: Likewise.
14669 * math/e_exp10l.c: Likewise.
14670 * math/e_exp2l.c: Likewise.
14671 * math/e_fmodl.c: Likewise.
14672 * math/e_gammal_r.c: Likewise.
14673 * math/e_hypotl.c: Likewise.
14674 * math/e_j0l.c: Likewise.
14675 * math/e_j1l.c: Likewise.
14676 * math/e_jnl.c: Likewise.
14677 * math/e_lgammal_r.c: Likewise.
14678 * math/e_log10l.c: Likewise.
14679 * math/e_log2l.c: Likewise.
14680 * math/e_logl.c: Likewise.
14681 * math/e_powl.c: Likewise.
14682 * math/e_sinhl.c: Likewise.
14683 * math/e_sqrtl.c: Likewise.
14684 * math/e_scalb.c: Completely rewritten and optimized.
14685 * math/e_scalbf.c: Likewise.
14686 * math/e_scalbl.c: Likewise.
14687 * math/w_acos.c: Likewise.
14688 * math/w_acosf.c: Likewise.
14689 * math/w_acosl.c: Likewise.
14690 * math/w_acosh.c: Likewise.
14691 * math/w_acoshf.c: Likewise.
14692 * math/w_acoshl.c: Likewise.
14693 * math/w_asin.c: Likewise.
14694 * math/w_asinf.c: Likewise.
14695 * math/w_asinl.c: Likewise.
14696 * math/w_atan2.c: Likewise.
14697 * math/w_atan2f.c: Likewise.
14698 * math/w_atan2l.c: Likewise.
14699 * math/w_atanh.c: Likewise.
14700 * math/w_atanhf.c: Likewise.
14701 * math/w_atanhl.c: Likewise.
14702 * math/w_exp10.c: Likewise.
14703 * math/w_exp10f.c: Likewise.
14704 * math/w_exp10l.c: Likewise.
14705 * math/w_fmod.c: Likewise.
14706 * math/w_fmodf.c: Likewise.
14707 * math/w_fmodl.c: Likewise.
14708 * math/w_j0.c: Likewise.
14709 * math/w_j0f.c: Likewise.
14710 * math/w_j0l.c: Likewise.
14711 * math/w_j1.c: Likewise.
14712 * math/w_j1f.c: Likewise.
14713 * math/w_j1l.c: Likewise.
14714 * math/w_jn.c: Likewise.
14715 * math/w_jnf.c: Likewise.
14716 * math/w_log.c: Likewise.
14717 * math/w_logf.c: Likewise.
14718 * math/w_logl.c: Likewise.
14719 * math/w_log10.c: Likewise.
14720 * math/w_log10f.c: Likewise.
14721 * math/w_log10l.c: Likewise.
14722 * math/w_log2.c: Likewise.
14723 * math/w_log2f.c: Likewise.
14724 * math/w_log2l.c: Likewise.
14725 * math/w_pow.c: Likewise.
14726 * math/w_powf.c: Likewise.
14727 * math/w_powl.c: Likewise.
14728 * math/w_remainder.c: Likewise.
14729 * math/w_remainderf.c: Likewise.
14730 * math/w_remainderl.c: Likewise.
14731 * math/w_scalb.c: Likewise.
14732 * math/w_scalbf.c: Likewise.
14733 * math/w_scalbl.c: Likewise.
14734 * math/w_sqrt.c: Likewise.
14735 * math/w_sqrtf.c: Likewise.
14736 * math/w_sqrtl.c: Likewise.
14737 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14738 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14740 * math/math_private.h: Declare __kernel_standard_f.
14741 * math/w_cosh.c: Remove cruft and optimize a bit.
14742 * math/w_coshf.c: Likewise.
14743 * math/w_coshl.c: Likewise.
14744 * math/w_exp2.c: Likewise.
14745 * math/w_exp2f.c: Likewise.
14746 * math/w_exp2l.c: Likewise.
14747 * math/w_hypot.c: Likewise.
14748 * math/w_hypotf.c: Likewise.
14749 * math/w_hypotl.c: Likewise.
14750 * math/w_lgamma.c: Likewise.
14751 * math/w_lgamma_r.c: Likewise.
14752 * math/w_lgammaf.c: Likewise.
14753 * math/w_lgammaf_r.c: Likewise.
14754 * math/w_lgammal.c: Likewise.
14755 * math/w_lgammal_r.c: Likewise.
14756 * math/w_sinh.c: Likewise.
14757 * math/w_sinhf.c: Likewise.
14758 * math/w_sinhl.c: Likewise.
14759 * math/w_tgamma.c: Likewise.
14760 * math/w_tgammaf.c: Likewise.
14761 * math/w_tgammal.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14764 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14765 Minor optimizations. Pretty printing. Remove cruft.
14766 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14767 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14768 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14769 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14770 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14771 * sysdeps/i386/fpu/e_asin.S: Likewise.
14772 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14773 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14774 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14775 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14776 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14778 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14779 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14780 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14781 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14782 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14783 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14784 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14785 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14786 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14787 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14788 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14789 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14790 * sysdeps/i386/fpu/e_log.S: Likewise.
14791 * sysdeps/i386/fpu/e_log10.S: Likewise.
14792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14793 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14794 * sysdeps/i386/fpu/e_log2.S: Likewise.
14795 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14796 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14797 * sysdeps/i386/fpu/e_logf.S: Likewise.
14798 * sysdeps/i386/fpu/e_logl.S: Likewise.
14799 * sysdeps/i386/fpu/e_pow.S: Likewise.
14800 * sysdeps/i386/fpu/e_powf.S: Likewise.
14801 * sysdeps/i386/fpu/e_powl.S: Likewise.
14802 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14803 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14804 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14805 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14806 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14807 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14808 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14809 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14810 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14832 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14833 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14834 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14835 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14836 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14837 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14838 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14839 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14840 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14841 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14842 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14843 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14844 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14845 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14846 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14847 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14848 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14849 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14850 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14851 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14852 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14902 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14903 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14904 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14905 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14906 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14907 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14908 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14909 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14910 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14911 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14912 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14913 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14914 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14916 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14917 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14919 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14920 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14921 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14922 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14923 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14924 (__isnanf): Likewise.
14925 (__isinf_ns): Likewise.
14926 (__isinf_nsf): Likewise.
14927 (__finite): Likewise.
14928 (__finitef): Likewise.
14929 (__ieee754_sqrt): Define as macro.
14930 (__ieee754_sqrtf): Define as macro.
14931 (__ieee754_sqrtl): Define as macro.
14932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14934 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14935 __FINITE_MATH_ONLY__ consistent.
14936 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14938 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14940 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14943 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14945 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14947 * po/ja.po: Update from translation team.
14949 2011-10-08 Roland McGrath <roland@hack.frob.com>
14951 * locale/programs/locarchive.c (prepare_address_space): New function.
14952 (create_archive, enlarge_archive, open_archive): Use it.
14954 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14955 inside [SHARED], where it is used.
14957 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14959 * nss/getent.c (netgroup_keys): Remove unused variable.
14960 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14962 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14964 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14965 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14967 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14968 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14969 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14970 * math/Makefile (libm-calls): Add s_isinf_ns.
14971 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14972 * math/multc3.c: Likewise.
14973 * math/s_casin.c: Likewise.
14974 * math/s_casinf.c: Likewise.
14975 * math/s_casinl.c: Likewise.
14976 * math/s_ccos.c: Likewise.
14977 * math/s_ccosf.c: Likewise.
14978 * math/s_ccosl.c: Likewise.
14979 * math/s_ctan.c: Likewise.
14980 * math/s_ctanf.c: Likewise.
14981 * math/s_ctanh.c: Likewise.
14982 * math/s_ctanhf.c: Likewise.
14983 * math/s_ctanhl.c: Likewise.
14984 * math/s_ctanl.c: Likewise.
14985 * math/w_fmod.c: Likewise.
14986 * math/w_fmodf.c: Likewise.
14987 * math/w_fmodl.c: Likewise.
14988 * math/w_remainder.c: Likewise.
14989 * math/w_remainderf.c: Likewise.
14990 * math/w_remainderl.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14992 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14995 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14996 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14997 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14998 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15000 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15002 * stdio-common/printf_fphex.c: Likewise.
15003 * stdio-common/printf_size.c: Likewise.
15005 * math/e_exp10.c: Include math_private.h using <...> not "...".
15006 * math/e_exp10f.c: Likewise.
15007 * math/e_exp10l.c: Likewise.
15008 * math/e_exp2l.c: Likewise.
15009 * math/e_j0l.c: Likewise.
15010 * math/e_j1l.c: Likewise.
15011 * math/e_jnl.c: Likewise.
15012 * math/e_lgammal_r.c: Likewise.
15013 * math/e_rem_pio2l.c: Likewise.
15014 * math/e_scalb.c: Likewise.
15015 * math/e_scalbf.c: Likewise.
15016 * math/e_scalbl.c: Likewise.
15017 * math/k_cosl.c: Likewise.
15018 * math/k_sinl.c: Likewise.
15019 * math/k_tanl.c: Likewise.
15020 * math/s_cacoshf.c: Likewise.
15021 * math/s_catan.c: Likewise.
15022 * math/s_catanf.c: Likewise.
15023 * math/s_catanh.c: Likewise.
15024 * math/s_catanhf.c: Likewise.
15025 * math/s_catanhl.c: Likewise.
15026 * math/s_catanl.c: Likewise.
15027 * math/s_ccosh.c: Likewise.
15028 * math/s_ccoshf.c: Likewise.
15029 * math/s_ccoshl.c: Likewise.
15030 * math/s_cexp.c: Likewise.
15031 * math/s_cexpf.c: Likewise.
15032 * math/s_cexpl.c: Likewise.
15033 * math/s_clog.c: Likewise.
15034 * math/s_clog10.c: Likewise.
15035 * math/s_clog10f.c: Likewise.
15036 * math/s_clog10l.c: Likewise.
15037 * math/s_clogf.c: Likewise.
15038 * math/s_clogl.c: Likewise.
15039 * math/s_csin.c: Likewise.
15040 * math/s_csinf.c: Likewise.
15041 * math/s_csinh.c: Likewise.
15042 * math/s_csinhf.c: Likewise.
15043 * math/s_csinhl.c: Likewise.
15044 * math/s_csinl.c: Likewise.
15045 * math/s_csqrt.c: Likewise.
15046 * math/s_csqrtf.c: Likewise.
15047 * math/s_csqrtl.c: Likewise.
15048 * math/s_ctan.c: Likewise.
15049 * math/s_ctanf.c: Likewise.
15050 * math/s_ctanh.c: Likewise.
15051 * math/s_ctanhf.c: Likewise.
15052 * math/s_ctanhl.c: Likewise.
15053 * math/s_ctanl.c: Likewise.
15054 * math/s_ldexp.c: Likewise.
15055 * math/s_ldexpf.c: Likewise.
15056 * math/s_ldexpl.c: Likewise.
15057 * math/s_significand.c: Likewise.
15058 * math/s_significandf.c: Likewise.
15059 * math/s_significandl.c: Likewise.
15060 * math/w_acos.c: Likewise.
15061 * math/w_acosf.c: Likewise.
15062 * math/w_acosh.c: Likewise.
15063 * math/w_acoshf.c: Likewise.
15064 * math/w_acoshl.c: Likewise.
15065 * math/w_acosl.c: Likewise.
15066 * math/w_asin.c: Likewise.
15067 * math/w_asinf.c: Likewise.
15068 * math/w_asinl.c: Likewise.
15069 * math/w_atan2.c: Likewise.
15070 * math/w_atan2f.c: Likewise.
15071 * math/w_atan2l.c: Likewise.
15072 * math/w_atanh.c: Likewise.
15073 * math/w_atanhf.c: Likewise.
15074 * math/w_atanhl.c: Likewise.
15075 * math/w_cosh.c: Likewise.
15076 * math/w_coshf.c: Likewise.
15077 * math/w_coshl.c: Likewise.
15078 * math/w_dremf.c: Likewise.
15079 * math/w_exp10.c: Likewise.
15080 * math/w_exp10f.c: Likewise.
15081 * math/w_exp10l.c: Likewise.
15082 * math/w_exp2.c: Likewise.
15083 * math/w_exp2f.c: Likewise.
15084 * math/w_fmod.c: Likewise.
15085 * math/w_fmodf.c: Likewise.
15086 * math/w_fmodl.c: Likewise.
15087 * math/w_hypot.c: Likewise.
15088 * math/w_hypotf.c: Likewise.
15089 * math/w_hypotl.c: Likewise.
15090 * math/w_j0.c: Likewise.
15091 * math/w_j0f.c: Likewise.
15092 * math/w_j0l.c: Likewise.
15093 * math/w_j1.c: Likewise.
15094 * math/w_j1f.c: Likewise.
15095 * math/w_j1l.c: Likewise.
15096 * math/w_jn.c: Likewise.
15097 * math/w_jnf.c: Likewise.
15098 * math/w_jnl.c: Likewise.
15099 * math/w_lgamma.c: Likewise.
15100 * math/w_lgamma_r.c: Likewise.
15101 * math/w_lgammaf.c: Likewise.
15102 * math/w_lgammaf_r.c: Likewise.
15103 * math/w_lgammal.c: Likewise.
15104 * math/w_lgammal_r.c: Likewise.
15105 * math/w_log.c: Likewise.
15106 * math/w_log10.c: Likewise.
15107 * math/w_log10f.c: Likewise.
15108 * math/w_log10l.c: Likewise.
15109 * math/w_log2.c: Likewise.
15110 * math/w_log2f.c: Likewise.
15111 * math/w_log2l.c: Likewise.
15112 * math/w_logf.c: Likewise.
15113 * math/w_logl.c: Likewise.
15114 * math/w_pow.c: Likewise.
15115 * math/w_powf.c: Likewise.
15116 * math/w_powl.c: Likewise.
15117 * math/w_remainder.c: Likewise.
15118 * math/w_remainderf.c: Likewise.
15119 * math/w_remainderl.c: Likewise.
15120 * math/w_scalb.c: Likewise.
15121 * math/w_scalbf.c: Likewise.
15122 * math/w_scalbl.c: Likewise.
15123 * math/w_sinh.c: Likewise.
15124 * math/w_sinhf.c: Likewise.
15125 * math/w_sinhl.c: Likewise.
15126 * math/w_sqrt.c: Likewise.
15127 * math/w_sqrtf.c: Likewise.
15128 * math/w_sqrtl.c: Likewise.
15129 * math/w_tgamma.c: Likewise.
15130 * math/w_tgammaf.c: Likewise.
15131 * math/w_tgammal.c: Likewise.
15133 * po/ja.po: Update from translation team.
15135 2011-09-29 Andreas Jaeger <aj@suse.de>
15138 * sunrpc/netname.c (netname2host): Fix logic.
15142 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15144 * math/w_remainder.c (__remainder): Likewise.
15145 * math/w_remainderf.c (__remainderf): Likewise.
15146 * math/libm-test.inc (remainder_test): Add test cases.
15148 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15150 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15153 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15155 * string/test-memcmp.c: Avoid unncessary #defines.
15156 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15158 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15160 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15161 Use new sse2 version for core i3 - i7 as it's faster
15162 than sse42 version.
15163 (bit_Prefer_PMINUB_for_stringop): New.
15164 * sysdeps/x86_64/rawmemchr.S: Update.
15165 Replace with faster SSE2 version.
15166 * sysdeps/x86_64/memrchr.S: New file.
15167 * sysdeps/x86_64/memchr.S: Update.
15168 Replace with faster SSE2 version.
15170 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15172 * elf/dl-load.c (lose): Add cast to avoid warning.
15174 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15176 * po/ca.po: Update from translation team.
15178 * inet/getnetgrent_r.c: Hook up nscd.
15179 * nscd/Makefile (routines): Add nscd_netgroup.
15180 (nscd-modules): Add netgroupcache.
15181 (CFLAGS-netgroupcache.c): Define.
15182 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15183 (cache_search): Add const to second parameter.
15184 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15186 (dbs): Add netgrdb entry.
15187 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15188 (verify_persistent_db): Handle netgrdb.
15189 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15190 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15192 (netgroup_response_header): Define.
15193 (innetgroup_response_header): Define.
15194 (datahead): Add netgroup_response_header and innetgroup_response_header
15196 * nscd/nscd.conf: Add entries for netgroup cache.
15197 * nscd/nscd.h (dbtype): Add netgrdb.
15198 (_PATH_NSCD_NETGROUP_DB): Define.
15199 (netgroup_iov_disabled): Declare.
15200 (xmalloc, xcalloc, xrealloc): Move declarations here.
15201 (cache_search): Adjust prototype.
15202 Add netgroup-related prototypes.
15203 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15204 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15205 (__nscd_innetgr): Declare.
15206 * nscd/selinux.c (perms): Use access_vector_t as element type and
15207 add netgroup-related initializers.
15208 * nscd/netgroupcache.c: New file.
15209 * nscd/nscd_netgroup.c: New file.
15210 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15211 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15212 For four parameters use innetgr.
15213 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15214 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15215 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15216 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15218 * nscd/connections.c (register_traced_file): Don't register file
15219 for disabled databases.
15221 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15223 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15225 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15226 from tree and freeing node.
15228 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15230 * nss/nsswitch.c (__nss_database_lookup): Handle
15231 nss_parse_service_list out of memory case.
15233 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15235 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15236 out of memory case.
15238 2011-10-04 Andreas Schwab <schwab@redhat.com>
15240 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15241 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15243 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15244 elf_machine_rela, elf_machine_lazy_rel.
15245 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15246 (ELF_DYNAMIC_DO_REL): Likewise.
15247 (ELF_DYNAMIC_DO_RELA): Likewise.
15248 (ELF_DYNAMIC_RELOCATE): Likewise.
15249 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15250 to ELF_DYNAMIC_DO_REL.
15251 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15252 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15253 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15255 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15256 skip_ifunc, don't call ifunc function if non-zero.
15257 (elf_machine_rela): Likewise.
15258 (elf_machine_lazy_rel): Likewise.
15259 (elf_machine_lazy_rela): Likewise.
15260 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15261 (elf_machine_lazy_rel): Likewise.
15262 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15264 (elf_machine_lazy_rel): Likewise.
15265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15267 (elf_machine_lazy_rel): Likewise.
15268 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15269 (elf_machine_lazy_rel): Likewise.
15270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15271 (elf_machine_lazy_rel): Likewise.
15272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15273 (elf_machine_lazy_rel): Likewise.
15274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15275 (elf_machine_lazy_rel): Likewise.
15276 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15277 (elf_machine_lazy_rel): Likewise.
15278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15279 (elf_machine_lazy_rel): Likewise.
15281 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15283 * nss/nss_files/files-init.c (_nss_files_init): Use static
15284 initialization for all the *_traced_file variables.
15286 2011-09-28 Andreas Schwab <schwab@redhat.com>
15288 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15290 2011-09-27 Roland McGrath <roland@hack.frob.com>
15293 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15295 2011-09-27 Andreas Schwab <schwab@redhat.com>
15297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15298 Reread the line before reparsing it.
15300 2011-09-26 Andreas Schwab <schwab@redhat.com>
15302 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15304 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15305 Maxim Kuvyrkov <maxim@codesourcery.com>
15306 Joseph Myers <joseph@codesourcery.com>
15308 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15309 if needed for __stack_chk_guard.
15311 2011-09-19 Roland McGrath <roland@hack.frob.com>
15313 * sysdeps/posix/spawni.c (script_execute): Always define it.
15314 It will be optimized away if unused.
15315 (maybe_script_execute): New function.
15316 (__spawni): Call it.
15318 * Makerules: Don't include tls.make.
15319 (config-tls): Always set to thread.
15320 * tls.make.c: File removed.
15322 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15324 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15325 * config.make.in (CPPFLAGS-config): New substituted variable.
15327 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15329 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15332 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15333 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15335 2011-09-15 Roland McGrath <roland@hack.frob.com>
15337 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15338 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15340 (CALL_FAIL): Likewise.
15341 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15342 (CALL_FAIL): Macro removed.
15343 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15345 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15347 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15348 for __FINITE_MATH_ONLY__ == 1.
15350 2011-09-15 Andreas Schwab <schwab@redhat.com>
15352 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15353 __ieee754_sqrt instead of sqrt.
15354 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15355 __ieee754_sqrtf instead of sqrtf.
15356 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15357 __floorf instead of floorf.
15358 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15359 __floorf, __truncf instead of floorf, truncf.
15361 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15363 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15365 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15366 __extern_always_inline.
15367 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15370 2011-09-14 Andreas Schwab <schwab@redhat.com>
15372 * elf/rtld.c (dl_main): Also relocate in dependency order when
15373 doing symbol dependency testing.
15375 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15378 Always define `refsym'.
15380 2011-09-13 Andreas Schwab <schwab@redhat.com>
15382 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15383 (__FD_ELT): Renamed from __FDELT.
15384 * misc/bits/select2.h (__FD_ELT): Likewise.
15385 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15386 __FD_MASK instead of __FDELT, __FDMASK.
15387 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15389 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15392 * elf/Makefile (gen-ldd): Fix pattern.
15394 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15395 (init_tls): Likewise.
15397 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15399 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15401 2011-09-12 Andreas Schwab <schwab@redhat.com>
15403 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15404 `struct cmsghdr *' instead of `void *'.
15405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15408 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15410 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15412 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15413 ldd_rewrite_script.
15415 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15417 * configure.in: Remove --with-tls option.
15418 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15419 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15420 out in case it is missing.
15421 * sysdeps/ia64/elf/configure.in: Likewise.
15422 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15423 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15424 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15425 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15426 * sysdeps/sh/elf/configure.in: Likewise.
15427 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15428 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15429 * sysdeps/x86_64/elf/configure.in: Likewise.
15430 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15431 * sysdeps/mach/hurd/tls.h: Likewise.
15434 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15437 * configure.in: Fix use of AC_INIT.
15439 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15441 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15443 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15445 * malloc/hooks.c: Likewise.
15448 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15449 variables statically.
15450 (narenas): Initialize.
15451 (list_lock): Initialize.
15452 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15453 initializtion of main_arena and list_lock. Small cleanups.
15454 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15455 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15456 Add initializers to main_arena and mp_.
15457 (malloc_state): Remove pagesize member. Change all users to use
15460 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15461 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15462 is always initialized.
15464 * malloc/malloc.c: Removed unused configurations and dead code.
15465 * malloc/arena.c: Likewise.
15466 * malloc/hooks.c: Likewise.
15467 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15469 * include/tls.h: Removed. USE___THREAD must always be defined.
15470 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15471 * elf/dl-libc.c: Likewise.
15472 * elf/dl-tsd.c: Likewise.
15473 * include/errno.h: Likewise.
15474 * include/netdb.h: Likewise.
15475 * include/resolv.h: Likewise.
15476 * inet/herrno-loc.c: Likewise.
15477 * inet/herrno.c: Likewise.
15478 * malloc/arena.c: Likewise.
15479 * malloc/hooks.c: Likewise.
15480 * malloc/malloc.c: Likewise.
15481 * resolv/res-state.c: Likewise.
15482 * resolv/res_libc.c: Likewise.
15483 * sysdeps/i386/dl-machine.h: Likewise.
15484 * sysdeps/ia64/dl-machine.h: Likewise.
15485 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15486 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15487 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15488 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15489 * sysdeps/sh/dl-machine.h: Likewise.
15490 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15491 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15492 * sysdeps/unix/i386/sysdep.S: Likewise.
15493 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15494 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15499 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15503 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15504 * sysdeps/x86_64/dl-machine.h: Likewise.
15505 * tls.make.c: Likewise.
15507 * configure.in: Remove --with-__thread option. Make tests for
15508 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15509 tls_model attribute fail if no support is available. Remove
15511 * Makeconfig: Adjust for dropped configure option. All features are
15513 * Makerules: Likewise.
15514 * Versions.def: Likewise.
15515 * argp/argp-fmtstream.c: Likewise.
15516 * argp/argp-fmtstream.h: Likewise.
15517 * argp/argp-help.c: Likewise.
15518 * assert/assert.c: Likewise.
15519 * config.h.in: Likewise.
15520 * config.make.in: Likewise.
15521 * configure: Likewise.
15522 * configure.in: Likewise.
15523 * csu/Versions: Likewise.
15524 * csu/init.c: Likewise.
15525 * elf/tst-audit2.c: Likewise.
15526 * elf/tst-tls10.c: Likewise.
15527 * elf/tst-tls10.h: Likewise.
15528 * elf/tst-tls11.c: Likewise.
15529 * elf/tst-tls12.c: Likewise.
15530 * elf/tst-tls14.c: Likewise.
15531 * elf/tst-tlsmod11.c: Likewise.
15532 * elf/tst-tlsmod12.c: Likewise.
15533 * elf/tst-tlsmod13.c: Likewise.
15534 * elf/tst-tlsmod13a.c: Likewise.
15535 * elf/tst-tlsmod14a.c: Likewise.
15536 * elf/tst-tlsmod15b.c: Likewise.
15537 * elf/tst-tlsmod16a.c: Likewise.
15538 * elf/tst-tlsmod16b.c: Likewise.
15539 * elf/tst-tlsmod7.c: Likewise.
15540 * elf/tst-tlsmod8.c: Likewise.
15541 * elf/tst-tlsmod9.c: Likewise.
15542 * gmon/gmon.c: Likewise.
15543 * grp/fgetgrent_r.c: Likewise.
15544 * grp/putgrent.c: Likewise.
15545 * hurd/fopenport.c: Likewise.
15546 * include/libc-symbols.h: Likewise.
15547 * include/tls.h: Likewise.
15548 * intl/gettextP.h: Likewise.
15549 * intl/loadinfo.h: Likewise.
15550 * locale/global-locale.c: Likewise.
15551 * locale/localeinfo.h: Likewise.
15552 * mach/devstream.c: Likewise.
15553 * malloc/arena.c: Likewise.
15554 * malloc/set-freeres.c: Likewise.
15555 * misc/err.c: Likewise.
15556 * misc/getttyent.c: Likewise.
15557 * misc/mntent_r.c: Likewise.
15558 * posix/getopt.c: Likewise.
15559 * posix/wordexp.c: Likewise.
15560 * pwd/fgetpwent_r.c: Likewise.
15561 * resolv/Versions: Likewise.
15562 * resolv/res_hconf.c: Likewise.
15563 * shadow/fgetspent_r.c: Likewise.
15564 * shadow/putspent.c: Likewise.
15565 * stdio-common/printf_fphex.c: Likewise.
15566 * stdio-common/tmpfile.c: Likewise.
15567 * stdlib/abort.c: Likewise.
15568 * stdlib/fmtmsg.c: Likewise.
15569 * sunrpc/auth_unix.c: Likewise.
15570 * sunrpc/clnt_perr.c: Likewise.
15571 * sunrpc/clnt_tcp.c: Likewise.
15572 * sunrpc/clnt_udp.c: Likewise.
15573 * sunrpc/clnt_unix.c: Likewise.
15574 * sunrpc/openchild.c: Likewise.
15575 * sunrpc/svc_simple.c: Likewise.
15576 * sunrpc/svc_tcp.c: Likewise.
15577 * sunrpc/svc_udp.c: Likewise.
15578 * sunrpc/svc_unix.c: Likewise.
15579 * sunrpc/xdr.c: Likewise.
15580 * sunrpc/xdr_array.c: Likewise.
15581 * sunrpc/xdr_rec.c: Likewise.
15582 * sunrpc/xdr_ref.c: Likewise.
15583 * sunrpc/xdr_stdio.c: Likewise.
15585 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15587 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15589 2011-07-03 Andreas Jaeger <aj@suse.de>
15591 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15592 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15593 regenerate with gen-libm-tests.pl.
15595 2010-05-12 Petr Baudis <pasky@suse.cz>
15598 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15599 around j0() zero points by switching to j1().
15600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15605 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15607 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15609 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15612 Patch in part by Pavel Roskin <proski@gnu.org>.
15615 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15617 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15618 Free memory block if necessary.
15621 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15622 be NULL. Don't lock in this case.
15624 2011-09-09 Roland McGrath <roland@hack.frob.com>
15626 * elf/elf.h (ELFOSABI_GNU): New macro.
15627 (ELFOSABI_LINUX): Define to that.
15629 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15631 * string/strncat.c (strncat): Undef the symbol in case it has been
15632 defined in bits/string.h.
15634 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15636 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15638 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15641 2011-08-17 Andreas Jaeger <aj@suse.de>
15643 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15645 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15646 Ian Lance Taylor <iant@google.com>
15648 * math/libm-test.inc (lround_test): New testcase.
15649 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15651 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15653 * Makefile: Remove support for automatic cvs check-ins.
15654 * Makerules: Likewise.
15655 * config.make.in: Likewise.
15656 * configure.in: Likewise.
15657 * intl/Makefile: Likewise.
15658 * locale/Makefile: Likewise.
15659 * po/Makefile: Likewise.
15660 * posix/Makefile: Likewise.
15661 * sysdeps/gnu/Makefile: Likewise.
15662 * sysdeps/mach/hurd/Makefile: Likewise.
15663 * sysdeps/sparc/sparc32/Makefile: Likewise.
15666 * posix/Makefile (bug-regex32-ENV): Define.
15667 Patch by John Stanley <jpsinthemix@verizon.net>.
15669 * misc/Makefile (headers): Add bits/select2.h.
15670 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15671 * misc/bits/select2.h: New file.
15672 * include/bits/select2.h: New file.
15673 * debug/Makefile (routines): Add fdelt_chk.
15674 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15675 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15677 * debug/fdelt_chk.c: New file.
15679 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15680 * wcsmbs/test-wmemcmp.c: Likewise.
15681 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15682 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15684 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15686 * string/Makefile (strop-tests): Add memcmp.
15687 * string/test-wmemcmp.c: New file.
15688 * string/test-memcmp.c: Add wmemcmp support.
15690 2011-09-08 Roland McGrath <roland@hack.frob.com>
15693 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15696 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15697 garbage value in a __mach_port_mod_refs call in the cases of the
15698 task-self and thread-self ports.
15700 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15702 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15704 2011-09-08 Andreas Schwab <schwab@redhat.com>
15706 * elf/dl-load.c (lose): Check for non-null L.
15708 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15710 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15712 * elf/dl-libc.c (dlerror_run): Pass back error code from
15716 * elf/dl-load.c (lose): Free l_origin if it is valid.
15718 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15720 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15721 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15722 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15723 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15724 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15725 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15727 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15729 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15730 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15731 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15732 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15733 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15734 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15735 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15736 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15737 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15738 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15740 2011-08-15 Alan Modra <amodra@gmail.com>
15743 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15744 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15745 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15746 ppc_mcount to static-only-routines.
15747 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15749 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15750 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15752 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15754 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15755 for finite and infinity parameters.
15757 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15760 and add nop instructions for throughput optimization.
15761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15763 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15765 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15766 aligned copy for power7 with vector-scalar instructions.
15767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15769 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15774 2011-09-07 Andreas Schwab <schwab@redhat.com>
15777 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15780 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15782 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15783 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15784 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15785 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15788 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15790 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15791 Forgot to demangle the pointer.
15793 * sysdeps/i386/sysdep.h: Define atom_text_section.
15794 * sysdeps/x86_64/sysdep.h: Likewise.
15795 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15796 section with atom_text_section.
15797 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15798 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15799 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15801 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15803 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15804 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15805 already be defined. Change to take two parameters and don't assign
15806 result to variable. Adjust all users.
15807 Define INTERNAL_GETTIME if not already defined.
15808 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15811 HAVE_CLOCK_GETTIME_VSYSCALL.
15812 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15815 gettimeofday vsyscall, just use time.
15817 2011-09-06 Andreas Schwab <schwab@redhat.com>
15819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15822 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15824 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15828 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15830 syscall if possible.
15832 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15834 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15835 e_ident. Don't pass to find_mapsXX.
15836 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15838 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15841 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15842 * sysdeps/x86_64/multiarch/strchr.S: Update.
15843 Check bit_slow_BSF bit.
15844 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15845 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15846 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15848 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15851 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15853 (tryshell): Define.
15854 (__spawni): Change last parameter to be flag. Test
15855 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15856 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15857 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15858 * posix/spawni.c: Likewise.
15859 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15860 * posix/spawnp.c: Likewise. Change normal version to use
15861 SPAWN_XFLAGS_USE_PATH.
15862 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15863 SPAWN_XFLAGS_TRY_SHELL.
15866 * posix/glob.h: Remove gcc 1.x support.
15869 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15871 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15874 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15876 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15877 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15878 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15879 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15880 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15881 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15883 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15885 * sysdeps/x86_64/wcscmp.S: New file.
15887 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15888 wcscmp-c wcscmp-sse2
15889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15890 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15891 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15892 * wcsmbs/wcscmp.c: Allow renaming.
15894 2011-09-05 David S. Miller <davem@davemloft.net>
15896 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15897 stack slot, rather than the struct return pointer slot.
15898 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15899 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15901 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15903 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15905 * po/ja.po: Update from translation team.
15908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15909 kernel in 64-bit binaries.
15911 2011-09-01 David S. Miller <davem@davemloft.net>
15913 * elf/elf.h (HWCAP_SPARC_*): Move to..
15914 * sysdeps/sparc/sysdep.h: this new file and add new values.
15915 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15916 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15917 _DL_HWCAP_COUNT to 24.
15918 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15920 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15921 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15922 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15924 instead of magic constants.
15925 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15927 2011-08-31 David S. Miller <davem@davemloft.net>
15929 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15931 Reimplement to do errno handling inline.
15932 (SYSCALL_ERROR_HANDLER): New macro.
15933 (__SYSCALL_STRING): Do not do errno handling in asm.
15934 (__CLONE_SYSCALL_STRING): Delete.
15935 (__INTERNAL_SYSCALL_STRING): Delete.
15936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15937 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15938 (PSEUDO): Reimplement to do errno handling inline.
15939 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15940 (SYSCALL_ERROR_HANDLER): New macro.
15941 (__SYSCALL_STRING): Do not do errno handling in asm.
15942 (__CLONE_SYSCALL_STRING): Delete.
15943 (__INTERNAL_SYSCALL_STRING): Delete.
15944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15945 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15947 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15948 (inline_syscall*): Add 'err' argument.
15949 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15950 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15951 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15952 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15954 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15955 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15957 2011-08-30 Andreas Schwab <schwab@redhat.com>
15959 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15961 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15963 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15966 2011-08-24 David S. Miller <davem@davemloft.net>
15968 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15970 2011-08-24 Andreas Schwab <schwab@redhat.com>
15972 * elf/Makefile: Add rules to build and run unload8 test.
15973 * elf/unload8.c: New file.
15974 * elf/unload8mod1.c: New file.
15975 * elf/unload8mod1x.c: New file.
15976 * elf/unload8mod2.c: New file.
15977 * elf/unload8mod3.c: New file.
15979 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15982 2011-08-23 David S. Miller <davem@davemloft.net>
15984 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15985 subtract stack bias.
15986 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15987 %sp not %fp in calculations.
15988 (_JMPBUF_UNWINDS_ADJ): Likewise.
15990 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15991 (aio_suspend): Call it to force an exception region around the
15992 AIO_MISC_WAIT() invocation.
15994 2011-08-23 Andreas Schwab <schwab@redhat.com>
15996 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15999 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16001 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16003 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16004 and <dl-machine.h>.
16005 (Elf64_FuncDesc): Remove.
16007 2011-08-22 David S. Miller <davem@davemloft.net>
16009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16010 sigaltstack check, add missing cfi directives.
16011 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16012 missing cfi directives, and sigaltstack handling.
16014 2011-08-16 Andreas Schwab <schwab@redhat.com>
16017 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16018 object is seen twice.
16019 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16021 * elf/Makefile (distribute): Add tst-initorder2.c.
16022 (tests): Add tst-initorder2.
16023 (modules-names): Add tst-initorder2a tst-initorder2b
16024 tst-initorder2c tst-initorder2d. Add rules to build them.
16025 ($(objpfx)tst-initorder2.out): New rule.
16026 * elf/tst-initorder2.c: New file.
16027 * elf/tst-initorder2.exp: New file.
16029 2011-08-22 Andreas Schwab <schwab@redhat.com>
16031 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16033 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16034 dependencies back to end of function.
16036 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16037 $(elfobjdir)/ld.so.
16039 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16042 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16044 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16045 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16046 of __vdso_gettimeofday.
16047 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16048 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16050 (_libc_vdso_platform_setup): Remove initialization of
16051 __vdso_gettimeofday and __vdso_time.
16053 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16055 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16056 and fgetc_unlocked.
16057 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16060 * elf/dl-open.c (add_to_global): Report additions to the global scope
16061 for LD_DEBUG=scopes.
16062 (dl_open_worker): Also print scope of newly loaded dependencies.
16063 (_dl_show_scope): Indicate if there is no scope.
16066 * stdio-common/Makefile (tests): Add bug24.
16067 * stdio-common/bug24.c: New file.
16069 2011-08-19 Andreas Jaeger <aj@suse.de>
16072 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16073 non-existant file when using close-on-exec mode.
16075 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16078 the very first instruction.
16080 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16081 the CFI state in the end.
16082 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16083 inclusion of dl-trampoline.h.
16084 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16086 2011-08-19 Andreas Schwab <schwab@redhat.com>
16088 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16089 expectations for long double.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16092 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16094 2011-08-14 David S. Miller <davem@davemloft.net>
16096 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16097 artificual limit depends upon the system page size.
16099 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16101 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16102 * resolv/Makefile: Define CFLAGS-libresolv.
16104 2011-08-17 Andreas Schwab <schwab@redhat.com>
16106 * nss/makedb.c (compute_tables): Make variables used in nested
16109 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16111 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16112 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16113 if buffer was too small.
16115 * elf/pldd.c (main): Attach to all threads in the process.
16116 Rewrite /proc handling to use *at functions.
16118 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16120 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16121 specifies first scope to show.
16122 (dl_open_worker): Update callers. Move printing scope of new
16123 object to before the relocation.
16124 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16125 * sysdeps/generic/ldsodefs.h: Update declaration.
16127 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16128 string for the scope number.
16130 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16132 * nscd/servicescache.c (cache_addserv): Make sure written is always
16135 2011-08-14 Roland McGrath <roland@hack.frob.com>
16137 * sysdeps/i386/i486/bits/atomic.h
16138 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16139 statement expression, so as to suppress "set but not used" warning.
16140 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16142 * string/strncat.c (STRNCAT): Use prototype definition.
16144 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16145 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16147 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16148 (localedef-modules): Add localedef.
16149 (locale-modules): Add locale.
16151 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16152 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16153 to avoid a warning.
16155 2011-08-14 David S. Miller <davem@davemloft.net>
16157 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16158 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16160 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16162 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16163 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16164 * elf/rtld.c (dl_main): Set l_name of vDSO.
16165 Call _dl_show_scope when DL_DEBUG_SCOPES.
16166 (process_dl_debug): Recognize scopes flag and also set it for all.
16167 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16168 Declare _dl_show_scope.
16170 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16171 (do_dlopen): Pass caller_dlopen to dl_open.
16172 (__libc_dlopen_mode): Initialize caller_dlopen.
16174 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16175 of libc. Make tolower call locale-independent. Optimize a bit by
16176 using isdigit instead of isalnum.
16177 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16179 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16181 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16182 was a dependency or dynamically loaded.
16184 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16186 * intl/l10nflist.c: Allow architecture-specific pop function.
16187 * sysdeps/x86_64/l10nflist.c: New file.
16189 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16192 2011-08-10 Andreas Schwab <schwab@redhat.com>
16194 * include/dirent.h: Add libc_hidden_proto for scandirat and
16195 scandirat64. Don't declare __scandirat64.
16196 * dirent/scandirat.c: Add libc_hidden_def.
16197 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16198 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16200 2011-08-10 David S. Miller <davem@davemloft.net>
16202 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16208 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16210 * Versions.def [libc]: Add GLIBC_2.15.
16211 * dirent/Makefile (routines): Add scandirat and scandirat64.
16212 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16214 * dirent/dirent.h: Declare scandirat and scandirat64.
16215 * dirent/scandirat.c: New file.
16216 * dirent/scandirat64.c: New file.
16217 * sysdeps/wordsize-64/scandirat.c: New file.
16218 * sysdeps/wordsize-64/scandirat64.c: New file.
16219 * dirent/opendir.c: Define opendirat.
16220 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16222 * dirent/scandir64.c: Adjust for scandir.c change.
16223 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16224 __scandirat64, and __scandir_cancel_handler.
16225 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16226 additional parameter and use openat instead of open (outside of ld.so).
16227 Add new __opendir as wrapper around __opendirat.
16228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16229 here without requiring old scandirat implementation.
16231 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16233 * dirent/scandir.c (cancel_handler): Renamed to
16234 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16235 defined. Adjust users.
16236 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16237 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16239 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16241 * string/test-string.h (IMPL): Use __STRING to expand name and then
16244 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16247 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16249 * string/Makefile: Update.
16250 (strop-tests): Append strncat.
16251 * string/test-wcscmp.c: New file.
16252 New comprehensive test for wcscmp.
16253 * string/test-strcmp.c: Update.
16254 (WIDE): New define.
16256 2011-07-22 Andreas Schwab <schwab@redhat.com>
16258 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16261 2011-07-26 Andreas Schwab <schwab@redhat.com>
16263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16264 encoding to ACE if AI_IDN.
16266 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16269 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16271 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16273 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16274 Fix overflow bug in strncat.
16275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16277 * string/test-strncat.c: Update.
16278 Add new tests for checking overflow bugs.
16280 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16283 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16284 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16285 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16286 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16287 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16288 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16289 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16290 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16293 (USE_AS_STRCAT): Define.
16294 Add strcat and strncat support.
16295 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16297 2011-07-25 Andreas Schwab <schwab@redhat.com>
16299 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16300 __n bigger than INT_MAX+1.
16301 (__strncmp_g): Likewise.
16303 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16305 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16306 * libio/stido.h: Likewise.
16308 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16313 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16315 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16316 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16320 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16325 (_dl_x86_64_save_sse): Likewise.
16327 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16331 (_dl_x86_64_save_sse): Likewise.
16333 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16335 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16337 2011-07-21 Andreas Schwab <schwab@redhat.com>
16339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16341 (_dl_x86_64_save_sse): Use correct AVX check.
16343 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16345 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16346 bug in strncpy/strncat.
16347 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16349 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16351 * string/tester.c (test_strcat): Add tests for different alignments
16352 of source and destination.
16353 (test_strncat): Likewise.
16355 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16358 * posix/glob.c (glob): Check passed in values before using them in
16359 expressions to avoid some overflows.
16360 (glob_in_dir): Likewise.
16363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16364 check for AVX enablement so that we don't crash with old kernels and
16366 * elf/tst-audit4.c: Add same checks here.
16367 * elf/tst-audit6.c: Likewise.
16369 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16371 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16373 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16375 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16377 * po/cs.po: Update from translation team.
16378 * po/bg.po: Likewise.
16380 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16382 * misc/sys/cdefs.h: Add support for const attribute.
16383 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16384 to gnu_dev_{major,minor,makedev} functions.
16386 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16388 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16390 2011-07-20 Andreas Schwab <schwab@redhat.com>
16392 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16395 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16398 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16399 register in order to avoid conflicts with the soft frame pointer
16400 being held in r11 when necessary.
16401 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16402 (INTERNAL_VSYSCALL_NCS): Likewise.
16404 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16406 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16407 * elf/dl-fini.c (_dl_fini): Adjust caller.
16408 * elf/dl-close.c (_dl_close_worker): Likewise.
16409 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16411 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16413 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16414 "aux_cache->nlibs < 0".
16416 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16417 in the reload-count case.
16419 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16422 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16423 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16424 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16425 * sysdeps/x86_64/multiarch/strcat.S: New file.
16426 * sysdeps/x86_64/multiarch/strncat.S: New file.
16427 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16428 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16429 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16430 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16432 (USE_AS_STRCAT): Define.
16433 Add strcat and strncat support.
16434 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16435 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16436 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16437 * string/strncat.c: Update.
16438 (USE_AS_STRNCAT): Define.
16439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16440 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16442 * sysdeps/x86_64/multiarch/init-arch.h
16443 (bit_Prefer_PMINUB_for_stringop): New.
16444 (index_Prefer_PMINUB_for_stringop): Likewise.
16445 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16446 bit_Prefer_PMINUB_for_stringop.
16448 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16450 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16452 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16453 of casting of buffer.
16454 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16455 buffer32 and buffer64.
16456 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16457 writes instead of casting of buffer.
16458 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16460 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16463 2011-07-19 Andreas Schwab <schwab@redhat.com>
16465 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16467 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16469 * nscd/nscd.c (termination_handler): Don't do anything for a database
16470 if it has not yet been initialized.
16472 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16474 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16476 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16478 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16480 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16482 * po/nl.po: Update from translation team.
16483 * po/sv.po: Likewise.
16485 2011-07-16 Roland McGrath <roland@hack.frob.com>
16487 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16488 now disallowed by GCC.
16490 * configure.in (use-default-link): Default to yes if a test -shared
16491 link meets our qualifications.
16492 * configure: Regenerated.
16494 * config.make.in (output-format): New variable.
16495 * configure.in: Check for ld --print-output-format support.
16496 * configure: Regenerated.
16497 * Makerules ($(common-objpfx)format.lds)
16498 [$(output-format) != unknown]: Just use $(output-format),
16499 instead of the linker-script munging.
16501 2011-07-14 Roland McGrath <roland@hack.frob.com>
16503 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16504 of $(common-objpfx)shlib.lds.
16505 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16507 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16508 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16510 * configure.in (-z relro check): Adjust test code to add a large
16511 writable data section after it.
16512 * configure: Regenerated.
16514 2011-07-11 Roland McGrath <roland@hack.frob.com>
16516 * configure.in (-z relro check): Fix test code to make the variable
16518 * configure: Regenerated.
16520 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16522 * nscd/nscd.h (struct traced_file): Define.
16523 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16524 elements. Add traced_files.
16525 (inotify_fd): Declare.
16526 (register_traced_file): Declare.
16527 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16528 (inotify_fd): Export.
16529 (resolv_conf_descr): Remove.
16530 (nscd_init): Move inotify descriptor creation to main.
16531 Don't register files for notification here.
16532 (register_traced_file): New function.
16533 (invalidate_cache): Don't use reset_res to determine whether to call
16534 res_init, go through the list of registered files.
16535 (main_loop_poll): The inotify descriptors are now stored in the
16536 structures for the traced files.
16537 (main_loop_epoll): Likewise
16538 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16539 to __nss_disable_nscd.
16540 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16541 for a database anymore. Check the records for all the registered
16543 * nss/Makefile (libnss_files-routines): Add files-init.
16544 (libnss_db-routines): Add db-init.
16545 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16546 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16547 * nss/nss_db/db-init.c: New file.
16548 * nss/nss_files/files-init.c: New file.
16549 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16550 __nss_lookup_function.
16551 (__nss_lookup_function): Call nss_load_library.
16552 (nss_load_all_libraries): New function.
16553 (__nss_disable_nscd): Take parameter with callback function for files
16554 to register. Set is_nscd. Load all the DSOs for the NSS modules
16555 used for the cached services.
16556 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16557 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16558 options for features to all the files in nscd.
16560 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16562 2011-07-10 Roland McGrath <roland@hack.frob.com>
16564 * csu/elf-init.c (__libc_csu_init): Comment typo.
16566 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16568 * po/pl.po: Update from translation team.
16569 * po/ja.po: Likewise.
16570 * po/ru.po: Likewise.
16571 * po/ko.po: Likewise.
16572 * po/fr.po: Likewise.
16574 2011-07-09 Roland McGrath <roland@hack.frob.com>
16576 * configure.in (.ctors/.dtors header and trailer check):
16577 Use an empirical test on a built program.
16578 * configure: Regenerated.
16580 * configure.in (-z relro check): Use an empirical test on a built DSO.
16581 Detect, but do not require, on ia64.
16582 * configure: Regenerated.
16584 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16585 Update tests that use readelf to use $READELF instead.
16586 * configure: Regenerated.
16588 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16590 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16591 if the result is not used.
16593 2011-07-05 Andreas Jaeger <aj@suse.de>
16596 * stdlib/tst-strtod.c: Add testcase.
16598 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16600 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16601 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16602 The latter has a higher limit. Take additional parameter to pass to
16604 (__pathconf): Pass file to __statfs_link_max.
16605 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16607 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16611 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16612 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16614 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16615 (__statfs_filesize_max): Likewise.
16616 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16618 2011-07-05 Andreas Jaeger <aj@suse.de>
16620 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16622 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16624 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16626 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16629 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16631 * Makefile (strop-tests): Add strncat.
16632 * string/test-strncat.c: New file.
16634 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16636 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16638 2011-06-21 Andreas Jaeger <aj@suse.de>
16640 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16641 Copy rule from iconvdata/Makefile.
16643 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16646 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16647 but no long options are defined, just return 'W'.
16649 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16652 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16654 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16656 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16658 (innetgr): Likewise.
16660 2011-07-05 Roland McGrath <roland@hack.frob.com>
16662 * config.make.in (install_root): Default to $(DESTDIR).
16664 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16666 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16668 2011-07-02 Roland McGrath <roland@hack.frob.com>
16670 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16672 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16673 containing directory rather than embedding absolute directory names.
16675 * scripts/check-local-headers.sh: Rewritten using awk.
16676 Match by word, not by line. Print error messages for matches.
16677 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16679 * Makerules [shlib-lds-flags empty]:
16680 ($(common-objpfx)libc_pic.opts): New target.
16681 ($(common-objpfx)libc_pic.os.clean): New target.
16682 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16684 * config.make.in (OBJCOPY): New variable.
16685 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16686 * configure: Regenerated.
16688 * config.make.in (use-default-link): New variable.
16689 * configure.in (use_default_link): Grok --with-default-link to set it.
16690 * configure: Regenerated.
16691 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16692 (shlib-lds, shlib-lds-flags): Define to empty.
16694 * Makerules (shlib-lds): New variable.
16695 (shlib-lds-flags): New variable.
16696 (build-shlib, build-moduile, build-module-asneeded): Use it.
16697 ($(common-objpfx)libc.so): Use $(shlib-lds).
16698 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16699 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16701 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16702 DT_FLAGS/DT_FLAGS_1 with zero flags.
16704 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16705 linker script munging.
16707 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16709 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16711 * crypt/sha512.c (sha512_process_block): Perform total addition using
16712 128-bit if possible.
16713 (__sha512_finish_ctx): Likewise.
16714 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16716 * crypt/sha256.c (SWAP64): Define.
16717 (sha256_process_block): Perform total addition using 64-bit if
16719 (__sha256_finish_ctx): Likewise.
16721 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16723 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16725 * nscd/hstcache.c (cache_addhst): Likewise.
16726 * nscd/grpcache.c (cache_addgr): Likewise.
16727 * nscd/aicache.c (addhstaiX): Likewise
16728 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16730 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16732 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16734 * nscd/hstcache.c (cache_addhst): Likewise.
16735 * nscd/grpcache.c (cache_addgr): Likewise.
16736 * nscd/aicache.c (addhstaiX): Likewise
16738 2011-07-01 Andreas Schwab <schwab@redhat.com>
16740 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16741 domain only when needed.
16743 2011-06-30 Andreas Schwab <schwab@redhat.com>
16745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16746 is always restored.
16748 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16750 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16751 are re-adding the entry.
16752 * nscd/servicescache.c (cache_addserv): Likewise.
16754 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16756 * sysdeps/generic/dl-irel.h: fix protection against multiple
16758 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16760 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16763 * malloc/memusage.sh: Fix quoting in message.
16764 * debug/xtrace.sh: Likewise.
16766 * configure.in: Remove support for --experimental-malloc option, make
16768 * config.make.in: Likewise.
16769 * malloc/Makefile: Likewise.
16771 2011-06-27 Andreas Schwab <schwab@redhat.com>
16773 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16774 two-byte characters.
16776 2011-06-27 Roland McGrath <roland@hack.frob.com>
16778 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16779 AC_CACHE_CHECK invocation.
16780 * configure: Regenerated.
16782 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16784 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16787 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16788 bit from old_res_options.
16790 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16792 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16793 value type for setfct.
16795 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16798 __gettimeofday instead of gettimeofday.
16800 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16802 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16804 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16811 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16814 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16815 strcpy-sse2-unaligned strncpy-sse2-unaligned
16816 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16817 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16818 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16819 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16820 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16821 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16823 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16824 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16825 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16826 (STRCPY): Support SSE2 and SSSE3 versions.
16828 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16831 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16832 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16833 kernels which artificially limit size of requests.
16835 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16838 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16839 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16840 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16841 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16842 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16843 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16844 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16845 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16846 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16847 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16848 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16849 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16850 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16851 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16853 Enable unaligned load optimization for Intel Core i3, i5 and i7
16855 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16857 (index_Fast_Unaligned_Load): Define.
16858 (HAS_FAST_UNALIGNED_LOAD): Define.
16860 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16862 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16864 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16868 until it is clear that the information is realy needed.
16869 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16871 2011-06-22 Andreas Schwab <schwab@redhat.com>
16873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16875 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16878 /sys/devices/system/cpu/online if it is usable.
16880 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16881 reading the information from the /proc filesystem to once a second.
16883 2011-06-21 Andreas Jaeger <aj@suse.de>
16885 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16886 NULL after inclusion of kernel headers.
16888 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16890 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16891 calls to internal_setent.
16894 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16895 addresses using gethostbyname4_r ignore IPv4 addresses.
16897 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16898 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16900 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16902 2011-06-20 David S. Miller <davem@davemloft.net>
16904 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16906 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16908 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16909 (elf_irel): Use it.
16910 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16911 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16912 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16913 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16914 * sysdeps/x86_64/dl-irel.h: Likewise.
16916 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16917 * elf/dl-sym.c: Likewise.
16919 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16921 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16922 need to dereference resplen2.
16924 2011-06-14 Andreas Schwab <schwab@redhat.com>
16926 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16928 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16930 * Makeconfig: Define vardbdir and inst_vardbdir.
16931 * nss/Makefile: Add rules to install db-Makefile.
16933 * nss/nss_db/db-XXX.c: Cleanup.
16935 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16936 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16938 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16939 * nss/makedb.c: Implement -g option to specify that value strings
16940 are generated and should not be added to table iterated over for
16942 * nss/nss_db/db-initgroups.c: New file.
16944 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16947 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16948 (internal_getgrouplist): Adjust to name change.
16949 Update use_initgroups_entry if this is not the first call.
16950 * nss/databases.def: Add initgroups entry.
16952 * nss/makedb.c (compute_tables): Check result of multiple hash table
16953 sizes to minimize maximum chain length.
16955 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16957 * Versions.def: Add entry for libnss_db.
16958 * shlib-versions: Likewise.
16959 * nss/Makefile: Add rules to build libnss_db.
16960 * nss/Versions: Add libnss_db information. Organize libnss_files
16962 * nss/db-Makefile: Add gshadow support. Change rules for the new
16963 makedb progra. Some minor improvements to generate smaller files.
16964 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16966 * nss/makedb.c: ...here.
16967 Improve database format to be smaller and require less memory at
16969 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16971 * nss/nss_db/db-netgrp.c: Likewise.
16972 * nss/nss_db/db-open.c: Likewise.
16973 * nss/nss_files/flies-XXX.x: Adjust comments.
16974 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16975 * nss/nss_files/files-grp.c: Likewise.
16976 * nss/nss_files/files-hosts.c: Likewise.
16977 * nss/nss_files/files-network.c: Likewise.
16978 * nss/nss_files/files-proto.c: Likewise.
16979 * nss/nss_files/files-pwd.c: Likewise.
16980 * nss/nss_files/files-rpc.c: Likewise.
16981 * nss/nss_files/files-service.c: Likewise.
16982 * nss/nss_files/files-sgrp.c: Likewise.
16983 * nss/nss_files/files-spwd.c: Likewise.
16984 * nss/nss_db/db-alias.c: Removed.
16985 * nss/nss_db/dummy-db.h: Removed.
16987 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16989 * nss/makedb.c: Rewritten to not use database library.
16990 * nss/Makefile: Update to build new makedb program.
16992 2011-06-14 Andreas Jaeger <aj@suse.de>
16994 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16995 memset declaration.
16997 2011-06-10 Andreas Schwab <schwab@redhat.com>
16999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17002 2011-06-10 Roland McGrath <roland@hack.frob.com>
17004 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17005 * elf/Makefile ($(objpfx)ld.so): Likewise.
17007 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17008 Don't list ld.so twice in dependencies.
17010 * posix/bug-regex31.c: Include <stdlib.h>.
17012 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17014 * nis/nss_compat/compat-spwd.c
17015 (getspent_next_nss_netgr): Remove unused variable.
17016 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17018 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17019 nonmembers" output to use the right array.
17021 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17023 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17025 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17026 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17027 * catgets/gencat.c (read_input_file): Likewise.
17028 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17030 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17031 variable definition inside #if's controlling its use.
17033 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17035 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17037 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17039 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17042 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17044 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17045 * configure: Regenerated.
17047 * Makerules: Revert last change.
17048 * elf/Makefile: Likewise.
17050 2011-06-09 Roland McGrath <roland@hack.frob.com>
17052 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17053 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17054 (reloc-link): Likewise.
17056 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17058 * elf/Makefile: Add rules to build pldd.
17059 * elf/pldd.c: New file.
17060 * elf/pldd-xx.c: New file.
17062 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17064 * version.h: Update for 2.15 development version.
17066 2011-06-07 David S. Miller <davem@davemloft.net>
17068 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17071 elf_machine_lazy_rel): Likewise.
17072 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17074 elf_machine_lazy_rel): Likewise.
17075 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17076 dl_hwcap via passed in argument.
17077 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17080 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17082 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17084 2011-06-06 Roland McGrath <roland@hack.frob.com>
17087 * manual/fdl-1.1.texi: New file, verbatim from:
17088 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17089 * manual/lgpl-2.1.texi: New file, verbatim from:
17090 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17091 * manual/Makefile (licenses): New variable, list those new file names.
17093 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17095 * manual/fdl.texi: File removed.
17096 * manual/lesser.texi: File removed.
17097 * manual/libc.texinfo (Copying, Documentation License):
17098 Use new @include file names, put @appendix directive before @include.
17100 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17103 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17104 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17105 (mq_open): Add __NTH.
17107 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17110 Assume Intel Core i3/i5/i7 processor if AVX is available.
17112 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17117 2011-05-31 Andreas Schwab <schwab@redhat.com>
17119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17120 memory. Use alloca_account. Fix memory leak when retrying.
17122 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17124 * version.h (RELEASE): Bump for 2.14 release.
17125 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17127 * config.make.in (RANLIB): Remove entry.
17129 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17131 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17132 (libc.pot): Work around missing support for .ksh extension in xgettext.
17135 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17136 if both request failed.
17137 (send_dg): In case of server errors clear resplen or *resplen2.
17140 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17141 when there are multiple maps.
17142 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17143 (_dl_fini): Remove test here.
17145 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17147 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17150 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17151 bit from old_res_options.
17152 (gaih_inet): Likewise.
17155 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17158 * resolv/res_init.c (res_setoptions): Make the code more compact.
17161 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17165 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17167 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17170 * malloc/malloc.h: Declare malloc hook variables as volatile.
17172 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17176 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17177 raise in the comment.
17178 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17180 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17182 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17185 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17186 grow the buffers more if it already has to be sufficient.
17187 (build_wcs_upper_buffer): Likewise.
17188 * posix/regexec.c (check_matching): Likewise.
17189 (clean_state_log_if_needed): Likewise.
17190 (extend_buffers): Don't enlarge buffers beyond size of the input
17192 Patches mostly by Emil Wojak <emil@wojak.eu>.
17193 * posix/bug-regex32.c: New file.
17194 * posix/Makefile (tests): Add bug-regex32.
17196 * locale/findlocale.c (_nl_find_locale): Return right away if
17197 _nl_explode_name failed.
17198 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17200 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17202 * debug/xtrace.sh: Unify messages.
17203 * malloc/memusage.sh: Likewise.
17206 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17207 time symbol from vDSO. Substitute with vsyscall if not available.
17208 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17211 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17212 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17213 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17214 Add sendmmsg and internal_sendmmsg.
17215 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17216 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17217 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17219 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17220 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17221 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17223 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17226 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17227 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17229 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17233 * iconvdata/Makefile (tests): Add bug-iconv9.
17234 * iconvdata/bug-iconv9.c: New file.
17236 2011-05-27 Andreas Schwab <schwab@redhat.com>
17239 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17241 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17243 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17244 (struct user_regs_struct): Change intcs field back to cs.
17246 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17248 * po/ja.po: Update from translation team.
17250 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17253 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17256 2011-05-20 Andreas Schwab <schwab@redhat.com>
17258 * stdlib/longlong.h: Update from GCC.
17260 2011-05-23 Andreas Schwab <schwab@redhat.com>
17262 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17264 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17265 Add parameter name.
17266 (__sysconf): Pass it down.
17268 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17271 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17273 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17274 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17275 add in in __libc_use_alloca calls. Adjust callers.
17276 (glob): Use malloc in some situations.
17278 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17279 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17282 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17284 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17285 and CLOCK_BOOTTIME_ALARM.
17288 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17291 * string/_strerror.c (__strerror_r): Print negative errors as signed
17295 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17296 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17297 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17299 * configure.in: Fix typo in redirection and correct removal of test
17300 files in two cases.
17303 * locale/setlocale.c (new_composite_name): Fix test to check for
17304 identical name of all categories.
17307 * libio/filedoalloc.c (local_isatty): New function.
17308 (_IO_file_doallocate): Use local_isatty.
17309 * stdio-common/perror.c (perror): In case a new stream is used
17310 forward the stream error.
17311 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17314 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17319 * include/alloca.h (extend_alloca_account): Define.
17322 * posix/regex.h: Fix comments with documentation of user-accessible
17323 fields after compilation and describe correct free'ing of pattern
17324 after re_compile_pattern.
17325 Patch by Reuben Thomas <rrt@sc3d.org>.
17327 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17329 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17330 and -mno-altivec to prevent the compiler from using Altivec and/or
17331 VSX instructions when the corresponding registers are not available.
17333 2011-05-19 Andreas Schwab <schwab@redhat.com>
17335 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17337 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17339 * libio/freopen.c (freopen): Use __dup2, not dup2.
17340 * libio/freopen64.c (freopen64): Likewise.
17342 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17345 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17346 * math/Makefile (tests): Add test-powl.
17347 (CFLAGS-test-powl.c): Define.
17348 * math/test-powl.c: New file.
17350 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17352 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17354 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17357 * iconvdata/gb18030.c: Update to GB18020-2005.
17359 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17361 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17362 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17363 Patch by Aharon Robbins <arnold@skeeve.com>.
17366 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17370 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17371 through underflows.
17374 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17375 point to strings before performing equality test for error_one_per_line
17379 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17383 (struct user_fpregs_struct): Avoid __uint*_t types.
17386 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17387 symbol info. Use it instead of calling _dl_addr locally.
17388 (lock_and_info): New function.
17389 (tr_freehook): Call lock_and_info and pass symbol info as additional
17390 parameter to tr_where.
17391 (tr_mallochook): Likewise.
17392 (tr_reallochook): Likewise.
17393 (tr_memalignhook): Likewise.
17395 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17396 used and couldn't be at all thread-safe.
17398 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17400 * libio/freopen.c (freopen): Don't close old file descriptor
17401 before the new one is opened. Instead dup the new file descriptor
17402 to the old one after the new stream is created.
17403 * libio/freopen64.c (freopen64): Likewise.
17404 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17405 * libio/fileops.c (_IO_new_file_close_it): Handle new
17406 _IO_FLAGS2_NOCLOSE flag.
17407 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17408 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17409 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17410 _IO_FLAGS2_NOCLOSE flag.
17411 * include/unistd.h: Add hidden_proto for dup3.
17412 Define __have_dup3.
17413 * io/dup3.c: Define hidden symbol.
17414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17417 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17418 when an incomplete long option is used.
17419 * posix/tst-getopt_long1.c: New file.
17420 * posix/Makefile (tests): Add tst-getopt_long1.
17423 * scripts/config.guess: Update from autoconf-2.68.
17424 * scripts/config.sub: Likewise.
17427 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17429 (has_cpuclock): ...this. New function.
17430 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17431 macro here based on has_cpuclock code.
17434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17435 First byte (not low byte) is now always NUL.
17436 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17439 Use non-cancelable interfaces.
17442 * locale/iso-639.def: Add entry for Sorani.
17445 * include/stdlib.h: Move include protection to the right place.
17446 Define abort_msg_s. Declare __abort_msg with it.
17447 * stdlib/abort.c (__abort_msg): Adjust type.
17448 * assert/assert.c (__assert_fail_base): New function. Majority
17449 of code from __assert_fail. Allocate memory for __abort_msg with
17451 (__assert_fail): Now call __assert_fail_base.
17452 * assert/assert-perr.c: Remove bulk of implementation. Use
17453 __assert_fail_base.
17454 * include/assert.hL Declare __assert_fail_base.
17455 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17457 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17459 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17463 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17464 until all modules are registered in the DTV.
17465 * elf/Makefile: Add rules to build and run tst-tls19.
17466 * elf/tst-tls19.c: New file.
17467 * elf/tst-tls19mod1.c: New file.
17468 * elf/tst-tls19mod2.c: New file.
17469 * elf/tst-tls19mod3.c: New file.
17470 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17473 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17477 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17478 two-byte sequence errors.
17479 * iconvdata/Makefile (tests): Add bug-iconv8.
17480 * iconvdata/bug-iconv8.c: New file.
17483 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17486 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17489 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17490 (dummy_getcfa): New function.
17491 (init): Get _Unwind_GetCFA address, use dummy if not found.
17492 (backtrace_helper): In recursion check, also check whether CFA changes.
17493 (__backtrace): Completely initialize arg.
17495 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17496 storing incomplete byte sequence in state object. Avoid testing for
17497 guaranteed too small input if we know there is enough data available.
17499 2011-05-11 Andreas Schwab <schwab@redhat.com>
17501 * Makeconfig (+link-pie): Indent.
17502 * Rules (binaries-pie): Define if $(have-fpie) and
17504 (binaries-shared): Also filter out $(binaries-pie).
17505 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17506 * nscd/Makefile (others-pie): Add nscd.
17507 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17508 ($(objpfx)nscd): Remove command override.
17509 * login/Makefile (others-pie): Add pt_chown.
17510 ($(objpfx)pt_chown): Remove command override.
17511 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17512 remove command overrides.
17514 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17516 * libio/tst_putwc.c: Fix error messages.
17519 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17520 currently writing and seek to current position when not.
17521 * libio/Makefile (tests): Add bug-fclose1.
17522 * libio/bug-fclose1.c: New file.
17524 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17527 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17528 don't set DF_1_NODELETE here.
17529 (do_lookup_x): When entering new entry test for copy relocation
17530 and if necessary set DF_1_NODELETE flag.
17531 * elf/tst-unique4.cc: New file.
17532 * elf/tst-unique4.h: New file.
17533 * elf/tst-unique4lib.cc: New file.
17534 * elf/Makefile: Add rules to build and run tst-unique4.
17535 Patch by Piotr Bury <pbury@goahead.com>.
17537 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17540 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17543 * misc/mntent_r.c (addmntent): Flush the stream after the output
17546 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17547 (is_trusted_path_normalize): Skip initial colon. Append slash
17548 to empty buffer. Duplicate is_trusted_path code but allow
17549 constructed patch to be prefix.
17550 (is_dst): Allow $ORIGIN followed by /.
17551 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17552 Correct testing of result of is_trusted_path_normalize
17553 (decompose_rpath): Fix warning.
17555 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17558 * grp/initgroups.c (internal_getgrouplist): When we found the service
17559 list through the initgroups entry in nsswitch.conf do not always
17560 continue on a successful lookup. Don't always use the
17561 __nss_group_database value if it is set.
17562 * nss/nsswitch.conf (initgroups): Change action for successful db
17563 lookup to continue for compatibility.
17565 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17568 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17570 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17572 * iconvdata/tst-tables.sh: Likewise.
17573 * iconvdata/cp770.c: New file.
17574 * iconvdata/cp771.c: New file.
17575 * iconvdata/cp772.c: New file.
17576 * iconvdata/cp773.c: New file.
17577 * iconvdata/cp774.c: New file.
17578 * iconvdata/testdata/CP770: New file.
17579 * iconvdata/testdata/CP770..UTF8: New file.
17580 * iconvdata/testdata/CP771: New file.
17581 * iconvdata/testdata/CP771..UTF8: New file.
17582 * iconvdata/testdata/CP772: New file.
17583 * iconvdata/testdata/CP772..UTF8: New file.
17584 * iconvdata/testdata/CP773: New file.
17585 * iconvdata/testdata/CP773..UTF8: New file.
17586 * iconvdata/testdata/CP774: New file.
17587 * iconvdata/testdata/CP774..UTF8: New file.
17589 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17591 * iconvdata/gen-8bit-gap.sh: Likewise.
17592 * iconvdata/gen-8bit.sh: Likewise.
17594 * locale/iso-639.def: Add ary entry.
17597 * locale/C-translit.h.in: Add U20A1 transliteration.
17600 * locale/iso-639.def: Add wae entry.
17601 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17604 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17608 * locale/C-translit.h.in: Add entry for U20B9.
17609 Patch by pravin.d.s@gmail.com.
17611 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17614 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17615 ENAMETOOLONG use generic getcwd.
17616 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17617 in rtld. Use *stat64.
17618 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17619 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17620 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17621 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17622 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17623 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17624 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17625 __fstatat64 macros.
17626 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17627 * dirent/rewinddir.c: Add libc_hidden_def.
17628 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17629 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17631 * include/dirent.h (__alloc_dir): Add flags parameter.
17632 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17633 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17635 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17636 from fdopendir if O_CLOEXEC is already set.
17638 2011-03-15 Alan Modra <amodra@gmail.com>
17640 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17641 l_tls_firstbyte_offset non-zero. Save padding offset in
17642 l_tls_firstbyte_offset for later use.
17643 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17644 freeing static tls block.
17646 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17648 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17649 where #ifdef was intended. The intent is to prevent ARG_MAX from
17650 being defined by the kernel headers.
17652 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17655 * resolv/resolv.h: Define RES_NOTLDQUERY.
17656 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17657 no-tld-query and set RES_NOTLDQUERY.
17658 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17659 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17660 modern BIND to search name as TLD unless forbidden.
17662 2011-05-07 Petr Baudis <pasky@suse.cz>
17663 Ulrich Drepper <drepper@gmail.com>
17666 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17667 (is_trusted_path): ...to here.
17668 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17669 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17670 using is_trusted_path_normalize() in setuid scripts.
17672 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17674 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17675 __BEGIN/__END_DECLS.
17677 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17680 NSS_STATUS_NOTFOUND if no record was found.
17682 2011-05-05 Andreas Schwab <schwab@redhat.com>
17684 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17685 (headers-not-in-tirpc): Remove rpc/netdb.h
17686 * resolv/netdb.h: Revert last change.
17688 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17690 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17691 circular dependency between libgcc.a and libc.a.
17693 2011-05-05 Andreas Schwab <schwab@redhat.com>
17695 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17696 * nis/Makefile: Don't install rpcsvc/*.
17697 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17698 instead of <rpc/types.h>.
17699 (MAXHOSTNAMELEN): Define.
17701 2011-05-03 Andreas Schwab <schwab@redhat.com>
17703 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17705 2011-04-28 Maciej Babinski <mbabinski@google.com>
17708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17709 gethostbyname4_r when IPv6 results are possible.
17711 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17714 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17715 _PC_PIPE_BUF handling.
17717 2011-04-30 Bruno Haible <bruno@clisp.org>
17720 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17721 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17723 * inet/getnameinfo.c (getnameinfo): Likewise.
17725 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17727 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17728 to groups setting in database lookup.
17729 * nss/nsswitch.conf: Add initgroups entry.
17731 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17734 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17736 Patch by Eric Blake <eblake@redhat.com>.
17738 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17740 * sunrpc/Makefile (need-export-routines): Add svc_run.
17741 (routines): Remove svc_run.
17742 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17743 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17744 * sunrpc/svc_run.c (svc_run): Likewise.
17745 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17747 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17750 problem in reallocation in last patch.
17752 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17754 * sunrpc/Makefile: Move inclusion of Rules.
17756 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17758 * nss/nss_files/files-initgroups.c: New file.
17759 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17760 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17761 _nss_files_initgroups_dyn.
17763 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17765 * elf/elf.h (R_ARM_IRELATIVE): Define.
17767 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17769 * po/ru.po: Update from translation team.
17771 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17773 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17776 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17779 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17780 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17781 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17782 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17785 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17789 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17793 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17796 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17798 * stdlib/bug-getcontext.c: New file.
17799 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17801 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17803 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17804 instructions into .machine "z9-109".
17805 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17806 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17808 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17810 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17811 between environment variables and auxiliary vector.
17813 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17815 * Makefile: Add rules to build linkobj/libc.so.
17816 * include/libc-symbols.h: Define libc_hidden_nolink.
17817 * include/rpc/auth.h: Mark functions which are to be hidden.
17818 * include/rpc/auth_des.h: Likewise.
17819 * include/rpc/auth_unix.h: Likewise.
17820 * include/rpc/clnt.h: Likewise.
17821 * include/rpc/des_crypt.h: Likewise.
17822 * include/rpc/key_prot.h: Likewise.
17823 * include/rpc/pmap_clnt.h: Likewise.
17824 * include/rpc/pmap_prot.h: Likewise.
17825 * include/rpc/pmap_rmt.h: Likewise.
17826 * include/rpc/rpc_msg.h: Likewise.
17827 * include/rpc/svc.h: Likewise.
17828 * include/rpc/svc_auth.h: Likewise.
17829 * include/rpc/xdr.h: Likewise.
17830 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17831 * nss/Makefile: Likewise.
17832 * sunrpc/Makefile: Don't install headers. Build library with normal
17833 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17834 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17835 for the compat linking library. Remove use of INTDEF/INTUSE.
17836 * sunrpc/auth_none.c: Likewise.
17837 * sunrpc/auth_unix.c: Likewise.
17838 * sunrpc/authdes_prot.c: Likewise.
17839 * sunrpc/authuxprot.c: Likewise.
17840 * sunrpc/clnt_gen.c: Likewise.
17841 * sunrpc/clnt_perr.c: Likewise.
17842 * sunrpc/clnt_raw.c: Likewise.
17843 * sunrpc/clnt_simp.c: Likewise.
17844 * sunrpc/clnt_tcp.c: Likewise.
17845 * sunrpc/clnt_udp.c: Likewise.
17846 * sunrpc/clnt_unix.c: Likewise.
17847 * sunrpc/des_crypt.c: Likewise.
17848 * sunrpc/des_soft.c: Likewise.
17849 * sunrpc/get_myaddr.c: Likewise.
17850 * sunrpc/key_call.c: Likewise.
17851 * sunrpc/key_prot.c: Likewise.
17852 * sunrpc/netname.c: Likewise.
17853 * sunrpc/pm_getmaps.c: Likewise.
17854 * sunrpc/pm_getport.c: Likewise.
17855 * sunrpc/pmap_clnt.c: Likewise.
17856 * sunrpc/pmap_prot.c: Likewise.
17857 * sunrpc/pmap_prot2.c: Likewise.
17858 * sunrpc/pmap_rmt.c: Likewise.
17859 * sunrpc/publickey.c: Likewise.
17860 * sunrpc/rpc_cmsg.c: Likewise.
17861 * sunrpc/rpc_common.c: Likewise.
17862 * sunrpc/rpc_dtable.c: Likewise.
17863 * sunrpc/rpc_prot.c: Likewise.
17864 * sunrpc/rpc_thread.c: Likewise.
17865 * sunrpc/rtime.c: Likewise.
17866 * sunrpc/svc.c: Likewise.
17867 * sunrpc/svc_auth.c: Likewise.
17868 * sunrpc/svc_authux.c: Likewise.
17869 * sunrpc/svc_raw.c: Likewise.
17870 * sunrpc/svc_run.c: Likewise.
17871 * sunrpc/svc_simple.c: Likewise.
17872 * sunrpc/svc_tcp.c: Likewise.
17873 * sunrpc/svc_udp.c: Likewise.
17874 * sunrpc/svc_unix.c: Likewise.
17875 * sunrpc/svcauth_des.c: Likewise.
17876 * sunrpc/xcrypt.c: Likewise.
17877 * sunrpc/xdr.c: Likewise.
17878 * sunrpc/xdr_array.c: Likewise.
17879 * sunrpc/xdr_float.c: Likewise.
17880 * sunrpc/xdr_intXX_t.c: Likewise.
17881 * sunrpc/xdr_mem.c: Likewise.
17882 * sunrpc/xdr_rec.c: Likewise.
17883 * sunrpc/xdr_ref.c: Likewise.
17884 * sunrpc/xdr_sizeof.c: Likewise.
17885 * sunrpc/xdr_stdio.c: Likewise.
17887 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17890 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17891 * sysdeps/ia64/dl-tls.h: Likewise.
17892 * sysdeps/powerpc/dl-tls.h: Likewise.
17893 * sysdeps/s390/dl-tls.h: Likewise.
17894 * sysdeps/sh/dl-tls.h: Likewise.
17895 * sysdeps/sparc/dl-tls.h: Likewise.
17896 * sysdeps/x86_64/dl-tls.h: Likewise.
17897 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17899 2011-03-14 Andreas Schwab <schwab@redhat.com>
17901 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17902 rpath element also skip the following colon.
17903 (expand_dynamic_string_token): Add is_path parameter and pass
17904 down to DL_DST_REQUIRED and _dl_dst_substitute.
17905 (decompose_rpath): Call expand_dynamic_string_token with
17906 non-zero is_path. Ignore empty rpaths.
17907 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17910 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17915 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17918 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17919 Patch by Filipe David Manana <fdmanana@apache.org>.
17921 2011-04-07 Andreas Schwab <schwab@redhat.com>
17923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17924 Maintain aligned stack.
17925 (CHECK_RSP): Remove unused macro.
17927 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17929 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17930 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17932 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17934 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17936 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17938 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17941 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17942 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17943 * sysdeps/x86_64/memmove.c: New file.
17944 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17945 (memcpy): Renamed to ...
17946 (__new_memcpy): This.
17947 (memcpy): Provide GLIBC_2_14 memcpy.
17948 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17949 (memcpy): Provide GLIBC_2_2_5 memcpy.
17951 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17954 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17956 2011-03-30 Andreas Schwab <schwab@redhat.com>
17958 * misc/syncfs.c: New file.
17959 * misc/Makefile (routines): Add syncfs.
17960 * posix/unistd.h: Declare syncfs.
17961 * sysdeps/unix/syscalls.list: Add syncfs.
17963 2011-04-01 Andreas Schwab <schwab@redhat.com>
17965 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17968 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17970 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17972 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17973 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17975 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17985 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17986 sync_file_range.c with -fexceptions.
17987 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17988 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17989 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17990 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17991 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17992 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17994 sync_file_range as cancellation point
17995 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17996 now a wrapper around __call_sync_file_range with cancellation handling.
17997 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17998 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17999 function name to __call_sync_file_range.
18000 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18001 Add call_sync_file_range.
18003 2011-04-01 Andreas Schwab <schwab@redhat.com>
18005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18008 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18010 * iconv/iconv.h: Fix typo in comment.
18011 * io/fcntl.h: Likewise.
18012 * libio/stdio.h: Likewise.
18013 * posix/spawn.h: Likewise.
18014 * posix/unistd.h: Likewise.
18015 * stdlib/stdlib.h: Likewise.
18016 * time/time.h: Likewise.
18017 * wcsmbs/wchar.h: Likewise.
18019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18020 open_by_handle): Add.
18021 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18022 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18023 Augment a few comments.
18024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18029 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18032 * io/fcntl.h (AT_EMPTY_PATH): Define.
18034 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18036 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18037 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18038 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18040 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18041 * Versions.def: Add GLIBC_2.14.
18042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18045 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18049 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18051 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18054 * string/test-strncmp.c (do_page_test): New function.
18055 (check2): Likewise.
18056 (test_main): Call check2.
18057 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18059 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18062 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18063 Handle cache information in CPU leaf 4.
18064 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18066 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18069 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18070 character representation.
18071 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18073 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18075 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18076 END(__isnan) to END(__isnanf) to match function entry point/label
18077 EALIGN(__isnanf,...).
18079 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18081 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18083 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18086 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18087 copy from the symbol referenced in the relocation to initialize the
18089 Patch by Piotr Bury <pbury@goahead.com>.
18090 * elf/Makefile: Add rules to build and tst-unique3.
18091 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18092 * elf/tst-unique3.cc: New file.
18093 * elf/tst-unique3.h: New file.
18094 * elf/tst-unique3lib.cc: New file.
18095 * elf/tst-unique3lib2.cc: New file.
18097 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18099 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18101 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18102 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18105 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18107 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18108 to-be-loaded object along a path to loader is ld.so.
18110 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18111 Ulrich Drepper <drepper@gmail.com>
18113 * sysdeps/x86_64/memset.S: After aligning destination, code
18114 branches to different locations depending on the value of
18115 misalignment, when multiarch is enabled. Fix this.
18117 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18119 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18120 Set _x86_64_preferred_memory_instruction for AMD processsors.
18121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18122 Set bit_Prefer_SSE_for_memop for AMD processors.
18124 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18126 * libio/fmemopen.c (fmemopen): Optimize a bit.
18128 2011-03-03 Andreas Schwab <schwab@redhat.com>
18130 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18132 2011-03-03 Roland McGrath <roland@redhat.com>
18134 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18136 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18138 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18139 __bzero_ultra1 instead of __memset_ultra1.
18141 2011-02-23 Andreas Schwab <schwab@redhat.com>
18142 Ulrich Drepper <drepper@gmail.com>
18145 * include/link.h (struct link_map): Add l_orig_initfini.
18146 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18147 returning unsuccessfully.
18148 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18149 close of a file loaded at startup, restore the original l_initfini
18151 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18152 list, store the pointer.
18153 * elf/Makefile ($(objpfx)noload-mem): New rule.
18154 (noload-ENV): Define.
18155 (tests): Add $(objpfx)noload-mem.
18156 * elf/noload.c: Include <memcheck.h>.
18157 (main): Call mtrace. Close all opened handles.
18159 2011-02-17 Andreas Schwab <schwab@redhat.com>
18162 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18163 dependencies are missing.
18165 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18167 Fix __if_freereq crash: Unlike the generic version which uses free,
18169 * sysdeps/mach/hurd/ifreq.h: New file.
18171 2011-01-27 Petr Baudis <pasky@suse.cz>
18172 Ulrich Drepper <drepper@gmail.com>
18175 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18176 to extend_alloca().
18177 * stdio-common/bug23.c: New file.
18178 * stdio-common/Makefile (tests): Add bug23.
18180 2010-09-28 Andreas Schwab <schwab@redhat.com>
18181 Ulrich Drepper <drepper@gmail.com>
18184 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18185 before performing relro protection. At old place add assertion
18186 to make sure nothing changed.
18188 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18189 Glauber de Oliveira Costa <glommer@gmail.com>
18191 * elf/elf.h: Add new ARM TLS relocs.
18193 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18196 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18198 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18200 * sysdeps/wordsize-64/tst-writev.c: New file.
18202 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18204 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18205 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18206 insns in _dl_start to prevent a TOC reference before relocs are
18209 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18212 * Makeconfig: Remove RANLIB definition.
18213 * Makerules: Don't use RANLIB.
18214 * aclocal.m4: Remove ranlib test.
18215 * configure.in: No need to check for ranlib.
18216 * elf/rtld-Rules: Don't use RANLIB.
18218 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18220 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18222 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18223 inclusion protection macro.
18225 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18226 SIGRTMIN and SIGRTMAX and print information in that case only when
18227 SIGRTMIN is defined.
18229 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18231 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18232 arginfo fn returning -1.
18234 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18235 and thousands string is zero terminated.
18237 2011-02-03 Andreas Schwab <schwab@redhat.com>
18239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18240 sysdeps/unix/sysv/linux/bits/socket.h.
18242 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18244 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18245 (__CPU_COUNT): Remove old macros.
18246 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18247 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18248 (__CPU_ALLOC, __CPU_FREE): Add macros.
18249 (__sched_cpualloc, __sched_cpufree): Add declarations.
18251 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18253 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18254 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18255 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18256 (readdhstai): Return value of addhstaiX call.
18257 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18258 (addgrbyX): Return value returned by cache_addgr.
18259 (readdgrbyname): Return value returned by addgrbyX.
18260 (readdgrbygid): Likewise.
18261 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18262 (addpwbyX): Return value returned by cache_addpw.
18263 (readdpwbyname): Return value returned by addhstbyX.
18264 (readdpwbyuid): Likewise.
18265 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18266 (addservbyX): Return value returned by cache_addserv.
18267 (readdservbyname): Return value returned by addservbyX:
18268 (readdservbyport): Likewise.
18269 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18270 (addhstbyX): Return value returned by cache_addhst.
18271 (readdhstbyname): Return value returned by addhstbyX.
18272 (readdhstbyaddr): Likewise.
18273 (readdhstbynamev6): Likewise.
18274 (readdhstbyaddrv6): Likewise.
18275 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18276 (readdinitgroups): Return value returned by addinitgroupsX.
18277 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18278 (prune_cache): Keep track of timeout value of re-added entries.
18279 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18280 * nscd/nscd.h: Adjust prototypes of readd* functions.
18282 2011-02-04 Roland McGrath <roland@redhat.com>
18284 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18285 (nis_stats): Likewise.
18286 * nis/nis_modify.c (nis_modify): Likewise.
18287 * nis/nis_remove.c (nis_remove): Likewise.
18288 * nis/nis_add.c (nis_add): Likewise.
18290 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18292 * posix/fnmatch_loop.c: Add some consts.
18294 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18296 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18299 * config.make.in (config-cflags-novzeroupper): Define.
18300 * configure.in: Substitute libc_cv_cc_novzeroupper.
18301 * elf/Makefile (AVX-CFLAGS): Define.
18302 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18303 (CFLAGS-tst-auditmod4a.c): Likewise.
18304 (CFLAGS-tst-auditmod4b.c): Likewise.
18305 (CFLAGS-tst-auditmod6b.c): Likewise.
18306 (CFLAGS-tst-auditmod6c.c): Likewise.
18307 (CFLAGS-tst-auditmod7b.c): Likewise.
18308 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18310 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18312 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18313 function to the callback.
18314 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18316 2011-02-02 Andreas Schwab <schwab@redhat.com>
18318 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18321 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18324 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18326 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18328 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18331 * elf/Makefile: Add rules to build and run new test.
18332 * elf/tst-initorder.c: New file.
18333 * elf/tst-initorder.exp: New file.
18334 * elf/tst-initordera1.c: New file.
18335 * elf/tst-initordera2.c: New file.
18336 * elf/tst-initordera3.c: New file.
18337 * elf/tst-initordera4.c: New file.
18338 * elf/tst-initorderb1.c: New file.
18339 * elf/tst-initorderb2.c: New file.
18340 * elf/tst-order-a1.c: New file.
18341 * elf/tst-order-a2.c: New file.
18342 * elf/tst-order-a3.c: New file.
18343 * elf/tst-order-a4.c: New file.
18344 * elf/tst-order-b1.c: New file.
18345 * elf/tst-order-b2.c: New file.
18346 * elf/tst-order-main.c: New file.
18347 New test case by George Gensure <werkt0@gmail.com>.
18349 2010-10-01 Andreas Schwab <schwab@redhat.com>
18351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18352 decoding ACE if AI_CANONIDN.
18354 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18356 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18358 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18360 * version.h (RELEASE): Bump for 2.13 release.
18361 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18363 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18365 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18367 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18370 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18374 * posix/getconf.c: Update copyright year.
18375 * catgets/gencat.c: Likewise.
18376 * csu/version.c: Likewise.
18377 * debug/catchsegv.sh: Likewise.
18378 * debug/xtrace.sh: Likewise.
18379 * elf/ldconfig.c: Likewise.
18380 * elf/ldd.bash.in: Likewise.
18381 * elf/sprof.c (print_version): Likewise.
18382 * iconv/iconv_prog.c: Likewise.
18383 * iconv/iconvconfig.c: Likewise.
18384 * locale/programs/locale.c: Likewise.
18385 * locale/programs/localedef.c: Likewise.
18386 * malloc/memusage.sh: Likewise.
18387 * malloc/mtrace.pl: Likewise.
18388 * nscd/nscd.c (print_version): Likewise.
18389 * nss/getent.c: Likewise.
18391 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18392 PF_CAIF, and PF_ALG.
18393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18395 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18397 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18398 (modules-names): Use them.
18399 (ifunc-test-modules, ifunc-pie-tests): Define.
18400 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18401 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18402 (test-extras): Likewise.
18403 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18404 $(compile-command.c).
18405 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18406 (all-built-dso): Define.
18407 (check-textrel.out, check-execstack.out): Depend on it.
18409 * configure.in: Don't override --enable-multi-arch.
18411 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18414 * nscd/hstcache.c (tryagain): Define.
18415 (cache_addhst): Return tryagain not notfound for temporary errors.
18416 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18419 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18423 to make the syscall.
18424 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18427 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18428 and fall back to matching as normal character if the string ends before
18429 the matching ']' is found. This is what POSIX requires.
18430 * posix/testfnm.c: Adjust test result.
18431 * posix/globtest.sh: Adjust test result. Add new test.
18432 * posix/tst-fnmatch.input: Likewise.
18433 * posix/tst-fnmatch2.c: Add new test.
18435 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18437 * elf/Makefile (check-execstack): Revert last change. Depend on
18439 (check-execstack.h): New target.
18440 (generated): Add check-execstack.h.
18441 * elf/check-execstack.c: Include "check-execstack.h".
18442 (main): Revert last change.
18443 (handle_file): Return zero if GNU_STACK is absent and
18444 DEFAULT_STACK_PERMS doesn't include PF_X.
18446 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18448 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18449 in child fails because the descriptor is already closed.
18450 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18451 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18452 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18455 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18459 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18460 temporary buffer used to handle multi lookups locally.
18461 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18463 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18465 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18468 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18470 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18471 alignment for SSE2.
18473 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18476 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18477 characters. When rounding increased number of integer digits recompute
18479 * stdio-common/tst-grouping.c: New file.
18480 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18482 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18484 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18485 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18487 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18489 * bits/select.h: Likewise.
18491 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18493 * po/ja.po: Update from translation team.
18495 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18498 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18499 implementation just like for lxstat, fxstatat, et al.
18501 2010-12-27 Jim Meyering <meyering@redhat.com>
18504 * posix/regexec.c (build_trtable): Return failure indication upon
18505 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18507 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18510 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18511 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18512 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18513 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18516 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18519 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18520 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18522 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18524 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18525 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18526 script has SORT_BY_INIT_PRIORITY.
18527 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18528 NO_CTORS_DTORS_SECTIONS is defined.
18529 * elf/soinit.c: Likewise.
18530 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18531 NO_CTORS_DTORS_SECTIONS is defined.
18532 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18533 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18534 * sysdeps/sh/init-first.c: Likewise.
18535 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18537 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18539 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18540 always use the slow path.
18542 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18544 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18545 similar rule which adds the sysdep directories to the header search in
18546 order to pick up the correct platform stackinfo.h.
18547 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18548 perform test if it is, otherwise return successfully without testing.
18549 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18550 DEFAULT_STACK_PERMS define in stackinfo.h.
18551 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18552 defined in stackinfo.h.
18553 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18554 DEFAULT_STACK_PERMS defined in stackinfo.h.
18555 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18556 * sysdeps/ia64/stackinfo.h: Likewise.
18557 * sysdeps/s390/stackinfo.h: Likewise.
18558 * sysdeps/sh/stackinfo.h: Likewise.
18559 * sysdeps/sparc/stackinfo.h: Likewise.
18560 * sysdeps/x86_64/stackinfo.h: Likewise.
18561 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18562 PF_X for powerpc64. Retain PF_X for powerpc32.
18564 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18566 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18568 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18569 GETDENTS_64BIT_ALIGNED.
18571 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18573 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18575 2010-12-10 Andreas Schwab <schwab@redhat.com>
18577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18580 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18581 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18583 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18584 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18586 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18589 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18592 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18594 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18596 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18598 * po/it.po: Update from translation team.
18600 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18602 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18605 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18607 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18609 2010-11-24 Andreas Schwab <schwab@redhat.com>
18611 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18613 (gaih_getanswer_slice): Likewise.
18615 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18619 2010-05-31 Petr Baudis <pasky@suse.cz>
18622 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18623 silently even in the chroot mode.
18625 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18627 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18628 last patch a bit. Pretty printing
18630 2010-05-31 Petr Baudis <pasky@suse.cz>
18633 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18634 initialization of skip_initgroups_dyn.
18636 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18638 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18641 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18643 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18645 2010-11-11 Andreas Schwab <schwab@redhat.com>
18647 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18648 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18649 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18650 ($(objpfx)tst-fnmatch-mem): New rule.
18651 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18652 * posix/tst-fnmatch.c (main): Call mtrace.
18654 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18657 Support Intel processor model 6 and model 0x2c.
18659 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18661 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18664 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18667 * string/test-strncasecmp.c (check_result): New function.
18668 (do_one_test): Use it.
18669 (check1): New function.
18670 (test_main): Use it.
18671 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18672 Support strcasecmp and strncasecmp.
18674 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18677 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18678 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18680 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18682 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18686 * sysdeps/x86_64/multiarch/bzero.S: New file.
18687 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18688 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18689 * sysdeps/x86_64/multiarch/memset.S: New file.
18690 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18692 Set bit_Prefer_SSE_for_memop for Intel processors.
18693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18695 (index_Prefer_SSE_for_memop): Define.
18696 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18698 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18700 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18701 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18703 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18706 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18707 (__x86_64_raw_data_cache_size_half): Likewise.
18708 (__x86_64_raw_shared_cache_size): Likewise.
18709 (__x86_64_raw_shared_cache_size_half): Likewise.
18711 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18712 (__x86_64_raw_data_cache_size_half): Likewise.
18713 (__x86_64_raw_shared_cache_size): Likewise.
18714 (__x86_64_raw_shared_cache_size_half): Likewise.
18715 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18716 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18717 and __x86_64_raw_shared_cache_size_half. Round
18718 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18719 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18720 to multiple of 256 bytes.
18722 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18726 of inacessible symlinks. Verify result of symlink before returning it.
18727 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18728 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18730 2010-10-28 Erich Ritz <erichritz@gmail.com>
18732 * math/math.h (isinf): Fix typo in comment.
18734 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18736 * po/da.po: Update from translation team.
18738 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18740 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18741 is added to the list.
18743 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18744 Ulrich Drepper <drepper@gmail.com>
18746 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18747 the global list here. Move code to...
18748 (_dl_add_to_namespace_list): ...here. New function.
18749 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18750 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18751 * elf/dl-load.c (lose): Don't remove the element from the list.
18752 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18753 (_dl_map_object): Likewise.
18755 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18758 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18759 into all bytes of SSE register.
18760 Patch by Richard Li <richardpku@gmail.com>.
18762 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18765 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18768 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18770 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18771 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18772 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18773 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18778 2010-10-22 Andreas Schwab <schwab@redhat.com>
18780 * include/dlfcn.h (__RTLD_SECURE): Define.
18781 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18782 mode & __RTLD_SECURE instead.
18783 (open_path): Rename preloaded parameter to secure.
18784 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18785 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18786 * elf/dl-deps.c (openaux): Likewise.
18787 * elf/rtld.c (struct map_args): Remove is_preloaded.
18788 (map_doit): Don't use it.
18789 (dl_main): Likewise.
18790 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18791 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18793 2010-09-09 Andreas Schwab <schwab@redhat.com>
18795 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18796 (sysd-rules-targets): Remove duplicates.
18797 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18798 rtld-%.$o dependency.
18800 2010-10-18 Andreas Schwab <schwab@redhat.com>
18802 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18803 _dl_map_object do it.
18805 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18807 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18808 fast fma builtins, define the macros in the C99 standard.
18809 (FP_FAST_FMAF): Likewise.
18810 (FP_FAST_FMAL): Likewise.
18811 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18813 * bits/mathdef.h: Update copyright year.
18814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18816 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18818 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18819 builtins, define the macros in the C99 standard.
18820 (FP_FAST_FMAF): Likewise.
18821 (FP_FAST_FMAL): Likewise.
18822 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18824 (FP_FAST_FMAF): Likewise.
18826 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18829 * math/libm-test.inc (fma_test): Some new testcases.
18830 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18831 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18832 y and infinite z. Do multiplication by C already in long double.
18833 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18835 y and infinite z. Do bitwise or of inexact bit into u.d.
18836 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18837 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18838 * sysdeps/i386/fpu/s_fma.S: Removed.
18839 * sysdeps/i386/fpu/s_fmal.S: Removed.
18841 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18844 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18846 computation is not scheduled after fetestexcept. Fix value
18847 of minimum denormal long double.
18849 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18852 * math/libm-test.inc (fma_test): Add some more tests.
18853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18856 2010-10-15 Andreas Schwab <schwab@redhat.com>
18858 * scripts/data/localplt-s390-linux-gnu.data: New file.
18859 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18861 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18864 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18865 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18867 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18869 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18871 if one of x and y is very large and the other is subnormal.
18872 * sysdeps/s390/fpu/s_fmaf.c: New file.
18873 * sysdeps/s390/fpu/s_fma.c: New file.
18874 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18875 * sysdeps/powerpc/fpu/s_fma.S: New file.
18876 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18877 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18878 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18880 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18883 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18885 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18886 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18887 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18888 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18889 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18890 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18893 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18896 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18897 * posix/bug-regex31.input: Add test case.
18899 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18901 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18902 * posix/bug-regex31.input: New file.
18905 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18906 (parse_sub_exp): Fix last change, use postorder.
18908 * posix/bug-regex31.c: New file.
18909 * posix/Makefile: Add rules to build and run bug-regex31.
18911 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18914 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18917 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18918 to have entries in sys_siglist.
18921 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18924 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18927 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18928 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18929 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18930 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18931 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18932 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18933 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18934 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18935 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18936 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18937 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18938 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18939 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18940 * math/ftestexcept.c (fetestexcept): Likewise.
18941 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18942 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18943 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18944 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18945 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18946 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18947 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18949 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18952 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18955 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18957 * string/bug-strstr1.c: New file.
18958 * string/Makefile: Add rules to build and run bug-strstr1.
18960 2010-10-05 Eric Blake <eblake@redhat.com>
18963 * string/str-two-way.h (two_way_long_needle): Always clear memory
18964 when skipping input due to the shift table.
18966 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18969 * malloc/mcheck.c: Handle large requests.
18972 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18973 for strncmp and strncasecmp.
18974 * string/stratcliff.c: Add tests for strcmp and strncmp.
18975 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18977 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18979 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18982 2010-09-30 Andreas Jaeger <aj@suse.de>
18984 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18985 (CGROUP_SUPER_MAGIC): Define.
18986 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18987 Handle btrfs and cgroup file systems.
18988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18991 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18993 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18994 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18996 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18999 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19000 trying to locate the ELF header.
19002 2010-09-27 Andreas Schwab <schwab@redhat.com>
19005 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19006 Mask out sign-bit copies when constructing f_fsid.
19008 2010-09-24 Petr Baudis <pasky@suse.cz>
19010 * debug/stack_chk_fail_local.c: Add missing licence exception.
19011 * debug/warning-nop.c: Likewise.
19013 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19015 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19016 implementing getdents64 using getdents syscall, set d_type if
19017 __ASSUME_GETDENTS32_D_TYPE.
19019 2010-09-16 Andreas Schwab <schwab@redhat.com>
19021 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19022 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19024 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19027 * posix/unistd.h: Undo change of feature selection for ftruncate from
19030 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19032 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19035 2010-09-20 Andreas Schwab <schwab@redhat.com>
19037 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19041 2010-09-14 Andreas Schwab <schwab@redhat.com>
19043 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19044 variables after CHECK_SP call.
19045 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19047 2010-09-13 Andreas Schwab <schwab@redhat.com>
19048 Ulrich Drepper <drepper@redhat.com>
19050 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19051 re-relocationg ld.so.
19052 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19053 _dl_init_paths call.
19054 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19057 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19059 * resolv/res_init.c (__res_vinit): Count the default server we added.
19061 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19062 Ulrich Drepper <drepper@redhat.com>
19065 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19066 (____longjmp_chk): Use %ebx for saving value across system call.
19069 2010-09-06 Andreas Schwab <schwab@redhat.com>
19071 * manual/Makefile: Don't mix pattern rules with normal rules.
19073 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19075 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19077 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19078 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19079 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19080 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19084 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19087 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19088 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19090 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19092 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19093 * sysdeps/x86_64/addmul_1.S: Likewise.
19094 * sysdeps/x86_64/lshift.S: Likewise.
19095 * sysdeps/x86_64/mul_1.S: Likewise.
19096 * sysdeps/x86_64/rshift.S: Likewise.
19097 * sysdeps/x86_64/sub_n.S: Likewise.
19098 * sysdeps/x86_64/submul_1.S: Likewise.
19100 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19102 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19103 Define __sched_param instead of SCHED_* and sched_param when
19104 <bits/sched.h> is included with __need_schedparam defined.
19105 * bits/sched.h [__need_schedparam]
19106 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19107 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19108 (__defined_schedparam): Define to 1.
19109 (__sched_param): New structure, identical to sched_param.
19110 (__need_schedparam): Undefine.
19112 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19114 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19115 (epoll_create1): Declare.
19117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19119 2010-08-31 Andreas Schwab <schwab@redhat.com>
19122 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19123 shifting retval into place.
19125 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19127 * nis/rpcsvc/nis.h: Update copyright notice.
19128 * nis/rpcsvc/nis.x: Likewise.
19129 * nis/rpcsvc/nis_callback.h: Likewise.
19130 * nis/rpcsvc/nis_callback.x: Likewise.
19131 * nis/rpcsvc/nis_object.x: Likewise.
19132 * nis/rpcsvc/nis_tags.h: Likewise.
19133 * nis/rpcsvc/yp.h: Likewise.
19134 * nis/rpcsvc/yp.x: Likewise.
19135 * nis/rpcsvc/ypupd.h: Likewise.
19136 * nis/yp_xdr.c: Likewise.
19137 * nis/ypupdate_xdr.c: Likewise.
19139 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19140 mainly the body of pmap_getport. Add parameters to specify timeouts.
19141 (pmap_getport): Use __libc_rpc_getport.
19142 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19143 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19144 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19146 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19151 2010-08-27 Roland McGrath <roland@redhat.com>
19153 * sysdeps/i386/i686/multiarch/Makefile
19154 (CFLAGS-varshift.c): New variable.
19156 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19158 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19159 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19161 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19163 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19165 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19167 * sysdeps/x86_64/strlen.S: Unroll the loop.
19168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19169 strlen-sse2 strlen-sse2-bsf.
19170 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19171 __strlen_no_bsf if bit_Slow_BSF is set.
19172 (__strlen_sse42): Removed.
19173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19174 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19176 2010-08-25 Roland McGrath <roland@redhat.com>
19178 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19179 * sysdeps/x86_64/multiarch/varshift.c: New file.
19180 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19181 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19182 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19183 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19185 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19188 strlen-sse2 strlen-sse2-bsf.
19189 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19190 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19191 (__strlen_sse2): Removed.
19192 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19193 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19195 bit_Slow_BSF for Atom.
19196 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19197 (index_Slow_BSF): Define.
19198 (HAS_SLOW_BSF): Define.
19200 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19203 * resolv/res_init.c (__res_vinit): When no server address at all
19204 is given default to loopback.
19206 2010-08-24 Roland McGrath <roland@redhat.com>
19208 * configure.in: Remove config-name.h generation.
19209 * configure: Regenerated.
19210 * config-name.in: File removed.
19211 * scripts/config-uname.sh: New file.
19212 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19213 ($(objdir)config-name.h): New target.
19215 * sunrpc/rpc_parse.h: Avoid nested comment.
19217 2010-08-24 Richard Henderson <rth@redhat.com>
19218 Ulrich Drepper <drepper@redhat.com>
19219 H.J. Lu <hongjiu.lu@intel.com>
19221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19223 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19224 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19225 _mm_alignr_epi8 with _mm_loadu_si128.
19226 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19227 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19228 (__m128i_shift_right): Removed.
19229 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19230 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19231 * sysdeps/x86_64/multiarch/varshift.h: New file.
19232 * sysdeps/x86_64/multiarch/varshift.S: New file.
19234 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19236 * configure.in: Move assembler checks to before sysdep dir checking.
19238 2010-08-20 Petr Baudis <pasky@suse.cz>
19240 * LICENSES: Sync the sunrpc license.
19242 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19244 * sunrpc/auth_des.c: Update copyright notice once again.
19245 * sunrpc/auth_none.c: Likewise.
19246 * sunrpc/auth_unix.c: Likewise.
19247 * sunrpc/authdes_prot.c: Likewise.
19248 * sunrpc/authuxprot.c: Likewise.
19249 * sunrpc/bindrsvprt.c: Likewise.
19250 * sunrpc/clnt_gen.c: Likewise.
19251 * sunrpc/clnt_perr.c: Likewise.
19252 * sunrpc/clnt_raw.c: Likewise.
19253 * sunrpc/clnt_simp.c: Likewise.
19254 * sunrpc/clnt_tcp.c: Likewise.
19255 * sunrpc/clnt_udp.c: Likewise.
19256 * sunrpc/clnt_unix.c: Likewise.
19257 * sunrpc/des_crypt.c: Likewise.
19258 * sunrpc/des_soft.c: Likewise.
19259 * sunrpc/get_myaddr.c: Likewise.
19260 * sunrpc/getrpcport.c: Likewise.
19261 * sunrpc/key_call.c: Likewise.
19262 * sunrpc/key_prot.c: Likewise.
19263 * sunrpc/openchild.c: Likewise.
19264 * sunrpc/pm_getmaps.c: Likewise.
19265 * sunrpc/pm_getport.c: Likewise.
19266 * sunrpc/pmap_clnt.c: Likewise.
19267 * sunrpc/pmap_prot.c: Likewise.
19268 * sunrpc/pmap_prot2.c: Likewise.
19269 * sunrpc/pmap_rmt.c: Likewise.
19270 * sunrpc/rpc/auth.h: Likewise.
19271 * sunrpc/rpc/auth_unix.h: Likewise.
19272 * sunrpc/rpc/clnt.h: Likewise.
19273 * sunrpc/rpc/des_crypt.h: Likewise.
19274 * sunrpc/rpc/key_prot.h: Likewise.
19275 * sunrpc/rpc/netdb.h: Likewise.
19276 * sunrpc/rpc/pmap_clnt.h: Likewise.
19277 * sunrpc/rpc/pmap_prot.h: Likewise.
19278 * sunrpc/rpc/pmap_rmt.h: Likewise.
19279 * sunrpc/rpc/rpc.h: Likewise.
19280 * sunrpc/rpc/rpc_des.h: Likewise.
19281 * sunrpc/rpc/rpc_msg.h: Likewise.
19282 * sunrpc/rpc/svc.h: Likewise.
19283 * sunrpc/rpc/svc_auth.h: Likewise.
19284 * sunrpc/rpc/types.h: Likewise.
19285 * sunrpc/rpc/xdr.h: Likewise.
19286 * sunrpc/rpc_clntout.c: Likewise.
19287 * sunrpc/rpc_cmsg.c: Likewise.
19288 * sunrpc/rpc_common.c: Likewise.
19289 * sunrpc/rpc_cout.c: Likewise.
19290 * sunrpc/rpc_dtable.c: Likewise.
19291 * sunrpc/rpc_hout.c: Likewise.
19292 * sunrpc/rpc_main.c: Likewise.
19293 * sunrpc/rpc_parse.c: Likewise.
19294 * sunrpc/rpc_parse.h: Likewise.
19295 * sunrpc/rpc_prot.c: Likewise.
19296 * sunrpc/rpc_sample.c: Likewise.
19297 * sunrpc/rpc_scan.c: Likewise.
19298 * sunrpc/rpc_scan.h: Likewise.
19299 * sunrpc/rpc_svcout.c: Likewise.
19300 * sunrpc/rpc_tblout.c: Likewise.
19301 * sunrpc/rpc_util.c: Likewise.
19302 * sunrpc/rpc_util.h: Likewise.
19303 * sunrpc/rpcinfo.c: Likewise.
19304 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19305 * sunrpc/rpcsvc/key_prot.x: Likewise.
19306 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19307 * sunrpc/rpcsvc/mount.x: Likewise.
19308 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19309 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19310 * sunrpc/rpcsvc/rex.x: Likewise.
19311 * sunrpc/rpcsvc/rstat.x: Likewise.
19312 * sunrpc/rpcsvc/rusers.x: Likewise.
19313 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19314 * sunrpc/rpcsvc/spray.x: Likewise.
19315 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19316 * sunrpc/rtime.c: Likewise.
19317 * sunrpc/svc.c: Likewise.
19318 * sunrpc/svc_auth.c: Likewise.
19319 * sunrpc/svc_authux.c: Likewise.
19320 * sunrpc/svc_raw.c: Likewise.
19321 * sunrpc/svc_run.c: Likewise.
19322 * sunrpc/svc_simple.c: Likewise.
19323 * sunrpc/svc_tcp.c: Likewise.
19324 * sunrpc/svc_udp.c: Likewise.
19325 * sunrpc/svc_unix.c: Likewise.
19326 * sunrpc/svcauth_des.c: Likewise.
19327 * sunrpc/xcrypt.c: Likewise.
19328 * sunrpc/xdr.c: Likewise.
19329 * sunrpc/xdr_array.c: Likewise.
19330 * sunrpc/xdr_float.c: Likewise.
19331 * sunrpc/xdr_mem.c: Likewise.
19332 * sunrpc/xdr_rec.c: Likewise.
19333 * sunrpc/xdr_ref.c: Likewise.
19334 * sunrpc/xdr_sizeof.c: Likewise.
19335 * sunrpc/xdr_stdio.c: Likewise.
19337 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19340 2010-08-19 Andreas Schwab <schwab@redhat.com>
19342 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19344 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19346 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19349 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19351 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19352 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19353 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19354 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19355 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19356 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19357 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19358 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19359 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19361 2010-07-26 Anton Blanchard <anton@samba.org>
19363 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19364 * malloc/arena.c (heap_trim): Likewise.
19366 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19368 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19371 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19373 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19375 * sysdeps/i386/elf/Makefile: New file.
19377 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19379 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19380 from fanotify_init.
19381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19384 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19386 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19388 * sysdeps/multiarch/strcmp.S: Likewise.
19390 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19392 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19393 strncase_l-nonascii.
19394 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19395 Add strncase_l-ssse3.
19396 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19397 * sysdeps/x86_64/strcmp.S: Likewise.
19398 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19399 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19400 * sysdeps/x86_64/strncase.S: New file.
19401 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19402 * sysdeps/x86_64/strncase_l.S: New file.
19403 * string/Makefile (strop-tests): Add strncasecmp.
19404 * string/test-strncasecmp.c: New file.
19406 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19409 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19410 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19412 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19414 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19416 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19418 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19422 2010-05-01 Alan Modra <amodra@gmail.com>
19424 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19425 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19426 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19427 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19428 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19429 tidying. Don't tail-call __sigjmp_save for static lib.
19430 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19432 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19433 (CALL_MCOUNT): Add eh info, and nop after bl.
19434 (TAIL_CALL_SYSCALL_ERROR): New macro.
19435 (PSEUDO_RET): Use it.
19436 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19437 Correct save location of integer regs and cr.
19438 (_dl_profile_resolve): Correct cr save location. Delete nops
19439 after bl when SHARED. Reduce cfi size a little by better
19440 placement of cfi directives.
19441 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19442 make a stack frame. Instead use parm save area as a temp.
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19444 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19446 Don't make a stack frame for parent, use parm save area.
19447 Increase child stack frame to 112 bytes. Don't save unused reg,
19448 and adjust reg usage. Set up cfi on error recovery and
19449 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19451 (__makecontext): Add dummy nop after jump to exit.
19452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19453 Use correct parm save area and cr save, reduce stack frame.
19454 Correct cfi for possible PSEUDO_RET frame setup.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19456 Branch to local label emitted by PSEUDO_RET rather than
19459 2010-08-12 Andreas Schwab <schwab@redhat.com>
19462 * locale/programs/locale.c (print_assignment): New function.
19463 (show_locale_vars): Use it.
19465 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19467 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19469 (struct statfs64): Likewise.
19470 (_STATFS_F_FLAGS): Define.
19471 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19473 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19474 (ST_VALID): Define locally.
19475 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19476 __statvfs_getflags, use the provided value.
19477 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19478 __ASSUME_STATFS_F_FLAGS.
19480 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19482 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19483 Add sys/fanotify.h.
19484 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19485 fanotify_mask for GLIBC_2.13.
19486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19487 fanotify_init and fanotify_mark.
19488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19489 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19491 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19493 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19494 prlimit64 for GLIBC_2.13.
19495 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19500 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19501 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19502 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19505 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19508 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19509 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19511 * nss/Makefile: Add rules to build and run tst-nss-test1.
19512 * shlib-versions: Add entry for libnss_test1.
19513 * nss/nss_test1.c: New file.
19514 * nss/tst-nss-test1.c: New file.
19516 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19517 (__nss_configure_lookup): Set appropriate entry in
19518 __nss_configure_lookup to true.
19519 * nss/nsswitch.h: Define enum with indeces of databases in
19520 databases and __nss_database_custom arrays. Declare
19521 __nss_database_custom.
19522 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19523 to avoid using nscd when custom rules are installed.
19524 * nss/getXXbyYY_r.c: Likewise.
19525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19527 * nss/nss_files/files-parse.c: Whitespace fixes.
19529 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19532 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19533 * posix/fnmatch_loop.c: Likewise.
19535 2010-07-17 Andi Kleen <ak@linux.intel.com>
19537 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19538 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19539 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19540 * Versions.def [GLIBC_2.13]: Add.
19542 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19545 Also fail if tpwd after pwuid call is NULL.
19547 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19549 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19550 when converting to ms.
19552 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19554 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19555 EOPNOTSUPP errors with ENOTTY.
19556 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19557 EOPNOTSUPP errors with ENOTTY.
19559 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19561 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19562 Add strcasecmp_l-ssse3.
19563 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19565 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19566 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19567 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19569 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19571 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19573 * string/Makefile (strop-tests): Add strcasecmp.
19574 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19575 strcasecmp_l-nonascii.
19576 (gen-as-const-headers): Add locale-defines.sym.
19577 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19578 * sysdeps/x86_64/strcasecmp.S: New file.
19579 * sysdeps/x86_64/strcasecmp_l.S: New file.
19580 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19581 * sysdeps/x86_64/locale-defines.sym: New file.
19582 * string/test-strcasecmp.c: New file.
19584 * string/test-strcasestr.c: Test both ends of the range of characters.
19585 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19587 2010-07-29 Roland McGrath <roland@redhat.com>
19590 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19592 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19594 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19597 2010-07-27 Andreas Schwab <schwab@redhat.com>
19599 * manual/memory.texi (Malloc Tunable Parameters): Document
19602 2010-07-26 Roland McGrath <roland@redhat.com>
19605 * configure.in (-fgnu89-inline check): Set and substitute
19606 gnu89_inline, not libc_cv_gnu89_inline.
19607 * configure: Regenerated.
19608 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19610 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19612 * string/test-strnlen.c: New file.
19613 * string/Makefile (strop-tests): Add strnlen.
19614 * string/tester.c (test_strnlen): Add a few more test cases.
19615 * string/tst-strlen.c: Better error reporting.
19617 * sysdeps/x86_64/strnlen.S: New file.
19619 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19621 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19622 lower-latency instructions.
19624 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19626 * string/test-strcasestr.c: New file.
19627 * string/test-strstr.c: New file.
19628 * string/Makefile (strop-tests): Add strstr and strcasestr.
19629 * string/str-two-way.h: Don't undefine MAX.
19630 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19632 2010-07-21 Andreas Schwab <schwab@redhat.com>
19634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19635 strcasestr-nonascii.
19636 (CFLAGS-strcasestr-nonascii.c): Define.
19637 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19639 Remove unused attribute.
19641 2010-07-20 Roland McGrath <roland@redhat.com>
19643 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19644 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19645 ld.so.cache was broken. With it, there is no way to disable dsocaps
19646 like LD_HWCAP_MASK can disable hwcaps.
19648 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19650 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19652 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19654 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19655 call in strcasestr.
19656 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19657 __strcasestr_sse42_nonascii.
19658 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19659 strcasestr-nonascii.c.
19660 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19662 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19665 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19666 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19669 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19671 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19674 2010-07-06 Andreas Schwab <schwab@redhat.com>
19677 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19680 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19683 _PC_PIPE_BUF using F_GETPIPE_SZ.
19685 2010-07-05 Roland McGrath <roland@redhat.com>
19687 * manual/arith.texi (Rounding Functions): Fix rint description
19688 implicit in round description.
19690 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19692 * elf/Makefile: Fix linking for a few tests to make recent linker
19695 2010-06-30 Andreas Schwab <schwab@redhat.com>
19697 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19698 $(common-objpfx)libc_nonshared.a.
19700 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19702 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19703 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19704 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19705 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19706 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19707 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19708 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19709 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19724 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19725 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19726 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19727 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19728 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19729 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19730 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19731 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19732 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19733 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19734 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19735 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19751 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19753 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19754 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19755 * string/memmove.c (memmove): Renamed to ...
19756 (MEMMOVE): ...this. Default to memmove.
19757 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19758 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19761 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19762 mempcpy-ssse3-back memmove-ssse3-back.
19763 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19764 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19765 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19766 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19767 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19768 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19769 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19770 * sysdeps/x86_64/multiarch/memmove.c: New file.
19771 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19772 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19773 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19774 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19775 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19778 (index_Fast_Copy_Backward): Define.
19779 (HAS_ARCH_FEATURE): Define.
19780 (HAS_FAST_REP_STRING): Define.
19781 (HAS_FAST_COPY_BACKWARD): Define.
19783 2010-06-21 Andreas Schwab <schwab@redhat.com>
19785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19786 Restore proper fallback handling.
19788 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19791 * posix/group_member.c (__group_member): Correct checking loop.
19793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19794 OOM in getpwuid_r correctly. Return error number when the caller
19795 should return, otherwise -1.
19796 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19797 call returning > 0 value.
19798 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19800 2010-06-07 Andreas Schwab <schwab@redhat.com>
19802 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19803 libc_nonshared.a from targets in modules-names.
19805 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19807 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19810 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19812 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19813 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19817 2010-06-02 Andreas Schwab <schwab@redhat.com>
19819 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19821 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19823 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19825 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19829 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19832 2010-06-14 Roland McGrath <roland@redhat.com>
19834 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19836 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19838 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19839 __REDIRECT followed by __THROW.
19840 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19841 * posix/getopt.h (getopt): Likewise.
19843 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19845 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19846 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19847 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19849 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19850 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19852 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19856 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19860 Properly check family and model.
19862 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19864 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19866 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19868 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19870 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19872 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19875 2010-05-19 Andreas Schwab <schwab@redhat.com>
19877 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19880 2010-05-21 Andreas Schwab <schwab@redhat.com>
19882 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19883 and internal_recvmmsg.
19884 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19885 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19887 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19889 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19890 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19891 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19893 2010-05-20 Andreas Schwab <schwab@redhat.com>
19895 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19897 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19899 POWER7 optimizations.
19900 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19901 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19903 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19905 * version.h: Update for 2.13 development version.
19907 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19909 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19910 exceptions. Return 0.
19912 2010-05-07 Roland McGrath <roland@redhat.com>
19914 * elf/ldconfig.c (main): Add a const.
19916 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19918 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19919 (args_options): Add no-idn option.
19920 (ahosts_keys_int): Add idn_flags to ai_flags.
19921 (parse_option): Handle 'i' option to clear idn_flags.
19923 * malloc/malloc.c (_int_free): Possible race in the most recently
19924 added check. Only act on the data if no current modification
19927 See ChangeLog.17 for earlier changes.