1 2012-10-09 Roland McGrath <roland@hack.frob.com>
3 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6 * sysdeps/i386/configure: Regenerated.
7 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8 * sysdeps/mach/configure: Regenerated.
9 * sysdeps/mach/hurd/configure: Regenerated.
10 * sysdeps/powerpc/configure: Regenerated.
11 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13 * sysdeps/s390/s390-32/configure: Regenerated.
14 * sysdeps/s390/s390-64/configure: Regenerated.
15 * sysdeps/sh/configure: Regenerated.
16 * sysdeps/sparc/configure: Regenerated.
17 * sysdeps/unix/sysv/linux/configure: Regenerated.
18 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19 * sysdeps/x86_64/configure: Regenerated.
21 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22 defined. Don't check if MAP is NULL.
24 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27 (_G_stat64): Likewise.
28 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29 (_G_stat64): Likewise.
30 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31 instead of struct _G_stat64.
32 * libio/fileops.c (mmap_remap_check): Likewise.
33 (decide_maybe_mmap): Likewise.
34 (_IO_new_file_seekoff): Likewise.
35 (_IO_file_stat): Likewise.
36 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39 instead of struct _G_stat64.
40 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47 (CHECK_EOL): New macro.
48 (two_way_short_needle): Check beginning of haystack for EOL. Use
50 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51 Replace with CHECK_EOL.
52 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53 Replace with CHECK_EOL.
55 2012-10-08 Joseph Myers <joseph@codesourcery.com>
57 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59 * math/libm-test.inc: Update comment listing what functions and
61 (finite_test): New function.
62 (isinf_test): Likewise.
63 (isnan_test): Likewise.
64 (fpclassify_test): Test subnormal input.
65 (isfinite_test): Likewise.
66 (isnormal_test): Likewise.
67 (main): Call the new functions.
69 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
72 * Makerules (%.dynsym): Force C locale when running
73 $(OBJDUMP) --dynamic-syms.
75 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
77 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
80 2012-10-06 David S. Miller <davem@davemloft.net>
82 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
83 upper 32-bits of the length value in %o2 since we use branch-on-register
84 tests which consider the entire 64-bit register.
86 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
88 * string/test-strstr.c (check2): Add a test for page boundary.
90 2012-10-05 David S. Miller <davem@davemloft.net>
92 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
93 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
95 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
97 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
98 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
99 and bzero when HWCAP_SPARC_CRYPTO is present.
101 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
104 * string/test-strstr.c (check2): New function.
105 (test_main): Call check2.
107 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
109 * string/bug-strcasestr1.c (do_test): Moved to ...
110 * string/test-strcasestr.c (check1): Here. New function.
111 (do_one_test): Break out result checking code into ...
112 (check_result): This. New function.
113 (do_one_test): Call check_result.
114 (test_main): Call check1.
115 * string/bug-strchr1.c (do_test): Moved to ...
116 * string/test-strchr.c (check1): Here. New function.
117 (do_one_test): Break out result checking code into ...
118 (check_result): This. New function.
119 (do_one_test): Call check_result.
120 (test_main): Call check1.
121 * string/bug-strstr1.c (main): Moved to ...
122 * string/test-strchr.c (check1): Here. New function.
123 (do_one_test): Break out result checking code into ...
124 (check_result): This. New function.
125 (do_one_test): Call check_result.
126 (test_main): Call check1.
127 * string/bug-strcasestr1.c: Removed.
128 * string/bug-strchr1.c: Likewise.
129 * string/bug-strstr1.c: Likewise.
131 * elf/Makefile (dl-routines): Add hwcaps.
132 * elf/dl-support.c (_dl_important_hwcaps): Removed.
133 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
134 (_dl_important_hwcaps): Moved to ...
135 * elf/dl-hwcaps.c: Here. New file.
136 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
139 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
140 if IS_IN_rtld isn't defined.
142 * elf/dl-support.c (_dl_sysinfo_map): New.
143 Include "get-dynamic-info.h" and "setup-vdso.h".
144 (_dl_non_dynamic_init): Call setup_vdso.
145 * elf/dynamic-link.h: Don't include <assert.h>.
146 (elf_get_dynamic_info): Moved to ...
147 * elf/get-dynamic-info.h: Here. New file.
148 * elf/dynamic-link.h: Include "get-dynamic-info.h".
149 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
150 * elf/setup-vdso.h: Here. New file.
151 * elf/rtld.c: Include "setup-vdso.h".
152 (dl_main): Call setup_vdso.
154 2012-10-05 Joseph Myers <joseph@codesourcery.com>
156 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
157 creal in comment listing functions tested. List finite, isinf,
158 isnan, isless, islessequal, isgreater, isgreaterequal,
159 islessgreater, isunordered, lgamma_r and pow10 as functions and
160 macros not tested. Mention which functions not tested are aliases
161 for other functions. Fix typo. Note that signs of NaNs are not
164 * scripts/config.guess: Update from config.git.
165 * scripts/config.sub: Likewise.
167 2012-10-04 Roland McGrath <roland@hack.frob.com>
169 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
170 * misc/madvise.c (madvise): Renamed to __madvise.
171 Make madvise a weak alias.
172 * include/sys/mman.h: Declare __madvise.
173 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
174 * sysdeps/unix/syscalls.list
175 (madvise): Make __madvise the strong name, and madvise a weak alias.
176 * sysdeps/unix/sysv/linux/syscalls.list
177 (madvise, mmap): Remove redundant entries.
178 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
179 * malloc/malloc.c (mtrim): Likewise.
180 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
182 2012-10-03 Roland McGrath <roland@hack.frob.com>
184 * sysdeps/mach/hurd/dl-cache.c: File removed.
185 * config.h.in (USE_LDCONFIG): New #undef.
186 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
187 * configure: Regenerated.
188 * elf/Makefile (dl-routines): Add dl-cache only under
189 [$(use-ldconfig) = yes].
190 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
191 cache on [USE_LDCONFIG].
192 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
194 * elf/rtld.c (dl_main): Likewise.
196 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
198 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
199 _SC_LEVEL4_CACHE_LINESIZE.
201 2012-10-03 Roland McGrath <roland@hack.frob.com>
203 * sysdeps/unix/bsd/confstr.h: File removed.
205 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
207 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
210 2012-10-02 Roland McGrath <roland@hack.frob.com>
212 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
213 Make 'mapoff' field ElfW(Off) rather than off_t.
215 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
217 * nscd/Makefile: Remove nscd-cflags and all its users.
218 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
219 (CFLAGS-nonlib): Add compiler flags for nscd modules.
222 * malloc.c (malloc_printerr): Clarify error message.
224 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
228 Set bit_FMA_Usable if FMA is supported.
229 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
231 (bit_FMA4_Usable): Updated.
232 (index_FMA_Usable): New macro.
233 (CPUID_FMA): Likewise
234 (HAS_FMA): Defined with bit_FMA_Usable.
236 2012-10-01 Roland McGrath <roland@hack.frob.com>
238 * bits/types.h (__swblk_t): Type removed.
239 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
240 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
242 (__SWBLK_T_TYPE): Likewise.
243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
244 (__SWBLK_T_TYPE): Likewise.
245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
246 (__SWBLK_T_TYPE): Likewise.
247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
248 (__SWBLK_T_TYPE): Likewise.
250 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
251 Honza Horak <hhorak@redhat.com>
253 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
254 (xdr_mapname): Use YPMAXMAP as maxsize.
255 (xdr_peername): Use YPMAXPEER as maxsize.
256 (xdr_keydat): Use YPAXRECORD as maxsize.
257 (xdr_valdat): Use YPMAXRECORD as maxsize.
259 2012-10-01 Roland McGrath <roland@hack.frob.com>
261 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
263 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
264 * csu/init-first.c: ... here.
265 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
266 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
267 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
268 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
269 * sysdeps/i386/init-first.c: File removed.
270 * sysdeps/sh/init-first.c: File removed.
272 2012-10-01 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
276 if x * y might underflow to zero and z is zero.
277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
279 * math/libm-test.inc (min_subnorm_value): New variable.
280 (fma_test): Add more tests.
281 (fma_test_towardzero): Likewise.
282 (fma_test_downward): Likewise
283 (fma_test_upward): Likewise.
284 (initialize): Set min_subnorm_value.
286 2012-09-29 Joseph Myers <joseph@codesourcery.com>
289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
291 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
292 mode for addition resulting in exact zero.
293 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
296 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
298 * math/libm-test.inc (fma_test): Add more tests.
299 (fma_test_towardzero): New function.
300 (fma_test_downward): Likewise.
301 (fma_test_upward): Likewise.
302 (main): Call the new functions.
304 2012-09-28 David S. Miller <davem@davemloft.net>
306 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
308 2012-09-28 Roland McGrath <roland@hack.frob.com>
310 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
313 * sysdeps/gnu/_G_config.h: Moved to ...
314 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
315 * sysdeps/mach/hurd/_G_config.h: Moved to ...
316 * sysdeps/generic/_G_config.h: ... here.
318 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
320 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
322 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
323 Conditionalize target on [libnss_test1.so-version].
325 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
327 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
328 (elfobjdir): Move out of conditionals.
330 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
331 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
332 (__nss_lookup_function): Conditionalize label remove_from_tree on
333 [!DO_STATIC_NSS || SHARED], matching its only use.
335 2012-09-28 David S. Miller <davem@davemloft.net>
337 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
340 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
342 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
344 when HWCAP_SPARC_CRYPTO is present.
346 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
348 * io/tst-mknodat.c: Create a FIFO instead of a socket.
350 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
353 * stdio-common/vfprintf.c (process_string_arg): Revert
356 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
358 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
360 * stdio-common/tst-sprintf.c: Include <locale.h>
361 (main): Test sprintf's handling of incomplete multibyte
364 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
366 * elf/dl-runtime.c (VERSYMIDX): Removed.
367 * elf/dl-version.c (VERSYMIDX): Likewise.
368 * elf/do-rel.h (VERSYMIDX): Likewise.
370 * elf/dynamic-link.h (VERSYMIDX): Likewise.
371 * elf/rtld.c (VALIDX): Likewise.
373 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
374 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
375 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
376 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
380 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
382 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
384 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
387 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
389 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
390 addresses are in the same scope as 192.0.2/24.
391 * posix/gai.conf: Document new scope table defaults.
393 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
396 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
397 for ftell. Compute offsets from write pointers instead.
398 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
400 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
403 * libio/Makefile (tests): New test case tst-fseek.
404 * libio/tst-fseek.c: New test case to verify that fseek/ftell
405 combination works in wide mode.
406 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
407 state when the external buffer state changes.
409 2012-09-27 David S. Miller <davem@davemloft.net>
412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
413 pass reloc->r_addend in as the 'high' argument to
414 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
418 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
420 * rt/tst-aio2.c: Include <pthread.h>.
421 * rt/tst-aio3.c: Likewise.
423 2012-09-27 Steve Ellcey <sellcey@mips.com>
425 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
427 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
429 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
430 contents on [SHARED].
432 2012-09-26 Marek Polacek <polacek@redhat.com>
436 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
437 for C++ and GCC <4.3 as well as for non GCC compilers.
439 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
443 2012-09-25 Roland McGrath <roland@hack.frob.com>
445 * Makefile.in (all, install): Declare with .PHONY.
446 Reported by Michael Hope <michael.hope@linaro.org>.
448 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
450 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
451 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
453 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
455 (sydep_routines): Add the new and the internal functions.
456 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
457 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
459 (GLIBC_2.17): Add the new function.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
461 (GLIBC_2.17): Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
463 (GLIBC_2.17): Likewise.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
465 (GLIBC_2.17): Likewise.
466 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
468 2012-09-25 Alan Modra <amodra@gmail.com>
470 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
471 Add release barrier before setting once_control to say
472 initialisation is done. Add hints on lwarx. Use macro in
474 (clear_once_control): Add release barrier.
476 2012-09-25 Joseph Myers <joseph@codesourcery.com>
479 * math/s_clog.c (__clog): Handle more values close to |z| = 1
481 * math/s_clog10.c (__clog10): Likewise.
482 * math/s_clog10f.c (__clog10f): Likewise.
483 * math/s_clog10l.c (__clog10l): Likewise.
484 * math/s_clogf.c (__clogf): Likewise.
485 * math/s_clogl.c (__clogl): Likewise.
486 * math/Makefile (libm-calls): Add x2y2m1.
487 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
488 (__x2y2m1): Likewise.
489 (__x2y2m1l): Likewise.
490 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
491 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
492 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
493 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
494 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
495 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
496 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
501 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
502 int as type of variable DEPTH.
503 (glob): Use size_t instead of int as type of variables NEWCOUNT
506 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
508 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
510 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
511 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
512 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
513 macros for using routine as __sincosf_ia32.
514 Use macro for function declaration and weak_alias.
515 * sysdeps/i386/fpu/libm-test-ulps: Update.
517 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
520 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
522 * math/s_cexpf.c (__cexpf): Likewise.
523 * math/s_csinf.c (__csinf): Likewise.
524 * math/s_csinhf.c (__csinhf): Likewise.
525 * math/s_ctanf.c (__ctanf): Likewise.
526 * math/s_ctanhf.c (__ctanhf): Likewise.
527 * math/s_ccosh.c (__ccoshf): Likewise.
528 * math/s_cexp.c (__cexpl): Likewise.
529 * math/s_csin.c (__csin): Likewise.
530 * math/s_csinh.c (__csinh): Likewise.
531 * math/s_ctan.c (__ctan): Likewise.
532 * math/s_ctanh.c (ctanh): Likewise.
533 * math/s_ccoshl.c (__ccoshl): Likewise.
534 * math/s_cexpl.c (__cexpl): Likewise.
535 * math/s_csinl.c (__csinl): Likewise.
536 * math/s_csinhl.c (__csinhl): Likewise.
537 * math/s_ctanl.c (__ctanl): Likewise.
538 * math/s_ctanhl.c (__ctanhl): Likewise.
540 2012-09-25 Joseph Myers <joseph@codesourcery.com>
542 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
543 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
544 (_IO_off_t): Define to __off_t, not _G_off_t.
545 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
546 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
547 (_IO_wint_t): Define to wint_t, not _G_wint_t.
548 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
549 type of __dummy and __dummy2 fields.
550 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
551 (_G_ssize_t): Likewise.
552 (_G_off_t): Likewise.
553 (_G_pid_t): Likewise.
554 (_G_uid_t): Likewise.
555 (_G_wchar_t): Likewise.
556 (_G_wint_t): Likewise.
557 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
558 (_G_ssize_t): Likewise.
559 (_G_off_t): Likewise.
560 (_G_pid_t): Likewise.
561 (_G_uid_t): Likewise.
562 (_G_wchar_t): Likewise.
563 (_G_wint_t): Likewise.
564 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
565 (_G_ssize_t): Likewise.
566 (_G_off_t): Likewise.
567 (_G_pid_t): Likewise.
568 (_G_uid_t): Likewise.
569 (_G_wchar_t): Likewise.
570 (_G_wint_t): Likewise.
572 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
574 * malloc/arena.c: Include malloc-sysdep.h.
575 (shrink_heap): Use check_may_shrink_heap to decide if madvise
576 is sufficient to shrink the heap or an unmap is needed.
577 * sysdeps/generic/malloc-sysdep.h: New file. Define
578 new function check_may_shrink_heap.
579 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
580 new function check_may_shrink_heap.
582 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
584 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
587 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
589 * catgets/test-gencat.sh: Add "set -e".
590 * elf/tst-pathopt.sh: Likewise.
591 * grp/tst_fgetgrent.sh: Likewise.
592 * iconvdata/run-iconv-test.sh: Likewise.
593 * intl/tst-gettext.sh: Likewise.
594 * intl/tst-gettext2.sh: Likewise.
595 * intl/tst-gettext4.sh: Likewise.
596 * intl/tst-gettext6.sh: Likewise.
597 * intl/tst-translit.sh: Likewise.
598 * io/ftwtest-sh: Likewise.
599 * libio/test-freopen.sh: Likewise.
600 * malloc/tst-mtrace.sh: Likewise.
601 * posix/globtest.sh: Likewise.
602 * posix/tst-getconf.sh: Likewise.
603 * posix/wordexp-tst.sh: Likewise.
604 * stdio-common/tst-printf.sh: Likewise.
605 * stdio-common/tst-unbputc.sh: Likewise.
606 * stdlib/tst-fmtmsg.sh: Likewise.
607 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
608 * catgets/Makefile: Do not specify -e option when running
609 testsuite shell scripts.
610 * elf/Makefile: Likewise.
611 * grp/Makefile: Likewise.
612 * iconvdata/Makefile: Likewise.
613 * intl/Makefile: Likewise.
614 * io/Makefile: Likewise.
615 * libio/Makefile: Likewise.
616 * malloc/Makefile: Likewise.
617 * posix/Makefile: Likewise.
618 * stdio-common/Makefile: Likewise.
619 * stdlib/Makefile: Likewise.
620 * sysdeps/x86_64/Makefile: Likewise.
622 * io/ftwtest-sh: Add copyright header.
623 * posix/globtest.sh: Likewise.
624 * posix/tst-getconf.sh: Likewise.
625 * posix/wordexp-tst.sh: Likewise.
626 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
628 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
631 * Makeconfig (+link): Defined as $(+link-static) if
632 $(build-shared) isn't yes.
633 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
635 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
637 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
640 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
641 new chunk size with MALLOC_ALIGN_MASK.
643 2012-09-24 Joseph Myers <joseph@codesourcery.com>
646 * stdio-common/printf_fphex.c: Include <stdbool.h> and
648 (__printf_fphex): Determine rounding using get_rounding_mode and
650 * stdio-common/tst-printf-round.c (struct hex_test): New
652 (hex_tests): New variable.
653 (test_hex_in_one_mode): New function.
654 (do_test): Also run tests for hex float output.
656 2012-09-21 Joseph Myers <joseph@codesourcery.com>
658 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
659 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
660 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
661 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
662 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
663 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
664 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
665 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
667 2012-09-20 Joseph Myers <joseph@codesourcery.com>
669 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
670 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
671 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
672 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
674 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
677 * elf/rtld.c (dl_main): Limit the check for self loading to normal
679 * elf/tst-rtld-load-self.sh: New test.
680 * elf/Makefile: Run it.
682 2012-09-18 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
685 (tst-writev-ENV): Remove.
686 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
688 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
690 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
692 2012-09-17 Joseph Myers <joseph@codesourcery.com>
694 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
696 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
698 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
699 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
700 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
703 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
706 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
707 * config.make.in (have-cpp-asm-debuginfo): Removed.
708 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
709 * configure: Regenerated.
711 2012-09-14 Joseph Myers <joseph@codesourcery.com>
714 * stdio-common/printf_fp.c: Include <stdbool.h> and
716 (___printf_fp): Determine rounding using get_rounding_mode and
718 * stdio-common/tst-printf-round.c: New file.
719 * stdio-common/Makefile (tests): Add tst-printf-round.
720 (link-libm): New variable.
721 ($(objpfx)tst-printf-round): Depend in $(link-libm).
723 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
726 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
727 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
729 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
732 2012-09-13 Joseph Myers <joseph@codesourcery.com>
734 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
735 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
736 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
737 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
739 2012-09-12 Joseph Myers <joseph@codesourcery.com>
742 * include/rounding-mode.h: New file.
743 * sysdeps/generic/get-rounding-mode.h: Likewise.
744 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
745 * stdlib/strtod_l.c: Include <rounding-mode.h>.
746 (MAX_VALUE): New macro.
747 (MIN_VALUE): Likewise.
748 (overflow_value): New function.
749 (underflow_value): Likewise.
750 (round_and_return): Use overflow_value and underflow_value to
751 determine return values in overflow and underflow cases. Use
752 round_away to determine rounding depending on rounding mode.
753 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
754 determine return values in overflow and underflow cases.
755 * stdlib/tst-strtod-round.c: Include <fenv.h>.
756 (struct test_results): New structure.
757 (struct test): Use struct test_results to store expected results
758 for all rounding modes.
759 (TEST): Include expected results for all rounding modes.
760 (test_in_one_mode): New function.
761 (do_test): Use test_in_one_mode to compute and check results.
762 Check results for all rounding modes.
763 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
766 2012-12-09 Allan McRae <allan@archlinux.org>
768 * sysdeps/i386/fpu/libm-test-ulps: Update
770 2012-09-11 Joseph Myers <joseph@codesourcery.com>
772 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
773 (_G_int32_t): Likewise.
774 (_G_uint16_t): Likewise.
775 (_G_uint32_t): Likewise.
776 (_G_HAVE_BOOL): Likewise.
777 (_G_HAVE_ATEXIT): Likewise.
778 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
779 (_G_HAVE_IO_FILE_OPEN): Likewise.
780 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
781 (_G_int32_t): Likewise.
782 (_G_uint16_t): Likewise.
783 (_G_uint32_t): Likewise.
784 (_G_HAVE_BOOL): Likewise.
785 (_G_HAVE_ATEXIT): Likewise.
786 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
787 (_G_HAVE_IO_FILE_OPEN): Likewise.
788 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
789 (_G_int32_t): Likewise.
790 (_G_uint16_t): Likewise.
791 (_G_uint32_t): Likewise.
792 (_G_HAVE_BOOL): Likewise.
793 (_G_HAVE_ATEXIT): Likewise.
794 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
795 (_G_HAVE_IO_FILE_OPEN): Likewise.
797 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
799 * csu/libc-tls.c: Update copyright years.
801 2012-09-10 Joseph Myers <joseph@codesourcery.com>
803 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
804 [!_G_USING_THUNKS]: Remove conditional code.
805 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
806 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
808 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
809 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
810 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
811 (_G_VTABLE_LABEL_PREFIX): Likewise.
812 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
813 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
814 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
815 (_G_VTABLE_LABEL_PREFIX): Likewise.
816 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
817 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
818 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
819 (_G_VTABLE_LABEL_PREFIX): Likewise.
820 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
822 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
824 * libio/Makefile: Include ../Makeconfig before tests.
825 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
826 only if $(build-shared) is yes.
828 * iconv/gconv_db.c: Update copyright years.
830 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
832 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
833 unwind info if defined PIC. Fix special cases description.
834 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
836 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
838 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
840 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
842 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
844 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
847 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
848 (LDLIBS-tst-chk4): This.
849 (LDFLAGS-tst-chk5): Renamed to ...
850 (LDLIBS-tst-chk5): This.
851 (LDFLAGS-tst-chk6): Renamed to ...
852 (LDLIBS-tst-chk6): This.
853 (LDFLAGS-tst-lfschk4): Renamed to ...
854 (LDLIBS-tst-lfschk4): This.
855 (LDFLAGS-tst-lfschk5): Renamed to ...
856 (LDLIBS-tst-lfschk5): This.
857 (LDFLAGS-tst-lfschk6): Renamed to ...
858 (LDLIBS-tst-lfschk6): This.
860 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
861 on $(common-objpfx)soversions.mk.
863 2012-09-07 Joseph Myers <joseph@codesourcery.com>
866 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
869 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
871 * malloc/arena.c (arena_get_retry): New function that gets
872 another arena for the caller to try its request on.
873 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
874 current arena cannot fulfill the request.
875 (__libc_memalign): Likewise.
876 (__libc_memalign): Likewise.
877 (__libc_pvalloc): Likewise.
878 (__libc_calloc): Likewise.
880 2012-09-05 John Tobey <john.tobey@gmail.com>
883 * manual/arith.texi (Operations on Complex): Fix description
886 2012-09-06 Joseph Myers <joseph@codesourcery.com>
889 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
893 * manual/memory.texi (Memory): Make order of menu items match
896 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
898 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
899 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
900 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
902 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
904 * csu/libc-tls.c (static_dtv): Renamed to ...
905 (_dl_static_dtv): This. Make it global.
906 (_dl_initial_dtv): Removed.
907 (__libc_setup_tls): Updated.
908 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
909 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
912 2012-09-06 Petr Machata <pmachata@redhat.com>
914 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
915 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
916 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
917 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
919 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
922 * csu/libc-tls.c (_dl_initial_dtv): New variable.
923 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
926 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
929 * Makeconfig (link-static-before-libc): Replace $(+prector)
931 (link-static-after-libc): Replace $(+postctor) with
933 (link-bounded): Replace $(+prector)/$(+postctor) with
934 $(+prectorT)/$(+postctorT).
935 (+prectorT): New macro.
936 (+postctorT): Likewise.
938 2012-09-06 Joseph Myers <joseph@codesourcery.com>
940 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
941 (round_str): Handle values above the maximum for IBM long double
943 * stdlib/tst-strtod-round.c (tests): Regenerated.
945 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
947 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
949 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
950 zarch_nohighgprs around the zarch optimized routines.
951 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
952 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
953 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
956 2012-09-05 David S. Miller <davem@davemloft.net>
958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
960 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
961 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
962 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
963 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
966 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
968 * malloc/arena.c: Fold copyright years.
969 * malloc/mcheck.c, malloc/memusage.c: Likewise.
971 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
973 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
975 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
977 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
979 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
981 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
982 change internal state upon failure.
984 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
986 * malloc/mcheck.c (mcheck_check_all): Fix typo.
987 * malloc/memusage.c (mmap): Likewise.
988 (mmap64, mremap): Likewise. Adjust name in comment.
990 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
992 * libio/fileops.c: Fix typos in comments.
993 * libio/oldfileops.c: Likewise.
994 * libio/wfileops.c: Likewise.
996 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
999 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1000 (tst-malloc-usable-ENV): Set environment for test case.
1001 * malloc/hooks.c (malloc_check_get_size): New function to get
1003 * malloc/malloc.c (musable): Use malloc_check_get_size.
1004 * malloc/tst-malloc-usable.c: New test case.
1006 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1008 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1010 2012-09-05 Allan McRae <allan@archlinux.org>
1013 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1014 determine header location.
1015 * configure: Regenerated.
1017 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1019 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1021 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1022 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1026 2012-09-04 David S. Miller <davem@davemloft.net>
1028 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1029 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1030 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1032 2012-09-04 Florian Weimer <fweimer@redhat.com>
1034 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1037 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1039 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1042 * libio/iogetdelim.c: Include <limits.h>.
1043 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1044 + len + 1 would overflow.
1046 2012-09-03 Andreas Jaeger <aj@suse.de>
1048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1049 * sysdeps/i386/fpu/libm-test-ulps: Update.
1051 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1053 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1054 Add s_sinf-sse2, s_conf-sse2.
1056 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1057 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1058 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1059 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1061 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1062 for using routine as __sinf_ia32.
1063 Use macro for function declaration and weak_alias.
1064 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1065 for using routine as __cosf_ia32.
1066 Use macro for function declaration and weak_alias.
1068 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1069 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1071 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1072 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1075 * math/libm-test.inc (cos_test): Add more test cases.
1076 (sin_test): Likewise.
1077 (sincos_test): Likewise.
1079 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1082 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1084 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1086 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1089 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1090 first element of the GOT.
1091 (elf_machine_load_address): Return the difference between
1092 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1094 2012-09-01 Allan McRae <allan@archlinux.org>
1097 * configure.in (AWK): Require gawk version 3.0 or later.
1098 * configure: Regenerated.
1100 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1102 * sysdeps/unix/sysv/linux/kernel-features.h
1103 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1105 [__NR_clock_getres]: Make code unconditional.
1106 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1107 (clock_getcpuclockid): Remove code left unreachable by removal of
1109 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1111 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1112 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1113 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1114 Make code unconditional.
1115 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1116 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1117 * sysdeps/unix/sysv/linux/clock_settime.c
1118 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1120 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1121 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1123 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1126 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1127 scripts/test-installation.pl.
1129 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1130 and $ld_so_version if it is set.
1132 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1135 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1136 failure if reading from procfs failed.
1137 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1139 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1141 * sysdeps/unix/sysv/linux/kernel-features.h
1142 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1143 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1144 Remove conditional code.
1145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1146 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1147 Remove conditional code.
1148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1149 * sysdeps/unix/sysv/linux/i386/fxstat.c
1150 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1152 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1153 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1155 * sysdeps/unix/sysv/linux/i386/lxstat.c
1156 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1158 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1159 Remove conditional code.
1160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1161 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1162 Remove conditional code.
1163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1164 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1165 <kernel-features.h>.
1166 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1168 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1169 Remove conditional code.
1170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1171 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1174 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1177 * NEWS: Add fixed bug number.
1179 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1182 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1183 underflowing exponent in case of negative sign.
1184 * stdlib/tst-strtod-round-data: Add more tests.
1185 * stdlib/tst-strtod-round.c (tests): Regenerated.
1188 * stdlib/strtod_l.c (NDIG): Remove.
1189 (HEXNDIG): Likewise.
1190 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1191 smallest representable value.
1192 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1193 lie within an exact representation of 1/2 ulp of the result.
1194 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1196 (TENS_P9_IDX): Define unconditionally.
1197 (TENS_P9_SIZE): Likewise.
1198 (TENS_P10_IDX): Likewise.
1199 (TENS_P10_SIZE): Likewise.
1200 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1201 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1202 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1203 entries for 10^2^13 and 10^2^14.
1204 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1205 (TENS_P13_IDX): Define.
1206 (TENS_P13_SIZE): Likewise.
1207 (TENS_P14_IDX): Likewise.
1208 (TENS_P14_SIZE): Likewise.
1209 (_fpioconst_pow10): Change array size to
1210 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1212 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1213 1024]: Add entries for 10^2^13 and 10^2^14.
1214 [LAST_POW10 > _LAST_POW10]: Remove #error.
1215 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1216 (_fpioconst_pow10): Change array size to
1217 FPIOCONST_POW10_ARRAY_SIZE.
1218 * stdlib/gen-fpioconst.c: New file.
1219 * stdlib/gen-tst-strtod-round.c: Likewise.
1220 * stdlib/tst-strtod-round-data: Likewise.
1221 * stdlib/tst-strtod-round.c: Likewise.
1222 * stdlib/Makefile (tests): Add tst-strtod-round.
1225 * stdlib/strtod_l.c: Include <stdint.h>.
1226 (NDEBUG): Do not define.
1227 (round_and_return): Change EXPONENT parameter to type intmax_t.
1228 Rearrange calculations to avoid internal overflow possibilities.
1229 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1230 Rearrange calculations to avoid internal overflow possibilities.
1231 Assert that number fits inside MPNSIZE limbs.
1232 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1233 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1234 calculations and add assertions to avoid internal overflow
1235 possibilities. Add casts to avoid signed/unsigned operations.
1236 * stdlib/tst-strtod-overflow.c: New file.
1237 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1239 2012-08-25 Marek Polacek <polacek@redhat.com>
1241 * time/time.h: Fix some typos in comments.
1243 2012-08-23 Roland McGrath <roland@hack.frob.com>
1245 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1246 * posix/tst-rfc3484-2.c: Likewise.
1247 * posix/tst-rfc3484-3.c: Likewise.
1249 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1251 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1252 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1254 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1256 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1257 #include of fxstatat64.c.
1259 2012-08-22 Roland McGrath <roland@hack.frob.com>
1261 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1262 * shadow/getspent_r.c: Likewise.
1263 * shadow/getspnam.c: Likewise.
1264 * shadow/getspnam_r.c: Likewise.
1265 * gshadow/getsgent.c: Likewise.
1266 * gshadow/getsgent_r.c: Likewise.
1267 * gshadow/getsgnam.c: Likewise.
1268 * gshadow/getsgnam_r.c: Likewise.
1269 * inet/getnetbyad.c: Likewise.
1270 * inet/getnetbyad_r.c: Likewise.
1271 * inet/getnetbynm.c: Likewise.
1272 * inet/getnetbynm_r.c: Likewise.
1273 * inet/getnetent.c: Likewise.
1274 * inet/getnetent_r.c: Likewise.
1275 * inet/getproto.c: Likewise.
1276 * inet/getproto_r.c: Likewise.
1277 * inet/getprtent.c: Likewise.
1278 * inet/getprtent_r.c: Likewise.
1279 * inet/getprtname.c: Likewise.
1280 * inet/getprtname_r.c: Likewise.
1281 * inet/getrpcbyname.c: Likewise.
1282 * inet/getrpcbyname_r.c: Likewise.
1283 * inet/getrpcbynumber.c: Likewise.
1284 * inet/getrpcbynumber_r.c: Likewise.
1285 * inet/getrpcent.c: Likewise.
1286 * inet/getrpcent_r.c: Likewise.
1287 * inet/getaliasent.c: Likewise.
1288 * inet/getaliasent_r.c: Likewise.
1289 * inet/getaliasname.c: Likewise.
1290 * inet/getaliasname_r.c: Likewise.
1291 * nscd/getgrgid_r.c: Likewise.
1292 * nscd/getgrnam_r.c: Likewise.
1293 * nscd/gethstbyad_r.c: Likewise.
1294 * nscd/gethstbynm3_r.c: Likewise.
1295 * nscd/getpwnam_r.c: Likewise.
1296 * nscd/getpwuid_r.c: Likewise.
1297 * nscd/getsrvbynm_r.c: Likewise.
1298 * nscd/getsrvbypt_r.c: Likewise.
1299 * nscd/gai.c: Likewise.
1301 * configure.in (build_nscd): New substituted variable, set
1302 by --disable-build-nscd and defaults to $use_nscd.
1303 * configure: Regenerated.
1304 * config.make.in (build-nscd): New substituted variable.
1305 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1306 Change conditional to require [$(build-nscd) = yes] as well.
1307 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1310 * configure.in (use_nscd): New substituted variable, set by
1311 --disable-nscd. If enabled, define USE_NSCD.
1312 * configure: Regenerated.
1313 * config.h.in: Add USE_NSCD.
1314 * config.make.in (use-nscd): New substituted variable.
1315 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1316 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1317 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1318 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1319 (CFLAGS-getgrnam_r.c): Likewise.
1320 (CFLAGS-initgroups.c): Likewise.
1321 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1322 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1324 * inet/getnetgrent_r.c
1325 (nscd_setnetgrent): New function, broken out of ...
1326 (setnetgrent): ... here. Call it.
1327 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1328 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1329 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1330 * nscd/Makefile (routines, aux): Move definitions after include of
1331 Makeconfig. Conditionalize on [$(use-nscd) != no].
1332 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1333 Conditionalize on [USE_NSCD].
1334 (is_nscd, nscd_init_cb): Likewise.
1335 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1336 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1337 * nss/nss_db/db-init.c: Likewise.
1338 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1340 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1341 (make_request): Use it.
1342 (cache_valid_p): New function.
1343 (__check_pf): Use it.
1344 * NEWS: Add item for --disable-nscd.
1346 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1348 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1349 to support sed >= 4.2.1-20-ga9bf076.
1350 * configure: Regenerated.
1352 2012-08-22 Roland McGrath <roland@hack.frob.com>
1354 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1355 Conditionalize whole body on [IREL].
1357 2012-08-22 Jeff Law <law@redhat.com>
1360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1361 if the family is PF_UNSPEC.
1363 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1365 * Makerules (lib-version): Rename from V.
1366 (install-lib-nosubdir): Change V to lib-version.
1368 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1371 * powerpc32/power6/wcschr.c: New file.
1372 * powerpc32/power6/wcscpy.c: New file.
1373 * powerpc32/power6/wcsrchr.c: New file.
1374 * powerpc64/power6/wcschr.c: New file.
1375 * powerpc64/power6/wcscpy.c: New file.
1376 * powerpc64/power6/wcsrchr.c: New file.
1378 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1380 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1381 (two_way_short_needle): Use it.
1382 * string/strstr.c (AVAILABLE1_USES_J): Define.
1383 * string/strcasestr.c: Likewise.
1385 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1387 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1390 * NEWS: Add an entry.
1391 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1392 define their defaults.
1393 (two_way_short_needle): Detect end-of-string on-the-fly.
1394 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1395 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1396 * string/bug-strcasestr1.c: New test.
1397 * string/Makefile: Run it.
1399 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1402 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1403 the first character.
1405 2012-08-21 Roland McGrath <roland@hack.frob.com>
1407 * csu/elf-init.c (__libc_csu_irel): Function removed.
1408 * csu/libc-start.c (apply_irel): New function.
1409 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1411 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1413 * sysdeps/unix/sysv/linux/kernel-features.h
1414 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1415 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1416 <kernel-features.h>.
1417 [__NR_fadvise64_64]: Make code unconditional.
1418 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1419 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1420 !__NR_fadvise64_64)]: Likewise.
1421 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1422 !__NR_fadvise64_64))]: Likewise.
1423 [__NR_fadvise64]: Make code unconditional.
1424 [!__NR_fadvise64]: Remove conditional code.
1425 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1426 <kernel-features.h>.
1427 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1429 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1432 not include <kernel-features.h>.
1433 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1435 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1437 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1438 include <kernel-features.h>.
1439 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1441 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1444 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1447 slight instruction rearrangements per scrollpipe analysis.
1448 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1450 2012-08-20 Roland McGrath <roland@hack.frob.com>
1452 * manual/syslog.texi (syslog; vsyslog, closelog):
1453 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1454 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1456 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1457 DSOCAPS to match condition on defining it.
1459 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1461 * sysdeps/unix/sysv/linux/kernel-features.h
1462 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1464 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1465 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1467 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1468 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1470 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1471 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1473 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1474 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1476 * sysdeps/unix/sysv/linux/kernel-features.h
1477 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1478 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1480 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1481 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1482 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1483 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1484 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1485 Make code unconditional.
1486 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1487 (__mmap64) [!__NR_mmap2]: Likewise.
1488 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1489 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1490 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1491 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1492 [__NR_mmap2]: Make code unconditional.
1493 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1494 (__mmap64) [!__NR_mmap2]: Likewise.
1496 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1498 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1500 2012-08-18 Andreas Jaeger <aj@suse.de>
1502 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1504 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1506 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1507 * include/unistd.h (__have_sock_cloexec): Likewise.
1508 (__have_pipe2): Likewise.
1509 (__have_dup3): Likewise.
1511 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1514 * include/unistd.h (__have_pipe2): Change define into an extern int.
1515 (__have_dup3): Likewise.
1516 * socket/have_sock_cloexec.c: Include fcntl.h.
1517 (__have_pipe2): New variable.
1518 (__have_dup3): Likewise.
1520 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1522 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1524 2012-08-17 Marek Polacek <polacek@redhat.com>
1526 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1527 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1529 2012-08-17 Roland McGrath <roland@hack.frob.com>
1531 * configure.in: Add AC_SUBST for sysheaders.
1532 * configure: Regenerated.
1533 * config.make.in (sysheaders): New substituted variable.
1535 * sysdeps/unix/mkfifo.c: Moved ...
1536 * sysdeps/posix/mkfifo.c: ... here.
1537 * sysdeps/unix/mkfifoat.c: Moved ...
1538 * sysdeps/posix/mkfifoat.c: ... here.
1540 * sysdeps/unix/utime.c: Moved ...
1541 * sysdeps/posix/utime.c: ... here.
1543 * sysdeps/unix/time.c: Moved ...
1544 * sysdeps/posix/time.c: ... here.
1545 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1546 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1548 * sysdeps/unix/nice.c: Moved ...
1549 * sysdeps/posix/nice.c: ... here.
1551 * sysdeps/unix/alarm.c: Moved ...
1552 * sysdeps/posix/alarm.c: ... here.
1554 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1556 2012-08-17 Jeff Law <law@redhat.com>
1558 * intl/Makefile (codeset_mo): New variable.
1559 ($(codeset_mo)): New target.
1560 (tst-codeset.out): Depend on that. Remove explicit rule.
1561 (tst-gettext3.out, tst-gettext5.out): Likewise.
1562 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1563 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1564 * intl/tst-codeset.sh: Remove.
1565 * intl/tst-gettext3.sh: Likewise.
1566 * intl/tst-gettext5.sh: Likewise.
1568 2012-08-17 Roland McGrath <roland@hack.frob.com>
1570 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1571 * sysdeps/unix/syscalls.list: ... here.
1573 * sysdeps/posix/getaddrinfo.c
1574 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1575 (gaiconf_init, gaiconf_reload): Use them.
1577 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1578 Define using time_t rather than struct timespec.
1580 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1581 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1583 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1585 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1586 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1589 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1590 __libc_cleanup_push argument.
1592 * bits/param.h: New file.
1593 * misc/sys/param.h: New file.
1594 * include/sys/param.h: New file.
1595 * misc/Makefile (headers): Add bits/param.h.
1596 * sysdeps/generic/sys/param.h: File removed.
1597 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1598 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1599 * sysdeps/mach/hurd/bits/param.h: New file.
1600 * sysdeps/mach/hurd/sys/param.h: New file.
1602 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1605 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1607 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1608 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1611 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1612 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1613 rather than -D_IO_MTSAFE_IO conditionally.
1614 * stdio-common/Makefile (CPPFLAGS): Likewise.
1615 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1616 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1617 Use $(libio-mtsafe).
1618 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1620 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1621 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1622 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1623 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1624 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1625 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1626 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1627 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1628 (CFLAGS-fread_u_chk.c): Likewise.
1629 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1630 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1631 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1632 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1633 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1634 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1635 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1636 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1637 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1639 * libio/Makefile: Test [$(libc-reentrant) = yes]
1640 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1643 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1644 * sysdeps/pthread/configure: File removed.
1645 * sysdeps/pthread/Makeconfig: New file.
1646 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1647 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1649 2012-08-16 Gary Benson <gbenson@redhat.com>
1651 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1652 unmapping the first object in a namespace.
1654 2012-08-16 Roland McGrath <roland@hack.frob.com>
1656 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1657 (__internal_setnetgrent): ... this. Add internal_function to
1658 definition. Add libc_hidden_def.
1659 (setnetgrent): Update caller.
1660 (internal_endnetgrent): Renamed to ...
1661 (__internal_endnetgrent): ... this. Add internal_function to
1662 definition. Add libc_hidden_def.
1663 (endnetgrent): Update caller.
1664 (internal_getnetgrent_r): Renamed to ...
1665 (__internal_getnetgrent_r): ... this. Add internal_function to
1666 definition. Add libc_hidden_def.
1667 (__getnetgrent_r): Update caller.
1668 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1670 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1672 * stdlib/longlong.h: Update from GCC.
1674 2012-08-16 Roland McGrath <roland@hack.frob.com>
1676 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1677 on _QL, which is set by umul_ppmm but never used.
1678 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1679 variables, which are set by GMP macros but never used.
1680 * stdio-common/_itowa.c (_itowa): Likewise.
1681 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1682 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1684 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1686 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1687 struct La_sh_regs is not constant.
1688 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1689 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1690 and struct La_sparc64_regs are not constant.
1692 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1694 * sysdeps/unix/sysv/linux/kernel-features.h
1695 (__ASSUME_POSIX_TIMERS): Remove.
1696 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1697 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1698 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1699 Make code unconditional.
1700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1701 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1702 Make code unconditional.
1703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1704 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1705 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1707 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1708 Make code unconditional.
1709 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1710 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1711 (__libc_missing_posix_timers): Remove.
1713 2012-08-15 Roland McGrath <roland@hack.frob.com>
1715 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1716 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1718 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1720 * elf/dl-sym.c: Include <stdlib.h>.
1722 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1723 constants, which avoids warnings in 32-bit builds.
1725 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1726 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1728 * misc/lseek.c: File moved to ...
1729 * io/lseek.c: ... here.
1731 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1733 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1734 shifting LEN more than 31 bits at once.
1736 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1739 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1740 segmentation fault for a case of two empty input strings.
1741 * string/test-strncasecmp.c (check1): Renamed to...
1743 (bz14195): Add new testcase for two empty input strings and N > 0.
1744 (test_main): Call new testcase, adapt for renamed function.
1746 2012-08-15 Andreas Jaeger <aj@suse.de>
1749 * crypt/md5test2.c: New test, based on test supplied by Serge
1750 Belyshev <belyshev@depni.sinp.msu.ru>.
1751 * crypt/Makefile (xtests): Add md5test-giant..
1752 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1754 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1757 * crypt/md5.c (md5_process_block): Don't assume the buffer
1758 length is less than 2**32.
1759 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1760 length is less than 2**64.
1762 2012-08-15 Roland McGrath <roland@hack.frob.com>
1764 * string/str-two-way.h: Include <sys/param.h>.
1765 (MAX): Macro removed.
1767 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1768 Move #define and #undef of memmove to just before and after
1769 including <string.h>.
1771 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1772 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1773 and after including <string.h>. Move declarations of
1774 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1775 to before #include "string/memmove.c".
1777 * include/dirent.h: Declare __getdirentries.
1779 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1780 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1782 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1784 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1785 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1786 * sysdeps/i386/configure: Regenerated.
1787 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1788 STABS_CURRENT_FILE, and STABS_FUN.
1789 (END): Remove call to STABS_FUN_END.
1790 (STABS_CURRENT_FILE1): Delete.
1791 (STABS_CURRENT_FILE): Likewise.
1792 (STABS_FUN): Likewise.
1793 (STABS_FUN_END): Likewise.
1794 (STABS_FUN2): Likewise.
1795 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1796 * sysdeps/x86_64/configure: Regenerated.
1798 2012-08-14 Roland McGrath <roland@hack.frob.com>
1800 * elf/dl-open.c: Include <atomic.h>.
1801 * elf/dl-lookup.c: Likewise.
1803 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1805 * sysdeps/unix/sysv/linux/kernel-features.h
1806 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1807 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1809 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1811 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1812 condition on __ASSUME_CLONE_THREAD_FLAGS.
1814 2012-08-14 Andreas Jaeger <aj@suse.de>
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1818 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1820 * include/atomic.h (atomic_exchange_and_add): Split into ...
1821 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1824 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1828 2012-08-13 Jeff Law <law@redhat.com>
1830 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1831 null byte in the output string.
1833 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1835 * sysdeps/unix/sysv/linux/kernel-features.h
1836 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1837 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1838 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1839 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1840 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1841 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1842 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1844 2012-08-09 Jeff Law <law@redhat.com>
1847 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1848 When avoid_arena is set, don't retry in the that arena. Pick the
1849 next one, whatever it might be.
1850 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1851 (arena_lock): Pass in new parameter to arena_get2.
1852 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1854 (__libc_malloc): Unify retrying after main arena failure with
1855 __libc_memalign version.
1856 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1858 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1862 to __redirect_strstr.
1863 (__strstr_sse42): Use typeof __redirect_strstr.
1864 (__strstr_ia32): Likewise.
1865 (__libc_strstr): New prototype.
1866 (strstr): Renamed to ...
1867 (__libc_strstr): This.
1868 (strstr): New strong alias of __libc_strstr.
1869 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1873 (__libc_time): New prototype.
1874 (time_ifunc): Replace time with __libc_time.
1875 (time): New strong alias and hidden definition of __libc_time.
1876 (__GI_time): Remove strong alias.
1877 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1879 (memmove): Redefined to __redirect_memmove.
1880 (__memmove_sse2): Use typeof __redirect_memmove.
1881 (__memmove_ssse3): Likewise.
1882 (__memmove_ssse3_back): Likewise.
1883 (__libc_memmove): New prototype.
1884 (memmove): Renamed to ...
1885 (__libc_memmove): This.
1886 (memmove): New strong alias of __libc_memmove.
1888 2012-08-08 Mark Salter <msalter@redhat.com>
1891 (R_MN10300_TLS_GD): Define.
1892 (R_MN10300_TLS_LD): Likewise.
1893 (R_MN10300_TLS_LDO): Likewise.
1894 (R_MN10300_TLS_GOTIE): Likewise.
1895 (R_MN10300_TLS_IE): Likewise.
1896 (R_MN10300_TLS_LE): Likewise.
1897 (R_MN10300_TLS_DTPMOD): Likewise.
1898 (R_MN10300_TLS_DTPOFF): Likewise.
1899 (R_MN10300_TLS_TPOFF): Likewise.
1900 (R_MN10300_SYM_DIFF): Likewise.
1901 (R_MN10300_ALIGN): Likewise.
1902 (R_MN10300_NUM): Update.
1904 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1909 2012-08-08 Roland McGrath <roland@hack.frob.com>
1911 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1913 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1914 sysdeps/unix -> sysdeps/posix move.
1915 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1917 2012-08-07 Allan McRae <allan@archlinux.org>
1920 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1921 (SUNOS_CPP): Likewise.
1922 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1924 (open_input): Call CPP using execvp.
1926 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1928 * sysdeps/unix/sysv/linux/kernel-features.h
1929 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1930 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1931 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1932 (__ASSUME_WAITID_SYSCALL): Likewise.
1933 * sysdeps/unix/sysv/linux/dl-execstack.c
1934 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1936 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1938 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1939 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1940 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1942 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1944 [__ASSUME_WAITID_SYSCALL]: Likewise.
1945 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1947 2012-08-07 Roland McGrath <roland@hack.frob.com>
1949 * sysdeps/unix/closedir.c: Renamed to ...
1950 * sysdeps/posix/closedir.c: ... here.
1951 * sysdeps/unix/dirfd.c: Renamed to ...
1952 * sysdeps/posix/dirfd.c: ... here.
1953 * sysdeps/unix/dirstream.h: Renamed to ...
1954 * sysdeps/posix/dirstream.h: ... here.
1955 * sysdeps/unix/fdopendir.c: Renamed to ...
1956 * sysdeps/posix/fdopendir.c: ... here.
1957 * sysdeps/unix/opendir.c: Renamed to ...
1958 * sysdeps/posix/opendir.c: ... here.
1959 * sysdeps/unix/readdir.c: Renamed to ...
1960 * sysdeps/posix/readdir.c: ... here.
1961 * sysdeps/unix/readdir_r.c: Renamed to ...
1962 * sysdeps/posix/readdir_r.c: ... here.
1963 * sysdeps/unix/rewinddir.c: Renamed to ...
1964 * sysdeps/posix/rewinddir.c: ... here.
1965 * sysdeps/unix/seekdir.c: Renamed to ...
1966 * sysdeps/posix/seekdir.c: ... here.
1967 * sysdeps/unix/telldir.c: Renamed to ...
1968 * sysdeps/posix/telldir.c: ... here.
1969 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1970 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1971 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1972 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1974 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1975 * bits/fcntl.h: ... here.
1977 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1979 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1980 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1981 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1982 (struct flock): Move l_start, l_len to the beginning.
1983 Use __pid_t for l_pid.
1984 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1985 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1986 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1987 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1988 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1989 [__USE_LARGEFILE64] (struct flock64): New type.
1990 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1992 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1993 * bits/dirent.h: ... here.
1995 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1996 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1998 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2001 Change from 2.6.0 to 2.6.16.
2002 * sysdeps/unix/sysv/linux/configure: Regenerated.
2003 * sysdeps/unix/sysv/linux/kernel-features.h
2004 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2005 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2007 (__ASSUME_UTIMES): Likewise.
2008 (__ASSUME_CLONE_STOPPED): Remove.
2009 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2010 architectures, not kernel version.
2011 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2012 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2013 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2014 (__ASSUME_WAITID_SYSCALL): Likewise.
2015 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2016 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2017 * README: State 2.6.16 as minimum Linux kernel version. Do not
2018 refer to older versions.
2020 2012-08-06 Roland McGrath <roland@hack.frob.com>
2022 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2023 Define alphasort64 as an alias.
2024 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2025 Define versionsort64 as an alias.
2026 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2027 Define scandir64 as an alias.
2028 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2029 Define scandirat64 as an alias.
2030 * dirent/alphasort64.c (alphasort64):
2031 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2032 * dirent/versionsort64.c: Likewise.
2033 * dirent/scandir64.c: Likewise.
2034 * dirent/scandirat64.c: Likewise.
2035 * sysdeps/wordsize-64/alphasort.c: File removed.
2036 * sysdeps/wordsize-64/alphasort64.c: File removed.
2037 * sysdeps/wordsize-64/scandir.c: File removed.
2038 * sysdeps/wordsize-64/scandir64.c: File removed.
2039 * sysdeps/wordsize-64/scandirat.c: File removed.
2040 * sysdeps/wordsize-64/scandirat64.c: File removed.
2041 * sysdeps/wordsize-64/versionsort.c: File removed.
2042 * sysdeps/wordsize-64/versionsort64.c: File removed.
2043 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2045 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2046 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2047 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2048 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2049 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2052 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2054 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2056 [defined __arch64__ || defined __sparcv9]
2057 (__INO_T_MATCHES_INO64_T): New macro.
2058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2059 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2060 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2061 * sysdeps/unix/sysv/linux/bits/dirent.h
2062 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2063 (_DIRENT_MATCHES_DIRENT64): New macro.
2065 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2066 Define lockf64 as an alias.
2067 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2068 Define fseeko64 as an alias.
2069 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2070 Define ftello64 as an alias.
2071 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2072 Define _IO_fgetpos64 and fgetpos64 as aliases.
2073 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2074 Define _IO_fsetpos64 and fsetpos64 as aliases.
2075 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2076 Conditionalize body on this.
2077 * libio/fseeko64.c: Likewise.
2078 * libio/ftello64.c: Likewise.
2079 * libio/iofgetpos64.c: Likewise.
2080 * libio/iofsetpos64.c: Likewise.
2081 * sysdeps/wordsize-64/lockf.c: File removed.
2082 * sysdeps/wordsize-64/lockf64.c: File removed.
2083 * sysdeps/wordsize-64/fseeko.c: File removed.
2084 * sysdeps/wordsize-64/fseeko64.c: File removed.
2085 * sysdeps/wordsize-64/ftello.c: File removed.
2086 * sysdeps/wordsize-64/ftello64.c: File removed.
2087 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2088 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2089 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2090 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2093 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2095 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2098 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2099 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2102 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2104 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2106 [defined __arch64__ || defined __sparcv9]
2107 (__OFF_T_MATCHES_OFF64_T): New macro.
2108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2109 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2111 (__OFF_T_MATCHES_OFF64_T): New macro.
2113 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2115 * stdlib/secure-getenv.c (__secure_getenv): Replace
2116 GLIBC_2_16 with GLIBC_2_17.
2118 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2120 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2123 2012-08-03 David S. Miller <davem@davemloft.net>
2125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2127 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2131 (__ASSUME_CORRECT_SI_PID): Likewise.
2132 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2133 (__ASSUME_TMPFS_NAME): Likewise.
2134 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2135 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2136 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2137 (HAVE_AUX_SECURE): Make definition unconditional.
2138 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2139 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2141 2012-08-03 Roland McGrath <roland@hack.frob.com>
2143 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2144 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2145 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2146 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2147 __eloop_threshold instead of SYMLOOP_MAX.
2149 * sysdeps/generic/eloop-threshold.h: New file.
2150 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2152 * elf/chroot_canon.c (chroot_canon): Likewise.
2154 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2158 Change to 2.6.0 everywhere.
2159 * sysdeps/unix/sysv/linux/configure: Regenerated.
2160 * sysdeps/unix/sysv/linux/kernel-features.h
2161 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2162 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2164 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2165 (__ASSUME_FUTEX_REQUEUE): Remove.
2166 (__ASSUME_STATFS64): Define unconditionally.
2167 (__ASSUME_AT_SECURE): Likewise.
2168 (__ASSUME_CORRECT_SI_PID): Likewise.
2169 (__ASSUME_TGKILL): Define without depending on kernel version for
2171 (__ASSUME_UTIMES): Likewise.
2172 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2174 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2175 (__ASSUME_TMPFS_NAME): Likewise.
2176 * README: Update reference to Linux kernel versions.
2178 2012-08-02 Marek Polacek <polacek@redhat.com>
2181 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2182 libc_cv_asm_type_prefix with %.
2183 * configure: Regenerated.
2184 * include/libc-symbols.h: Remove comment about
2185 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2186 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2187 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2188 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2189 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2190 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2191 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2192 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2193 * elf/tst-unique2mod1.c: Likewise.
2194 * elf/tst-unique1mod2.c: Likewise.
2195 * elf/tst-unique1mod1.c: Likewise.
2196 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2197 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2198 Replace ASM_TYPE_DIRECTIVE with .type.
2199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2200 * sysdeps/i386/sysdep.h: Likewise.
2201 * sysdeps/x86_64/sysdep.h: Likewise.
2202 * sysdeps/sh/sysdep.h: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2204 Do not define ASM_TYPE_DIRECTIVE.
2205 * sysdeps/powerpc/sysdep.h: Likewise.
2206 * sysdeps/powerpc/powerpc32/sysdep.h:
2207 Replace ASM_TYPE_DIRECTIVE with .type.
2208 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2209 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2210 * sysdeps/i386/fpu/e_powf.S: Likewise.
2211 * sysdeps/i386/fpu/e_expl.S: Likewise.
2212 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2213 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2214 * sysdeps/i386/fpu/e_pow.S: Likewise.
2215 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2216 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2217 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2218 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2219 * sysdeps/i386/fpu/e_log2.S: Likewise.
2220 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2221 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2222 * sysdeps/i386/fpu/e_powl.S: Likewise.
2223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2224 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2225 * sysdeps/i386/fpu/e_logl.S: Likewise.
2226 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2227 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2228 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2229 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2231 * sysdeps/i386/fpu/e_log.S: Likewise.
2232 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2233 * sysdeps/i386/fpu/e_logf.S: Likewise.
2234 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2235 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2236 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2237 * sysdeps/i386/fpu/e_log10.S: Likewise.
2238 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2239 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2240 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2241 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2242 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2243 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2244 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2245 * sysdeps/i386/i686/strtok.S: Likewise.
2246 * sysdeps/i386/i386-mcount.S: Likewise.
2247 * sysdeps/i386/strtok.S: Likewise.
2248 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2250 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2252 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2253 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2254 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2255 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2256 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2257 * sysdeps/x86_64/_mcount.S: Likewise.
2258 * sysdeps/x86_64/strtok.S: Likewise.
2259 * sysdeps/sh/_mcount.S: Likewise.
2261 2012-08-01 Roland McGrath <roland@hack.frob.com>
2263 * libio/iofopen.c: Include <fcntl.h>.
2264 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2265 (_IO_fopen64, fopen64): Define as aliases.
2266 * libio/iofopen64.c: Include <fcntl.h>.
2267 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2268 Conditionalize body on this.
2269 * sysdeps/wordsize-64/iofopen.c: File removed.
2270 * sysdeps/wordsize-64/iofopen64.c: File removed.
2272 2012-08-01 Marek Polacek <polacek@redhat.com>
2274 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2275 Use dlfcn directly instead of a variable.
2276 (binfmt-subdir): Do not define.
2279 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2281 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2282 Remove all definitions.
2283 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2284 <kernel-features.h>.
2285 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2286 (miss_F_GETOWN_EX): Remove all definitions.
2287 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2289 [!__ASSUME_FCNTL64]: Remove conditional code.
2290 [__ASSUME_FCNTL64]: Make code unconditional.
2291 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2292 <kernel-features.h>.
2293 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2294 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2295 (lockf64) [__NR_fcntl64]: Make code unconditional.
2296 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2298 * sysdeps/unix/sysv/linux/kernel-features.h
2299 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2300 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2301 Make code unconditional.
2302 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2303 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2305 [__NR_vfork]: Make code unconditional.
2306 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2307 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2309 [__NR_vfork]: Make code unconditional.
2310 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2311 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2313 2012-08-01 Roland McGrath <roland@hack.frob.com>
2315 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2316 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2318 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2319 Define mkstemp64 as an alias.
2320 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2321 Define mkstemps64 as an alias.
2322 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2323 Define mkostemp64 as an alias.
2324 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2325 Define mkostemps64 as an alias.
2326 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2327 Conditionalize body on this.
2328 * misc/mkostemp64.c: Likewise.
2329 * misc/mkostemps64.c: Likewise.
2330 * misc/mkstemps64.c: Likewise.
2331 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2332 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2333 * sysdeps/wordsize-64/mkostemp.c: File removed.
2334 * sysdeps/wordsize-64/mkstemp.c: File removed.
2335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2336 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2337 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2338 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2341 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2342 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2343 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2344 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2346 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2347 compat_symbol macros from <shlib-compat.h> rather than the underlying
2348 default_symbol_version and symbol_version macros, so that DEFAULT
2349 lines in shlib-versions are respected.
2350 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2352 2012-08-01 Florian Weimer <fweimer@redhat.com>
2354 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2355 Declare with warn_unused_result.
2356 (setgid, setregid, setegid, setresgid): Likewise.
2357 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2359 * WUR-REPORT: Remove set*id functions.
2361 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2363 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2365 2012-07-31 Roland McGrath <roland@hack.frob.com>
2367 * include/sys/socket.h (__libc_accept, __libc_accept4):
2368 Add attribute_hidden.
2369 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2371 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2373 * inet/getnetgrent_r.c (setup): Likewise.
2375 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2377 2012-07-31 David S. Miller <davem@davemloft.net>
2379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2381 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2384 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2385 value between 1.0 and 2.0 and smaller part has absolute value less
2387 * math/s_clog10.c (__clog10): Likewise.
2388 * math/s_clog10f.c (__clog10f): Likewise.
2389 * math/s_clog10l.c (__clog10l): Likewise.
2390 * math/s_clogf.c (__clogf): Likewise.
2391 * math/s_clogl.c (__clogl): Likewise.
2392 * math/libm-test.inc (clog_test): Add more tests.
2393 (clog10_test): Likewise.
2394 * sysdeps/i386/fpu/libm-test-ulps: Update.
2395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2397 2012-07-31 Florian Weimer <fweimer@redhat.com>
2399 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2400 Exit with zero in case no suitable GID is found, and write a
2401 message to standard error.
2403 2012-07-30 Roland McGrath <roland@hack.frob.com>
2405 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2407 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2408 (MAXPATHLEN): Removed.
2409 (NOGROUP, NODEV): New macros.
2410 (setbit, clrbit, isset, isclr): New macros.
2411 (howmany, roundup, powerof2): New macros.
2412 (DEV_BSIZE): New macro.
2414 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2415 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2417 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2418 definition on [!__NO_LONG_DOUBLE_MATH].
2420 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2421 PTR_MANGLE and PTR_DEMANGLE.
2423 * socket/accept4.c (accept4): Rename to __libc_accept4.
2424 Define accept4 as a weak alias.
2426 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2427 on [_DIRENT_HAVE_D_TYPE].
2428 * io/ftw.c (ftw_dir): Likewise.
2430 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2432 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2434 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2435 Use the BSD numbers rather than the arbitrary ones we had.
2436 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2437 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2438 (SIGXCPU, SIGXFSZ): New macros.
2441 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2442 initializer on [_LIBC_REENTRANT].
2444 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2445 definitions inside [_POSIX_MAPPED_FILES].
2447 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2449 * dirent/opendir.c: Include <fcntl.h>.
2451 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2452 (__libc_getspecific): Likewise.
2453 (__libc_key_create): Likewise.
2455 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2456 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2457 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2458 (tmpfile64): Define as alias.
2459 * sysdeps/wordsize-64/tmpfile.c: File removed.
2460 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2461 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2462 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2464 * stdio-common/vfscanf.c: Include <stdbool.h>.
2465 * nss/makedb.c: Likewise.
2466 * stdio-common/_i18n_number.h: Likewise.
2467 * argp/argp-help.c: Likewise.
2468 * posix/wordexp.c: Likewise.
2469 * sysdeps/posix/spawni.c: Likewise.
2470 * nss/nss_files/files-initgroups.c: Likewise.
2471 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2472 * nss/nss_files/files-initgroups.c: Likewise.
2473 * nss/nss_db/db-netgrp.c: Likewise.
2474 * nss/nss_db/db-initgroups.c: Likewise.
2475 * io/fchmodat.c: Include <sys/stat.h>.
2477 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2478 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2480 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2483 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2484 Add multiple inclusion protection.
2486 2012-07-27 David S. Miller <davem@davemloft.net>
2488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2490 2012-07-27 Gary Benson <gbenson@redhat.com>
2493 * elf/rtld.c: Include <stap-probe.h>.
2494 (dl_main): Added static probes "init_start" and "init_complete".
2495 * elf/dl-load.c: Include <stap-probe.h>.
2496 (lose): Take new parameter "nsid".
2497 Added static probe "map_failed".
2498 (_dl_map_object_from_fd): Pass namespace id to lose.
2499 Added static probe "map_start".
2500 (open_verify): Pass namespace id to lose.
2501 * elf/dl-open.c: Include <stap-probe.h>.
2502 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2503 and "reloc_complete".
2504 * elf/dl-close.c: Include <stap-probe.h>.
2505 (_dl_close_worker): Added static probes "unmap_start" and
2507 * elf/rtld-debugger-interface.txt: New file documenting the above.
2509 2012-07-26 Roland McGrath <roland@hack.frob.com>
2511 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2512 rather than a string variable.
2513 * sunrpc/rpc_main.c (h_output): Likewise.
2514 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2516 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2518 * inet/check_native.c: New file.
2520 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2523 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2524 if larger part has absolute value 1.0.
2525 * math/s_clog10.c (__clog10): Likewise.
2526 * math/s_clog10f.c (__clog10f): Likewise.
2527 * math/s_clog10l.c (__clog10l): Likewise.
2528 * math/s_clogf.c (__clogf): Likewise.
2529 * math/s_clogl.c (__clogl): Likewise.
2530 * math/libm-test.inc (clog_test): Add more tests.
2531 (clog10_test): Likewise.
2532 * sysdeps/i386/fpu/libm-test-ulps: Update.
2533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2535 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2536 (pltexit): Likewise.
2537 (La_regs): Likewise.
2538 (La_retval): Likewise.
2539 (int_retval): Likewise.
2540 Update #error for removed macros to refer only to definitions in
2542 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2544 (pltexit): Likewise.
2545 (La_regs): Likewise.
2546 (La_retval): Likewise.
2547 (int_retval): Likewise.
2548 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2550 (pltexit): Likewise.
2551 (La_regs): Likewise.
2552 (La_retval): Likewise.
2553 (int_retval): Likewise.
2554 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2556 (pltexit): Likewise.
2557 (La_regs): Likewise.
2558 (La_retval): Likewise.
2559 (int_retval): Likewise.
2560 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2562 (pltexit): Likewise.
2563 (La_regs): Likewise.
2564 (La_retval): Likewise.
2565 (int_retval): Likewise.
2566 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2568 (pltexit): Likewise.
2569 (La_regs): Likewise.
2570 (La_retval): Likewise.
2571 (int_retval): Likewise.
2572 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2574 (pltexit): Likewise.
2575 (La_regs): Likewise.
2576 (La_retval): Likewise.
2577 (int_retval): Likewise.
2578 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2579 macro definitions in tst-audit.h.
2580 * sysdeps/i386/tst-audit.h: New file.
2581 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2582 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2583 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2584 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2585 * sysdeps/sh/tst-audit.h: Likewise.
2586 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2587 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2588 * sysdeps/x86_64/tst-audit.h: Likewise.
2590 2012-07-26 Andreas Jaeger <aj@suse.de>
2592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2595 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2596 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2597 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2599 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2600 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2601 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2603 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2606 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2608 (si_call_addr, si_syscall, si_arch): Define new macro.
2609 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2611 (si_call_addr, si_syscall, si_arch): Define new marcro.
2612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2614 (si_call_addr, si_syscall, si_arch): Define new macro.
2615 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2617 (si_call_addr, si_syscall, si_arch): Define new macro.
2619 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2622 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2623 Change to 2.4.21 where previously 2.4.1.
2624 * sysdeps/unix/sysv/linux/configure: Regenerated.
2625 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2626 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2627 Linux kernel version.
2628 (__ASSUME_STD_AUXV): Remove.
2629 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2631 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2632 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2633 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2634 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2635 (__ASSUME_NETLINK_SUPPORT): Likewise.
2636 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2637 (__no_netlink_support): Remove conditional definition.
2638 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2640 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2641 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2642 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2643 (if_nameindex_ioctl): Remove.
2644 (if_nameindex_netlink): Do not handle __no_netlink_support.
2645 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2647 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2648 Remove conditional code.
2649 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2651 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2653 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2654 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2655 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2657 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2658 [!__ASSUME_STD_AUXV]: Remove conditional code.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2660 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2661 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2663 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2664 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2666 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2668 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2669 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2671 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2673 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2676 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2679 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2681 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2683 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2685 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2688 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2690 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2693 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2695 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2697 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2699 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2702 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2704 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2706 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2708 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2711 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2713 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2714 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2715 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2716 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2717 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2718 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2719 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2720 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2721 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2722 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2723 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2724 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2725 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2726 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2727 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2728 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2729 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2730 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2731 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2733 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2734 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2735 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2737 2012-07-25 Florian Weimer <fweimer@redhat.com>
2739 * Versions.def: Add GLIBC_2.17.
2740 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2741 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2742 Introduce __libc_secure_getenv.
2743 * stdlib/Versions (2.17): Add secure_getenv
2744 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2745 * stdlib/secure-getenv.c: Rename __secure_getenv to
2746 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2747 symbol __secure_getenv for GLIBC_2.0.
2748 * stdlib/tst-secure-getenv.c: New.
2749 * stdlib/Makefile (tests): Add testcase.
2750 * manual/startup.texi (Environment Access): Document
2752 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2753 __libc_secure_getenv.
2754 * inet/ruserpass.c (ruserpass): Likewise.
2755 * malloc/mtrace.c (mtrace): Likewise.
2756 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2757 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2758 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2759 * sysdeps/posix/tempname.c: Likewise. Evaluate
2761 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2762 __secure_getenv to __libc_secure_getenv.
2763 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2776 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2779 (struct La_i86_retval): Likewise.
2780 (struct La_x86_64_regs): Likewise.
2781 (struct La_x86_64_retval): Likewise.
2782 (struct La_x32_regs): Likewise.
2783 (struct La_x32_retval): Likewise.
2784 (struct La_ppc32_regs): Likewise.
2785 (struct La_ppc32_retval): Likewise.
2786 (struct La_ppc64_regs): Likewise.
2787 (struct La_ppc64_retval): Likewise.
2788 (struct La_sh_regs): Likewise.
2789 (struct La_sh_retval): Likewise.
2790 (struct La_s390_32_regs): Likewise.
2791 (struct La_s390_32_retval): Likewise.
2792 (struct La_s390_64_regs): Likewise.
2793 (struct La_s390_64_retval): Likewise.
2794 (struct La_sparc32_regs): Likewise.
2795 (struct La_sparc32_retval): Likewise.
2796 (struct La_sparc64_regs): Likewise.
2797 (struct La_sparc64_retval): Likewise.
2798 (struct audit_ifaces): Remove architecture-specific pltenter and
2800 * sysdeps/i386/ldsodefs.h: New file.
2801 * sysdeps/powerpc/ldsodefs.h: Likewise.
2802 * sysdeps/s390/ldsodefs.h: Likewise.
2803 * sysdeps/sh/ldsodefs.h: Likewise.
2804 * sysdeps/sparc/ldsodefs.h: Likewise.
2805 * sysdeps/x86_64/ldsodefs.h: Likewise.
2807 2012-07-25 Marek Polacek <polacek@redhat.com>
2810 * math/libm-test.inc (yn_test): Add another test.
2811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2812 to ERANGE when the result is +-Inf.
2813 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2814 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2815 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2816 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2818 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2820 * conform/data/time.h-data (NULL): Use macro-constant. Require
2822 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2824 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2826 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2828 * configure.in <sysdeps resolving>: Correct printing
2830 * configure: Regenerate.
2832 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2834 * math/w_ilogb.c: Include <limits.h>.
2835 * math/w_ilogbl.c: Likewise.
2837 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2839 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2840 va_copy. Document allowing for unavailable va_copy only as
2841 pre-C99 compatibility.
2842 * manual/string.texi (Copying and Concatenation): Use va_copy
2843 instead of __va_copy in concat example.
2845 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2847 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2848 (__sendto): Use create_address_port. Initialize APORT and deallocate
2851 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2852 with O_NOLINK passed to __file_name_lookup.
2854 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2855 with O_NOLINK passed to __file_name_lookup.
2857 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2858 negative N or less than NGIDS.
2860 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2861 type to string_t. Set ERANGE as errno and return it if NAME is not big
2862 enough. Use memcpy instead of strncpy.
2864 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2866 * elf/Makefile (check-data): Remove.
2867 (localplt.data): New vpath directive.
2868 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2869 instead of $(check-data).
2870 * scripts/data/localplt-generic.data: Move to ...
2871 * sysdeps/generic/localplt.data: ... here.
2872 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2873 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2874 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2877 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2880 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2883 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2886 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2889 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2893 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2896 PPC32 and PPC64 files.
2897 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2898 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2900 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2902 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2903 __makecontext_ret to ...
2904 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2905 ... here and call exit if uc_link is NULL. New file.
2906 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2907 __makecontext_ret.S.
2908 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2909 __makecontext_ret to ...
2910 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2911 ... here and call exit if uc_link is NULL. New file.
2912 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2913 __makecontext_ret.S.
2915 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2917 * elf/elf.h (R_390_IRELATIVE): New definition.
2918 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2919 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2920 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2921 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2922 (elf_machine_lazy_rel): Likewise.
2923 * sysdeps/s390/dl-irel.h: New file.
2924 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2925 * sysdeps/s390/s390-64/memset.S: New asm code.
2926 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2927 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2928 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2929 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2930 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2931 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2933 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2934 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2935 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2936 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2937 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2938 * sysdeps/s390/s390-32/memset.S: New asm code.
2939 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2941 2012-07-17 Marek Polacek <polacek@redhat.com>
2944 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2945 * sysdeps/s390/s390-64/configure.in: Likewise.
2946 * sysdeps/sparc/configure.in: Likewise.
2947 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2948 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2949 * sysdeps/i386/configure.in: Likewise.
2950 * sysdeps/x86_64/configure.in: Likewise.
2951 * sysdeps/sh/configure.in: Likewise.
2952 * sysdeps/s390/s390-32/configure: Regenerated.
2953 * sysdeps/s390/s390-64/configure: Likewise.
2954 * sysdeps/x86_64/configure: Likewise.
2955 * sysdeps/sh/configure: Likewise.
2956 * sysdeps/powerpc/powerpc64/configure: Likewise.
2957 * sysdeps/powerpc/powerpc32/configure: Likewise.
2958 * sysdeps/sparc/configure: Likwise.
2959 * sysdeps/i386/configure: Likewise.
2961 * elf/dl-open.c: Comment fixes.
2963 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2965 * Makefile [CXX] (check-data): Remove.
2966 [CXX] (c++-types.data): New vpath directive.
2967 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2968 vpath. Do not allow for C++ type data being missing.
2969 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2970 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2971 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2972 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2973 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2974 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2975 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2978 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2981 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2984 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2987 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2990 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2993 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2996 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2999 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3000 definitions to architecture-specific files.
3004 * sysdeps/i386/tls-macros.h: New file.
3005 * sysdeps/powerpc/tls-macros.h: Likewise.
3006 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3007 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3008 * sysdeps/sh/tls-macros.h: Likewise.
3009 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3010 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3011 * sysdeps/x86_64/tls-macros.h: Likewise.
3013 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3015 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3016 zero value for regular exit case.
3018 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3019 (__start_context): Preserve zero value for regular exit case.
3021 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3022 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3024 * manual/setjmp.texi (setcontext): Clarify normal process
3025 termination when uc_link is the null pointer.
3026 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3029 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3031 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3032 preprocessor. Test for each exception mask separately.
3034 2012-07-16 Andreas Jaeger <aj@suse.de>
3036 * po/ru.po: Update from translation team.
3038 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3040 * conform/data/string.h-data (NULL): Use macro-constant. Require
3042 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3043 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3044 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3045 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3048 2012-07-13 Andreas Jaeger <aj@suse.de>
3050 * po/fr.po: Update from translation team.
3052 2012-07-12 Marek Polacek <polacek@redhat.com>
3055 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3056 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3059 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3063 Change to 2.4.1 where previously 2.4.0.
3064 * sysdeps/unix/sysv/linux/configure: Regenerated.
3065 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3066 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3068 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3069 (__ASSUME_AT_CLKTCK): Remove.
3070 (__ASSUME_AT_PAGESIZE): Likewise.
3071 (__ASSUME_AT_XID): Likewise.
3072 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3073 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3074 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3076 (HAVE_AUX_PAGESIZE): Likewise.
3077 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3078 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3079 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3081 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3085 the temporary buffer used to invoke __gethostbyname2_r,
3086 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3087 host_data / struct gaih_addrtuple.
3088 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3089 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3090 header file nss/nsswitch.h.
3091 * nss/nsswitch.h (global scope): Add definition of implementation
3092 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3093 resolv/nss_dns/dns-host.c).
3095 2012-07-11 Andreas Jaeger <aj@suse.de>
3097 * po/fr.po: Update from translation team.
3099 * po/sv.po: Update from translation team
3100 * po/fr.po: Another update from translation team.
3102 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3105 for subnormals or multiply small sinh result by itself.
3106 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3109 2012-07-11 David S. Miller <davem@davemloft.net>
3111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3113 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3116 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3117 (INTERNAL_MARK): Shift it here.
3119 2012-07-10 Marek Polacek <polacek@redhat.com>
3122 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3123 libc_cv_asm_global_directive with .globl.
3124 * configure: Regenerated.
3125 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3127 * sysdeps/i386/configure: Regenerated.
3128 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3130 * sysdeps/x86_64/configure: Regenerated.
3131 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3132 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3133 * elf/tst-unique2mod2.c: Likewise.
3134 * elf/tst-unique2mod1.c: Likewise.
3135 * elf/tst-unique1mod2.c: Likewise.
3136 * elf/tst-unique1mod1.c: Likewise.
3137 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3138 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3140 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3141 * sysdeps/mach/sysdep.h: Likewise.
3142 * sysdeps/i386/sysdep.h: Likewise.
3143 * sysdeps/i386/i386-mcount.S: Likewise.
3144 * sysdeps/x86_64/_mcount.S: Likewise.
3145 * sysdeps/x86_64/sysdep.h: Likewise.
3146 * sysdeps/sh/_mcount.S: Likewise.
3147 * sysdeps/sh/sysdep.h: Likewise.
3148 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3149 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3150 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3151 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3152 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3153 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3154 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3155 * locale/localeinfo.h: Likewise.
3156 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3157 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3159 2012-07-09 Roland McGrath <roland@hack.frob.com>
3162 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3164 * manual/message.texi (The Uniforum approach): Likewise.
3165 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3166 (glibc iconv Implementation): Likewise.
3168 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3171 * math/s_clog.c (__clog): Avoid scaling a value down where that
3172 could result in underflow.
3173 * math/s_clog10.c (__clog10): Likewise.
3174 * math/s_clog10f.c (__clog10f): Likewise.
3175 * math/s_clog10l.c (__clog10l): Likewise.
3176 * math/s_clogf.c (__clogf): Likewise.
3177 * math/s_clogl.c (__clogl): Likewise.
3178 * math/libm-test.inc (clog_test): Add more tests.
3179 (clog10_test): Likewise.
3180 * sysdeps/i386/fpu/libm-test-ulps: Update.
3181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3183 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3186 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3187 by 7 not 8 to examine high bit of fractional part.
3190 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3191 for call to __mcount_internal.
3192 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3193 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3194 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3196 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3199 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3200 approximation for values within 0x1p-13f of an odd multiple of
3202 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3203 exception. Add more tests.
3204 * sysdeps/i386/fpu/libm-test-ulps: Update.
3207 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3208 inputs and return -1 for them. Do not check for +Inf in case not
3210 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3211 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3212 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3213 and return -1 for them. Do not check for +Inf in case not
3215 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3217 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3218 and return -1 for them. Do not check for +Inf in case not
3220 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3225 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3227 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3229 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3233 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3234 could result in spurious underflow. Scale down values above
3235 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3236 * math/s_csqrtf.c (__csqrtf): Likewise.
3237 * math/s_csqrtl.c (__csqrtl): Likewise.
3238 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3240 * sysdeps/i386/fpu/libm-test-ulps: Update.
3241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3243 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3245 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3247 * catgets/xopen-msg.awk: New file.
3248 * catgets/xopen-msg.sed: Removed.
3250 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3252 * intl/po2test.awk: New file.
3253 * intl/po2test.sed: Removed.
3255 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3258 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3259 or multiply small sinh result by itself.
3260 * math/s_ctanf.c (__ctanf): Likewise.
3261 * math/s_ctanh.c (__ctanh): Likewise.
3262 * math/s_ctanhf.c (__ctanhf): Likewise.
3263 * math/s_ctanhl.c (__ctanhl): Likewise.
3264 * math/s_ctanl.c (__ctanl): Likewise.
3265 * math/libm-test.inc (ctan_test_tonearest): New function.
3266 (ctan_test_towardzero): Likewise.
3267 (ctan_test_downward): Likewise.
3268 (ctan_test_upward): Likewise.
3269 (ctanh_test_tonearest): Likewise.
3270 (ctanh_test_towardzero): Likewise.
3271 (ctanh_test_downward): Likewise.
3272 (ctanh_test_upward): Likewise.
3273 (main): Call these new functions.
3274 * sysdeps/i386/fpu/libm-test-ulps: Update.
3275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3277 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3279 * .gitignore: Delete /ports entry.
3281 2012-07-03 Andreas Jaeger <aj@suse.de>
3283 * po/bg.po: Update from translation team.
3284 * po/cs.po: Likewise.
3285 * po/de.po: Likewise.
3286 * po/hr.po: Likewise.
3287 * po/nl.pl: Likewise.
3288 * po/pl.po: Likewise.
3289 * po/vi.po: Likewise.
3291 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3293 * Makeconfig [!+link] (+link-before-libc): New variable.
3294 [!+link] (+link-after-libc): Likewise.
3295 [!+link] (+link-tests): Likewise.
3296 [!+link] (+link): Define in terms of $(+link-before-libc) and
3297 $(+link-after-libc).
3298 [!+link-static] (+link-static-before-libc): New variable.
3299 [!+link-static] (+link-static-after-libc): Likewise.
3300 [!+link-static] (+link-static-tests): Likewise.
3301 [!+link-static] (+link-static): Define in terms of
3302 $(+link-static-before-libc) and $(+link-static-after-libc).
3303 [build-shared] (link-libc-before-gnulib): New variable.
3304 [build-shared] (link-libc-tests): Likewise.
3305 [build-shared] (link-libc): Define in terms of
3306 $(link-libc-before-gnulib).
3307 [!build-shared] (link-libc-tests): New variable.
3308 (link-libc-static-tests): New variable.
3309 [!gnulib] (gnulib-arch): New variable.
3310 [!gnulib] (gnulib-tests): Likewise.
3311 [!gnulib] (static-gnulib-arch): Likewise.
3312 [!gnulib] (static-gnulib-tests): Likewise.
3313 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3314 Define with "=" instead of ":=".
3315 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3316 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3317 * Rules (binaries-all-notests): New variable.
3318 (binaries-all-tests): Likewise.
3319 (binaries-static-notests): Likewise.
3320 (binaries-static-tests): Likewise.
3321 (binaries-all): Define using $(binaries-all-notests) and
3322 $(binaries-all-tests).
3323 (binaries-static): Define using $(binaries-static-notests) and
3324 $(binaries-static-tests).
3325 (binaries-shared-tests): New variable.
3326 (binaries-shared-notests): Likewise.
3327 (binaries-shared): Remove variable.
3328 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3329 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3330 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3331 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3332 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3333 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3334 * elf/Makefile (sln-modules): New variable.
3335 (extra-objs): Add $(sln-modules:=.o).
3336 (ldconfig-modules): Add static-stubs.
3337 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3338 * elf/static-stubs.c: New file.
3341 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3342 by 7 not 8 to examine high bit of fractional part. Use volatile
3343 variables when splitting into final array of floats if
3344 __FLT_EVAL_METHOD__ != 0.
3345 * math/libm-test.inc (cos_test): Add another test.
3346 (sin_test): Likewise.
3347 * sysdeps/i386/fpu/libm-test-ulps: Update.
3350 * math/libm-test.inc (cosh_test): Add more tests.
3352 * version.h (RELEASE): Set to "development".
3353 (VERSION): Set to "2.16.90".
3355 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3357 * NEWS: Update copyright. Remove last-updated date.
3358 Mention math library bug fixes and timezone data changes.
3359 * README: Mention GNU/Hurd, x32, and HPPA support status.
3361 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3363 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3365 2012-06-27 Andreas Jaeger <aj@suse.de>
3367 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3369 2012-06-25 Andreas Jaeger <aj@suse.de>
3371 * sysdeps/s390/fpu/libm-test-ulps: Update.
3373 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3374 Thomas Schwinge <thomas@codesourcery.com>
3376 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3377 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3381 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3383 * sysdeps/mach/start.c: Remove file.
3384 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3385 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3386 * sysdeps/sh/init-first.c: Likewise.
3388 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3389 registers for frame unwinding purposes, add CFI directives.
3390 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3391 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3392 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3395 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3396 __fortify_fail returning.
3397 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3399 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3400 sysdeps/sh/____longjmp_chk.S.
3401 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3402 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3403 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3404 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3406 * sysdeps/sh/abort-instr.h: New file.
3407 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3408 process in case exit returns.
3410 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3411 initialize the GOT register before use.
3413 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3414 calculation of ARGC > 4.
3416 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3417 meaningful names to some local labels.
3419 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3420 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3422 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3423 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3424 (__arch_compare_and_exchange_val_16_acq): Likewise.
3425 (__arch_compare_and_exchange_val_32_acq): Likewise.
3426 (atomic_exchange_and_add): Fix gUSA sequence.
3427 (atomic_add): Likewise.
3428 (atomic_add_negative): Likewise.
3429 (atomic_add_zero): Likewise.
3430 (atomic_bit_test_set): Likewise.
3432 2012-06-22 Andreas Schwab <schwab@redhat.com>
3435 * include/link.h (struct link_map): Add l_free_initfini.
3436 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3438 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3439 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3440 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3443 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3445 * configure.in: Use AC_LANG_SOURCE.
3446 * configure: Regenerate.
3448 2012-06-22 Roland McGrath <roland@hack.frob.com>
3450 * configure.in (libc_cv_localstatedir): New substituted variable.
3451 * configure: Regenerated.
3452 * config.make.in (localstatedir): New variable, substituted from
3453 libc_cv_localstatedir.
3454 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3455 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3456 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3457 * sysdeps/gnu/configure: Regenerated.
3459 2012-06-21 Jeff Law <law@redhat.com>
3462 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3463 free. Simplify list management for _LIBC case.
3465 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3469 Clear sign bit of 64-bit integer value before comparing against
3472 * sysdeps/mach/configure: Regenerated.
3474 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3477 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3479 2012-06-21 Jeff Law <law@redhat.com>
3482 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3483 uint16_t for elements in the "seen" array to avoid char overflows.
3484 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3485 * elf/dl-open.c (dl_open_worker): Likewise.
3487 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3489 * scripts/list-sources.sh: Scan PORTS for translations.
3490 * po/libc.pot: Regenerated.
3492 2012-06-21 Andreas Jaeger <aj@suse.de>
3495 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3497 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3498 * bits/byteswap-16.h (__bswap_16): Likewise.
3499 * bits/byteswap.h (__bswap_constant_16): Likewise.
3501 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3504 * sysdeps/i386/fpu_control.h: Removed.
3505 * sysdeps/x86_64/fpu_control.h: Moved to ...
3506 * sysdeps/x86/fpu_control.h: Here.
3508 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3509 (_FPU_SETCW): Likewise.
3511 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3514 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3515 * sysdeps/x86/fpu/bits/mathinline.h: This.
3516 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3520 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3521 functions if __x86_64__ is defined.
3523 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3525 * string/endian.h: Add !__ASSEMBLER__ condition for including
3526 conversion interfaces.
3528 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3532 of ABS(x) in calculating zero to negative powers other than odd
3534 * math/libm-test.inc (pow_test): Add more tests.
3536 2012-06-15 Andreas Jaeger <aj@suse.de>
3538 * manual/contrib.texi (Contributors): Update entry of Liubov
3539 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3542 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3544 * string/string.h: Add __wur to GNU version of strerror_r.
3546 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3549 * string/Makefile (tests): Add tst-strtok_r.
3550 * string/tst-strtok_r.c: New file.
3551 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3552 RAX_LP/RDX_LP on SAVE_PTR.
3554 2012-06-14 Roland McGrath <roland@hack.frob.com>
3556 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3558 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3560 * libm_test.inc (csqrt_test): Allow more spurious underflow
3562 (j0_test): Likewise.
3563 (j1_test): Likewise.
3564 (y0_test): Likewise.
3565 (y1_test): Likewise.
3567 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3569 * po/Makefile (libc.pot): Use UTF-8 charset.
3571 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3574 Suppress sign-conversion warning from FD_SET.
3575 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3576 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3577 not unsigned long int.
3578 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3580 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3584 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3585 __extern_always_inline instead of __extern_inline.
3586 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3587 (__signbit): Likewise.
3588 (__signbitl): Support C++ namespace.
3589 (lrintf): New inline function.
3591 (llrintf): Likewise.
3603 (nearbyint): Likewise.
3604 (nearbyintf): Likewise.
3606 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3608 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3609 non-default versions.
3611 2012-06-11 Roland McGrath <roland@hack.frob.com>
3614 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3616 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3618 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3619 (FE_UPWARD, FE_DOWNWARD): Don't define.
3620 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3621 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3623 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3625 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3626 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3628 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3630 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3632 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3633 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3635 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3638 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3639 * sysdeps/i386/fpu/Implies: New file.
3640 * sysdeps/x86_64/fpu/Implies: Likewise.
3641 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3642 * sysdeps/x86/fpu/bits/fenv.h: This.
3644 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3647 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3650 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3651 character 0xffff that matches the last element of the
3654 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3656 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3659 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3661 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3662 values higher than 25.6283.
3664 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3666 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3667 subnormal exponent extraction and add some __builtin_expect.
3668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3669 Fix for subnormal mantissa calculation.
3671 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3673 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3674 cpu2 is -1 and errno is not ENOSYS.
3676 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3679 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3680 * sysdeps/x86/bits/string.h: This.
3681 * sysdeps/x86_64/bits/string.h: Removed.
3683 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3684 if not compiling for x86-64, but compiling for >= i486.
3686 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3687 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3689 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3690 New macro from Linux kernel 3.4.0.
3691 (FP_XSTATE_MAGIC2): Likewise.
3692 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3693 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3694 (struct _fpx_sw_bytes): New struct.
3695 (struct _xsave_hdr): Likewise.
3696 (struct _ymmh_state): Likewise.
3697 (struct _xstate): Likewise.
3699 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3700 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3701 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3702 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3703 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3704 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3706 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3707 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3708 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3709 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3710 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3711 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3713 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3716 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3717 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3718 (sysdep_headers): Include sys/platform/ppc.h.
3719 * sysdeps/powerpc/test-gettimebase.c: Test for
3720 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3721 * manual/Makefile (appendices): Include platform.texi.
3722 * manual/contrib.texi (Contributors): Update @node pointers.
3723 * manual/maint.texi (Maintenance): Likewise.
3724 (Platform): New node.
3725 * manual/platform.texi: New file. Document the new features.
3727 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3728 Jakub Jelinek <jakub@redhat.com>
3731 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3732 where __builtin_expect is unavailable.
3734 2012-06-03 David S. Miller <davem@davemloft.net>
3736 * stdlib/longlong.h: Updated from GCC.
3738 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3741 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3742 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3745 (GLIBC_2.16): Likewise.
3747 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3749 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3751 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3754 (default-abi): New variable.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3756 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3758 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3760 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3762 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3765 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3766 definition. Document in comment.
3768 2012-06-01 David S. Miller <davem@davemloft.net>
3770 * stdlib/longlong.h: Updated from GCC.
3772 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3775 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3776 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3777 sys/debugreg.h sys/io.h here.
3778 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3779 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3781 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3782 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3783 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3784 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3785 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3786 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3788 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3789 Define only if __x86_64__ is defined.
3791 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3794 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3795 Use int64_t for variable i.
3796 * math/libm-test.inc (fmod_test): Add more tests.
3798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3799 z computation is not scheduled after fetestexcept.
3800 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3801 Use math_force_eval instead of asm to ensure calculation scheduled
3802 before exception test.
3803 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3804 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3806 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3809 computation is not scheduled after fetestexcept.
3811 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3814 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3815 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3817 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3819 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3820 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3822 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3825 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3827 (__WCHAR_MIN): Support __WORDSIZE == 64.
3828 (__WCHAR_MAX): Likewise.
3830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3831 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3835 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3838 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3839 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3841 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3842 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3844 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3845 Defined to 1 if __x86_64__ isn't defined.
3846 (_STAT_VER_LINUX_OLD): New.
3847 (st_atime): Remove duplicate.
3848 (st_mtime): Likewise.
3849 (st_ctime): Likewise.
3851 2012-05-31 David S. Miller <davem@davemloft.net>
3853 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3856 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3858 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3862 * elf/dl-reloc.c: Include <_itoa.h>.
3863 (_dl_reloc_bad_type): Remove use of INTUSE.
3864 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3865 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3866 * stdio-common/psiginfo.c (psiginfo): Likewise.
3867 * stdio-common/psignal.c (psignal): Likewise.
3868 * string/strsignal.c (strsignal): Likewise.
3869 * include/signal.h (_sys_siglist): Declare hidden proto.
3870 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3871 INTVARDEF with libc_hidden_data_def.
3872 * stdio-common/itoa-udigits.c: Likewise.
3873 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3874 (_itoa_lower_digits_internal): Remove declaration.
3875 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3876 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3877 (_sys_sigabbrev_internal): Remove aliases.
3878 (_sys_siglist): Define hidden alias.
3880 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3885 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3888 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3889 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3891 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3892 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3893 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3894 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3896 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3898 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3899 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3900 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3902 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3910 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3912 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3914 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3915 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3916 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3917 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3918 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3919 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3921 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3922 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3924 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3925 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3927 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3928 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3929 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3931 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3932 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3934 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3936 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3937 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3938 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3940 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3942 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3944 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3946 * math/math.h (M_El): Use two more decimal places.
3947 (M_LOG2El): Likewise.
3948 (M_LOG10El): Likewise.
3950 (M_LN10l): Likewise.
3952 (M_PI_2l): Likewise.
3953 (M_PI_4l): Likewise.
3954 (M_1_PIl): Likewise.
3955 (M_2_PIl): Likewise.
3956 (M_2_SQRTPIl): Likewise.
3957 (M_SQRT2l): Likewise.
3958 (M_SQRT1_2l): Likewise.
3960 2012-05-31 David S. Miller <davem@davemloft.net>
3962 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3963 values between float registers.
3964 * sysdeps/sparc/sparc64/memset.S: Likewise.
3965 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3967 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3969 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3970 -D_FORTIFY_SOURCE=1.
3971 (CPPFLAGS-tst-longjmp_chk.c): Define.
3972 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3973 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3974 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3975 CFLAGS-tst-wchar-h.c.
3977 2012-05-31 Marek Polacek <polacek@redhat.com>
3980 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3981 __endmntent_internal): Remove declaration.
3982 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3983 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3984 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3986 2012-05-30 David S. Miller <davem@davemloft.net>
3988 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3989 (___Q_simulate_exceptions): Use real FP ops rather than writing
3991 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3994 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3997 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3998 * sysdeps/x86/bits/xtitypes.h: This.
4000 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4001 * sysdeps/x86/bits/wordsize.h: This.
4003 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4004 * sysdeps/x86/bits/huge_vall.h: This.
4006 * sysdeps/i386/bits/select.h: Removed.
4007 * sysdeps/x86_64/bits/select.h: Renamed to ...
4008 * sysdeps/x86/bits/select.h: This.
4010 * sysdeps/i386/bits/setjmp.h: Removed.
4011 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4012 * sysdeps/x86/bits/setjmp.h: This.
4014 * sysdeps/i386/bits/mathdef.h: Removed.
4015 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4016 * sysdeps/x86/bits/mathdef.h: This.
4018 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4021 * include/sys/socket.h (__connect_internal)
4022 (__libc_sa_len_internal): Remove declaration.
4023 (__connect, __libc_sa_len): Declare hidden_proto.
4024 (SA_LEN): Remove use of INTUSE.
4025 * socket/connect.c: Add libc_hidden_def.
4026 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4027 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4028 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4030 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4031 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4032 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4033 of adding _internal alias.
4035 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4038 * sysdeps/i386/bits/link.h: Removed.
4039 * sysdeps/i386/bits/linkmap.h: Likewise.
4040 * sysdeps/x86_64/bits/link.h: Renamed to ...
4041 * sysdeps/x86/bits/link.h: This.
4042 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4043 * sysdeps/x86/bits/linkmap.h: This.
4045 * sysdeps/i386/bits/endian.h: Removed.
4046 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4047 * sysdeps/x86/bits/endian.h: This.
4049 * sysdeps/i386/bits/byteswap.h: Removed.
4050 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4051 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4052 * sysdeps/x86/bits/byteswap.h: This.
4053 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4054 * sysdeps/x86/bits/byteswap-16.h: This.
4055 * sysdeps/i386/Implies: Add x86.
4056 * sysdeps/x86_64/Implies: Likewise.
4058 2012-05-30 David S. Miller <davem@davemloft.net>
4060 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4061 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4062 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4063 (FP_TRAPPING_EXCEPTIONS): Define.
4064 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4065 (FP_TRAPPING_EXCEPTIONS): Define.
4066 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4067 subnormals only when inexact has been signalled or underflow
4068 exceptions are enabled.
4069 (_FP_PACK_CANONICAL): Likewise.
4071 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4075 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4077 2012-05-30 Richard Henderson <rth@twiddle.net>
4079 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4080 with #ifndef NOT_IN_libc.
4082 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4083 marked to avoid plt entry.
4085 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4088 * Makeconfig (default-abi): New macro.
4089 (abi-includes): Likewise.
4090 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4091 $(abi-$(default-abi)-lib-soname) for soname if defined.
4092 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4094 * Makefile (installed-stubs): Likewise.
4095 * include/stubs-biarch.h: Removed.
4096 * scripts/lib-names.awk: Only handle one library at a time.
4097 * scripts/soversions.awk: Remove WORDSIZE support.
4098 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4100 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4102 (syscall-list-default-condition): Likewise.
4103 (syscall-list-default-condition): Likewise.
4104 (syscall-list-includes): Likewise.
4105 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4106 syscall-list-* with abi-*. Handle undefined abi-variants.
4107 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4108 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4109 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4112 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4114 (syscall-list-32-options): Likewise.
4115 (syscall-list-32-condition): Likewise.
4116 (syscall-list-64-options): Likewise.
4117 (syscall-list-64-condition): Likewise.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4120 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4123 (abi-64-ld-soname): New macro.
4124 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4125 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4128 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4129 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4131 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4133 * sysdeps/unix/sysv/linux/kernel-features.h
4134 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4135 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4136 include <kernel-features.h>.
4137 [!__NR_ftruncate64]: Remove conditional code.
4138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4139 [__NR_ftruncate64]: Make code unconditional.
4140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4141 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4142 include <kernel-features.h>.
4143 [!__NR_ftruncate64]: Remove conditional code.
4144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4145 [__NR_ftruncate64]: Make code unconditional.
4146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4148 include <kernel-features.h>.
4149 [!__NR_ftruncate64]: Remove conditional code.
4150 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4151 [__NR_ftruncate64]: Make code unconditional.
4152 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4154 include <kernel-features.h>.
4155 [!__NR_ftruncate64]: Remove conditional code.
4156 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4157 [__NR_ftruncate64]: Make code unconditional.
4158 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4160 * configure.in (libc_cv_fpie): Weaken to a compile test using
4162 * configure: Regenerated.
4164 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4179 2012-05-27 David S. Miller <davem@davemloft.net>
4181 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4183 (__Q_simulate_exceptions): Return void. Change to simulate
4184 exceptions by writing into the %fsr.
4185 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4186 (__Qp_handle_exceptions): Likewise.
4188 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4189 __Qp_handle_exceptions.
4190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4191 __Qp_handle_exceptions.
4192 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4193 as unused and give dummy FP_RND_NEAREST initializer.
4194 (FP_INHIBIT_RESULTS): Define.
4195 (___Q_simulate_exceptions): Update declaration.
4196 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4198 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4199 as unused and give dummy FP_RND_NEAREST initializer.
4200 (__Qp_handle_exceptions): Update declaration.
4201 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4204 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4206 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4207 the temporary FPU control word.
4208 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4209 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4210 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4211 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4212 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4213 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4214 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4215 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4216 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4217 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4218 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4220 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4222 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4225 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4227 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4228 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4229 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4230 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4232 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4233 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4236 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4238 * po/h.po: Update from translation team.
4240 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4242 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4244 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4245 handling of denormals.
4246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4247 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4248 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4255 2012-05-26 Marek Polacek <polacek@redhat.com>
4258 * math/libm-test.inc (fma_test): Don't always expect underflow
4261 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4264 * elf/tst-execstack.c: Include stackinfo.h.
4265 (do_test): Adjust test case to ensure that pthread_getattr_np
4266 behaviour remains the same after marking stack executable.
4268 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4270 * sysdeps/unix/sysv/linux/kernel-features.h
4271 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4272 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4274 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4275 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4276 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4278 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4279 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4281 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4283 * configure.in: Define the default includes to being none.
4284 * configure: Regenerated.
4286 2012-05-25 Roland McGrath <roland@hack.frob.com>
4288 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4289 * sysdeps/x86_64/setjmp.S: Likewise.
4290 * sysdeps/i386/bsd-setjmp.S: Likewise.
4291 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4292 * sysdeps/i386/setjmp.S: Likewise.
4293 * sysdeps/i386/__longjmp.S: Likewise.
4294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4295 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4297 * include/stap-probe.h: New file.
4298 * configure.in: Handle --enable-systemtap.
4299 * configure: Regenerated.
4300 * config.h.in (USE_STAP_PROBE): New #undef.
4301 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4302 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4303 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4305 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4309 to 2.4.0 where earlier.
4310 * sysdeps/unix/sysv/linux/configure: Regenerated.
4311 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4312 <kernel-features.h>.
4313 [__ASSUME_32BITUIDS]: Make code unconditional.
4314 [!__ASSUME_32BITUIDS]: Remove conditional code.
4315 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4316 <kernel-features.h>.
4317 [__ASSUME_32BITUIDS]: Make code unconditional.
4318 [!__ASSUME_32BITUIDS]: Remove conditional code.
4319 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4320 [__ASSUME_32BITUIDS]: Make code unconditional.
4321 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4322 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4323 <kernel-features.h>.
4324 [__ASSUME_32BITUIDS]: Make code unconditional.
4325 [!__ASSUME_32BITUIDS]: Remove conditional code.
4326 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4327 <kernel-features.h>.
4328 [__ASSUME_32BITUIDS]: Make code unconditional.
4329 [!__ASSUME_32BITUIDS]: Remove conditional code.
4330 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4331 <kernel-features.h>.
4332 [__ASSUME_32BITUIDS]: Make code unconditional.
4333 [!__ASSUME_32BITUIDS]: Remove conditional code.
4334 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4335 <kernel-features.h>.
4336 [__ASSUME_32BITUIDS]: Make code unconditional.
4337 [!__ASSUME_32BITUIDS]: Remove conditional code.
4338 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4339 <kernel-features.h>.
4340 [__ASSUME_32BITUIDS]: Make code unconditional.
4341 [!__ASSUME_32BITUIDS]: Remove conditional code.
4342 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4343 <kernel-features.h>.
4344 [__ASSUME_32BITUIDS]: Make code unconditional.
4345 [!__ASSUME_32BITUIDS]: Remove conditional code.
4346 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4347 <kernel-features.h>.
4348 [__ASSUME_32BITUIDS]: Make code unconditional.
4349 [!__ASSUME_32BITUIDS]: Remove conditional code.
4350 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4351 <kernel-features.h>.
4352 [__ASSUME_32BITUIDS]: Make code unconditional.
4353 [!__ASSUME_32BITUIDS]: Remove conditional code.
4354 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4355 <kernel-features.h>.
4356 [__ASSUME_32BITUIDS]: Make code unconditional.
4357 [!__ASSUME_32BITUIDS]: Remove conditional code.
4358 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4359 <kernel-features.h>.
4360 [__ASSUME_32BITUIDS]: Make code unconditional.
4361 [!__ASSUME_32BITUIDS]: Remove conditional code.
4362 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4363 <kernel-features.h>.
4364 [__NR_setresgid] (__setresgid): Do not declare.
4365 [__ASSUME_32BITUIDS]: Make code unconditional.
4366 [!__ASSUME_32BITUIDS]: Remove conditional code.
4367 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4368 <kernel-features.h>.
4369 [__NR_setresuid] (__setresuid): Do not declare.
4370 [__ASSUME_32BITUIDS]: Make code unconditional.
4371 [!__ASSUME_32BITUIDS]: Remove conditional code.
4372 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4373 <kernel-features.h>.
4374 [__ASSUME_32BITUIDS]: Make code unconditional.
4375 [!__ASSUME_32BITUIDS]: Remove conditional code.
4376 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4377 <kernel-features.h>.
4378 [__ASSUME_32BITUIDS]: Make code unconditional.
4379 [!__ASSUME_32BITUIDS]: Remove conditional code.
4380 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4381 <kernel-features.h>.
4382 [__ASSUME_32BITUIDS]: Make code unconditional.
4383 [!__ASSUME_32BITUIDS]: Remove conditional code.
4384 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4385 <kernel-features.h>.
4386 [__ASSUME_32BITUIDS]: Make code unconditional.
4387 [!__ASSUME_32BITUIDS]: Remove conditional code.
4388 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4389 <kernel-features.h>.
4390 [__ASSUME_32BITUIDS]: Make code unconditional.
4391 [!__ASSUME_32BITUIDS]: Remove conditional code.
4392 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4393 <kernel-features.h>.
4394 [__ASSUME_32BITUIDS]: Make code unconditional.
4395 [!__ASSUME_32BITUIDS]: Remove conditional code.
4396 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4397 <kernel-features.h>.
4398 [__ASSUME_32BITUIDS]: Make code unconditional.
4399 [!__ASSUME_32BITUIDS]: Remove conditional code.
4400 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4401 <kernel-features.h>.
4402 [__ASSUME_32BITUIDS]: Make code unconditional.
4403 [!__ASSUME_32BITUIDS]: Remove conditional code.
4404 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4405 <kernel-features.h>.
4406 [__ASSUME_32BITUIDS]: Make code unconditional.
4407 [!__ASSUME_32BITUIDS]: Remove conditional code.
4408 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4409 <kernel-features.h>.
4410 [__ASSUME_32BITUIDS]: Make code unconditional.
4411 [!__ASSUME_32BITUIDS]: Remove conditional code.
4412 * sysdeps/unix/sysv/linux/kernel-features.h
4413 (__ASSUME_SETRESUID_SYSCALL): Remove.
4414 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4415 (__ASSUME_32BITUIDS): Likewise.
4416 (__ASSUME_LDT_WORKS): Likewise.
4417 (__ASSUME_O_DIRECTORY): Likewise.
4418 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4419 architecture but not kernel version.
4420 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4421 (__ASSUME_MMAP2_SYSCALL): Likewise.
4422 (__ASSUME_STAT64_SYSCALL): Likewise.
4423 (__ASSUME_IPC64): Likewise.
4424 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4425 <kernel-features.h>.
4426 [__ASSUME_32BITUIDS]: Make code unconditional.
4427 [!__ASSUME_32BITUIDS]: Remove conditional code.
4428 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4429 <kernel-features.h>.
4430 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4431 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4432 132096]: Remove conditional code.
4433 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4434 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4435 <kernel-features.h>.
4436 [__ASSUME_32BITUIDS]: Make code unconditional.
4437 [!__ASSUME_32BITUIDS]: Remove conditional code.
4438 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4439 <kernel-features.h>.
4440 [__ASSUME_32BITUIDS]: Make code unconditional.
4441 [!__ASSUME_32BITUIDS]: Remove conditional code.
4442 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4443 <kernel-features.h>.
4444 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4446 (__setresgid): Do not declare.
4447 [__ASSUME_32BITUIDS]: Make code unconditional.
4448 [!__ASSUME_32BITUIDS]: Remove conditional code.
4449 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4450 <kernel-features.h>.
4451 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4453 (__setresuid): Do not declare.
4454 [__ASSUME_32BITUIDS]: Make code unconditional.
4455 [!__ASSUME_32BITUIDS]: Remove conditional code.
4456 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4457 <kernel-features.h>.
4458 [__ASSUME_32BITUIDS]: Make code unconditional.
4459 [!__ASSUME_32BITUIDS]: Remove conditional code.
4460 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4461 <kernel-features.h>.
4462 [__ASSUME_32BITUIDS]: Make code unconditional.
4463 [!__ASSUME_32BITUIDS]: Remove conditional code.
4465 2012-05-25 Richard Henderson <rth@twiddle.net>
4467 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4468 dl_hwcap to ifunc resolver.
4469 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4471 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4472 dl_hwcap to ifunc resolver.
4473 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4475 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4478 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4479 for |x| <= 2**-26, not 2**-57.
4480 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4483 2012-05-24 Jeff Law <law@redhat.com>
4485 * stdio-common/Makefile (tests): Add bug25.
4486 * stdio-common/bug25.c: New test.
4488 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4491 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4492 multiple of MALLOC_ALIGNMENT in size.
4493 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4495 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4497 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4499 (FILENAME_MAX): Use macro-int-constant.
4500 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4501 (_IOFBF): Use macro-int-constant.
4504 (SEEK_CUR): Likewise.
4505 (SEEK_END): Likewise.
4506 (SEEK_SET): Likewise.
4507 (TMP_MAX): Likewise.
4508 (EOF): Use macro-int-constant. Require < 0.
4509 (NULL): Use macro-constant. Require == 0.
4510 (stdin): Require type to be FILE *.
4513 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4515 (EXIT_SUCCESS): Likewise.
4516 (NULL): Use macro-constant. Require == 0.
4517 (RAND_MAX): Use macro-int-constant.
4518 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4519 [C99-based standards] (strtof): Require function.
4520 [C99-based standards] (strtold): Likewise.
4521 [C99-based standards] (strtoll): Likewise.
4522 [C99-based standards] (strtoull): Likewise.
4523 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4524 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4525 [ISO || ISO99 || ISO11] (math.h): Likewise.
4526 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4527 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4528 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4530 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4533 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4534 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4535 * intl/dgettext.c (DCGETTEXT): Likewise.
4536 * intl/gettext.c (DCGETTEXT): Likewise.
4537 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4538 * posix/regex_internal.h (gettext): Likewise.
4539 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4541 * include/argz.h (__argz_count_internal)
4542 (__argz_stringify_internal): Remove declaration.
4543 (__argz_count, __argz_stringify): Declare hidden proto.
4544 * intl/dcgettext.c: Remove use of INTDEF.
4545 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4546 * string/argz-stringify.c: Likewise.
4547 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4548 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4549 Declare hidden proto.
4550 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4551 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4552 Declare hidden proto.
4553 * include/stdio.h (__asprintf_internal): Don't declare.
4554 (__asprintf): Don't define as macro. Declare hidden proto.
4555 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4556 (__fsetlocking): Declare hidden proto.
4557 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4558 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4560 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4561 (_IO_setlinebuf): Remove use of INTUSE.
4562 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4563 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4564 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4566 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4567 (_IO_do_flush): Remove use of INTUSE.
4568 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4569 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4570 (_IO_adjust_column, _IO_least_wmarker)
4571 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4572 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4573 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4574 (_IO_default_doallocate, _IO_wdefault_doallocate)
4575 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4576 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4577 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4578 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4579 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4580 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4581 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4582 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4583 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4584 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4585 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4586 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4587 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4589 (_IO_flush_all_internal, _IO_adjust_column_internal)
4590 (_IO_default_uflow_internal, _IO_default_finish_internal)
4591 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4592 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4593 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4594 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4595 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4596 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4597 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4598 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4599 (_IO_file_close_internal, _IO_file_close_it_internal)
4600 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4601 (_IO_file_init_internal, _IO_file_attach_internal)
4602 (_IO_file_fopen_internal, _IO_file_read_internal)
4603 (_IO_file_sync_internal, _IO_file_seek_internal)
4604 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4605 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4606 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4607 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4608 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4609 (_IO_list_all_internal, _IO_link_in_internal)
4610 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4611 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4612 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4613 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4614 (_IO_do_write_internal, _IO_padn_internal)
4615 (_IO_getline_info_internal, _IO_getline_internal)
4616 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4617 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4618 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4619 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4620 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4621 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4622 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4623 with libc_hidden_ver, remove use of INTUSE.
4624 * libio/genops.c: Likewise.
4625 * libio/freopen.c: Likewise.
4626 * libio/freopen64.c: Likewise.
4627 * libio/iofclose.c: Likewise.
4628 * libio/iofdopen.c: Likewise.
4629 * libio/iofflush.c: Likewise.
4630 * libio/iofflush_u.c: Likewise.
4631 * libio/iofgets.c: Likewise.
4632 * libio/iofgets_u.c: Likewise.
4633 * libio/iofopen.c: Likewise.
4634 * libio/iofopncook.c: Likewise.
4635 * libio/iofread.c: Likewise.
4636 * libio/iofread_u.c: Likewise.
4637 * libio/ioftell.c: Likewise.
4638 * libio/iofwrite.c: Likewise.
4639 * libio/iogetline.c: Likewise.
4640 * libio/iogets.c: Likewise.
4641 * libio/iogetwline.c: Likewise.
4642 * libio/iopadn.c: Likewise.
4643 * libio/iopopen.c: Likewise.
4644 * libio/ioseekoff.c: Likewise.
4645 * libio/ioseekpos.c: Likewise.
4646 * libio/iosetbuffer.c: Likewise.
4647 * libio/iosetvbuf.c: Likewise.
4648 * libio/ioungetc.c: Likewise.
4649 * libio/ioungetwc.c: Likewise.
4650 * libio/iovdprintf.c: Likewise.
4651 * libio/iovsprintf.c: Likewise.
4652 * libio/iovsscanf.c: Likewise.
4653 * libio/memstream.c: Likewise.
4654 * libio/obprintf.c: Likewise.
4655 * libio/oldfileops.c: Likewise.
4656 * libio/oldiofclose.c: Likewise.
4657 * libio/oldiofdopen.c: Likewise.
4658 * libio/oldiofopen.c: Likewise.
4659 * libio/oldiopopen.c: Likewise.
4660 * libio/oldstdfiles.c: Likewise.
4661 * libio/putc.c: Likewise.
4662 * libio/setbuf.c: Likewise.
4663 * libio/setlinebuf.c: Likewise.
4664 * libio/stdfiles.c: Likewise.
4665 * libio/strops.c: Likewise.
4666 * libio/vasprintf.c: Likewise.
4667 * libio/vscanf.c: Likewise.
4668 * libio/vsnprintf.c: Likewise.
4669 * libio/vswprintf.c: Likewise.
4670 * libio/wfiledoalloc.c: Likewise.
4671 * libio/wfileops.c: Likewise.
4672 * libio/wgenops.c: Likewise.
4673 * libio/wmemstream.c: Likewise.
4674 * libio/wstrops.c: Likewise.
4675 * libio/__fpurge.c: Likewise.
4676 * libio/__fsetlocking.c: Likewise.
4677 * assert/assert.c: Likewise.
4678 * debug/fgets_chk.c: Likewise.
4679 * debug/fgets_u_chk.c: Likewise.
4680 * debug/fread_chk.c: Likewise.
4681 * debug/fread_u_chk.c: Likewise.
4682 * debug/gets_chk.c: Likewise.
4683 * debug/obprintf_chk.c: Likewise.
4684 * debug/vasprintf_chk.c: Likewise.
4685 * debug/vdprintf_chk.c: Likewise.
4686 * debug/vsnprintf_chk.c: Likewise.
4687 * debug/vsprintf_chk.c: Likewise.
4688 * malloc/mtrace.c: Likewise.
4689 * misc/error.c: Likewise.
4690 * misc/syslog.c: Likewise.
4691 * stdio-common/asprintf.c: Likewise.
4692 * stdio-common/fxprintf.c: Likewise.
4693 * stdio-common/getw.c: Likewise.
4694 * stdio-common/isoc99_fscanf.c: Likewise.
4695 * stdio-common/isoc99_scanf.c: Likewise.
4696 * stdio-common/isoc99_vfscanf.c: Likewise.
4697 * stdio-common/isoc99_vscanf.c: Likewise.
4698 * stdio-common/isoc99_vsscanf.c: Likewise.
4699 * stdio-common/printf-prs.c: Likewise.
4700 * stdio-common/printf_fp.c: Likewise.
4701 * stdio-common/printf_fphex.c: Likewise.
4702 * stdio-common/printf_size.c: Likewise.
4703 * stdio-common/putw.c: Likewise.
4704 * stdio-common/scanf.c: Likewise.
4705 * stdio-common/sprintf.c: Likewise.
4706 * stdio-common/tmpfile.c: Likewise.
4707 * stdio-common/vfprintf.c: Likewise.
4708 * stdio-common/vfscanf.c: Likewise.
4709 * stdlib/strfmon_l.c: Likewise.
4710 * sunrpc/openchild.c: Likewise.
4711 * sunrpc/xdr_stdio.c: Likewise.
4712 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4713 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4715 2012-05-24 Roland McGrath <roland@hack.frob.com>
4717 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4719 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4720 in the third column, to generate for the shared library an IFUNC
4721 that uses _dl_vdso_vsym.
4722 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4723 * Makeconfig (object-suffixes-noshared): New variable.
4725 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4726 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4727 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4728 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4731 * include/sys/time.h (__gettimeofday): Remove macro.
4732 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4733 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4735 (__gettimeofday): Add libc_hidden_def.
4736 (gettimeofday): Add libc_hidden_weak.
4737 * sysdeps/mach/gettimeofday.c: Likewise.
4738 * sysdeps/posix/gettimeofday.c: Likewise.
4739 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4740 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4742 (__gettimeofday_internal): Remove strong_alias.
4743 (__gettimeofday): Add libc_hidden_def.
4744 (gettimeofday): Add libc_hidden_weak.
4745 * sysdeps/unix/syscalls.list (gettimeofday):
4746 Remove __gettimeofday_internal alias.
4748 2012-05-24 Daniel Jacobowitz <drow@false.org>
4749 H.J. Lu <hongjiu.lu@intel.com>
4752 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4753 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4754 (largebin_index_32_big): New.
4755 (largebin_index): Use it for 16-byte alignment.
4756 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4757 correction with front_misalign.
4759 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4787 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4788 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4790 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4794 * math/libm-test.inc (exp_test): Add test from bug 14036.
4795 (pow_test): Add test from bug 10846.
4797 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4799 (special_function): Do not include flags in test name.
4800 (parse_args): Likewise.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4803 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4804 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4807 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4809 * math/libm-test.inc ("Philosophy"): Update comment about
4811 (UNDERFLOW_EXCEPTION): New macro.
4812 (UNDERFLOW_EXCEPTION_OK): Likewise.
4813 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4814 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4815 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4816 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4817 (INVALID_EXCEPTION_OK): Update value.
4818 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4819 (OVERFLOW_EXCEPTION_OK): Likewise.
4820 (IGNORE_ZERO_INF_SIGN): Likewise.
4821 (test_exceptions): Handle underflow exceptions.
4822 (acos_test): Update for underflow exception expectations.
4823 (cexp_test): Likewise.
4824 (clog_test): Likewise.
4825 (clog10_test): Likewise.
4826 (csqrt_test): Likewise.
4827 (ctan_test): Likewise.
4828 (ctanh_test): Likewise.
4829 (exp_test): Likewise.
4830 (exp10_test): Likewise.
4831 (exp2_test): Likewise.
4832 (expm1_test): Likewise.
4833 (fma_test): Likewise.
4834 (j0_test): Likewise.
4835 (jn_test): Likewise.
4836 (nexttoward_test): Likewise.
4837 (pow_test): Likewise.
4838 (scalbn_test): Likewise.
4839 (scalbln_test): Likewise.
4840 (tan_test): Likewise.
4841 (y1_test): Likewise.
4842 * sysdeps/i386/fpu/libm-test-ulps: Update.
4843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4845 2012-05-23 David S. Miller <davem@davemloft.net>
4847 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4848 (__libc_sigaction): Remove unused local variables.
4850 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4852 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4854 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4856 mktime: avoid signed integer overflow
4857 * time/mktime.c (__mktime_internal): Do not mishandle the case
4858 where diff == INT_MIN.
4860 mktime: simplify computation of average
4861 * time/mktime.c (ranged_convert): Use new time_t_avg function
4862 instead of rolling our own (probably-slower) code.
4864 mktime: do not assume signed right shift propagates sign bit
4865 * time/mktime.c (isdst_differ): New static function.
4866 (__mktime_internal): No need to normalize tm_isdst now.
4867 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4870 mktime: merge another wrapv change from gnulib
4871 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4872 from some compilers.
4874 mktime: remove incorrect attempt at unusual arithmetics
4875 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4876 The code didn't really work on such machines anyway.
4877 (TYPE_MINIMUM): Assume two's complement.
4878 (twos_complement_arithmetic): Verify that long_int and time_t
4879 are two's complement (or unsigned, in the latter case).
4881 mktime: check signed shifts on long_int and time_t, too
4882 * time/mktime.c (SHR): Check that shifts work as desired
4883 on the types long_int and time_t too, as SHR is used on
4886 mktime: do not assume 'long' is wide enough
4887 * time/mktime.c (verify): Move decl up.
4888 (long_int): New type.
4889 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4890 to remove assumption in the code that 'long' is wide enough to
4891 store year values. This assumption is not true on x32 and on
4892 some non-glibc platforms.
4894 mktime: merge wrapv change from gnulib
4895 * time/mktime.c (WRAPV): New macro.
4896 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4897 (guess_time_tm, __mktime_internal): Do not assume that signed
4898 integer overflow wraps around; modern compilers generate code
4899 where this assumption is no longer valid.
4901 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4903 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4904 Replace "jmp L(pseudo_end)" with "ret".
4905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4908 2012-05-23 Andreas Jaeger <aj@suse.de>
4910 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4911 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4913 2012-05-23 Andreas Jaeger <aj@suse.de>
4914 Maximilian Attems <max@stro.at>
4916 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4919 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4921 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4922 code so that pseudo_end is just ret and the stack pointer is
4923 correct also for static library in error case.
4925 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4927 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4928 move to syscalls.list.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4934 * manual/install.texi (Running make install): Do not mention Linux
4935 kernel version for which pt_chown is not needed.
4936 (Linux): Do not mention problems with nscd with 2.0 kernels.
4937 * INSTALL: Regenerated.
4939 2012-05-23 Andreas Jaeger <aj@suse.de>
4941 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4942 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4944 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4946 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4948 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4954 * sysdeps/unix/sysv/linux/bits/in.h
4955 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4957 2012-05-22 Roland McGrath <roland@hack.frob.com>
4959 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4960 (PREPARE_VERSION): Just use assert instead, it will be elided
4961 under [NDEBUG] anyway.
4963 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4965 * sysdeps/unix/sysv/linux/Makefile: Include
4966 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4967 (sysdep_routines): Remove sysctl.
4968 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4969 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4970 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4971 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4972 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4974 2012-05-22 Andreas Jaeger <aj@suse.de>
4976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4977 that pseudo_end is just ret and the stack pointer is correct also
4978 for static library in error case.
4980 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4983 * nss/nsswitch.c (defconfig_entries): New variable.
4984 (__nss_database_lookup): Don't leak defconfig entries.
4985 (nss_parse_service_list): Don't leak on error paths.
4986 (free_database_entries): New function.
4987 (free_defconfig): New function.
4988 (free_mem): Move common code to free_database_entries.
4990 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4992 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4994 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4996 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4997 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5000 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5001 (INTERNAL_SYSCALL_TYPES): Likewise.
5002 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5003 (LOAD_REGS_TYPES_[1-6]): Likewise.
5004 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5005 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5007 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5010 copysignl for GLIBC_2_0.
5011 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5012 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5014 logbl for GLIBC_2_0.
5015 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5018 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5020 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5023 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5026 * time/mktime.c: Update copyright years.
5028 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5030 mktime: merge comment-quoting-style change from gnulib
5031 * time/mktime.c: Quote 'like this' in comments.
5032 The GNU coding standards suggest that we no longer quote `like this',
5033 as "`" and "'" are typically rendered asymmetrically nowadays.
5034 The typical gnulib style is to quote 'like this' when quoting
5035 code, and "like this" when quoting English.
5037 * time/mktime.c (compile-command): Add "-I.".
5039 mktime: merge mktime-internal.h change from gnulib
5040 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5042 mktime: merge time_r change from gnulib
5043 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5045 mktime: merge DEBUG change from gnulib
5046 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5047 case system <time.h> has a #define.
5049 mktime: merge <sys/types.h> change from gnulib
5050 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5051 since <time.t> is now guaranteed to define time_t.
5053 mktime: merge HAVE_CONFIG_H change from gnulib
5054 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5056 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5061 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5063 (struct rusage): Use anonymous union to pad each field to
5066 2012-05-21 David S. Miller <davem@davemloft.net>
5068 * Makefules (o-iterator): Remove .s cases.
5069 (compile-command.s): Delete.
5070 (COMPILE.s): Delete.
5071 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5073 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5075 * configure.in (libc_cv_predef_stack_protector): Only consider
5076 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5077 * configure: Regenerated.
5079 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5082 New macro. Use R*LP on int and pointer.
5083 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5084 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5085 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5086 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5088 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5089 [__WORDSIZE_TIME64_COMPAT32] instead of
5090 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5091 (struct utmp): Likewise.
5092 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5093 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5095 (__WORDSIZE_TIME64_COMPAT32): This.
5096 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5097 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5098 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5100 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5101 (__WORDSIZE_TIME64_COMPAT32): New macro.
5103 2012-05-21 Andreas Jaeger <aj@suse.de>
5105 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5106 only if [SHARED]. Add prototype for __wcschr_ia32.
5108 2012-05-21 Roland McGrath <roland@hack.frob.com>
5110 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5111 of %rbp unmolested in the jmp_buf while mangling the low bits.
5112 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5113 unmolested high bits of %rbp while demangling the low bits.
5114 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5116 2012-05-21 Andreas Jaeger <aj@suse.de>
5118 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5119 * sunrpc/svc_simple.c: Use it for registerrpc.
5120 * sunrpc/xcrypt.c: Use it for passwd2des.
5122 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5124 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5126 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5127 Don't define if [__SYSCALL_WORDSIZE != 32].
5128 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5131 2012-05-21 Bruno Haible <bruno@clisp.org>
5132 Andreas Jaeger <aj@suse.de>
5134 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5135 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5136 inptr and inend for must_buffer_ch.
5137 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5138 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5139 * stdio-common/Makefile (tests): Remove bug15.
5140 (bug15-ENV): Remove macro.
5141 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5144 2012-05-19 Andreas Jaeger <aj@suse.de>
5145 Roland McGrath <roland@hack.frob.com>
5147 * manual/contrib.texi: Completely rewritten. It contains now an
5148 alphabetical list of contributors and their contributions.
5150 2012-05-21 Richard Henderson <rth@twiddle.net>
5152 * misc/getauxval.c (__getauxval): Use unsigned long int.
5153 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5154 (getauxval): Use unsigned long int.
5156 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5158 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5160 2012-05-21 Roland McGrath <roland@hack.frob.com>
5162 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5163 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5164 __alignof__ (long double).
5166 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5170 2012-05-20 Richard Henderson <rth@twiddle.net>
5172 * misc/getauxval.c: New file.
5173 * misc/sys/auxv.h: New file.
5174 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5175 (routines): Add getauxval.
5176 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5177 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5178 * elf/dl-sysdep.c (_dl_auxv): Remove.
5179 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5180 * elf/dl-support.c (_dl_auxv): New variable.
5181 (_dl_aux_init): Initialize it.
5182 * manual/startup.texi (Auxiliary Vector): New node.
5183 * sysdeps/generic/bits/hwcap.h: New file.
5184 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5185 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5186 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5187 * sysdeps/sparc/sysdep.h: ... here. Include it.
5188 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5189 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5201 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5205 2012-05-19 David S. Miller <davem@davemloft.net>
5207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5209 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5212 * math/s_ccosh.c: Include <float.h>
5213 (__ccosh): Avoid internal overflow calculating sinh and cosh
5214 values before multiplying by sin and cos values.
5215 * math/s_ccoshf.c: Likewise.
5216 * math/s_ccoshl.c: Likewise.
5217 * math/s_csin.c: Likewise.
5218 * math/s_csinf.c: Likewise.
5219 * math/s_csinl.c: Likewise.
5220 * math/s_csinh.c: Likewise.
5221 * math/s_csinhf.c: Likewise.
5222 * math/s_csinhl.c: Likewise.
5223 * math/libm-test.inc (ccos_test): Add more tests.
5224 (ccosh_test): Likewise.
5225 (csin_test): Likewise.
5226 (csinh_test): Likewise.
5227 * sysdeps/i386/fpu/libm-test-ulps: Update.
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5230 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5232 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5233 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5235 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5237 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5239 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5240 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5241 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5242 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5243 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5244 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5245 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5246 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5247 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5248 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5249 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5250 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5251 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5252 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5253 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5254 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5255 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5256 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5257 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5258 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5259 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5260 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5261 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5262 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5263 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5264 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5265 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5266 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5267 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5268 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5269 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5271 2012-05-18 Andreas Jaeger <aj@suse.de>
5273 * csu/.gitignore: Delete.
5275 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5277 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5278 (timex): Use __syscall_slong_t.
5280 2012-05-18 Andreas Jaeger <aj@suse.de>
5281 Carlos O'Donell <carlos_odonell@mentor.com>
5283 * manual/install.texi (Configuring and compiling): Update
5284 description about files modified in the source directory.
5285 * INSTALL: Regenerated.
5287 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5289 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5290 value. Use "or" to set return value to -1.
5291 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5292 negate return value.
5294 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5296 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5297 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5298 failure if the compiler has Graphite support disabled.
5299 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5301 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5302 CFLAGS-memmove.c): Likewise.
5303 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5306 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5308 * sysdeps/x86_64/x32/_itoa.h: New file.
5310 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5311 getdents system call only if kernel and user dirents have the
5312 same d_ino and d_off.
5314 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5315 LLONG_MAX != LONG_MAX.
5316 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5317 (_fitoa_word): Likewise.
5319 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5322 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5325 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5326 include <bits/wordsize.h>. Check __x86_64__ instead of
5328 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5329 if __x86_64__ is defined. Use anonymous union on fpstate.
5331 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5334 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5336 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5337 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5338 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5339 Refer to _rtld_local_ro instead of _rtld_global_ro.
5340 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5342 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5344 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5346 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5347 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5348 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5350 * sysdeps/powerpc/powerpc32/dl-machine.c
5351 (__elf_machine_runtime_setup) [PROF]: Don't reference
5354 2012-05-18 Andreas Jaeger <aj@suse.de>
5356 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5357 function only available for GCCs before 3.4 since GCC 3.4
5358 introduced a builtin.
5360 (llrintf): Likewise.
5368 (nearbyint): Likewise.
5369 (nearbyintf): Likewise.
5375 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5377 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5378 on both fields and cast pointer to __syscall_ulong_t.
5380 * bits/types.h (__fsword_t): New type.
5381 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5382 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5383 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5384 (__FSWORD_T_TYPE): Likewise.
5385 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5386 (__FSWORD_T_TYPE): Likewise.
5387 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5388 (__FSWORD_T_TYPE): Likewise.
5389 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5390 (__FSWORD_T_TYPE): Likewise.
5391 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5392 __SWORD_TYPE with __fsword_t.
5393 (statfs64): Likewise.
5395 2012-05-17 David S. Miller <davem@davemloft.net>
5397 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5399 2012-05-17 Andreas Jaeger <aj@suse.de>
5401 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5404 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5406 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5408 2012-05-17 Andreas Jaeger <aj@suse.de>
5410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5413 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5415 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5417 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5419 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5420 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5422 2012-05-17 Andreas Jaeger <aj@suse.de>
5423 Carlos O'Donell <carlos_odonell@mentor.com>
5426 * sysdeps/x86_64/multiarch/init-arch.h
5427 (bit_YMM_Usable): Rename to...
5428 (bit_AVX_Usable): ... this.
5429 (bit_FMA4_Usable): New macro.
5430 (bit_XMM_state): New macro.
5431 (bit_YMM_state): New macro.
5432 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5433 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5434 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5435 (CPUID_OSXSAVE): New macro.
5436 (CPUID_AVX): New macro.
5437 (CPUID_FMA4): New macro.
5438 (index_YMM_Usable): Rename to...
5439 (index_AVX_Usable): ... this.
5440 (HAS_AVX): Use HAS_ARCH_FEATURE.
5441 (HAS_FMA4): Likewise.
5442 (HAS_YMM_USABLE): Remove.
5443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5444 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5446 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5447 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5448 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5449 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5450 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5452 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5454 * math/libm-test.c: Support platforms without multiple rounding modes.
5455 * math/bug-nextafter.c: Support platforms without FP exceptions.
5456 * math/bug-nexttoward.c: Likewise.
5457 * math/test-fenv.c: Likewise.
5458 * math/test-misc.c: Likewise.
5459 * stdlib/bug-getcontext.c: Likewise.
5461 2012-05-17 Andreas Jaeger <aj@suse.de>
5463 * manual/examples/search.c (critter_cmp): Change signature to
5465 * manual/string.texi (Collation Functions): Likewise.
5467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5469 * bits/types.h: Fold copyright years.
5470 * bits/typesizes.h: Likewise.
5471 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5472 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5475 * time/time.h: Likewise.
5477 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5480 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5481 in instead of returning them. Return void.
5482 (__libc_mallinfo): Accumulate over all arenas.
5483 (__malloc_stats): Adjust for change in int_mallinfo interface.
5485 2012-05-16 Roland McGrath <roland@hack.frob.com>
5488 * configure.in (NM): Add AC_CHECK_TOOL for it.
5489 (libc_extra_cflags): New substituted variable.
5490 Check for -fstack-protector being used implicitly.
5491 * configure: Regenerated.
5492 * config.make.in (config-extra-cflags): New variable,
5493 gets @libc_extra_cflags@.
5494 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5497 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5498 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5499 * configure: Regenerated.
5500 * config.make.in (CPPUNDEFS): New substituted variable.
5501 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5502 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5503 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5508 (mq_attr): Use __syscall_slong_t.
5510 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5512 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5513 Check __x86_64__ instead of __WORDSIZE.
5514 (_STAT_VER_LINUX): Likewise.
5515 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5516 __syscall_ulong_t and __syscall_slong_t.
5519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5523 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5525 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5527 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5529 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5532 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5533 include <bits/wordsize.h>. Check __x86_64__ instead of
5535 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5537 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5540 include <bits/wordsize.h>. Check __x86_64__ instead of
5542 (user_regs_struct): Use "__extension__ unsigned long long"
5543 instead of "unsigned long" if __x86_64__ is defined.
5544 (user): Likewise. Pad after pointer field if __ILP32__ is
5547 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5549 * configure.in (makeinfo): Require version 4.5 or later. Allow
5551 * configure: Regenerated.
5552 * manual/install.texi (texinfo): Increase version requirement to
5554 * INSTALL: Regenerated.
5556 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5558 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5560 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5562 * sysdeps/x86_64/x32/ffs.c: New file.
5564 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5566 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5567 defined. Use __syscall_ulong_t.
5568 (shminfo): Use __syscall_ulong_t.
5569 (shm_info): Likewise.
5571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5574 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5576 (msgqnum_t): Use __syscall_ulong_t.
5577 (msglen_t): Likewise.
5578 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5581 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5582 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5584 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5586 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5587 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5589 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5592 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5593 include <bits/wordsize.h>. Check __x86_64__ instead of
5596 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5597 "unsigned long long int" if __x86_64__ is defined.
5598 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5600 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5601 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5602 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5604 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5606 (GET_PC): Cast to uintptr_t first.
5607 (GET_FRAME): Likewise.
5608 (GET_STACK): Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5612 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5614 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5616 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5617 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5619 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5623 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5624 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5625 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5627 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5628 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5630 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5631 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5632 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5633 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5634 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5635 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5636 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5637 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5640 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5642 * Makerules (+depfiles): Also collect depfiles from .oS in
5644 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5645 .oS, $(libnldbl-routines)).
5647 * Makerules (native-compile-mkdep-flags): Define.
5648 * sunrpc/Makefile (extra-objs): Add $(addprefix
5649 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5650 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5651 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5652 calling $(make-target-directory).
5654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5656 * bits/types.h (__snseconds_t): Removed.
5657 * time/time.h (struct timespec): Replace __snseconds_t with
5659 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5660 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5663 (__SNSECONDS_T_TYPE): Likewise.
5664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5665 (__SNSECONDS_T_TYPE): Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5667 (__SNSECONDS_T_TYPE): Likewise.
5669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5671 * sysdeps/mach/hurd/bits/typesizes.h
5672 (__SYSCALL_SLONG_TYPE): New macro.
5673 (__SYSCALL_ULONG_TYPE): Likewise.
5675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5677 * bits/types.h (__syscall_slong_t): New type.
5678 (__syscall_ulong_t): Likewise.
5680 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5681 (__SYSCALL_ULONG_TYPE): Likewise.
5682 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5683 (__SYSCALL_SLONG_TYPE): Likewise.
5684 (__SYSCALL_ULONG_TYPE): Likewise.
5685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5686 (__SYSCALL_SLONG_TYPE): Likewise.
5687 (__SYSCALL_ULONG_TYPE): Likewise.
5688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5689 (__SYSCALL_SLONG_TYPE): Likewise.
5690 (__SYSCALL_ULONG_TYPE): Likewise.
5692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5694 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5695 Add sigaltstack-offsets.sym.
5696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5697 <sigaltstack-offsets.h>.
5698 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5699 longjmp_msg pointer.
5700 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5701 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5703 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5705 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5707 * elf/stackguard-macros.h: Remove file.
5708 * sysdeps/generic/stackguard-macros.h: New file.
5709 * sysdeps/i386/stackguard-macros.h: Likewise.
5710 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5711 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5712 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5713 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5714 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5715 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5716 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5717 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5718 <elf/stackguard-macros.h>.
5721 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5722 __aligned__ in attribute.
5723 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5724 (gregset_t): Likewise.
5726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5728 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5729 * sysdeps/x86_64/64/Implies-after: Here. New file.
5730 * sysdeps/x86_64/x32/Implies-after: New file.
5732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5734 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5735 and access return value for _dl_profile_fixup. Use R10_LP to
5738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5740 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5744 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5745 * sysdeps/x86_64/x32/sysdep.h: New file.
5747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5749 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5750 * sysdeps/x86_64/setjmp.S: Likewise.
5752 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5755 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5756 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5757 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5758 remove unused global constant.
5760 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5762 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5763 include of <not-cancel.h>.
5765 2012-05-15 Roland McGrath <roland@hack.frob.com>
5767 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5769 2012-05-15 Jeff Law <law@redhat.com>
5770 Andreas Jaeger <aj@suse.de>
5773 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5775 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5776 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5777 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5778 code changing __hst_map_handle.map.
5780 2012-05-15 Roland McGrath <roland@hack.frob.com>
5782 * configure.in (sysnames): Look for Implies-before and Implies-after
5784 * configure: Regenerated.
5786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5788 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5789 8-byte data alignment with LP_SIZE alignment.
5791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5793 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5798 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5802 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5803 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5810 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5811 (stackinfo_sub_sp): Likewise.
5813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5825 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5830 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5834 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5835 into R11_LP and load __x86_64_shared_cache_size_half into
5838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5840 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5843 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5852 powerpc32/power7/fpu/s_logb.c via #include.
5853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5854 powerpc32/power7/fpu/s_logbf.c via #include.
5855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5856 powerpc32/power7/fpu/s_logbl.c via #include.
5858 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5860 * README.libm: Remove file.
5862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5864 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5865 count for x32. Use R*_LP and omit operand-size suffix.
5867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5869 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5870 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5871 * sysdeps/x86_64/x32/shlib-versions: New file.
5873 2012-05-14 Roland McGrath <roland@hack.frob.com>
5875 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5876 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5877 Use _dl_fatal_printf instead.
5879 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5881 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5882 set if not set by the user. Do not allow for being unset.
5883 * sysdeps/unix/sysv/linux/configure: Regenerated.
5885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5887 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5888 the `q' suffix from lea and replace .quad with ASM_ADDR.
5890 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5893 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5895 (PTR_DEMANGLE): Likewise.
5897 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5899 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5901 (ASM_ADDR): Likewise.
5919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5921 * sysdeps/x86_64/x32/dl-machine.h: New file.
5923 2012-05-14 Andreas Jaeger <aj@suse.de>
5925 * manual/Makefile (subdir): Remove export of subdir.
5926 (all): Remove target.
5927 (.PHONY): Remove all from list.
5928 (mkinstalldirs): Remove.
5929 (.PHONY): Remove installdirs from list.
5930 ($(inst_infodir)/libc.info): Use make-target-directory.
5931 (installdirs): Remove.
5933 (glibc-targets): Remove.
5936 ($(objpfx)stubs ../po/manual.pot): Remove.
5937 ($(objpfx)stamp%): Remove.
5938 (make-target-directory): Remove.
5939 (subdir_install): Remove.
5947 * manual/.gitignore: Remove, it's not needed anymore.
5948 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5950 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5952 (texis): Renamed to $(objpfx)texis.
5953 (texis-path): New, contains path to generated files.
5954 (chapters.%): Use texis-path for complete path, add extra argument
5956 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5957 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5958 (summary,texi, stamp-summary): Use complete path of
5959 files. Generate files in build dir.
5960 (dir-add.texi): Build in build dir.
5961 (libm-err.texi,stamp-libm-err): Likewise.
5962 (version.texi, stamp-version): Likewise.
5963 (.%c.texi): Likewise.
5964 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5965 (mostlyclean): Remove target.
5966 (realclean): Remove target.
5967 (generated): Add new variable with contents from mostlyclean and
5968 realclean, remove entries duplicated in common-mostlyclean, add
5969 stamp-libm-err and stamp-version.
5970 (generated-dirs): Add libc directory.
5971 ($(inst_infodir)/libc.info): Install files from build dir.
5973 * manual/install.texi (Configuring and compiling): Adjust since
5974 the info files are not part of the tar ball anymore.
5976 2012-05-14 Andreas Jaeger <aj@suse.de>
5978 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5981 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5985 to 2.2.0 where earlier.
5986 * sysdeps/unix/sysv/linux/configure: Regenerated.
5987 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5988 Remove conditional code.
5989 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5990 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5991 Remove conditional code.
5992 [!__NR_lchown]: Likewise.
5993 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5994 [__NR_lchown]: Likewise.
5995 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5996 comment referencing __ASSUME_LCHOWN_SYSCALL.
5997 * sysdeps/unix/sysv/linux/i386/sigaction.c
5998 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5999 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6000 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6001 Remove conditional code.
6002 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6003 (__protocol_available): Remove #if 0 code.
6004 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6006 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6007 * sysdeps/unix/sysv/linux/kernel-features.h
6008 (__ASSUME_GETCWD_SYSCALL): Don't define.
6009 (__ASSUME_REALTIME_SIGNALS): Likewise.
6010 (__ASSUME_PREAD_SYSCALL): Likewise.
6011 (__ASSUME_PWRITE_SYSCALL): Likewise.
6012 (__ASSUME_POLL_SYSCALL): Likewise.
6013 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6014 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6016 (__ASSUME_SIOCGIFNAME): Don't define.
6017 (__ASSUME_MSG_NOSIGNAL): Likewise.
6018 (__ASSUME_SENDFILE): Define unconditionally.
6019 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6020 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6022 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6023 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6024 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6025 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6026 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6027 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6028 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6030 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6033 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6042 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6045 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6048 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6051 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6053 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6054 Remove conditional code.
6055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6056 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6057 Remove conditional code.
6058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6059 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6060 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6061 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6062 Remove conditional code.
6063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6064 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6065 Remove conditional code.
6066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6067 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6068 Remove conditional code.
6069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6070 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6071 Remove conditional code.
6072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6073 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6074 Remove conditional code.
6075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6076 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6079 * sysdeps/unix/sysv/linux/sigaction.c
6080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6082 * sysdeps/unix/sysv/linux/sigpending.c
6083 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6084 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6085 * sysdeps/unix/sysv/linux/sigprocmask.c
6086 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6087 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6088 * sysdeps/unix/sysv/linux/sigsuspend.c
6089 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6090 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6091 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6092 (__libc_missing_rt_sigs): Remove.
6093 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6094 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6095 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6096 Remove conditional code.
6097 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6098 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6100 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6101 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6102 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6103 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6105 2012-05-14 Andreas Jaeger <aj@suse.de>
6107 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6108 it's not used in glibc.
6109 (__coshm1): Likewise.
6110 (__acosh1p): Likewise.
6113 * manual/string.texi (Copying and Concatenation): Add missing
6114 variable in concat example.
6115 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6121 __builtin_clzl with __builtin_clzll.
6123 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6126 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6129 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6131 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6132 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6133 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6134 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6136 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6138 * NEWS: Update ia64 info.
6140 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6142 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6145 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6147 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6148 * sysdeps/unix/syscalls.list (dup3): Likewise.
6149 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6150 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6152 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6154 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6155 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6157 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6159 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6161 (TLS_IE): Use mov/add instead of movq/addq to load thread
6163 (TLS_GD_PREFIX): New.
6166 2012-05-11 David S. Miller <davem@davemloft.net>
6168 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6169 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6170 (_FPU_SETCW): Likewise.
6172 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6174 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6177 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6180 * iconvdata/gb18030.c: Update tables.
6181 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6182 characters specially.
6183 (BODY for TO_LOOP): Add encoding of missing ranges.
6185 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6188 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6189 * sysdeps/mach/hurd/dup3.c: Likewise.
6190 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6191 * sysdeps/powerpc/memmove.c:: Likewise.
6193 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6196 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6198 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6200 * elf/elf.h (R_X86_64_RELATIVE64): New.
6201 (R_X86_64_NUM): Updated.
6202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6203 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6204 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6205 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6206 tst-quad1pie tst-quad2pie
6207 (modules-names): Add tst-quadmod1 tst-quadmod2.
6208 ($(objpfx)tst-quad1): New dependency.
6209 ($(objpfx)tst-quad2): Likewise.
6210 ($(objpfx)tst-quad1pie): Likewise.
6211 ($(objpfx)tst-quad2pie): Likewise.
6212 * sysdeps/x86_64/tst-quad1.c: New file.
6213 * sysdeps/x86_64/tst-quad1pie.c: New file.
6214 * sysdeps/x86_64/tst-quad2.c: Likewise.
6215 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6216 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6217 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6218 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6219 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6223 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6224 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6225 * streams/stropts.h (t_scalar_t): Define type.
6227 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6228 (_PATH_PRESERVE): Set to "/var/lib".
6229 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6231 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6234 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6235 if __dir_mkfile succeeded.
6237 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6238 checking for _hurd_dtablesize. Unlock it right after having
6239 finished _hurd_dtable allocation.
6241 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6243 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6244 * sysdeps/mach/hurd/configure: Regenerated.
6245 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6246 special-casing to...
6247 * sysdeps/gnu/configure.in: ... this new file.
6248 * sysdeps/unix/sysv/linux/configure: Regenerated.
6249 * sysdeps/gnu/configure: New generated file.
6251 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6252 for Linux: use nsec instead of usec, as well as:
6253 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6254 members of type struct timespec.
6255 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6257 (struct stat64): Likewise.
6258 (_STATBUF_ST_NSEC): New macro.
6259 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6261 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6262 __strtoul_internal rather than strtoul.
6264 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6266 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6269 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6271 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6272 which preserves existing values.
6273 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6275 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6277 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6278 TIMEOUT values. Return EINVAL for NFDS values either negative or
6279 greater than FD_SETSIZE.
6281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6283 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6284 allocated, call __vm_protect to finish enabling the existing space, and
6285 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6286 allocate the remainder.
6288 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6290 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6291 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6293 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6295 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6296 sysdeps/mach/hurd/readlink.c.
6298 * posix/tst-sysconf.c (posix_options): Only use
6299 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6300 _POSIX_SYNCHRONIZED_IO when they are defined
6301 * sysdeps/mach/hurd/bits/posix_opt.h:
6302 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6303 (_XOPEN_REALTIME): Undefine macro.
6304 (_XOPEN_REALTIME_THREADS): Undefine macro.
6305 (_XOPEN_SHM): Undefine macro.
6306 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6308 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6310 (_POSIX_ASYNC_IO): Undefine macro.
6311 (_POSIX_PRIORITIZED_IO): Undefine macro.
6312 (_POSIX_SPIN_LOCKS): Define macro to -1.
6314 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6315 SA_NODEFER, SA_RESETHAND.
6316 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6317 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6320 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6322 * elf/Makefile (pldd-modules): Define unconditionally.
6324 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6326 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6328 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6330 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6331 Return ENOENT when name is empty.
6332 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6336 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6338 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6342 Fix mlock in all cases except non-readable pages.
6343 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6344 instead of VM_PROT_ALL as parameter to __vm_wire function.
6346 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6347 (__mkdir): When path is `/', just fail with EEXIST.
6348 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6352 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6353 <sys/uio.h> (for writev).
6354 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6355 and <sys/param.h> (for MIN).
6357 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6359 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6360 REQUESTED_TIME. Properly set the remaining time and return EINTR
6363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6365 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6366 Depend on against $(link-rpcuserlibs).
6368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6370 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6371 (__libc_stack_end): Do not use attribute_relro.
6372 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6373 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6374 to libthread-provided value.
6375 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6378 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6381 * bits/libc-lock.h (__libc_once_get): New macro.
6382 * sysdeps/mach/bits/libc-lock.h: Likewise.
6383 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6385 instead of using implementation details.
6387 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6388 * libio/freopen.c: Likewise.
6389 * libio/freopen64.c: Likewise.
6390 * misc/syslog.c: Likewise.
6391 * nscd/connections.c: Likewise.
6392 * nscd/netgroupcache.c: Likewise.
6393 * sysdeps/posix/getcwd.c: Likewise.
6395 2012-05-10 Roland McGrath <roland@hack.frob.com>
6397 * math/w_ilogbf.c: Add #include <limits.h>.
6399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6401 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6402 path instead of returning without unlocking.
6404 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6405 immediate-write ioctls.
6406 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6410 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6411 __builtin_frame_address instead of making assumptions about the
6412 location of the return address relative to DATA. Force early load of
6414 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6415 __builtin_frame_address.
6418 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6419 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6420 implement dup3 and do some further code clean-ups.
6421 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6422 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6426 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6428 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6429 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6430 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6431 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6432 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6435 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6436 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6437 when handler == SIG_ERR, not when handler != SIG_ERR.
6439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6441 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6442 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6445 accept4 for GNU Hurd.
6446 * include/sys/socket.h (__libc_accept4): New prototype.
6447 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6448 to implement __libc_accept4.
6449 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6451 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6453 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6454 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6455 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6460 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6464 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6465 assertion on O_CLOEXEC flag.
6466 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6467 * hurd/intern-fd.c: Likewise.
6468 * hurd/port2fd.c: Likewise.
6470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6473 * bits/in.h (IPV6_PKTINFO): Define new macro.
6474 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6476 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6481 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6483 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6484 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6487 * math/libm-test.inc (logb_test) : Additional logb tests.
6489 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6490 Andreas Jaeger <aj@suse.de>
6492 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6493 * configure: Regenerated.
6494 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6495 * config.make.in (link-obsolete-rpc): New substituted variable.
6496 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6497 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6498 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6499 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6500 so that libc.a contains the symbols.
6501 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6502 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6503 * sunrpc/auth_none.c: Likewise.
6504 * sunrpc/auth_unix.c: Likewise.
6505 * sunrpc/authdes_prot.c: Likewise.
6506 * sunrpc/authuxprot.c: Likewise.
6507 * sunrpc/clnt_gen.c: Likewise.
6508 * sunrpc/clnt_perr.c: Likewise.
6509 * sunrpc/clnt_raw.c: Likewise.
6510 * sunrpc/clnt_simp.c: Likewise.
6511 * sunrpc/clnt_tcp.c: Likewise.
6512 * sunrpc/clnt_udp.c: Likewise.
6513 * sunrpc/clnt_unix.c: Likewise.
6514 * sunrpc/des_crypt.c: Likewise.
6515 * sunrpc/des_soft.c: Likewise.
6516 * sunrpc/get_myaddr.c: Likewise.
6517 * sunrpc/key_call.c: Likewise.
6518 * sunrpc/key_prot.c: Likewise.
6519 * sunrpc/netname.c: Likewise.
6520 * sunrpc/pm_getmaps.c: Likewise.
6521 * sunrpc/pm_getport.c: Likewise.
6522 * sunrpc/pmap_clnt.c: Likewise.
6523 * sunrpc/pmap_prot.c: Likewise.
6524 * sunrpc/pmap_prot2.c: Likewise.
6525 * sunrpc/pmap_rmt.c: Likewise.
6526 * sunrpc/publickey.c: Likewise.
6527 * sunrpc/rpc_cmsg.c: Likewise.
6528 * sunrpc/rpc_common.c: Likewise.
6529 * sunrpc/rpc_dtable.c: Likewise.
6530 * sunrpc/rpc_prot.c: Likewise.
6531 * sunrpc/rpc_thread.c: Likewise.
6532 * sunrpc/rtime.c: Likewise.
6533 * sunrpc/svc.c: Likewise.
6534 * sunrpc/svc_auth.c: Likewise.
6535 * sunrpc/svc_raw.c: Likewise.
6536 * sunrpc/svc_run.c: Likewise.
6537 * sunrpc/svc_tcp.c: Likewise.
6538 * sunrpc/svc_udp.c: Likewise.
6539 * sunrpc/svc_unix.c: Likewise.
6540 * sunrpc/svcauth_des.c: Likewise.
6541 * sunrpc/xcrypt.c: Likewise.
6542 * sunrpc/xdr.c: Likewise.
6543 * sunrpc/xdr_array.c: Likewise.
6544 * sunrpc/xdr_float.c: Likewise.
6545 * sunrpc/xdr_intXX_t.c: Likewise.
6546 * sunrpc/xdr_mem.c: Likewise.
6547 * sunrpc/xdr_rec.c: Likewise.
6548 * sunrpc/xdr_ref.c: Likewise.
6549 * sunrpc/xdr_sizeof.c: Likewise.
6550 * sunrpc/xdr_stdio.c: Likewise.
6552 2012-05-10 Roland McGrath <roland@hack.frob.com>
6554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6555 change. Update copyright years.
6557 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6559 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6561 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6562 Joseph Myers <joseph@codesourcery.com>
6563 Paul Pluzhnikov <ppluzhnikov@google.com>
6566 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6568 [cross-compiling] (extra-libs): Likewise.
6569 [cross-compiling] (extra-libs-others): Likewise.
6570 [cross-compiling] (librpcsvc-routines): Likewise.
6571 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6572 [cross-compiling] (omit-deps): Likewise.
6573 (sunrpc-CPPFLAGS): New variable.
6574 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6575 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6576 (cross-rpcgen-objs): New variable.
6577 (extra-objs): Append $(cross-rpcgen-objs).
6578 ($(cross-rpcgen-objs)): New rule.
6579 ($(objpfx)cross-rpcgen): Likewise.
6580 (rpcgen-cmd): Define to use $(built-program-file). Expand
6582 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6583 ($(objpfx)x%.stmp): Likewise.
6584 * sunrpc/proto.h [IS_IN_build] (_): Define.
6585 [IS_IN_build] (_libc_intl_domainname): Likewise.
6587 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6590 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6591 and R_X86_64_TPOFF64.
6593 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6595 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6596 sysdeps/unix/sysv/syscalls.list.
6599 * sysdeps/unix/sysv/syscalls.list: Remove file.
6601 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6604 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6605 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6606 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6607 (__LC_IDENTIFICATION): Make these macros useful in #if
6608 expressions, as required by C99.
6610 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6612 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6613 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6616 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6618 * stdlib/longlong.h: Updated from GCC.
6620 2012-05-09 Andreas Jaeger <aj@suse.de>
6622 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6623 default is first entry.
6624 (run_mode): Set type.
6625 (main): Remove informal message about syslog.
6626 (options): Fix typo.
6629 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6632 (llrintf): Likewise.
6636 (nearbyint): Likewise.
6637 (nearbyintf): Likewise.
6639 2012-05-09 Andreas Jaeger <aj@suse.de>
6640 Pedro Alves <palves@redhat.com>
6642 * nscd/nscd.c (run_mode): Use enum.
6643 (main): Cleanup coding style issue.
6645 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6646 Andreas Jaeger <aj@suse.de>
6648 * nscd/nscd.c (go_background): Replaced with...
6649 (run_mode): ... this.
6650 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6651 (options): Add -F --foreground.
6652 (main): Implement it.
6653 (parse_opt): Parse it.
6655 2012-05-09 Andreas Jaeger <aj@suse.de>
6658 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6659 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6660 -Wconversion warning.
6661 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6664 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6666 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6668 (LC_ALL): Use macro-int-constant.
6669 (LC_COLLATE): Likewise.
6670 (LC_CTYPE): Likewise.
6671 (LC_MESSAGES): Likewise.
6672 (LC_MONETARY): Likewise.
6673 (LC_NUMERIC): Likewise.
6674 (LC_TIME): Likewise.
6675 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6676 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6678 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6680 [C99-based standards] (float_t): Expect type.
6681 [C99-based standards] (double_t): Expect type.
6682 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6684 [C99-based standards] (HUGE_VALL): Likewise.
6685 [C99-based standards] (INFINITY): Likewise.
6686 [C99-based standards] (NAN): Likewise.
6687 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6688 [C99-based standards] (FP_NAN): Likewise.
6689 [C99-based standards] (FP_NORMAL): Likewise.
6690 [C99-based standards] (FP_SUBNORMAL): Likewise.
6691 [C99-based standards] (FP_ZERO): Likewise.
6692 [C99-based standards] (FP_FAST_FMA): Use
6693 optional-macro-int-constant. Specify type. Require == 1.
6694 [C99-based standards] (FP_FAST_FMAF): Likewise.
6695 [C99-based standards] (FP_FAST_FMAL): Likewise.
6696 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6697 [C99-based standards] (FP_ILOGBNAN): Likewise.
6698 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6700 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6701 [C99-based standards] (math_errhandling): Specify type.
6702 [ISO99 || ISO11] (signgam): Do not allow.
6703 [non-C99-based standards] (copysignf): Do not allow.
6704 [non-C99-based standards] (exp2f): Likewise.
6705 [non-C99-based standards] (log2f): Likewise.
6706 [non-C99-based standards] (modff): Allow.
6707 [non-C99-based standards] (erff): Do not allow.
6708 [non-C99-based standards] (erfcf): Likewise.
6709 [non-C99-based standards] (gammaf): Likewise.
6710 [non-C99-based standards] (hypotf): Likewise.
6711 [non-C99-based standards] (j0f): Likewise.
6712 [non-C99-based standards] (j1f): Likewise.
6713 [non-C99-based standards] (jnf): Likewise.
6714 [non-C99-based standards] (lgammaf): Likewise.
6715 [non-C99-based standards] (tgammaf): Likewise.
6716 [non-C99-based standards] (y0f): Likewise.
6717 [non-C99-based standards] (y1f): Likewise.
6718 [non-C99-based standards] (ynf): Likewise.
6719 [non-C99-based standards] (isnanf): Likewise.
6720 [non-C99-based standards] (acoshf): Likewise.
6721 [non-C99-based standards] (asinhf): Likewise.
6722 [non-C99-based standards] (atanhf): Likewise.
6723 [non-C99-based standards] (cbrtf): Likewise.
6724 [non-C99-based standards] (expm1f): Likewise.
6725 [non-C99-based standards] (ilogbf): Likewise.
6726 [non-C99-based standards] (log1pf): Likewise.
6727 [non-C99-based standards] (logbf): Likewise.
6728 [non-C99-based standards] (nextafterf): Likewise.
6729 [non-C99-based standards] (remainderf): Likewise.
6730 [non-C99-based standards] (rintf): Likewise.
6731 [non-C99-based standards] (scalbf): Likewise.
6732 [non-C99-based standards] (copysignl): Likewise.
6733 [non-C99-based standards] (exp2l): Likewise.
6734 [non-C99-based standards] (log2l): Likewise.
6735 [non-C99-based standards] (modfl): Allow.
6736 [non-C99-based standards] (erfl): Do not allow.
6737 [non-C99-based standards] (erfcl): Likewise.
6738 [non-C99-based standards] (gammal): Likewise.
6739 [non-C99-based standards] (hypotl): Likewise.
6740 [non-C99-based standards] (j0l): Likewise.
6741 [non-C99-based standards] (j1l): Likewise.
6742 [non-C99-based standards] (jnl): Likewise.
6743 [non-C99-based standards] (lgammal): Likewise.
6744 [non-C99-based standards] (tgammal): Likewise.
6745 [non-C99-based standards] (y0l): Likewise.
6746 [non-C99-based standards] (y1l): Likewise.
6747 [non-C99-based standards] (ynl): Likewise.
6748 [non-C99-based standards] (isnanl): Likewise.
6749 [non-C99-based standards] (acoshl): Likewise.
6750 [non-C99-based standards] (asinhl): Likewise.
6751 [non-C99-based standards] (atanhl): Likewise.
6752 [non-C99-based standards] (cbrtl): Likewise.
6753 [non-C99-based standards] (expm1l): Likewise.
6754 [non-C99-based standards] (ilogbl): Likewise.
6755 [non-C99-based standards] (log1pl): Likewise.
6756 [non-C99-based standards] (logbl): Likewise.
6757 [non-C99-based standards] (nextafterl): Likewise.
6758 [non-C99-based standards] (remainderl): Likewise.
6759 [non-C99-based standards] (rintl): Likewise.
6760 [non-C99-based standards] (scalbl): Likewise.
6761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6762 [non-C99-based standards] (FP_*): Do not allow.
6763 [C99-based standards] (FP_*): Change to
6764 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6765 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6767 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6768 (SIG_ERR): Likewise.
6769 [X/Open-based standards] (SIG_HOLD): Likewise.
6770 (SIG_IGN): Likewise.
6771 (SIGABRT): Use macro-int-constant. Specify type. Require
6776 (SIGSEGV): Likewise.
6778 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6779 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6780 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6781 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6782 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6783 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6784 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6785 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6786 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6787 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6788 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6789 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6790 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6791 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6792 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6793 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6794 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6795 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6796 [X/Open-based standards] (SIGTRAP): Likewise.
6797 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6798 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6799 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6800 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6801 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6804 2012-05-08 Ian Wienand <ianw@vmware.com>
6807 * time/tzset.c (__tzset_parse_tz): Update default rules for
6808 daylight time changes in the Energy Policy Act of 2005.
6810 2012-05-09 Andreas Jaeger <aj@suse.de>
6813 * elf/ldconfig.c (parse_conf): Change string to make clear that
6814 ldconfig only issued a warning if ld.so.conf does not exist.
6816 2012-05-08 David S. Miller <davem@davemloft.net>
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6819 movxtod instead of popping the value on the stack.
6821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6823 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6825 * config.h.in: Add HAVE_ARM_PCS_VFP.
6827 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6830 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6831 checking but the checks are disabled for any reason.
6833 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6835 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6836 and ELF64_R_TYPE with ELFW(R_TYPE).
6838 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6840 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6843 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6844 (settimeofday): Likewise.
6846 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6848 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6849 a struct th_u2 inside the union, and move tu_block/tu_code into
6850 a new th_u3 union of tu_block/tu_code inside of that. Move
6851 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6852 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6853 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6854 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6855 (th_stuff): Change to th_u1.tu_stuff.
6857 (th_msg): Change to th_u1.th_u2.tu_data.
6859 2012-05-07 David S. Miller <davem@davemloft.net>
6861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6864 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6865 (SETUP_PIC_REG): Use it.
6866 (SETUP_PIC_REG_LEAF): Use it.
6868 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6874 (EXPL_FINITE): Likewise.
6876 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6877 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6879 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6881 (EXPL_FINITE): Likewise.
6883 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6884 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6886 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6887 test of -max_value argument for long double.
6888 * sysdeps/i386/fpu/libm-test-ulps: Update.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6891 2012-05-06 David S. Miller <davem@davemloft.net>
6893 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6894 quad soft-float symbols whose references which are compiler
6896 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6898 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6902 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6904 (EXPL_FINITE): Likewise.
6908 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6909 Adjust comments for base varying.
6910 (__expl_finite): Change alias to EXPL_FINITE.
6911 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6913 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6914 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6916 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6919 (EXPL_FINITE): Likewise.
6923 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6924 Adjust comments for base varying.
6925 (__expl_finite): Change alias to EXPL_FINITE.
6926 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6931 * math/libm-test.inc (check_float_internal): Correct ulp
6932 calculation for subnormal expected results.
6934 2012-05-06 Andreas Jaeger <aj@suse.de>
6936 * Makeconfig (+math-flags): New, set to -frounding-math.
6937 (+cflags): Add +math-flags so that all of glibc gets compiled with
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6942 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6944 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6950 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6951 (__ieee754_expl): Allow for and saturate large arguments.
6952 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6953 (u_threshold): Likewise.
6954 (__exp): Call __ieee754_exp before checking for overflow and
6956 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6957 (u_threshold): Likewise.
6958 (__expf): Call __ieee754_expf before checking for overflow and
6960 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6961 (u_threshold): Likewise.
6962 (__expl): Call __ieee754_expl before checking for overflow and
6964 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6965 (__ieee754_expl): Allow for and saturate large arguments.
6966 * math/libm-test.inc (exp_test): Add another test. Do not allow
6967 missing overflow exception on overflow.
6968 (expm1_test): Do not allow missing overflow exception on overflow.
6970 * sysdeps/i386/fpu/e_expl.c: Move to ...
6971 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6972 rather than using inline asm.
6973 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6974 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6975 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6977 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6984 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6986 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6987 sysdeps/unix/common/syscalls.list.
6990 (ftruncate): Likewise.
6991 (getrusage): Likewise.
6992 (gettimeofday): Likewise.
6993 (setpgid): Likewise.
6994 (setregid): Likewise.
6995 (setreuid): Likewise.
6996 (sigaction): Likewise.
6997 (truncate): Likewise.
6998 (vhangup): Likewise.
6999 * sysdeps/unix/common/syscalls.list: Remove file.
7000 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7001 * sysdeps/unix/sysv/linux/Implies: Likewise.
7003 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7005 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7007 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7011 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7014 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7017 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7020 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7023 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7026 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7029 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7033 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7037 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7040 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7044 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7048 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7050 * sysdeps/unix/common/bits/dirent.h: Remove file.
7051 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7053 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7054 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7055 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7056 * sysdeps/unix/bsd/isatty.c: Likewise.
7057 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7058 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7059 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7061 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7065 long double comparison inaccuracies.
7066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7069 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7071 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7074 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7078 nonzero digits before rounding a hex value.
7079 * stdlib/tst-strtod.c (tests): Add another test.
7081 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7083 * sysdeps/s390/fpu/libm-test-ulps: Update.
7085 2012-05-03 Andreas Jaeger <aj@suse.de>
7087 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7088 does not get optimized out.
7089 (malloc_opt_barrier): New.
7091 2012-05-03 Andreas Jaeger <aj@suse.de>
7092 Roland McGrath <roland@hack.frob.com>
7094 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7095 intermediate file deletion.
7096 (generated): Add .symlist files.
7098 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7101 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7102 Redirect under this condition.
7103 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7104 [__USE_GNU] (__dprintf_chk): Not under this condition.
7105 [__USE_GNU] (__vdprintf_chk): Likewise.
7106 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7107 under this condition.
7108 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7109 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7110 [__USE_XOPEN2K8] (vdprintf): Likewise.
7111 [__USE_GNU] (__dprintf_chk): Not under this condition.
7112 [__USE_GNU] (__vdprintf_chk): Likewise.
7113 [__USE_GNU] (dprintf): Likewise.
7114 [__USE_GNU] (vdprintf): Likewise.
7116 2012-05-03 Roland McGrath <roland@hack.frob.com>
7118 * elf/Makefile (common-generated): Set this instead of generated for
7119 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7120 $(all-built-dso)-derived lists.
7122 2012-05-03 Andreas Jaeger <aj@suse.de>
7124 * sysdeps/i386/fpu/libm-test-ulps: Update.
7128 * scripts/gen-FAQ.pl: Likewise.
7129 * manual/install.texi (Installation): Point to online location of
7131 * Makefile (files-for-dist): Remove FAQ.
7134 2012-05-02 Allan McRae <allan@archlinux.org>
7136 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7137 (LDFLAGS-reldepmod5.so): Likewise.
7138 (LDFLAGS-reldep6mod1.so): Likewise.
7139 (LDFLAGS-reldep6mod4.so): Likewise.
7140 (LDFLAGS-reldep8mod3.so): Likewise.
7141 (LDFLAGS-unload4mod1.so): Likewise.
7142 (LDFLAGS-unload4mod2.so): Likewise.
7143 (LDFLAGS-tst-initorder): Likewise.
7144 (LDFLAGS-tst-initordera2.so): Likewise.
7145 (LDFLAGS-tst-initordera3.so): Likewise.
7146 (LDFLAGS-tst-initordera4.so): Likewise.
7147 (LDFLAGS-tst-initorderb2.so): Likewise.
7148 (LDFLAGS-noload): Likewise.
7149 (LDFLAGS-next): Likewise.
7150 (LDFLAGS-order2mod1.so): Likewise.
7151 (LDFLAGS-order2mod2.so): Likewise.
7152 (LDFLAGS-tst-initorder2): Likewise.
7153 (LDFLAGS-tst-initorder2a.so): Likewise.
7154 (LDFLAGS-tst-initorder2b.so): Likewise.
7155 (LDFLAGS-tst-initorder2c.so): Likewise.
7156 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7158 2012-05-02 David S. Miller <davem@davemloft.net>
7160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7162 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7165 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7167 2012-05-02 Andreas Jaeger <aj@suse.de>
7169 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7170 since we manipulate rounding mode.
7171 (CPPFLAGS-test-idouble.c): Likewise.
7172 (CPPFLAGS-test-ifloat.c): Likewise.
7173 (CFLAGS-test-ldouble.c): Likewise.
7174 (CFLAGS-test-double.c): Likewise.
7175 (CFLAGS-test-float.c): Likewise.
7176 (CFLAGS-test-misc.c): Likewise.
7177 (CFLAGS-test-test-fenv.c): Likewise.
7179 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7183 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7184 comparisons to determine direction to adjust input.
7186 2012-05-01 Roland McGrath <roland@hack.frob.com>
7188 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7189 output to the target.
7191 * scripts/localplt.awk: New file.
7192 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7193 (check-localplt-CFLAGS): Variable removed.
7194 ($(all-built-dso:=.jmprel)): New static pattern rule.
7195 (generated): Add those targets.
7196 (localplt-built-dso): New variable.
7197 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7199 * elf/check-localplt.c: File removed.
7201 * scripts/check-execstack.awk: New file.
7202 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7203 (check-execstack-CFLAGS): Variable removed.
7204 ($(objpfx)check-execstack.h): Target removed.
7205 ($(objpfx)execstack-default): New target.
7206 (generated): Add that instead of check-execstack.h.
7207 ($(all-built-dso:=.phdr)): New static pattern rule.
7208 (generated): Add those targets.
7209 * elf/check-execstack.c: File removed.
7211 * scripts/check-textrel.awk: New file.
7212 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7213 (check-textrel-CFLAGS): Variable removed.
7214 (all-built-dso): Use := to define.o
7215 ($(all-built-dso:=.dyn)): New static pattern rule.
7216 (generated): Add those targets.
7217 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7218 * config.make.in (READELF): New substituted variable.
7219 * elf/check-textrel.c: File removed.
7221 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7223 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7225 * conform/data/ctype.h-data [C99-based standards] (isblank):
7227 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7228 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7230 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7231 Specify type. Require positive value.
7234 [ISO || POSIX] (EILSEQ): Do not expect.
7235 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7236 Specify type. Require positive value.
7237 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7238 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7239 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7241 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7242 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7243 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7244 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7245 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7246 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7247 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7248 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7249 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7251 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7252 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7253 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7254 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7256 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7258 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7259 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7281 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7288 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7295 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7296 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7301 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7302 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7303 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7304 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7311 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7312 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7313 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7315 (FLT_ROUNDS): Expect as macro, not constant.
7316 (FLT_MANT_DIG): Use macro-int-constant.
7317 (DBL_MANT_DIG): Likewise.
7318 (LDBL_MANT_DIG): Likewise.
7319 (FLT_DIG): Likewise.
7320 (DBL_DIG): Likewise.
7321 (LDBL_DIG): Likewise.
7322 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7323 (DBL_MIN_EXP): Likewise.
7324 (LDBL_MIN_EXP): Likewise.
7325 (FLT_MAX_EXP): Use macro-int-constant.
7326 (DBL_MAX_EXP): Likewise.
7327 (LDBL_MAX_EXP): Likewise.
7328 (FLT_MAX_10_EXP): Likewise.
7329 (DBL_MAX_10_EXP): Likewise.
7330 (LDBL_MAX_10_EXP): Likewise.
7331 (FLT_MAX): Use macro-constant.
7332 (DBL_MAX): Likewise.
7333 (LDBL_MAX): Likewise.
7334 (FLT_EPSILON): Use macro-constant. Give upper bound.
7335 (DBL_EPSILON): Likewise.
7336 (LDBL_EPSILON): Likewise.
7337 (FLT_MIN): Likewise.
7338 (DBL_MIN): Likewise.
7339 (LDBL_MIN): Likewise.
7340 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7341 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7342 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7343 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7344 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7345 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7346 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7347 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7348 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7349 [ISO11] (FLT_TRUE_MIN): Likewise.
7350 [ISO11] (LDBL_TRUE_MIN): Likewise.
7351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7352 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7353 (SCHAR_MIN): Use macro-int-constant. Specify type.
7354 (SCHAR_MAX): Likewise.
7355 (UCHAR_MAX): Likewise.
7356 (CHAR_MIN): Likewise.
7357 (CHAR_MAX): Likewise.
7358 (MB_LEN_MAX): Use macro-int-constant.
7359 (SHRT_MIN): Use macro-int-constant. Specify type.
7360 (SHRT_MAX): Likewise.
7361 (USHRT_MAX): Likewise.
7362 (INT_MAX): Likewise.
7363 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7365 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7367 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7369 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7370 bound negative. Suffix upper bound with "L".
7371 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7373 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7375 [C99-based standards] (LLONG_MAX): Likewise.
7376 [C99-based standards] (ULLONG_MAX): Likewise.
7377 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7379 [ISO11] (max_align_t): Require type.
7380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7382 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7383 from $CFLAGS, without defining away __attribute__ calls.
7384 (checknamespace): Use $CFLAGS_namespace.
7386 * conform/conformtest.pl (@keywords): Only include C99 keywords
7387 for standards based on C99 or C11.
7389 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7391 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7394 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7395 usability of symbols in #if.
7397 * conform/conformtest.pl: If macro or constant types start
7398 "promoted:", expect the symbol to be of the following type
7399 promoted by the integer promotions.
7401 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7402 in one place. Also handle "macro-constant".
7404 * conform/conformtest.pl: Only accept expected macro values with
7405 "==". Parse all "macro" lines in one place.
7406 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7408 * conform/conformtest.pl: Handle braced types on "constant" lines
7409 instead of handling "typed-constant".
7410 * conform/data/signal.h-data: Use "constant" instead of
7413 * conform/conformtest.pl: Handle "optional-" at start of lines in
7414 one place rather than duplicating several cases. Handle each
7415 format of "macro" line with initial "optional-".
7417 * conform/conformtest.pl: Only accept expected constant or
7418 optional-constant values with "==". Parse all "constant" lines in
7419 one place. Parse all "optional-constant" lines in one place.
7420 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7421 * conform/data/fmtmsg.h-data: Likewise.
7422 * conform/data/netinet/in.h-data: Likewise.
7423 * conform/data/tar.h-data: Likewise.
7424 * conform/data/limits.h-data: Use "==" form on "constant" and
7425 "optional-constant" lines.
7427 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7428 Use -std=c99 for XOPEN2K.
7429 (@knownproblems): Remove.
7430 (newtoken): Don't check %isknown.
7432 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7433 Do not expect macro.
7434 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7446 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7447 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7448 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7449 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7452 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7453 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7464 [XPG3] (acosh): Likewise.
7465 [XPG3] (asinh): Likewise.
7466 [XPG3] (atanh): Likewise.
7467 [XPG3] (cbrt): Likewise.
7468 [XPG3] (expm1): Likewise.
7469 [XPG3] (ilogb): Likewise.
7470 [XPG3] (log1p): Likewise.
7471 [XPG3] (logb): Likewise.
7472 [XPG3] (nextafter): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7475 [XPG3] (remainder): Likewise.
7476 [XPG3] (rint): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7484 [UNIX98 || XOPEN2K] (scalb): Expect.
7485 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7486 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7530 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7554 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7555 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7556 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7559 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7560 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7568 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7569 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7570 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7604 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7605 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7606 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7607 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7608 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7609 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7610 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7611 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7612 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7613 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7614 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7615 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7616 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7617 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7618 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7619 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7620 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7621 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7623 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7624 _XOPEN_SOURCE_EXTENDED for XPG4.
7626 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7628 * Makeconfig (localtime): Remove variable.
7629 (inst_localtime-file): Likewise.
7631 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7652 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7656 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7657 comparisons to determine direction to adjust input.
7658 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7659 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7664 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7666 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7667 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7669 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7671 * math/libm-test.inc (nexttoward_test): Add more tests.
7673 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7677 in version GLIBC_2.1, not GLIBC_2.0.
7678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7681 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7684 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7686 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7687 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7688 * math/libm-test.inc (acos_test): Add more tests.
7689 (asin_test): Likewise.
7690 * sysdeps/i386/fpu/libm-test-ulps: Update.
7691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7694 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7696 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7697 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7698 * math/libm-test.inc (acos_test_tonearest): New function.
7699 (acos_test_towardzero): Likewise.
7700 (acos_test_downward): Likewise.
7701 (acos_test_upward): Likewise.
7702 (asin_test_tonearest): Likewise.
7703 (asin_test_towardzero): Likewise.
7704 (asin_test_downward): Likewise.
7705 (asin_test_upward): Likewise.
7706 (main): Call the new functions.
7707 * sysdeps/i386/fpu/libm-test-ulps: Update.
7708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7712 * math/e_exp10.c: Include <float.h>.
7713 (__ieee754_exp10): Handle underflow here rather than multiplying
7714 large negative argument by M_LN10.
7715 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7717 * math/e_exp10l.c: Include <float.h>.
7718 (__ieee754_exp10l): Handle underflow here rather than multiplying
7719 large negative argument by M_LN10l.
7720 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7721 spurious overflow exception on underflow.
7723 2012-04-29 Marek Polacek <polacek@redhat.com>
7725 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7726 (__fortify_function): New macro.
7727 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7728 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7729 __extern_always_inline.
7730 * libio/bits/stdio2.h: Likewise.
7731 * libio/bits/stdio.h: Likewise.
7732 * string/string.h: Likewise.
7733 * string/bits/string3.h: Likewise.
7734 * include/stdio.h: Likewise.
7735 * stdlib/bits/stdlib.h: Likewise.
7736 * stdlib/stdlib.h: Likewise.
7737 * rt/bits/mqueue2.h: Likewise.
7738 * rt/mqueue.h: Likewise.
7739 * posix/bits/unistd.h: Likewise.
7740 * posix/unistd.h: Likewise.
7741 * io/bits/poll2.h: Likewise.
7742 * io/bits/fcntl2.h: Likewise.
7743 * io/fcntl.h: Likewise.
7744 * io/sys/poll.h: Likewise.
7745 * misc/bits/syslog.h: Likewise.
7746 * misc/bits/syslog-ldbl.h: Likewise.
7747 * misc/sys/syslog.h: Likewise.
7748 * socket/bits/socket2.h: Likewise.
7749 * socket/sys/socket.h: Likewise.
7750 * debug/tst-chk1.c: Likewise.
7751 * wcsmbs/bits/wchar2.h: Likewise.
7752 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7753 * wcsmbs/wchar.h: Likewise.
7755 2012-04-29 Andreas Jaeger <aj@suse.de>
7757 * Makerules (tests): Remove enable-check-abi protection.
7758 (check-abi-warn): Remove.
7759 (check-abi-%): Remove check-abi-warn usage.
7761 * configure.in: Remove check-abi configure option.
7762 * configure: Regenerated.
7763 * config.make.in (enable-check-abi): Remove.
7765 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7768 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7769 double functions to double *_finite functions.
7772 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7773 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7775 * stdio-common/Makefile (tests): Add tst-sprintf3.
7776 * stdio-common/tst-sprintf3.c: New file.
7778 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7779 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7781 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7783 * conform/conformtest.pl: Remove duplicate typed-constant
7786 2012-04-28 David S. Miller <davem@davemloft.net>
7788 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7789 (check-abi-%): Remove AWK script prerequisite and explicit
7791 (check-abi): Rewrite to just diff the symlist with the abilist.
7792 (config-tls, config-abi-config): Delete, no longer used.
7793 (update-abi-%): Remove AWK script and explicit abilist directory.
7794 (update-abi): Rewrite to simply compare and conditionally copy the
7795 symlist and the sysdep abilist file. Remove update-abi-config
7797 * abilist/ld.abilist: Remove.
7798 * abilist/libBrokenLocale.abilist: Remove.
7799 * abilist/libanl.abilist: Remove.
7800 * abilist/libcrypt.abilist: Remove.
7801 * abilist/libdl.abilist: Remove.
7802 * abilist/librt.abilist: Remove.
7803 * abilist/libthread_db.abilist: Remove.
7804 * abilist/libutil.abilist: Remove.
7805 * scripts/extract-abilist.awk: Remove.
7806 * scripts/merge-abilist.awk: Remove.
7807 * sysdeps/generic/libcidn.abilist: New file.
7808 * sysdeps/generic/libnss_compat.abilist: New file.
7809 * sysdeps/generic/libnss_db.abilist: New file.
7810 * sysdeps/generic/libnss_dns.abilist: New file.
7811 * sysdeps/generic/libnss_files.abilist: New file.
7812 * sysdeps/generic/libnss_hesiod.abilist: New file.
7813 * sysdeps/generic/libnss_nis.abilist: New file.
7814 * sysdeps/generic/libnss_nisplus.abilist: New file.
7815 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7816 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7817 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7819 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7820 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7821 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7822 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7823 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7824 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7825 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7826 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7827 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7829 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7830 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7831 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7832 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7834 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7835 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7836 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7837 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7838 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7839 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7841 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7842 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7843 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7845 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7948 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7949 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7950 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7953 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7954 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7955 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7956 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7957 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7958 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7959 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7960 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7961 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8013 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8015 * conform/conformtest.pl: Fix typo in handling typed-constant from
8018 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8020 * README: Cut down references to pre-2.6 Linux kernels and
8021 Linuxthreads. Update lists of configurations in libc and ports
8022 and sort alphabetically. Say "or newer" with Linux kernel version
8025 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8027 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8030 * math/libm-test.inc (logb_test_downward): New test to expose
8031 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8034 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8037 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8039 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8040 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8042 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8044 * sysdeps/unix/i386/brk.S: Remove file.
8045 * sysdeps/unix/i386/dl-brk.S: Likewise.
8046 * sysdeps/unix/i386/pipe.S: Likewise.
8047 * sysdeps/unix/i386/sigreturn.S: Likewise.
8048 * sysdeps/unix/i386/syscall.S: Likewise.
8049 * sysdeps/unix/i386/vfork.S: Likewise.
8050 * sysdeps/unix/i386/wait.S: Likewise.
8052 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8053 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8055 * configure.in (arm*-none*): Do not allow without
8056 --enable-hacker-mode.
8057 (netbsd*): Remove case setting base_os.
8058 (386bsd*): Likewise.
8059 (freebsd*): Likewise.
8063 (ultrix*): Likewise.
8064 (newsos*): Likewise.
8074 (solaris[2-9]*): Likewise.
8076 * configure: Regenerated.
8078 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8081 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8082 overflow or cancellation in calculating denominator.
8083 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8084 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8085 down expression to avoid unexpected rounding in newer GCCs.
8086 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8088 2012-04-26 David S. Miller <davem@davemloft.net>
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8091 long-double compat symbols.
8092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8106 2012-04-25 David S. Miller <davem@davemloft.net>
8108 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8109 HWCAP_* values only after the memory barriers have been defined.
8110 (atomic_full_barrier): Define.
8111 (atomic_read_barrier): Define.
8112 (atomic_write_barrier): Define.
8114 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8116 * shlib-versions: Add libgcc_s version information.
8117 * sysdeps/generic/libgcc_s.h: Remove.
8118 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8120 * sysdeps/gnu/unwind-resume.c: Likewise.
8121 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8123 2012-04-25 David S. Miller <davem@davemloft.net>
8125 * sysdeps/unix/sparc/brk.S: Delete.
8126 * sysdeps/unix/sparc/dl-brk.S: Delete.
8127 * sysdeps/unix/sparc/pipe.S: Delete.
8128 * sysdeps/unix/sparc/sysdep.S: Delete.
8129 * sysdeps/unix/sparc/sysdep.h: Delete.
8130 * sysdeps/unix/sparc/vfork.S: Delete.
8131 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8132 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8133 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8134 ret_ERRVAL, r0, r1, MOVE): Define.
8135 (JUMPTARGET): Remove.
8136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8137 sysdeps/unix/sparc/sysdep.h
8138 (ENTRY, END): Remove.
8139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8141 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8143 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8144 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8147 * timezone/README: Update upstream location and email address for
8149 * timezone/zdump.c: Update from tzcode 2012b.
8150 * timezone/zic.c: Likewise.
8152 * configure.in (libc_cv_as_needed): Remove test.
8153 * configure: Regenerated.
8154 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8155 conditional definition.
8156 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8157 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8158 * config.make.in (have-as-needed): Remove variable.
8160 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8161 Paul Pluzhnikov <ppluzhnikov@google.com>
8163 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8166 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8168 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8169 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8170 * sysdeps/sh/strlen.S: Likewise.
8172 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8174 * sysdeps/unix/fork.S: Remove file.
8175 * sysdeps/unix/i386/fork.S: Likewise.
8176 * sysdeps/unix/sparc/fork.S: Likewise.
8178 * sysdeps/unix/system.c: Remove file.
8179 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8181 * sysdeps/unix/getegid.S: Remove file.
8182 * sysdeps/unix/geteuid.S: Likewise.
8184 2012-04-24 Roland McGrath <roland@hack.frob.com>
8186 * scripts/check-localplt.awk: New file.
8187 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8189 * scripts/data/localplt-generic.data: Add a comment.
8191 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8192 NODE when __dir_mkfile failed.
8193 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8194 Reported by Ludovic Courtès <ludo@gnu.org>.
8196 2012-04-24 Andreas Jaeger <aj@suse.de>
8198 * Makerules (common-clean): Also remove gen-as-const-headers
8201 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8203 * Makerules (native-compile): Do not change working directory for
8204 build. Use $(OUTPUT_OPTION) in command.
8205 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8207 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8210 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8211 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8212 * math/libm-test.inc (floor_test): Add more tests.
8213 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8215 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8217 * sysdeps/unix/getdents.c: Remove file.
8218 * sysdeps/unix/sysv/getdents.c: Likewise.
8219 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8221 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8222 sysdeps/unix/mman/syscalls.list.
8224 (mprotect): Likewise.
8227 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8228 * sysdeps/unix/mman/syscalls.list: Remove.
8229 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8231 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8232 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8233 * configure: Regenerated.
8234 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8236 * config.make.in (libgcc_s_suffix): Remove variable.
8238 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8240 * sysdeps/unix/sysv/gethostname.c: Move to ...
8241 * sysdeps/posix/gethostname.c: ... here.
8243 * sysdeps/unix/execve.S: Remove file.
8245 * sysdeps/unix/_exit.S: Remove file.
8247 2012-04-23 Andreas Jaeger <aj@suse.de>
8250 * manual/Makefile: Remove make dist support, there's no
8251 need for a stand-alone documentation tar ball.
8252 (TEXI2DVI): Define always, it's not in Makeconfig.
8256 (glibc-doc-$(edition).tar): Removed
8260 (ETAGS): Remove, it's in Makeconfig.
8261 (move-if-change): Remove, it's in Makeconfig.
8263 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8266 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8267 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8268 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8269 (strtod_l, strtof_l, strtold_l): Remove __wur.
8270 It is not necessarily an error to ignore strtol's return value.
8271 One can reliably look at the stored endptr to decide whether
8272 the number had valid syntax.
8274 2012-04-21 Andreas Jaeger <aj@suse.de>
8277 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8279 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8281 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8282 * sysdeps/unix/sysv/Versions: Remove file.
8284 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8289 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8293 version from __vm86.
8295 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8297 * sysdeps/unix/common/lxstat.c: Remove file.
8298 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8300 * sysdeps/unix/sysv/Makefile: Remove file.
8302 * sysdeps/unix/sysv/direct.h: Remove file.
8304 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8305 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8306 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8307 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8308 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8309 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8310 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8312 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8314 * sysdeps/unix/xmknod.c: Remove file.
8315 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8317 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8319 * sysdeps/unix/sysv/i386/time.S: Remove file.
8321 * sysdeps/unix/fxstat.c: Remove file.
8322 * sysdeps/unix/xstat.c: Likewise.
8323 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8325 * sysdeps/unix/sysv/sigaction.c: Remove file.
8327 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8328 (sysdep_headers): Remove variable.
8329 [termio.h not in sysdep_headers] (generated): Likewise.
8330 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8331 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8332 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8333 * sysdeps/unix/sysv/tcflow.c: Likewise.
8334 * sysdeps/unix/sysv/tcflush.c: Likewise.
8335 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8336 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8337 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8338 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8339 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8341 * sysdeps/unix/siglist.c: Remove file.
8343 * sysdeps/unix/getppid.S: Remove file.
8345 * sysdeps/unix/mkdir.c: Remove file.
8346 * sysdeps/unix/rmdir.c: Likewise.
8348 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8350 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8353 errlist-compat value.
8355 2012-04-18 David S. Miller <davem@davemloft.net>
8357 * sysdeps/generic/memcopy.h (reg_char): Delete.
8358 * debug/strcat_chk.c: Use char, not reg_char.
8359 * debug/strcpy_chk.c: Likewise.
8360 * debug/strncat_chk.c: Likewise.
8361 * debug/strncpy_chk.c: Likewise.
8362 * string/memchr.c: Likewise.
8363 * string/memrchr.c: Likewise.
8364 * string/rawmemchr.c: Likewise.
8365 * string/strcat.c: Likewise.
8366 * string/strchr.c: Likewise.
8367 * string/strchrnul.c: Likewise.
8368 * string/strcmp.c: Likewise.
8369 * string/strcpy.c: Likewise.
8370 * string/strncat.c: Likewise.
8371 * string/strncmp.c: Likewise.
8372 * string/strncpy.c: Likewise.
8374 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8376 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8377 __builtin_memcopy is called when src and dest ranges are known to not
8380 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8382 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8383 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8384 fwd_align_merge macro call.
8385 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8386 bwd_align_merge macro call.
8387 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8389 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8391 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8392 bwd_align_merge macros.
8393 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8394 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8395 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8397 2012-04-18 David S. Miller <davem@davemloft.net>
8399 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8401 2012-04-18 Andreas Jaeger <aj@suse.de>
8404 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8405 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8408 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8409 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8410 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8412 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8413 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8414 Adjust for changed ldbl-128 files.
8416 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8417 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8418 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8420 2012-04-17 David S. Miller <davem@davemloft.net>
8422 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8424 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8426 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8427 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8428 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8429 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8430 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8431 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8433 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8436 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8437 * math/libm-test.inc: Add ilogb errno and exception tests.
8438 * math/w_ilogb.c: New file: ilogb wrapper.
8439 * math/w_ilogbf.c: New file: ilogbf wrapper.
8440 * math/w_ilogbl.c: New file: ilogbl wrapper.
8441 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8442 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8443 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8444 exception being thrown with 0.0 as argument.
8445 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8446 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8447 exception being thrown with 0.0 as argument.
8448 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8449 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8450 exception being thrown with 0.0 as argument.
8451 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8452 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8453 exception being thrown with 0.0 as argument.
8454 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8455 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8457 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8458 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8459 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8460 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8461 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8462 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8464 2012-04-17 Petr Baudis <pasky@ucw.cz>
8466 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8469 2012-04-16 Marek Polacek <polacek@redhat.com>
8471 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8473 2012-04-16 Marek Polacek <polacek@redhat.com>
8475 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8476 operands of fdivp instruction.
8478 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8480 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8481 * elf/tst-auditmod3b.c: Likewise.
8482 * elf/tst-auditmod4b.c: Likewise.
8483 * elf/tst-auditmod5b.c: Likewise.
8484 * elf/tst-auditmod6b.c: Likewise.
8485 * elf/tst-auditmod6c.c: Likewise.
8486 * elf/tst-auditmod7b.c: Likewise.
8487 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8488 * sysdeps/x86_64/preconfigure.in: Likewise.
8489 * sysdeps/x86_64/preconfigure: Regenerated.
8491 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8493 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8496 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8499 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8501 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8504 * locale/iso-639.def: Fix gl language name. Spotted by
8507 2012-04-12 Roland McGrath <roland@hack.frob.com>
8510 * libio/libio.h (__io_write_fn): Update comment.
8512 2012-04-12 Petr Baudis <pasky@ucw.cz>
8515 * stdio.texi (Hook Functions): The user provided writer function
8516 is not allowed to return -1.
8518 2012-04-11 David S. Miller <davem@davemloft.net>
8520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8522 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8524 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8525 Add a leading slash to rtkaio.
8527 2012-04-11 Jim Meyering <meyering@redhat.com>
8530 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8531 It is not necessarily an error to ignore fwrite's return
8532 value. One can reliably use ferror to test for errors after
8535 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8537 * bits/types.h (__snseconds_t): New type.
8538 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8540 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8542 (__SNSECONDS_T_TYPE): Likewise.
8543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8544 (__SNSECONDS_T_TYPE): Likewise.
8545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8546 (__SNSECONDS_T_TYPE): Likewise.
8548 2012-04-10 Andreas Jaeger <aj@suse.de>
8551 * manual/time.texi (Processor Time): Return type of times is
8552 elapsed real time since an arbitrary point in the past.
8553 (CPU Time): Move CLK_TCK from here...
8554 (Processor Time): ...to here. Correct description.
8555 * manual/conf.texi (Constants for Sysconf): Correct description of
8558 2012-04-10 David S. Miller <davem@davemloft.net>
8561 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8562 where the is a gap between DT_REL(A) and DT_JMPREL.
8564 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8566 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8567 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8568 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8570 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8572 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8573 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8574 (dl_main): Handle --inhibit-cache.
8575 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8577 * elf/dl-load.c (_dl_map_object): Use it.
8578 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8580 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8583 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8584 (__ieee754_powl): Saturate large exponents rather than testing for
8585 overflow of y*log2(x).
8586 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8587 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8591 * math/s_ctan.c: Include <float.h>.
8592 (__ctan): Avoid internal overflow or cancellation in calculating
8594 * math/s_ctanf.c: Likewise.
8595 * math/s_ctanl.c: Likewise.
8596 * math/s_ctanh.c: Likewise.
8597 * math/s_ctanhf.c: Likewise.
8598 * math/s_ctanhl.c: Likewise.
8599 * math/libm-test.inc (ctan_test): Add more tests.
8600 (ctanh_test): Likewise.
8601 * sysdeps/i386/fpu/libm-test-ulps: Update.
8602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8604 2012-04-09 Andreas Jaeger <aj@suse.de>
8607 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8608 is an optional BSD extension.
8611 * manual/stdio.texi (Opening Streams): Document additional fopen
8614 2012-04-09 Roland McGrath <roland@hack.frob.com>
8616 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8617 %eax without telling the compiler.
8619 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8622 * manual/install.texi: Use sourceware.org.
8624 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8627 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8628 (__ieee754_pow): Generate overflow and underflow using huge*huge
8629 and tiny*tiny rather than just returning constant infinity or zero
8630 for large exponents.
8631 * math/libm-test.inc (pow_test): Require overflow exceptions for
8632 applicable cases of large exponents.
8635 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8636 (__ieee754_pow): Use iterative multiplication algorithm only for
8637 integer exponents with absolute value below 1024. Check for odd
8638 integer exponents when using algorithm for real exponents.
8639 * math/libm-test.inc (pow_test): Add more tests.
8640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8642 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8645 * math/libm-test.inc (exp_test): Do not allow overflow exception
8648 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8651 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8652 instead of __kernel_standard_f.
8654 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8656 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8657 * sysdeps/x86_64/memset_chk.S: Likewise.
8659 2012-04-08 Andreas Jaeger <aj@suse.de>
8662 * manual/startup.texi (Environment Access): Describe return value
8663 for putenv and setenv.
8666 * manual/filesys.texi (Directory Entries): Add description for
8670 * manual/filesys.texi (Directory Entries): Clarify that it's file
8671 system not operating system in the description of DT_UNKNOWN.
8674 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8676 2012-04-08 Stephen Compall <s11@member.fsf.org>
8679 * manual/llio.texi (Opening and Closing Files): Add cross
8680 reference to explain mode argument.
8682 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8684 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8685 * sysdeps/x86_64/memset_chk.S: Likewise.
8687 2012-04-07 David S. Miller <davem@davemloft.net>
8689 * elf/elf.h (R_SPARC_WDISP10): Define.
8690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8692 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8693 R_SPARC_SIZE64 and R_SPARC_H34.
8695 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8698 conditions and remove no longer applicable assertion.
8700 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8702 * bits/byteswap.h: Include <features.h>.
8703 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8704 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8706 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8708 * bits/byteswap.h (__bswap_16): Removed.
8709 Include <bits/byteswap-16.h> to get __bswap_16.
8710 * sysdeps/i386/bits/byteswap.h: Likewise.
8711 * sysdeps/s390/bits/byteswap.h: Likewise.
8712 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8713 * bits/byteswap-16.h: New file.
8714 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8715 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8716 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8717 * string/Makefile (headers): Add bits/byteswap-16.h.
8719 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8722 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8724 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8725 * nss/tst-nss-static.c: New.
8727 2012-04-06 Robert Millan <rmh@gnu.org>
8730 * manual/llio.texi (File Position Primitive): lseek
8731 refers to WHENCE when it really means OFFSET.
8733 2012-04-06 Andreas Jaeger <aj@suse.de>
8735 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8736 strncmp declarations.
8738 * abilist/libc.abilist: Add __poll and __ppoll.
8740 2012-04-05 David S. Miller <davem@davemloft.net>
8742 * scripts/check-local-headers.sh: Accept a host triplet in the
8743 path matched by the exclude regexp.
8745 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8747 * sysdeps/powerpc/powerpc32/dl-machine.h
8748 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8749 * sysdeps/s390/s390-32/dl-machine.h
8750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8751 * sysdeps/sparc/sparc32/dl-machine.h
8752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8753 * sysdeps/sparc/sparc64/dl-machine.h
8754 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8756 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8758 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8759 undefined symbol errors.
8761 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8764 2012-04-05 Michael Matz <matz@suse.de>
8767 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8769 2012-04-05 Andreas Jaeger <aj@suse.de>
8772 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8775 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8777 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8778 which ROUND is no valid rounding mode.
8780 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8782 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8784 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8786 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8788 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8789 an exception using FPU order intentionally.
8791 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8793 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8794 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8795 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8796 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8798 2012-04-05 Simon Josefsson <simon@josefsson.org>
8801 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8802 EINVAL when BUFLEN is too smal.
8804 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8807 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8808 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8810 2012-04-03 Andreas Jaeger <aj@suse.de>
8813 * manual/setjmp.texi (System V contexts): Fix sentence.
8816 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8817 New macro for this case.
8818 [!__GNUC__] (__bswap_64): New inline function for this case.
8819 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8820 * bits/byteswap.h: Likewise.
8821 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8822 ull, guard with __GLIBC_HAVE_LONG_LONG.
8824 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8825 __GLIBC_HAVE_LONG_LONG.
8827 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8828 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8830 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8833 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8834 inptr and inend, rather than using last_ch.
8836 2012-04-02 David S. Miller <davem@davemloft.net>
8838 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8839 * stdio-common/printf-parse.h (read_int): Change return type to
8840 'int', return -1 on INT_MAX overflow.
8841 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8842 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8843 overflows INT_MAX. Check for overflow of in-format-string precision
8844 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8845 SIZE_MAX not INT_MAX for integer overflow test.
8846 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8847 skip the construct in the format string but do not record anything.
8848 * stdio-common/bug22.c: Adjust to test both width/prevision
8849 INT_MAX overflow as well as total length INT_MAX overflow. Check
8850 explicitly for proper errno values.
8852 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8854 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8856 * string/test-strcmp.c [! WIDE]: Likewise.
8857 * time/tst-mktime2.c: Likewise for INT_MAX.
8858 * string/test-string.h: #include <sys/param.h> for MIN.
8860 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8861 * sysdeps/i386/init-first.c (init): Likewise.
8862 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8863 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8864 * sysdeps/sh/init-first.c (init): Likewise.
8866 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8868 * po/ru.po: Update from translation team.
8869 * po/vi.po: Likewise.
8871 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8873 * resolv/nss_dns/dns-host.c: Merge copyright years.
8875 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8878 Optimize memcpy with prefetch if
8879 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8880 src, dst pointers have unequal 16 byte alignments.
8882 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8885 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8886 from a CNAME entry and return the minimum ttl for the query.
8887 (gaih_getanswer_slice): Likewise.
8889 2012-03-30 Jeff Law <law@redhat.com>
8891 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8893 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8894 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8896 * resolv/nss_dns/dns-host.c: Update copyright year.
8898 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8900 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8901 requests to save a system call. Fix check that all bytes are sent.
8903 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8904 comments for sendmmsg.
8906 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8909 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8910 with only 1 character between 0x0041 and 0x01b0.
8911 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8912 * wcsmbs/tst-mbsnrtowcs.c: New file.
8914 2012-03-29 David S. Miller <davem@davemloft.net>
8916 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8917 small copies by hand.
8919 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8922 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8923 _nss_compat_initgroups_dyn): Fall back to malloc/free
8924 for large group memberships.
8926 2012-03-28 David S. Miller <davem@davemloft.net>
8928 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8929 that branches into memcpy.
8930 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8931 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8933 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8936 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8938 * sysdeps/sparc/mempcpy.S: New file.
8940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8941 the IFUNC routine in the libc case.
8942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8944 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8945 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8946 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8947 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8948 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8949 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8950 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8951 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8953 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8954 loop to 256 bytes instead of 64 bytes and fix test signedness.
8956 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8957 * sysdeps/sparc/sparc32/Makefile: rather than here...
8958 * sysdeps/sparc/sparc64/Makefile: and here.
8960 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8962 * malloc/mallocbug.c: Avoid warnings about unused variables.
8964 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8967 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8968 in the right place. Discard and retry query if response is
8969 larger than input buffer size.
8971 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8976 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8977 x for large integer exponent.
8978 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8979 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8980 sign of result as needed afterwards.
8981 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8982 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8983 result for underflowing pow the same as for overflow.
8984 (__kernel_standard_l): Handle powl overflow and underflow here
8985 rather than calling __kernel_standard.
8986 * math/libm-test.inc (pow_test): Add more tests.
9001 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9002 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9003 (__kernel_standard_l): New function.
9004 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9006 * math/w_acosl.c (__acosl): Likewise.
9007 * math/w_asinl.c (__asinl): Likewise.
9008 * math/w_atan2l.c (__atan2l): Likewise.
9009 * math/w_atanhl.c (__atanhl): Likewise.
9010 * math/w_coshl.c (__coshl): Likewise.
9011 * math/w_exp10l.c (__exp10l): Likewise.
9012 * math/w_exp2l.c (__exp2l): Likewise.
9013 * math/w_fmodl.c (__fmodl): Likewise.
9014 * math/w_hypotl.c (__hypotl): Likewise.
9015 * math/w_j0l.c (__j0l, __y0l): Likewise.
9016 * math/w_j1l.c (__j1l, __y1l): Likewise.
9017 * math/w_jnl.c (__jnl, __ynl): Likewise.
9018 * math/w_lgammal.c (__lgammal): Likewise.
9019 * math/w_log10l.c (__log10l): Likewise.
9020 * math/w_log2l.c (__log2l): Likewise.
9021 * math/w_logl.c (__logl): Likewise.
9022 * math/w_powl.c (__powl): Likewise.
9023 * math/w_remainderl.c (__remainderl): Likewise.
9024 * math/w_scalbl.c (sysv_scalbl): Likewise.
9025 * math/w_sinhl.c (__sinhl): Likewise.
9026 * math/w_sqrtl.c (__sqrtl): Likewise.
9027 * math/w_tgammal.c (__tgammal): Likewise.
9028 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9029 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9030 * math/libm-test.inc (acos_test): Add more tests.
9031 (acosh_test): Likewise.
9032 (asin_test): Likewise.
9033 (atanh_test): Likewise.
9034 (exp_test): Likewise.
9035 (exp10_test): Likewise.
9036 (exp2_test): Likewise.
9037 (expm1_test): Likewise.
9038 (lgamma_test): Likewise.
9039 (log_test): Likewise.
9040 (log10_test): Likewise.
9041 (log1p_test): Likewise.
9042 (log2_test): Likewise.
9043 (pow_test): Do not allow some spurious overflow exceptions.
9044 (sqrt_test): Add more tests.
9045 (tgamma_test): Likewise.
9046 (y0_test): Likewise.
9047 (y1_test): Likewise.
9048 (yn_test): Likewise.
9050 2012-03-27 Anton Blanchard <anton@samba.org>
9052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9054 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9055 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9056 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9058 2012-03-27 David S. Miller <davem@davemloft.net>
9060 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9062 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9065 2012-03-27 Andreas Jaeger <aj@suse.de>
9067 * sysdeps/x86_64/elf/configure.in: Moved to ...
9068 * sysdeps/x86_64/configure.in: ... here.
9069 * sysdeps/x86_64/elf/start.S: Moved to ...
9070 * sysdeps/x86_64/start.S: ... here.
9071 * sysdeps/x86_64/elf/configure: Delete.
9073 * sysdeps/x86_64/configure.in: Merge contents from
9074 sysdeps/i386/configure.in (without i686 check).
9076 * sysdeps/i386/elf/Versions: Merge into ...
9077 * sysdeps/i386/Versions: ... this.
9078 * sysdeps/i386/elf/Versions: Delete file.
9079 * sysdeps/i386/elf/start.S: Moved to ...
9080 * sysdeps/i386/start.S: ...here.
9081 * sysdeps/i386/elf/configure.in: Merge into...
9082 * sysdeps/i386/configure.in: ...here.
9083 * sysdeps/i386/elf/configure.in: Delete file.
9084 * sysdeps/i386/elf/configure: Delete file.
9086 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9087 * debug/backtracesyms.c: ... here.
9088 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9089 * debug/backtracesymsfd.c: ... here.
9090 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9091 * sysdeps/generic/ifunc-sel.h: ... here.
9093 * sysdeps/unix/i386/start.c: Delete file.
9094 * sysdeps/unix/sparc/start.c: Delete file.
9095 * sysdeps/unix/start.c: Delete file.
9097 * sysdeps/sh/elf/configure.in: Moved to ...
9098 * sysdeps/sh/configure.in: ... here.
9099 * sysdeps/sh/elf/start.S: Moved to ...
9100 * sysdeps/sh/start.S: ... here.
9101 * sysdeps/sh/elf/configure: Delete file.
9103 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9104 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9105 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9106 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9107 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9108 * sysdeps/powerpc/powerpc64/start.S: here.
9109 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9110 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9111 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9112 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9113 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9115 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9116 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9117 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9118 * sysdeps/powerpc/powerpc32/start.S: ... here.
9119 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9120 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9121 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9123 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9124 * sysdeps/powerpc/ifunc-sel.h: ... here.
9125 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9126 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9128 * sysdeps/sparc/elf/configure.in: Moved to ...
9129 * sysdeps/sparc/configure.in: ... here.
9130 * sysdeps/sparc/elf/configure: Delete file.
9131 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9132 * sysdeps/sparc/sparc32/start.S: ... here.
9133 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9134 * sysdeps/sparc/sparc64/start.S: ... here.
9135 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9136 * sysdeps/sparc/sparc32/Makefile: ... this.
9137 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9138 * sysdeps/sparc/sparc64/Makefile: ... this.
9140 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9141 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9142 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9143 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9144 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9145 * sysdeps/s390/s390-32/setjmp.S: ... here.
9146 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9147 * sysdeps/s390/s390-32/configure.in: ... here.
9148 * sysdeps/s390/s390-32/elf/configure: Delete file.
9149 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9150 * sysdeps/s390/s390-32/start.S: ... here.
9152 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9153 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9154 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9155 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9156 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9157 * sysdeps/s390/s390-64/setjmp.S: ... here.
9158 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9159 * sysdeps/s390/s390-64/configure.in: ... here
9160 * sysdeps/s390/s390-64/elf/configure: Delete file.
9161 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9162 * sysdeps/s390/s390-64/start.S: ... here.
9163 * sysdeps/s390/s390-64/elf/configure: Delete.
9165 * configure.in: Remove support for elf directories in sysdeps.
9167 * configure: Regenerated.
9168 * sysdeps/i386/configure: Regenerated.
9169 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9170 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9171 * sysdeps/s390/s390-32/configure: Regenerated.
9172 * sysdeps/s390/s390-64/configure: Regenerated.
9173 * sysdeps/sh/configure: Regenerated.
9174 * sysdeps/sparc/configure: Regenerated.
9175 * sysdeps/x86_64/configure: Regenerated.
9177 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9182 denormal result into account.
9184 2012-03-25 Roland McGrath <roland@hack.frob.com>
9186 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9187 Reported by Allan McRae <allan@archlinux.org>.
9189 2012-03-23 Jeff Law <law@redhat.com>
9191 * nss/getnssent.c (__nss_getent): Fix typo.
9193 2012-03-23 David S. Miller <davem@davemloft.net>
9195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9197 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9199 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9200 to pad to uint64_t for each field.
9201 (dl_tls_index): Replace unsigned long with uint64_t.
9203 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9204 Paul Pluzhnikov <ppluzhnikov@google.com>
9207 * grp/Makefile (otherlibs): Don't set it.
9208 * inet/Makefile (otherlibs): Likewise.
9209 * login/Makefile (otherlibs): Likewise.
9210 * nscd/Makefile (otherlibs): Likewise.
9211 * posix/Makefile (otherlibs): Likewise.
9212 * pwd/Makefile (otherlibs): Likewise.
9213 * rt/Makefile (otherlibs): Likewise.
9214 * sunrpc/Makefile (otherlibs): Likewise.
9215 * nss/Makefile (otherlibs): Likewise.
9216 Add libnss_files to routines and static-only-routines.
9217 ($(objpfx)getent): Remove rule.
9218 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9219 static-only-routines.
9221 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9224 * math/s_cexp.c: Include <float.h>.
9225 (__cexp): Handle exp result overflowing not necessarily
9226 overflowing both real and imaginary parts of result.
9227 * math/s_cexpf.c: Likewise.
9228 * math/s_cexpl.c: Likewise.
9229 * math/libm-test.inc (cexp_test): Add more tests.
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9233 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9235 * include/link.h (ELFW): New macro.
9236 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9237 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9239 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9241 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9244 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9246 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9248 (struct La_x32_retval): Likewise.
9250 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9252 * sysdeps/x86_64/preconfigure.in: New file.
9253 * sysdeps/x86_64/preconfigure: New generated file.
9255 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9258 * math/e_exp2l.c: Include <float.h>.
9259 (__ieee754_exp2l): Handle overflow and underflow cases
9260 separately. Only pass fractional part of argument to
9262 * math/libm-test.inc (exp2_test): Add more tests.
9264 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9265 negating x to take absolute value.
9266 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9268 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9269 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9271 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9272 computing low part if x was negated.
9273 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9275 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9277 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9279 (pltexit): Cast int_retval to ptrdiff_t.
9280 * elf/tst-auditmod3b.c: Likewise.
9281 * elf/tst-auditmod4b.c: Likewise.
9282 * elf/tst-auditmod5b.c: Likewise.
9283 * elf/tst-auditmod6b.c: Likewise.
9284 * elf/tst-auditmod6c.c: Likewise.
9285 * elf/tst-auditmod7b.c: Likewise.
9287 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9288 and x32_gnu_pltexit.
9290 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9292 (La_x32_regs): New macro.
9293 (La_x32_retval): Likewise.
9294 (la_x32_gnu_pltenter): New function prototype.
9295 (la_x32_gnu_pltexit): Likewise.
9297 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9304 * configure.in (libc_cv_cc_nofma): Check for option to disable
9305 generation of FMA instructions.
9306 * configure: Regenerate.
9307 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9308 * sysdeps/ieee754/dbl-64/Makefile: New file.
9309 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9310 Remove brandred-fma4.
9311 (CFLAGS-brandred-fma4.c): Remove.
9312 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9313 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9315 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9318 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9320 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9321 LLONG_MAX != LONG_MAX.
9322 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9323 (_fitoa_word): Likewise.
9324 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9325 LLONG_MAX != LONG_MAX.
9326 * stdio-common/_itowa.h: Include <_itoa.h>.
9327 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9328 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9329 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9330 only if not defined.
9331 (_ITOA_WORD_TYPE): Likewise.
9332 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9333 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9335 2012-03-21 David S. Miller <davem@davemloft.net>
9337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9339 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9341 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9342 of x86_64 when setting libc_cv_slibdir, libdir and
9344 * sysdeps/unix/sysv/linux/configure: Regenerated.
9346 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9348 * manual/lang.texi (Old Varargs): Remove section.
9349 (How Variadic): Update menu.
9350 (va_start): Do not mention varargs.h.
9352 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9353 Joseph Myers <joseph@codesourcery.com>
9355 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9357 * configure: Regenerated.
9359 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9361 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9362 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9365 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9368 * Makefile (files-for-dist): Remove NOTES.
9369 (NOTES): Remove rule.
9370 * README: Don't refer to NOTES.
9371 * manual/creature.texi: Don't include macros.texi.
9372 * manual/intro.texi (creature.texi): Remove comment referring to
9375 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9376 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9377 * configure: Regenerated.
9378 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9380 (libc_cv_as_i686): Likewise.
9381 (libc_cv_cc_avx): Likewise.
9382 (libc_cv_cc_sse2avx): Likewise.
9383 (libc_cv_cc_fma4): Likewise.
9384 (libc_cv_cc_novzeroupper): Likewise.
9385 * sysdeps/i386/configure: Regenerated.
9388 * sysdeps/i386/fpu/s_cexp.S: Remove.
9389 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9390 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9391 * math/libm-test.inc (cexp_test): Add more tests.
9392 * sysdeps/i386/fpu/libm-test-ulps: Update.
9393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9395 2012-03-21 Allan McRae <allan@archlinux.org>
9397 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9399 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9402 * math/w_exp2.c: Do not include <float.h>.
9403 (o_threshold, u_threshold): Remove.
9404 (__exp2): Calculate result before checking finiteness and calling
9406 * math/w_exp2f.c: Likewise.
9407 * math/w_exp2l.c: Likewise.
9408 * math/libm-test.inc (exp2_test): Require overflow exception for
9412 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9413 range of signed 64-bit integers before using fistpll. Remove
9414 checks for whether integers fit in mantissa bits.
9415 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9416 the range of signed 32-bit integers before using fistpl. Remove
9417 checks for whether integers fit in mantissa bits.
9418 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9419 (__ieee754_powl): Test for y outside the range of signed 64-bit
9420 integers before using fistpll. Reduce 64-bit values to 63-bit
9422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9423 divide-by-zero is raised for zero to large negative powers.
9424 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9425 (__ieee754_powl): Test for y outside the range of signed 64-bit
9426 integers before using fistpll. Reduce 64-bit values to 63-bit
9428 * math/libm-test.inc (pow_test): Add more tests.
9430 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9432 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9433 <stdio-common/_itoa.h>.
9434 * debug/segfault.c: Likewise.
9435 * elf/dl-cache.c: Likewise.
9436 * elf/dl-minimal.c: Likewise.
9437 * elf/dl-misc.c: Likewise.
9438 * elf/dl-sysdep.c: Likewise.
9439 * elf/dl-version.c: Likewise.
9440 * elf/rtld.c: Likewise.
9441 * hurd/hurdsock.c: Likewise.
9442 * hurd/lookup-retry.c: Likewise.
9443 * malloc/malloc.c: Likewise.
9444 * malloc/mtrace.c: Likewise.
9445 * nscd/nscd_getgr_r.c: Likewise.
9446 * nscd/nscd_getpw_r.c: Likewise.
9447 * nscd/nscd_getserv_r.c: Likewise.
9448 * posix/getopt_init.c: Likewise.
9449 * posix/wordexp.c: Likewise.
9450 * stdio-common/_itoa.c: Likewise.
9451 * stdio-common/printf_fphex.c: Likewise.
9452 * stdio-common/vfprintf.c: Likewise.
9453 * string/_strerror.c: Likewise.
9454 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9455 * sysdeps/i386/i686/hp-timing.h: Likewise.
9456 * sysdeps/mach/_strerror.c: Likewise.
9457 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9458 * sysdeps/mach/hurd/sethostid.c: Likewise.
9459 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9460 * sysdeps/mach/xpg-strerror.c: Likewise.
9461 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9462 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9463 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9464 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9465 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9466 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9467 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9468 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9469 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9470 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9471 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9472 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9473 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9474 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9475 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9476 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9477 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9478 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9479 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9480 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9483 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9485 * stdio-common/_itoa.h: Moved to ...
9486 * sysdeps/generic/_itoa.h: Here.
9488 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9490 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9491 instead of "_itoa.h" and "_itowa.h".
9492 * stdio-common/vfprintf.: Likewise.
9494 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9496 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9498 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9499 (__signbit): Likwise.
9503 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9505 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9508 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9510 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9511 OVERFLOW_EXCEPTION_OK.
9512 * math/libm-test.inc ("Philosophy"): Update comment about
9514 (OVERFLOW_EXCEPTION): Define.
9515 (OVERFLOW_EXCEPTION_OK): Likewise.
9516 (INVALID_EXCEPTION_OK): Renumber.
9517 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9518 (IGNORE_ZERO_INF_SIGN): Likewise.
9519 (test_exceptions): Handle FE_OVERFLOW.
9520 (exp10_test): Expect overflow exceptions.
9521 (exp2_test): Likewise.
9522 (expm1_test): Likewise.
9523 (nextafter_test): Likewise.
9524 (pow_test): Likewise.
9525 (scalbn_test): Likewise.
9526 (scalbln_test): Likewise.
9528 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9530 * sysdeps/x86_64/bits/atomic.h
9531 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9533 (atomic_exchange_acq): Likewise.
9534 (__arch_exchange_and_add_body): Likewise.
9535 (__arch_add_body): Likewise.
9536 (atomic_add_negative): Likewise.
9537 (atomic_add_zero): Likewise.
9539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9541 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9542 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9544 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9546 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9547 Check __x86_64__ instead of __WORDSIZE.
9549 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9551 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9553 2012-03-19 David S. Miller <davem@davemloft.net>
9555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9557 * sysdeps/sparc/fpu/fenv_private.h: New file.
9558 * sysdeps/sparc/fpu/math_private.h: Use it.
9559 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9561 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9562 (libc_feholdexcept_setroundl): Remove.
9563 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9565 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9566 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9568 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9570 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9571 int64_t instead of long int.
9572 (INSERT_WORDS64): Likwise.
9574 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9576 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9577 _Unwind_GetCFA return to _Unwind_Ptr first.
9579 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9582 * math/s_clog.c: Include <float.h>.
9583 (__clog): Scale large or subnormal inputs.
9584 * math/s_clogf.c: Likewise.
9585 * math/s_clogl.c: Likewise.
9586 * math/s_clog10.c: Include <float.h>.
9587 (M_LOG10_2): Define.
9588 (__clog10): Scale large or subnormal inputs.
9589 * math/s_clog10f.c: Likewise.
9590 * math/s_clog10l.c: Likewise.
9591 * math/libm-test.inc (clog_test): Add more tests.
9592 (clog10_test): Likewise.
9593 * sysdeps/i386/fpu/libm-test-ulps: Update.
9594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9597 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9599 * math/libm-test.inc (atan2_test): Add another test.
9601 * Makerules (common-objdir-compile): Remove.
9602 * sysdeps/unix/Makefile (config-generated): Do not add
9603 $(unix-generated) to variable.
9604 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9605 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9607 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9609 [generic bits/local_lim.h] (before-compile): Do not append to
9611 [generic bits/local_lim.h] (common-generated): Likewise.
9612 [generic sys/param.h] (before-compile): Do not append to variable.
9613 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9614 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9615 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9616 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9618 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9619 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9620 [generic sys/param.h] ($(addprefix
9621 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9622 [generic sys/param.h] (common-generated): Do not append to
9624 [generic sys/param.h] (sysdep_headers): Likewise.
9625 [generic bits/errno.h] (before-compile): Do not append to
9627 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9629 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9630 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9631 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9632 [generic bits/errno.h] (common-generated): Do not append to
9634 [generic bits/ioctls.h] (before-compile): Do not append to
9636 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9638 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9639 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9640 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9642 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9643 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9644 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9645 [generic bits/ioctls.h] (common-generated): Do not append to
9647 [generic sys/syscall.h] (syscall.h): Remove variable.
9648 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9650 [generic sys/syscall.h] (before-compile): Do not append to
9652 [generic sys/syscall.h] (common-generated): Likewise.
9653 * sysdeps/unix/errnos-tmpl.c: Remove file.
9654 * sysdeps/unix/errnos.awk: Likewise.
9655 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9656 * sysdeps/unix/ioctls.awk: Likewise.
9657 * sysdeps/unix/mk-local_lim.c: Likewise.
9658 * sysdeps/unix/snarf-ioctls: Likewise.
9660 2012-03-19 Richard Henderson <rth@twiddle.net>
9662 * sysdeps/i386/fpu/fenv_private.h: New file.
9663 * sysdeps/i386/fpu/math_private.h: Use it.
9664 (math_opt_barrier, math_force_eval): Remove.
9665 (libc_feholdexcept_setround_53bit): Remove.
9666 (libc_feupdateenv_53bit): Remove.
9667 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9668 (math_opt_barrier, math_force_eval): Remove.
9669 (libc_feholdexcept): Remove.
9670 (libc_feholdexcept_setround): Remove.
9671 (libc_fetestexcept, libc_fesetenv): Remove.
9672 (libc_feupdateenv_test): Remove.
9673 (libc_feupdateenv, libc_feholdsetround): Remove.
9674 (libc_feresetround): Remove.
9676 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9677 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9679 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9680 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9681 (libc_feupdateenv_testl): New.
9682 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9683 (libc_feupdateenv_testf): New.
9684 (libc_feupdateenv): Use libc_feupdateenv_test.
9685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9686 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9688 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9689 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9690 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9691 (libc_feresetround_noex): New.
9692 (libc_feresetround_noexf): New.
9693 (libc_feresetround_noexl): New.
9694 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9695 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9696 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9697 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9702 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9703 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9704 SET_RESTORE_ROUND_NOEX.
9705 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9706 SET_RESTORE_ROUND_NOEXF.
9707 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9708 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9709 (libc_feholdsetroundf): New.
9710 (libc_feresetround, libc_feresetroundf): New.
9712 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9713 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9714 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9716 * sysdeps/generic/math_private.h: Include <fenv.h>.
9717 (default_libc_feholdexcept): New.
9718 (default_libc_feholdexcept_setround): New.
9719 (default_libc_fesetenv, default_libc_feupdateenv): New.
9720 (libc_feholdexcept): Only define if undefined.
9721 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9722 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9723 (libc_feholdexcept_setroundl): Likewise.
9724 (libc_feholdexcept_setround_53bit): Likewise.
9725 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9726 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9727 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9728 (libc_feupdateenv_53bit): Likewise.
9729 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9730 (libc_feholdexcept): Convert from macro to inline function.
9731 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9732 (libc_fesetenv, libc_feupdateenv): Likewise.
9734 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9735 not previously defined.
9736 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9737 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9738 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9739 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9740 * sysdeps/ieee754/flt-32/math_private.h: New file.
9741 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9742 math_private.h below SET_FLOAT_WORD.
9743 (__isnan, __isinf_ns, __finite): Remove.
9744 (__isnanf, __isinf_nsf, __finitef): Remove.
9746 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9750 2012-03-17 David S. Miller <davem@davemloft.net>
9753 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9756 2012-03-16 David S. Miller <davem@davemloft.net>
9758 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9762 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9764 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9765 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9766 sysdep_routines when subdir is sysvipc.
9767 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9770 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9772 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9774 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9777 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9779 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9780 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9781 (__lround): Renamed to ...
9782 (__llround): This. Replace long int with long long int.
9783 Define lround functions as aliases of llround functions.
9784 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9786 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9788 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9789 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9790 adresses to uintptr_t. Replace "long int" and "unsigned long
9791 int" with "greg_t" on va_arg.
9793 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9795 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9796 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9798 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9799 Move e_machine check before EI_CLASS check. Handle x32
9800 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9801 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9802 SKIP_EM_IA_64 and include
9803 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9805 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9806 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9807 (add_system_dir): New macro.
9809 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9810 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9812 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9823 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9825 * math/w_j0f.c (j0f): Likewise.
9827 * math/w_j0l.c (__j0l): Likewise.
9829 * math/w_j1.c (j1): Likewise.
9831 * math/w_j1f.c (j1f): Likewise.
9833 * math/w_j1l.c (__j1l): Likewise.
9835 * math/w_jn.c (jn): Likewise.
9837 * math/w_jnf.c (jnf): Likewise.
9839 * math/w_jnl.c (__jnl): Likewise.
9841 * math/libm-test.inc (j0_test): Add more tests.
9842 (j1_test): Likewise.
9843 (jn_test): Likewise. Add trailing semicolon to existing test.
9844 (y0_test): Likewise.
9845 (y1_test): Likewise.
9846 * sysdeps/i386/fpu/libm-test-ulps: Update.
9847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9852 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9853 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9854 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9855 (__tanl): Set errno for infinite argument.
9856 * sysdeps/i386/fpu/mptan.c: Remove.
9857 * sysdeps/i386/fpu/s_tan.S: Likewise.
9858 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9859 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9860 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9861 * math/libm-test.inc (tan_test): Add more tests and enable more
9862 tests for double and long double.
9863 * sysdeps/i386/fpu/libm-test-ulps: Update.
9864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9866 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9868 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9869 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9871 2012-03-16 Roland McGrath <roland@hack.frob.com>
9873 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9874 * configure.in: Use it for both main tree and add-ons.
9875 * configure: Regenerated.
9877 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9879 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9881 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9883 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9887 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9888 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9893 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9894 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9896 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9897 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9898 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9899 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9900 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9901 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9902 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9903 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9904 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9905 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9906 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9907 * math/libm-test.inc (cos_test): Add more tests and enable more
9908 tests for long double.
9909 (sin_test): Likewise.
9910 (sincos_test): Likewise.
9911 * sysdeps/i386/fpu/libm-test-ulps: Update.
9912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9914 2012-03-16 David S. Miller <davem@davemloft.net>
9916 * sysdeps/sparc/fpu/math_private.h: New file.
9918 2012-03-15 David S. Miller <davem@davemloft.net>
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9934 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9935 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9937 * sysdeps/sparc/sparc-ifunc.h: New file.
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9983 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9985 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9989 2012-03-15 Andreas Jaeger <aj@suse.de>
9992 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9993 ieee754/flt-32 implementation for sin, cos and sincos.
9994 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9995 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9996 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9997 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9998 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9999 ieee754/flt-32 implementation for tan.
10001 * math/libm-test.inc (cos_test): Enable some large input tests for
10003 (sin_test): Likewise.
10004 (sincos_test): Likewise.
10005 (tan_test): Add tests for large input.
10007 * sysdeps/i386/fpu/libm-test-ulps: Update.
10009 2012-03-15 Andreas Jaeger <aj@suse.de>
10012 * math/libm-test.inc (cos_test): Add more test cases.
10013 (sin_test): Likewise.
10014 (sincos_test): Likewise.
10016 2012-03-15 Andreas Jaeger <aj@suse.de>
10019 * math/libm-test.inc (cos_test): Add a test case for large input
10021 (sin_test): Likewise.
10022 (sincos_test): Likewise.
10024 2012-03-15 Andreas Jaeger <aj@suse.de>,
10025 Joseph Myers <joseph@codesourcery.com>
10028 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10029 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10030 * sysdeps/i386/fpu/branred.c: Likewise.
10031 * sysdeps/i386/fpu/dosincos.c: Likewise.
10032 * sysdeps/i386/fpu/mpa.c: Likewise.
10033 * sysdeps/i386/fpu/s_cos.S: Likewise.
10034 * sysdeps/i386/fpu/s_sin.S: Likewise.
10035 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10036 * sysdeps/i386/fpu/sincos32.c: Likewise.
10038 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10040 (libc_feupdateenv_53bit): Define.
10041 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10043 (libc_feupdateenv_53bit): Define.
10045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10046 53 bit (without extend i386 double precision).
10048 * math/libm-test.inc (sincos_test): Add tests for large input.
10052 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10054 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10058 2012-03-15 David S. Miller <davem@davemloft.net>
10060 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10061 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10062 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10063 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10088 fmin/fmax sysdep routines.
10089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10091 2012-03-14 David S. Miller <davem@davemloft.net>
10093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10121 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10165 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10170 * sysdeps/sparc/configure.in: New file.
10171 * sysdeps/sparc/configure: Generate.
10172 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10173 * configure: Regenerate.
10174 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10175 * config.make.in (have-as-vis3): New.
10176 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10177 available use -Av9d instead of -Av9a.
10178 * sysdeps/sparc/sparc64/Makefile: Likewise.
10179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10194 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10195 fzeros/fnegs to load 0x80000000 into a float register instead of
10197 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10199 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10203 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10204 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10205 ($(inst_includedir)/bits/syscall.h): Remove rule.
10206 ($(objpfx)bits/syscall.d): Include instead of
10207 $(objpfx)syscall-list.d.
10208 (generated): Change syscall-list.h and syscall-list.d to
10209 bits/syscall.h and bits/syscall.d.
10211 2012-03-14 Roland McGrath <roland@hack.frob.com>
10214 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10216 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10219 * math/s_csqrt.c: Include <float.h>.
10220 (__csqrt): Scale large or subnormal inputs.
10221 * math/s_csqrtf.c: Likewise.
10222 * math/s_csqrtl.c: Likewise.
10223 * math/libm-test.inc (csqrt_test): Add more tests.
10224 * sysdeps/i386/fpu/libm-test-ulps: Update.
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10228 * math/libm-test.inc (hypot_test): Add more tests.
10230 2012-03-13 David S. Miller <davem@davemloft.net>
10233 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10234 double-precision for the calculation instead of scaling.
10236 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10238 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10239 manipulate bits before adding and subtracting TWO52[sx].
10240 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10245 2012-03-13 David S. Miller <davem@davemloft.net>
10247 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10248 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10250 rtld-global-offsets.h
10251 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10258 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10259 'err' in the ifdef scope in which it is actually used.
10261 * nss/nss_db/db-init.c: Include string.h
10263 2012-03-12 David S. Miller <davem@davemloft.net>
10265 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10266 masking out of the most significant byte of random value used.
10267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10268 Fix coding style in previous change.
10270 * sysdeps/unix/sysv/linux/kernel-features.h
10271 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10272 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10274 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10277 2012-03-11 David S. Miller <davem@davemloft.net>
10279 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10280 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10281 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10282 for 'resultvar' otherwise things get truncated on 64-bit.
10284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10285 Fix masking out of the most significant byte of random value used.
10287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10289 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10293 2012-03-09 David S. Miller <davem@davemloft.net>
10295 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10296 variables with appropriate CPP guards.
10297 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10298 frame pointer, not the stack pointer. Correct layout comments. Fix test
10299 on resulting framesize and the management of the outregs buffer for pltexit.
10300 Preserve floating point return values across _dl_call_pltexit call.
10301 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10302 framesize and the management of the outregs buffer for pltexit.
10303 Preserve floating point return values across _dl_call_pltexit
10305 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10306 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10307 (print_exit): Fix format string for return register value.
10309 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10311 * sunrpc/Makefile (others): Add rpcgen.
10312 ($(objpfx)rpcgen): Remove special build rule and dependency on
10314 * sunrpc/rpcgen.c: New file.
10316 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10319 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10320 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10321 * sysdeps/i386/crti.S: Likewise.
10322 * sysdeps/i386/crtn.S: Likewise.
10323 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10324 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10325 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10326 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10327 * sysdeps/sh/crti.S: Likewise.
10328 * sysdeps/sh/crtn.S: Likewise.
10329 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10332 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10334 * locale/programs/locfile-kw.gperf: Likewise.
10335 * locale/programs/charmap-kw.h: Regenerated.
10336 * locale/programs/locfile-kw.h: Likewise.
10339 * intl/plural.y: Replace FSF snail mail address with URL.
10340 * intl/plural.c: Regenerated.
10342 2012-03-09 Richard Henderson <rth@twiddle.net>
10344 * include/math_private.h: Remove file.
10345 * math/math_private.h: Move file ...
10346 * sysdeps/generic/math_private.h: ... here.
10348 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10349 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10350 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10352 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10353 and <math_private.h>.
10354 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10355 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10356 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10357 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10358 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10441 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10442 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10443 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10446 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10447 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10448 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10449 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10450 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10451 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10452 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10454 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10455 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10456 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10457 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10458 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10459 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10460 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10466 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10467 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10468 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10470 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10471 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10472 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10473 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10476 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10477 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10478 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10479 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10480 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10481 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10482 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10483 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10484 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10485 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10486 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10487 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10488 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10489 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10490 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10491 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10492 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10493 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10494 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10495 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10496 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10497 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10498 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10499 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10500 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10501 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10502 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10503 * sysdeps/ieee754/k_standard.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10601 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10605 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10621 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10623 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10624 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10625 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10626 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10647 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10649 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10650 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10651 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10652 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10653 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10654 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10658 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10662 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10664 * sysdeps/ieee754/s_lib_version.c: Likewise.
10665 * sysdeps/ieee754/s_matherr.c: Likewise.
10666 * sysdeps/ieee754/s_signgam.c: Likewise.
10667 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10670 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10671 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10672 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10673 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10674 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10675 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10676 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10677 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10678 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10679 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10680 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10681 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10684 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10685 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10689 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10691 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10692 * sunrpc/rpc_main.c: Likewise.
10693 * sunrpc/rpc_svcout.c: Likewise.
10695 2012-03-09 David S. Miller <davem@davemloft.net>
10697 * include/math_private.h: New file.
10699 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10701 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10702 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10703 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10704 from <bits/socket_type.h>.
10705 (enum __socket_type): Don't define here.
10706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10708 bits/socket_type.h.
10711 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10712 checking __USE_GNU.
10714 * Makerules ($(inst_includedir)/%.h): New rule.
10715 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10716 (install-others): Remove variable setting.
10717 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10719 2012-03-08 Richard Henderson <rth@twiddle.net>
10721 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10722 from macro to inline function; merge with the
10723 !__LIBC_INTERNAL_MATH_INLINES version.
10724 (__ieee754_sqrtf): Likewise.
10726 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10727 to inline function.
10728 (__rintf, __floor, __floorf): Likewise.
10730 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10731 macro to inline function.
10732 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10735 not <math/math_private.h>.
10737 2012-03-08 David S. Miller <davem@davemloft.net>
10739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10741 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10743 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10745 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10747 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10748 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10750 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10752 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10753 be defined individually, they must be defined as a block. Define
10754 S for printing a string instead of hidint the different by using a
10755 macro for adding the 'l'.
10756 * stdio-common/tst-fphex-wide.c: Adjust.
10758 2012-03-07 Marek Polacek <polacek@redhat.com>
10760 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10762 2012-03-08 Marek Polacek <polacek@redhat.com>
10765 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10766 * stdio-common/tst-fphex.c: Define a few macros to make the
10767 test reusable. Use them.
10768 * stdio-common/tst-fphex-wide.c: New file.
10770 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10773 * manual/macros.texi (gnusystems): New macro.
10774 (nongnusystems): Likewise.
10775 (gnulinuxhurdsystems): Likewise.
10776 (gnuhurdsystems): Likewise..
10777 (gnulinuxsystems): Likewise.
10778 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10779 variants of the GNU system, not "GNU system".
10780 * manual/conf.texi: Likewise.
10781 * manual/errno.texi: Likewise. Update example of errno macro
10783 * manual/filesys.texi: Likewise.
10784 (getumask): Document as specific to GNU/Hurd.
10785 * manual/install.texi: Likewise. Reword some references to
10787 * manual/intro.texi: Likewise.
10788 * manual/io.texi: Likewise.
10789 (File Name Portability): Detail which constraints are inapplicable
10790 to all GNU systems and which are only inapplicable to GNU/Hurd.
10791 * manual/job.texi: Likewise.
10792 * manual/llio.texi: Likewise.
10793 (O_NOCTTY): Document as present on GNU/Linux.
10794 * manual/maint.texi: Likewise.
10795 * manual/memory.texi: Likewise.
10796 * manual/pattern.texi: Likewise.
10797 * manual/pipe.texi: Likewise.
10798 * manual/process.texi: Likewise.
10799 * manual/resource.texi: Likewise.
10800 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10802 * manual/setjmp.texi: Likewise.
10803 * manual/signal.texi: Likewise.
10804 * manual/startup.texi: Likewise.
10805 * manual/stdio.texi: Likewise.
10806 * manual/terminal.texi: Likewise.
10807 (ONLCR): Document as POSIX.
10808 (OXTABS): Document availability on GNU/Linux as XTABS.
10809 (ONOEOT): Document availability separately from other bits.
10810 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10811 * manual/time.texi: Likewise.
10812 * manual/users.texi: Likewise.
10813 * INSTALL: Regenerated.
10814 * sysdeps/gnu/errlist.c: Regenerated.
10816 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10817 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10818 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10820 * configure: Regenerated.
10822 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10824 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10825 default includes instead of AC_HEADER_CHECK.
10826 * sysdeps/i386/configure: Regenerated.
10829 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10830 * math/s_cacoshf.c (__cacoshf): Likewise.
10831 * math/s_cacoshl.c (__cacoshl): Likewise.
10832 * math/s_casinh.c (__casinh): Set signs of result from argument.
10833 * math/s_casinhf.c (__casinhf): Likewise.
10834 * math/s_casinhl.c (__casinhl): Likewise.
10835 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10836 (casinh_test): Add more tests.
10837 * sysdeps/i386/fpu/libm-test-ulps: Update.
10838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10840 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10842 * po/zh_TW.po: Update from translation team.
10844 * login/Makefile (distribute): Remove variable.
10845 * catgets/Makefile: Likewise.
10846 * mach/Makefile: Likewise.
10847 * malloc/Makefile: Likewise.
10848 * misc/Makefile: Likewise.
10849 * iconv/Makefile: Likewise.
10850 * nscd/Makefile: Likewise.
10851 * hurd/Makefile: Likewise.
10852 * manual/Makefile: Likewise.
10853 * locale/Makefile: Likewise.
10854 * intl/Makefile: Likewise.
10855 * conform/Makefile: Likewise.
10856 * nss/Makefile: Likewise.
10857 * time/Makefile: Likewise.
10858 * soft-fp/Makefile: Likewise.
10859 * dirent/Makefile: Likewise.
10860 * gmon/Makefile: Likewise.
10861 * po/Makefile: Likewise.
10862 * rt/Makefile: Likewise.
10863 * socket/Makefile: Likewise.
10864 * math/Makefile: Likewise.
10865 * signal/Makefile: Likewise.
10866 * debug/Makefile: Likewise.
10867 * elf/Makefile: Likewise.
10868 * timezone/Makefile: Likewise.
10869 * stdlib/Makefile: Likewise.
10870 * iconvdata/Makefile: Likewise.
10871 * sunrpc/Makefile: Likewise.
10872 * io/Makefile: Likewise.
10873 * argp/Makefile: Likewise.
10874 * inet/Makefile: Likewise.
10875 * hesiod/Makefile: Likewise.
10876 * grp/Makefile: Likewise.
10877 * csu/Makefile: Likewise.
10878 * wctype/Makefile: Likewise.
10879 * crypt/Makefile: Likewise.
10880 * libio/Makefile: Likewise.
10881 * string/Makefile: Likewise.
10882 * nis/Makefile: Likewise.
10883 * resolv/Makefile: Likewise.
10884 * stdio-common/Makefile: Likewise.
10885 * wcsmbs/Makefile: Likewise.
10886 * dlfcn/Makefile: Likewise.
10887 * posix/Makefile: Likewise.
10890 * timezone/Makefile: Don't install timezone files, just the programs
10893 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10895 * nss/databases.def: Add missing gshadow entry.
10897 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10899 2012-03-06 Marek Polacek <polacek@redhat.com>
10902 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10903 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10904 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10905 * stdio-common/tst-long-dbl-fphex.c: New file.
10907 2012-03-06 David S. Miller <davem@davemloft.net>
10909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10910 (set_obp_int): New function.
10911 (get_obp_int): New function.
10912 (__get_clockfreq_via_dev_openprom): Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10914 Avoid unused variable warnings on 'val' and use builtin_expect.
10915 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10917 (INLINE_CLONE_SYSCALL): Likewise.
10919 2012-03-05 David S. Miller <davem@davemloft.net>
10921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10923 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10928 only for |x| >= 40.
10929 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10931 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10934 Replace gettimeofday with __vdso_gettimeofday.
10936 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10937 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10938 __vdso_clock_gettime and __vdso_getcpu.
10940 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10941 time with __vdso_time.
10943 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10945 * manual/lang.texi (size_t): Note types to which size_t may be
10946 equivalent with the GNU C Library, but do not describe when
10947 differences between them are significant.
10949 2012-03-05 Andreas Jaeger <aj@suse.de>
10951 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10956 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10957 (__ieee754_pow): Save and restore rounding mode and use
10958 round-to-nearest for main computations.
10959 * math/libm-test.inc (pow_test_tonearest): New function.
10960 (pow_test_towardzero): Likewise.
10961 (pow_test_downward): Likewise.
10962 (pow_test_upward): Likewise.
10963 (main): Call the new functions.
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968 * math/libm-test.inc (cosh_test_tonearest): New function.
10969 (cosh_test_towardzero): Likewise.
10970 (cosh_test_downward): Likewise.
10971 (cosh_test_upward): Likewise.
10972 (sinh_test_tonearest): Likewise.
10973 (sinh_test_towardzero): Likewise.
10974 (sinh_test_downward): Likewise.
10975 (sinh_test_upward): Likewise.
10976 (main): Call the new functions.
10977 * sysdeps/i386/fpu/libm-test-ulps: Update.
10978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10980 2012-03-05 Tom de Vries <tom@codesourcery.com>
10982 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10983 default stack guard is set in last bytes.
10984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10986 2012-03-05 Kees Cook <keescook@chromium.org>
10988 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10991 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10992 possibly allocate from heap instead of stack.
10993 * stdio-common/bug-vfprintf-nargs.c: New file.
10994 * stdio-common/Makefile (tests): Add nargs overflow test.
10996 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11000 2012-03-03 Marek Polacek <polacek@redhat.com>
11002 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11003 * math/math_private.h: Likewise.
11004 * stdlib/tst-strtod.c: Likewise.
11005 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11006 * sysdeps/x86_64/bits/atomic.h: Likewise.
11008 2012-03-02 David S. Miller <davem@davemloft.net>
11010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11014 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11015 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11016 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11017 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11019 2012-03-02 Roland McGrath <roland@hack.frob.com>
11022 * manual/examples/README: New file, says the example source files
11023 can be used under GPL>=2.
11024 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11025 line containing just "*/".
11026 * manual/examples/add.c: Add copyright header (GPL>=2).
11027 * manual/examples/argp-ex1.c: Likewise.
11028 * manual/examples/argp-ex2.c: Likewise.
11029 * manual/examples/argp-ex3.c: Likewise.
11030 * manual/examples/argp-ex4.c: Likewise.
11031 * manual/examples/atexit.c: Likewise.
11032 * manual/examples/db.c: Likewise.
11033 * manual/examples/dir.c: Likewise.
11034 * manual/examples/dir2.c: Likewise.
11035 * manual/examples/execinfo.c: Likewise.
11036 * manual/examples/filecli.c: Likewise.
11037 * manual/examples/filesrv.c: Likewise.
11038 * manual/examples/fmtmsgexpl.c: Likewise.
11039 * manual/examples/genpass.c: Likewise.
11040 * manual/examples/inetcli.c: Likewise.
11041 * manual/examples/inetsrv.c: Likewise.
11042 * manual/examples/isockad.c: Likewise.
11043 * manual/examples/longopt.c: Likewise.
11044 * manual/examples/memopen.c: Likewise.
11045 * manual/examples/memstrm.c: Likewise.
11046 * manual/examples/mkfsock.c: Likewise.
11047 * manual/examples/mkisock.c: Likewise.
11048 * manual/examples/mygetpass.c: Likewise.
11049 * manual/examples/pipe.c: Likewise.
11050 * manual/examples/popen.c: Likewise.
11051 * manual/examples/rprintf.c: Likewise.
11052 * manual/examples/search.c: Likewise.
11053 * manual/examples/select.c: Likewise.
11054 * manual/examples/setjmp.c: Likewise.
11055 * manual/examples/sigh1.c: Likewise.
11056 * manual/examples/sigusr.c: Likewise.
11057 * manual/examples/stpcpy.c: Likewise.
11058 * manual/examples/strdupa.c: Likewise.
11059 * manual/examples/strftim.c: Likewise.
11060 * manual/examples/strncat.c: Likewise.
11061 * manual/examples/subopt.c: Likewise.
11062 * manual/examples/swapcontext.c: Likewise.
11063 * manual/examples/termios.c: Likewise.
11064 * manual/examples/testopt.c: Likewise.
11065 * manual/examples/testpass.c: Likewise.
11066 * manual/examples/timeval_subtract.c: Likewise.
11069 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11071 * manual/timeval_subtract.c.texi: ... here, new file.
11073 2012-03-02 David S. Miller <davem@davemloft.net>
11075 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11077 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11080 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11081 (__sin): Save and restore rounding mode and use round-to-nearest
11082 for all computations.
11083 (__cos): Save and restore rounding mode and use round-to-nearest
11084 for all computations.
11085 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11087 (tan): Save and restore rounding mode and use round-to-nearest for
11089 * math/libm-test.inc (cos_test_tonearest): New function.
11090 (cos_test_towardzero): Likewise.
11091 (cos_test_downward): Likewise.
11092 (cos_test_upward): Likewise.
11093 (sin_test_tonearest): Likewise.
11094 (sin_test_towardzero): Likewise.
11095 (sin_test_downward): Likewise.
11096 (sin_test_upward): Likewise.
11097 (tan_test_tonearest): Likewise.
11098 (tan_test_towardzero): Likewise.
11099 (tan_test_downward): Likewise.
11100 (tan_test_upward): Likewise.
11101 (main): Call the new functions.
11102 * sysdeps/i386/fpu/libm-test-ulps: Update.
11103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11106 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11107 small n, then large n, before computing and testing k+n.
11108 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11109 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11113 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11114 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11115 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11116 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11120 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11121 * math/libm-test.inc (scalbn_test): Add more tests.
11122 (scalbln_test): Likewise.
11124 * manual/filesys.texi (mode_t): Describe constraints on size and
11125 signedness, not exact equivalence to a particular type.
11127 (ino64_t): Likewise.
11129 (nlink_t): Likewise.
11130 (blkcnt_t): Likewise.
11131 (blkcnt64_t): Likewise.
11132 * manual/llio.texi (off_t): Likewise.
11135 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11136 (__ieee754_exp): Save and restore rounding mode and use
11137 round-to-nearest for all computations.
11138 * math/libm-test.inc (exp_test_tonearest): New function.
11139 (exp_test_towardzero): Likewise.
11140 (exp_test_downward): Likewise.
11141 (exp_test_upward): Likewise.
11142 (main): Call the new functions.
11143 * sysdeps/i386/fpu/libm-test-ulps: Update.
11144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11146 2012-03-01 Chris Demetriou <cgd@google.com>
11148 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11149 have predictable order.
11151 2012-03-01 David S. Miller <davem@davemloft.net>
11153 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11155 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11156 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11157 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11158 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11160 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11161 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11162 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11164 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11165 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11166 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11167 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11168 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11172 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11173 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11174 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11176 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11177 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11178 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11179 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11180 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11183 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11184 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11185 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11186 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11190 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11192 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11193 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11194 * sysdeps/sparc/elf/configure: Regenerated.
11196 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11198 * configure.in (AS, LD): Require binutils 2.20 or later.
11199 * configure: Regenerated.
11200 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11201 as required minimum version.
11202 * INSTALL: Regenerated.
11206 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11207 before squaring exponent.
11208 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11209 bottom long double and 27 bits of top long double before squaring
11211 * math/libm-test.inc (erfc_test): Add more tests.
11212 * sysdeps/i386/fpu/libm-test-ulps: Update.
11213 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11216 2012-03-01 Kai Tietz <ktietz@redhat.com>
11218 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11219 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11220 containing bit-fields.
11221 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11222 * soft-fp/single.h (_FP_UNION_S): Likewise.
11223 * soft-fp/double.h (_FP_UNION_D): Likewise.
11225 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11228 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11229 not include ../strcmp.S.
11230 [USE_AS_STRNCASECMP_L]: Likewise.
11231 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11232 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11233 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11234 (__strncasecmp_l_ia32): Define as alias to
11235 __strncasecmp_l_nonascii.
11238 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11239 * sysdeps/i386/fpu/libm-test-ulps: Update.
11240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11242 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11245 2012-02-29 Jeff Law <law@redhat.com>
11247 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11248 out of bounds read.
11250 2012-02-29 Marek Polacek <polacek@redhat.com>
11253 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11254 * elf/Makefile: Add rules to run tst-unused-dep.out.
11256 2012-02-28 David S. Miller <davem@davemloft.net>
11258 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11259 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11260 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11262 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11263 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11265 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11267 * math/libm-test.inc (llround_test): Move one test from
11268 lround_test. Use TEST_f_L in moved test.
11269 (lround_test): Move misplaced test to llround_test. Add testcase
11272 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11274 * sysdeps/x86_64/fpu/e_expf.S: New file.
11275 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11277 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11280 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11281 of remain_len that may cause incomplete multi-byte character and
11283 * posix/bug-regex33.c: New file.
11284 * posix/Makefile (tests): Add bug-regex33.
11286 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11288 * manual/macros.texi: New file.
11289 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11290 * manual/libc.texinfo: Include macros.texi.
11291 * manual/creatute.texi: Likewise.
11292 * manual/install.texi: Likewise.
11293 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11294 @glibcadj{} in references to the GNU C Library.
11295 * manual/charset.texi: Likewise.
11296 * manual/conf.texi: Likewise.
11297 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11298 when not using those macros.
11299 * manual/creature.texi: Likewise.
11300 * manual/crypt.texi: Likewise.
11301 * manual/errno.texi: Likewise.
11302 * manual/filesys.texi: Likewise.
11303 * manual/header.texi: Likewise.
11304 * manual/install.texi: Likewise.
11305 * manual/intro.texi: Likewise.
11306 * manual/io.texi: Likewise.
11307 * manual/job.texi: Likewise.
11308 * manual/lang.texi: Likewise.
11309 * manual/libc.texiinfo: Likewise.
11310 * manual/llio.texi: Likewise.
11311 * manual/locale.texi: Likewise.
11312 * manual/maint.texi: Likewise.
11313 * manual/math.texi: Likewise.
11314 * manual/memory.texi: Likewise.
11315 * manual/message.texi: Likewise.
11316 * manual/nss.texi: Likewise.
11317 * manual/pattern.texi: Likewise.
11318 * manual/process.texi: Likewise.
11319 * manual/resource.texi: Likewise.
11320 * manual/search.texi: Likewise.
11321 * manual/setjmp.texi: Likewise.
11322 * manual/signal.texi: Likewise.
11323 * manual/socket.texi: Likewise.
11324 * manual/startup.texi: Likewise.
11325 * manual/stdio.texi: Likewise.
11326 * manual/string.texi: Likewise.
11327 * manual/sysinfo.texi: Likewise.
11328 * manual/syslog.texi: Likewise.
11329 * manual/terminal.texi: Likewise.
11330 * manual/time.texi: Likewise.
11331 * manual/users.texi: Likewise.
11332 * INSTALL: Regenerated.
11333 * NOTES: Regenerated.
11334 * sysdeps/gnu/errlist.c: Regenerated.
11336 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11338 * include/dirent.h: Include <dirstream.h> before
11341 2012-02-28 David S. Miller <davem@davemloft.net>
11343 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11344 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11345 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11346 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11348 2012-02-27 David S. Miller <davem@davemloft.net>
11350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11352 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11353 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11356 frame pointer instead of stack pointer relative arg slot.
11357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11358 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11359 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11361 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11364 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11366 2012-02-27 David S. Miller <davem@davemloft.net>
11368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11374 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11375 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11377 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11379 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11380 later. Allow versions 5-9.
11381 * configure: Regenerated.
11382 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11383 required minimum version and 4.6 as recommended version. Do not
11384 mention bugs in GCC 2.7 and 2.8.
11385 * INSTALL: Regenerated.
11387 2012-02-27 David S. Miller <davem@davemloft.net>
11389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11393 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11394 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11395 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11396 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11399 manipulate bits before adding and subtracting TWO112[sx].
11400 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11402 2012-02-27 Roland McGrath <roland@hack.frob.com>
11405 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11406 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11407 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11408 being in POSIX, because they are in 1003.1-2008.
11410 * rt/tst-aio.c: Include <fcntl.h>.
11411 * rt/tst-aio7.c: Likewise.
11412 * rt/tst-aio64.c: Likewise.
11414 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11416 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11418 * manual/install.texi (--with-headers): Describe headers as
11419 interface headers, not private headers.
11420 (Specific advice for GNU/Linux systems): Describe use of headers
11421 from "make headers_install", not private headers from older
11423 * INSTALL: Regenerated.
11424 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11426 * sysdeps/unix/sysv/linux/configure: Regenerated.
11428 * manual/llio.texi (fclean): Remove documentation.
11430 * manual/Makefile (libc-texi-generated): New variable. Include
11432 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11433 $(libc-texi-generated), not duplicated list of files.
11434 (version.texi, stamp-version): New rules.
11435 (realclean): Remove $(libc-texi-generated), not individual files
11436 from that list. Do not remove dir-add.texinfo.
11437 * manual/libc.texinfo: Comment out uses of edition numbers and
11438 references to printed manual. Remove last-updated dates.
11439 (EDITION): Comment out.
11441 (VERSION, UPDATED): Remove.
11442 (version.texi): Include.
11444 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11446 * sysdeps/posix/spawni.c: Include <signal.h>.
11447 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11448 * sysdeps/pthread/aio_fsync.c: Likewise.
11450 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11452 * conform/Makefile (tests): Run only when not cross-compiling and
11453 when fast-check is not defined.
11455 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11456 * conform/data/limits.h-data: Fixes for POSIX2008.
11457 * conform/run-conformtest.sh: Run all tests.
11458 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11460 * include/bits/dlfcn.h: Likewise.
11461 * include/langinfo.h: Likewise.
11462 * include/monetary.h: Likewise.
11463 * include/sys/poll.h: Likewise.
11465 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11467 * posix/spawn.h: Define __need_sigset_t.
11468 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11469 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11470 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11471 to get sigevent_t only.
11472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11473 only for __USE_GNU.
11474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11475 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11476 process_vm_writev only for __USE_GNU.
11477 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11479 * conform/Makefile: For now ignore errors from run-conformtest.
11480 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11481 POSIX to avoid namespace pollution. Don't prepend headers.
11482 * conform/data/aio.h-data: Fixes for POSIX testing.
11483 * conform/data/fcntl.h-data: Likewise.
11484 * conform/data/glob.h-data: Likewise.
11485 * conform/data/grp.h-data: Likewise.
11486 * conform/data/pthread.h-data: Likewise.
11487 * conform/data/pwd.h-data: Likewise.
11488 * conform/data/signal.h-data: Likewise.
11489 * conform/data/spawn.h-data: Likewise.
11490 * conform/data/stdio.h-data: Likewise.
11491 * conform/data/stdlib.h-data: Likewise.
11492 * conform/data/stropts.h-data: Likewise.
11493 * conform/data/sys/mman.h-data: Likewise.
11494 * conform/data/sys/stat.h-data: Likewise.
11495 * conform/data/sys/types.h-data: Likewise.
11496 * conform/data/sys/wait.h-data: Likewise.
11497 * conform/data/time.h-data: Likewise.
11498 * conform/data/unistd.h-data: Likewise.
11499 * conform/data/utime.h-data: Likewise.
11501 * io/sys/stat.h: fchmod was always in POSIX.
11502 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11503 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11504 * rt/aio.h: Define __need_timespec before including <time.h>.
11505 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11506 struct. Add forward declaration of pthread_attr_t and use it in
11508 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11509 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11510 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11511 always remove CLK_TCK definition.
11513 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11515 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11517 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11519 * conform/run-conformtest.sh: New file.
11520 * conform/Makefile: Run run-conformtest for tests.
11521 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11524 * conform/data/uchar.h-data: New file.
11525 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11526 * conform/data/arpa/inet.h-data: Likewise.
11527 * conform/data/assert.h-data: Likewise.
11528 * conform/data/complex.h-data: Likewise.
11529 * conform/data/cpio.h-data: Likewise.
11530 * conform/data/ctype.h-data: Likewise.
11531 * conform/data/dirent.h-data: Likewise.
11532 * conform/data/dlfcn.h-data: Likewise.
11533 * conform/data/errno.h-data: Likewise.
11534 * conform/data/fcntl.h-data: Likewise.
11535 * conform/data/float.h-data: Likewise.
11536 * conform/data/fmtmsg.h-data: Likewise.
11537 * conform/data/fnmatch.h-data: Likewise.
11538 * conform/data/ftw.h-data: Likewise.
11539 * conform/data/glob.h-data: Likewise.
11540 * conform/data/grp.h-data: Likewise.
11541 * conform/data/iconv.h-data: Likewise.
11542 * conform/data/inttypes.h-data: Likewise.
11543 * conform/data/langinfo.h-data: Likewise.
11544 * conform/data/libgen.h-data: Likewise.
11545 * conform/data/limits.h-data: Likewise.
11546 * conform/data/locale.h-data: Likewise.
11547 * conform/data/math.h-data: Likewise.
11548 * conform/data/monetary.h-data: Likewise.
11549 * conform/data/mqueue.h-data: Likewise.
11550 * conform/data/ndbm.h-data: Likewise.
11551 * conform/data/net/if.h-data: Likewise.
11552 * conform/data/netdb.h-data: Likewise.
11553 * conform/data/netinet/in.h-data: Likewise.
11554 * conform/data/nl_types.h-data: Likewise.
11555 * conform/data/poll.h-data: Likewise.
11556 * conform/data/pthread.h-data: Likewise.
11557 * conform/data/pwd.h-data: Likewise.
11558 * conform/data/regex.h-data: Likewise.
11559 * conform/data/sched.h-data: Likewise.
11560 * conform/data/search.h-data: Likewise.
11561 * conform/data/semaphore.h-data: Likewise.
11562 * conform/data/setjmp.h-data: Likewise.
11563 * conform/data/signal.h-data: Likewise.
11564 * conform/data/spawn.h-data: Likewise.
11565 * conform/data/stdarg.h-data: Likewise.
11566 * conform/data/stdio.h-data: Likewise.
11567 * conform/data/stdlib.h-data: Likewise.
11568 * conform/data/string.h-data: Likewise.
11569 * conform/data/strings.h-data: Likewise.
11570 * conform/data/stropts.h-data: Likewise.
11571 * conform/data/sys/ipc.h-data: Likewise.
11572 * conform/data/sys/mman.h-data: Likewise.
11573 * conform/data/sys/msg.h-data: Likewise.
11574 * conform/data/sys/resource.h-data: Likewise.
11575 * conform/data/sys/select.h-data: Likewise.
11576 * conform/data/sys/sem.h-data: Likewise.
11577 * conform/data/sys/shm.h-data: Likewise.
11578 * conform/data/sys/socket.h-data: Likewise.
11579 * conform/data/sys/stat.h-data: Likewise.
11580 * conform/data/sys/statvfs.h-data: Likewise.
11581 * conform/data/sys/time.h-data: Likewise.
11582 * conform/data/sys/timeb.h-data: Likewise.
11583 * conform/data/sys/times.h-data: Likewise.
11584 * conform/data/sys/types.h-data: Likewise.
11585 * conform/data/sys/uio.h-data: Likewise.
11586 * conform/data/sys/un.h-data: Likewise.
11587 * conform/data/sys/utsname.h-data: Likewise.
11588 * conform/data/sys/wait.h-data: Likewise.
11589 * conform/data/syslog.h-data: Likewise.
11590 * conform/data/tar.h-data: Likewise.
11591 * conform/data/termios.h-data: Likewise.
11592 * conform/data/utime.h-data: Likewise.
11593 * conform/data/utmpx.h-data: Likewise.
11594 * conform/data/varargs.h-data: Likewise.
11595 * conform/data/wchar.h-data: Likewise.
11596 * conform/data/wctype.h-data: Likewise.
11597 * conform/data/wordexp.h-data: Likewise.
11599 * include/stropts.h: New file.
11600 * include/uchar.h: New file.
11601 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11602 * include/assert.h: Likewise.
11603 * include/ctype.h: Likewise.
11604 * include/dirent.h: Likewise.
11605 * include/dlfcn.h: Likewise.
11606 * include/fcntl.h: Likewise.
11607 * include/fnmatch.h: Likewise.
11608 * include/glob.h: Likewise.
11609 * include/grp.h: Likewise.
11610 * include/libio.h: Likewise.
11611 * include/locale.h: Likewise.
11612 * include/math.h: Likewise.
11613 * include/net/if.h: Likewise.
11614 * include/netdb.h: Likewise.
11615 * include/netinet/in.h: Likewise.
11616 * include/pthread.h: Likewise.
11617 * include/pwd.h: Likewise.
11618 * include/regex.h: Likewise.
11619 * include/sched.h: Likewise.
11620 * include/search.h: Likewise.
11621 * include/setjmp.h: Likewise.
11622 * include/signal.h: Likewise.
11623 * include/stdio.h: Likewise.
11624 * include/stdlib.h: Likewise.
11625 * include/string.h: Likewise.
11626 * include/sys/cdefs.h: Likewise.
11627 * include/sys/mman.h: Likewise.
11628 * include/sys/msg.h: Likewise.
11629 * include/sys/resource.h: Likewise.
11630 * include/sys/select.h: Likewise.
11631 * include/sys/socket.h: Likewise.
11632 * include/sys/stat.h: Likewise.
11633 * include/sys/statvfs.h: Likewise.
11634 * include/sys/time.h: Likewise.
11635 * include/sys/times.h: Likewise.
11636 * include/sys/uio.h: Likewise.
11637 * include/sys/utsname.h: Likewise.
11638 * include/sys/wait.h: Likewise.
11639 * include/termios.h: Likewise.
11640 * include/time.h: Likewise.
11641 * include/ulimit.h: Likewise.
11642 * include/unistd.h: Likewise.
11643 * include/utime.h: Likewise.
11644 * include/wchar.h: Likewise.
11645 * include/wctype.h: Likewise.
11646 * include/wordexp.h: Likewise.
11648 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11650 * time/time.h: TIME_UTC must be a macro.
11651 Make timespec_get available for ISO C11 only as well.
11653 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11655 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11656 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11658 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11660 * configure.in: Use -o not -a in test for unsupported multi-arch.
11662 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11664 * manual/texinfo.tex: Update to version 2012-01-19.16.
11666 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11668 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11670 2012-02-24 Roland McGrath <roland@hack.frob.com>
11673 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11674 * manual/fdl-1.3.texi: New file.
11675 * manual/fdl-1.1.texi: File removed.
11678 * manual/libc.texinfo (FDL_VERSION): New @set.
11679 Use it for mention of FDL in cover text.
11680 (Documentation License): Use it in @include file name.
11682 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11683 Roland McGrath <roland@hack.frob.com>
11686 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11687 not LONG_LONG_MAX and LONG_LONG_MIN.
11688 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11689 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11691 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11693 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11697 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11698 manipulate bits before adding and subtracting TWO23[sx].
11699 * math/libm-test.inc (nearbyint_test): Add more tests.
11701 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11704 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11705 bits before adding and subtracting TWO23[sx].
11706 * math/libm-test.inc (rint_test): Add more tests.
11707 (rint_test_tonearest): Likewise.
11708 (rint_test_towardzero): Likewise.
11709 (rint_test_downward): Likewise.
11710 (rint_test_upward: Likewise.
11712 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11715 * include/stdc-predef.h: New file. Extracted from features.h.
11716 * include/features.h: Include stdc-predef.h.
11717 * Makefile (headers): Add stdc-predef.h.
11718 * CONFORMANCE (Compiler limitations): Update.
11720 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11722 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11724 2012-02-21 David S. Miller <davem@davemloft.net>
11726 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11727 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11729 2012-02-20 David S. Miller <davem@davemloft.net>
11731 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11732 using a normal save/restore sequence, rather than allocating a
11733 dummy stack frame just to store a frame pointer and restore.
11734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11736 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11738 * manual/install.texi: Fix stray word in line-wrapped comment.
11740 2012-02-20 David S. Miller <davem@davemloft.net>
11742 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11743 both binutils and gcc support GOTDATA.
11745 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11746 "rd %pc" in the PIC register setup sequences.
11748 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11749 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11750 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11751 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11754 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11757 (SYSCALL_ERROR_HANDLER): Likewise.
11758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11759 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11761 (SYSCALL_ERROR_HANDLER): Likewise.
11763 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11764 (HAVE_GCC_GOTDATA): New.
11765 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11766 relocation support in both binutils and gcc.
11767 * sysdeps/sparc/elf/configure: Regenerate.
11769 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11770 * sysdeps/sparc/sparc32/elf/configure: Delete.
11771 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11772 * sysdeps/sparc/sparc64/elf/configure: Delete.
11773 * sysdeps/sparc/elf/configure.in: New file.
11774 * sysdeps/sparc/elf/configure: Generate.
11776 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11777 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11778 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11779 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11780 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11782 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11784 * manual/install.texi: Do not mention specific glibc version
11786 * manual/libc.texinfo (VERSION, UPDATED): Update.
11787 (@copying): Use @copyright{} and range of years.
11789 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11792 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11793 [crti.S not in sysdirs] (generated): Do not append.
11794 [crti.S not in sysdirs] (omit-deps): Likewise.
11795 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11796 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11797 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11798 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11799 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11801 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11802 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11803 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11804 * csu/defs.awk: Remove file.
11805 * sysdeps/generic/initfini.c: Likewise.
11806 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11808 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11811 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11813 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11814 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11817 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11818 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11820 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11821 (__EPOLL_PACKED): Define to empty if not defined by
11823 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11827 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11829 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11830 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11832 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11834 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11838 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11840 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11843 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11844 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11847 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11850 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11852 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11854 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11855 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11857 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11859 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11862 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11864 * math/w_acos.c: Use non-signaling floating-point comparisons.
11865 * math/w_acosf.c: Likewise.
11866 * math/w_acosh.c: Likewise.
11867 * math/w_acoshf.c: Likewise.
11868 * math/w_acoshl.c: Likewise.
11869 * math/w_acosl.c: Likewise.
11870 * math/w_asin.c: Likewise.
11871 * math/w_asinf.c: Likewise.
11872 * math/w_asinl.c: Likewise.
11873 * math/w_atanh.c: Likewise.
11874 * math/w_atanhf.c: Likewise.
11875 * math/w_atanhl.c: Likewise.
11876 * math/w_exp2.c: Likewise.
11877 * math/w_exp2f.c: Likewise.
11878 * math/w_exp2l.c: Likewise.
11879 * math/w_j0.c: Likewise.
11880 * math/w_j0f.c: Likewise.
11881 * math/w_j0l.c: Likewise.
11882 * math/w_j1.c: Likewise.
11883 * math/w_j1f.c: Likewise.
11884 * math/w_j1l.c: Likewise.
11885 * math/w_jn.c: Likewise.
11886 * math/w_jnf.c: Likewise.
11887 * math/w_log.c: Likewise.
11888 * math/w_log10.c: Likewise.
11889 * math/w_log10f.c: Likewise.
11890 * math/w_log10l.c: Likewise.
11891 * math/w_log2.c: Likewise.
11892 * math/w_log2f.c: Likewise.
11893 * math/w_log2l.c: Likewise.
11894 * math/w_logf.c: Likewise.
11895 * math/w_logl.c: Likewise.
11896 * math/w_sqrt.c: Likewise.
11897 * math/w_sqrtf.c: Likewise.
11898 * math/w_sqrtl.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11902 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11903 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11905 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11908 * manual/string.texi (strnlen): Use correct parameter name in
11909 equivalent expression.
11911 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11914 * manual/users.texi (seteuid): Consistently use neweuid for
11917 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11920 * manual/nss.texi (Services in the NSS configuration): Correct
11921 list of services in example configuration file.
11923 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11926 * manual/arith.texi: Remove statements about negative zero
11927 behaving identically to zero.
11929 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11932 * manual/install.texi: Do not document upgrading from libc5.
11934 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11937 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11939 2012-02-18 David S. Miller <davem@davemloft.net>
11941 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11942 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11943 %o7 across the call.
11944 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11947 SETUP_PIC_REG_LEAF.
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11949 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11950 * sysdeps/sparc/crtn.S: Likewise.
11952 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11954 * aout/Makefile: Remove.
11956 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11959 * manual/examples/argp-ex1.c (main): Format definition in GNU
11961 * manual/examples/argp-ex2.c (main): Likewise.
11962 * manual/examples/argp-ex3.c (main): Likewise.
11963 * manual/examples/argp-ex4.c (main): Likewise.
11964 * manual/examples/longopt.c (main): Use new-style prototype
11966 * manual/examples/strncat.c (main): Specify return type and use
11967 (void) for arguments.
11968 * manual/examples/subopt.c (main): Use char **argv argument.
11970 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11973 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11976 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11979 * manual/string.texi (strchr): Change when strchrnul is
11982 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11985 * manual/locale.texi (setlocale): Document LOCPATH.
11987 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11990 * manual/process.texi (execle): Move @dots{} before last argument.
11992 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11995 * manual/charset.texi (Generic Charset Conversion): Fix typo
11996 (LC_TYPE -> LC_CTYPE).
11998 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12001 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12002 (scalbnf): Likewise.
12003 (scalbnl): Likewise.
12004 (scalbln): Likewise.
12005 (scalblnf): Likewise.
12006 (scalblnl): Likewise.
12007 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12008 (vwarnx): Likewise.
12011 * manual/filesys.texi (telldir): Use braces around return type.
12012 * manual/llio.texi (mmap): Add space after comma.
12013 (mmap64): Likewise.
12014 * manual/math.texi (jn): Use @var{} on parameter names.
12020 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12022 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12024 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12025 (sched_get_priority_max): Likewise.
12026 * manual/signal.texi (sigvec): Add space after comma.
12027 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12029 (if_indextoname): Likewise.
12030 (if_freenameindex): Likewise.
12031 (sendto): Use ',' instead of '.' in prototype.
12032 * manual/startup.texi (syscall): Use @dots{} instead of literal
12034 * manual/stdio.texi (__fpending): Separate initial words of
12035 paragraph from @deftypefun line.
12036 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12038 (vsyslog): Use @var{} on parameter names.
12039 * manual/terminal.texi (stty): Use @var{} on parameter names.
12040 * manual/users.texi (getutmp): Use @var{} on parameter names.
12041 (getutmpx): Likewise.
12043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12046 * manual/stdio.texi (fopen): Fix typos in description of
12049 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12052 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12053 get clock_id definition.
12055 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12058 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12059 (madvise): Cast every argument to void on its own.
12061 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12064 * manual/startup.texi (Exit Status): Fix typo.
12066 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12069 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12070 * manual/examples/argp-ex2.c: Likewise.
12071 * manual/examples/argp-ex3.c: Likewise.
12073 2012-02-16 Richard Henderson <rth@redhat.com>
12075 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12076 * sysdeps/s390/s390-32/initfini.c: Remove.
12077 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12078 * sysdeps/s390/s390-64/initfini.c: Remove.
12080 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12082 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12083 compiler output for sysdeps/generic/initfini.c.
12084 * sysdeps/sh/elf/initfini.c: Remove file.
12086 2012-02-16 David S. Miller <davem@davemloft.net>
12089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12091 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12092 * sysdeps/sparc/crti.S: New file.
12093 * sysdeps/sparc/crtn.S: New file.
12094 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12095 * sysdeps/sparc/sparc64/Makefile: Likewise.
12097 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12100 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12102 2012-02-15 Roland McGrath <roland@hack.frob.com>
12105 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12107 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12108 (write, read, close): Likewise.
12109 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12111 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12113 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12114 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12115 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12116 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12118 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12122 2012-02-14 Marek Polacek <polacek@redhat.com>
12124 * sysdeps/x86_64/crti.S: New file.
12125 * sysdeps/x86_64/crtn.S: New file.
12126 * sysdeps/x86_64/elf/initfini.c: Remove file.
12128 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12130 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12131 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12132 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12133 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12135 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12139 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12141 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12142 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12143 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12144 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12146 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12150 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12152 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12153 __feraiseexcept instead of feraiseexcept.
12155 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12156 nanosleep invocations.
12157 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12158 strings, and add error checking for a nanosleep invocations.
12160 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12162 Replace FSF snail mail address with URLs, as per GNU coding standards.
12163 Most of the snail mail addresses were wrong anyway, and omitting
12164 them makes the source code easier to maintain. Almost all of the
12165 changes are to license notices and to locale LC_IDENTIFICATION
12166 addresses, except for this one:
12167 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12168 not its snail mail address.
12170 2012-02-09 Richard Henderson <rth@twiddle.net>
12172 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12173 of kernel-features.h.
12175 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12177 2012-02-08 Marek Polacek <polacek@redhat.com>
12179 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12180 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12181 * sysdeps/gnu/_G_config.h: Likewise.
12182 * sysdeps/generic/_G_config.h: Likewise.
12184 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12186 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12190 * sysdeps/powerpc/powerpc32/crti.S: New file.
12191 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12192 * sysdeps/powerpc/powerpc64/crti.S: New file.
12193 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12195 * Makeconfig (have-initfini): Don't set.
12196 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12197 * configure.in (nopic_initfini): Don't substitute.
12198 * config.h.in (HAVE_INITFINI): Don't #undef.
12199 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12200 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12202 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12204 Support crti.S and crtn.S provided directly by architectures.
12205 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12206 [crti.S in sysdirs] (omit-deps): Likewise.
12207 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12208 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12209 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12210 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12211 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12212 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12213 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12214 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12215 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12216 compiler output for sysdeps/generic/initfini.c.
12217 * sysdeps/i386/elf/Makefile: Remove file.
12218 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12220 2012-02-07 Marek Polacek <polacek@redhat.com>
12222 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12223 * sysdeps/gnu/_G_config.h: Likewise.
12224 * sysdeps/mach/hurd/_G_config.h: Likewise.
12226 2012-02-07 Marek Polacek <polacek@redhat.com>
12228 * math/Makefile (tests): Add tst-CMPLX2.
12229 * math/tst-CMPLX2.c: New file.
12231 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12233 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12235 * math/libm-test.inc (jn_test): Add missing L suffix.
12237 2012-02-06 Marek Polacek <polacek@redhat.com>
12239 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12240 * sysdeps/i386/fpu/e_powf.S: Likewise.
12241 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12242 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12243 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12244 * sysdeps/i386/fpu/e_pow.S: Likewise.
12245 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12246 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12247 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12248 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12249 * sysdeps/i386/fpu/e_log2.S: Likewise.
12250 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12251 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12252 * sysdeps/i386/fpu/e_powl.S: Likewise.
12253 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12254 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12255 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12256 * sysdeps/i386/fpu/e_logl.S: Likewise.
12257 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12258 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12259 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12260 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12262 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12263 * sysdeps/i386/fpu/e_log.S: Likewise.
12264 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12265 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12266 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12267 * sysdeps/i386/fpu/e_logf.S: Likewise.
12268 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12269 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12270 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12271 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12272 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12273 * sysdeps/i386/fpu/e_log10.S: Likewise.
12274 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12275 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12276 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12277 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12278 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12279 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12280 * sysdeps/i386/asm-syntax.h: Likewise.
12281 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12282 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12284 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12285 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12286 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12287 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12288 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12289 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12290 * sysdeps/powerpc/sysdep.h: Likewise.
12291 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12294 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12297 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12299 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12301 * sysdeps/i386/sysdep.h: Include <features.h>.
12302 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12305 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12307 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12309 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12312 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12314 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12315 (SETUP_PIC_REG): Use GET_PC_THUNK.
12316 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12319 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12321 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12322 for non-PIC compilation.
12323 (SETUP_PIC_REG): Add .p2align directive.
12324 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12325 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12326 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12343 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12347 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12348 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12351 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12352 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12353 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12360 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12361 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12362 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12363 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12364 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12366 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12368 * math/tst-CMPLX.c: Include <stdio.h>.
12370 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12372 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12374 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12375 * sysdeps/sparc/bits/mathdef.h: Likewise.
12377 2012-01-31 Marek Polacek <polacek@redhat.com>
12379 * libio/libio.h: Don't define _PARAMS.
12380 * locale/programs/config.h: Don't define PARAMS.
12381 * stdlib/strtol_l.c: Likewise.
12382 (__strtol_l): Remove PARAMS from the prototype.
12384 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12386 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12387 names. Just use the correct names. Remove unnecessary wrapper
12389 * malloc/arena.c: Likewise.
12390 * malloc/hooks.c: Likewise.
12392 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12393 ARENA_TEST says not to. Simplify test for creation of a new arena.
12394 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12396 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12398 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12400 (update_get_addr): New function.
12401 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12402 GET_ADDR_MODULE parameter.
12404 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12406 * crypt/cert.c: Remove __STDC__ conditionals.
12407 * crypt/crypt-entry.c: Likewise.
12408 * crypt/crypt_util.c: Likewise.
12409 * libio/filedoalloc.c: Likewise.
12410 * libio/fileops.c: Likewise.
12411 * libio/genops.c: Likewise.
12412 * libio/iofclose.c: Likewise.
12413 * libio/iofdopen.c: Likewise.
12414 * libio/iofopen.c: Likewise.
12415 * libio/iofopen64.c: Likewise.
12416 * libio/iogetdelim.c: Likewise.
12417 * libio/iopopen.c: Likewise.
12418 * libio/obprintf.c: Likewise.
12419 * libio/oldfileops.c: Likewise.
12420 * libio/oldiofclose.c: Likewise.
12421 * libio/oldiofdopen.c: Likewise.
12422 * libio/oldiofopen.c: Likewise.
12423 * libio/oldiopopen.c: Likewise.
12424 * libio/wfiledoalloc.c: Likewise.
12425 * libio/wgenops.c: Likewise.
12426 * locale/programs/xmalloc.c: Likewise.
12427 * misc/syslog.c: Likewise.
12428 * stdio-common/xbug.c: Likewise.
12429 * string/memchr.c: Likewise.
12430 * string/memcmp.c: Likewise.
12431 * string/memrchr.c: Likewise.
12432 * string/rawmemchr.c: Likewise.
12433 * sysdeps/posix/getcwd.c: Likewise.
12434 * time/strftime_l.c: Likewise.
12436 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12438 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12439 * config.make.in (config-cflags-sse2avx): Define.
12440 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12443 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12445 * scripts/config.guess: Update from upstream config git repository.
12446 * scripts/config.sub: Likewise.
12448 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12450 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12452 (R_TILEPRO_*, R_TILEGX_*): New macros.
12454 * scripts/firstversions.awk: Fix bug in version range handling.
12456 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12458 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12460 * include/sys/epoll.h: New file.
12461 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12464 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12466 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12467 Avoid unnecessary __WORDSIZE == 64 test.
12468 (fmaxf): Use VEX format if possible.
12473 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12474 * math/math_private.h: Remove libc_fegetround* and
12476 * sysdeps/i386/configure.in: Check for -msse2avx.
12477 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12478 also if SSE2AVX is defined.
12479 Remove libc_fegetround* and libc_fesetround*.
12480 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12481 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12486 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12488 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12490 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12492 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12494 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12496 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12498 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12501 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12503 * Makeconfig (libm): Define.
12504 * elf/Makefile: Add rules to build and run tst-relsort1.
12505 * elf/tst-relsort1.c: New file.
12506 * elf/tst-relsort1mod1.c: New file.
12507 * elf/tst-relsort1mod2.c: New file.
12509 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12511 * math/s_ldexp.c: Remove __STDC__ conditionals.
12512 * math/s_ldexpf.c: Likewise.
12513 * math/s_ldexpl.c: Likewise.
12514 * math/s_nextafter.c: Likewise.
12515 * math/s_nexttowardf.c: Likewise.
12516 * math/s_significand.c: Likewise.
12517 * math/s_significandf.c: Likewise.
12518 * math/s_significandl.c: Likewise.
12519 * math/w_jnl.c: Likewise.
12520 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12521 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12522 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12523 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12524 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12526 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12527 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12528 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12529 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12530 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12535 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12539 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12541 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12542 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12544 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12545 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12546 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12547 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12550 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12551 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12555 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12556 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12557 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12558 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12559 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12560 * sysdeps/ieee754/k_standard.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12622 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12627 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12640 * sysdeps/ieee754/s_matherr.c: Likewise.
12641 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12642 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12646 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12648 * crypt/md5.h: Remove __STDC__ conditionals.
12649 * libio/libioP.h: Likewise.
12650 * locale/programs/config.h: Likewise.
12651 * sysdeps/generic/sysdep.h: Likewise.
12652 * sysdeps/i386/asm-syntax.h: Likewise.
12653 * sysdeps/s390/asm-syntax.h: Likewise.
12654 * sysdeps/unix/sysdep.h: Likewise.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12658 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12660 * libio/libio.h: Remove __STDC__ conditionals.
12661 * malloc/obstack.h: Likewise.
12662 * math/complex.h: Likewise.
12663 * math/math.h: Likewise.
12664 * sysdeps/generic/_G_config.h: Likewise.
12665 * sysdeps/gnu/_G_config.h: Likewise.
12666 * sysdeps/mach/hurd/_G_config.h: Likewise.
12667 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12668 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12669 * sysdeps/sparc/bits/mathdef.h: Likewise.
12671 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12674 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12675 Clean up HAS_* macros.
12676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12677 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12681 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12682 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12683 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12684 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12685 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12687 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12689 * elf/tst-unique3.cc (gets): Remove declaration.
12690 * elf/tst-unique3lib.cc (gets): Likewise.
12691 * elf/tst-unique3lib2.cc (gets): Likewise.
12692 * elf/tst-unique4.cc (gets): Likewise.
12694 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12696 * include/stdio.h: Add C++ protection. Add gets declarations and
12698 * debug/tst-chk1.c: Don't declare gets here.
12699 * stdio-common/tst-gets.c: Likewise.
12701 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12703 * posix/glob: Remove directory.
12705 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12707 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12709 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12711 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12712 of the non-standard EPFNOSUPPORT.
12714 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12716 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12717 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12718 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12720 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12722 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12724 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12726 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12728 * nscd/grpcache.c (cache_addgr): Likewise.
12729 * nscd/hstcache.c (cache_addhst): Likewise.
12730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12731 * nscd/pwdcache.c (cache_addpw): Likewise.
12732 * nscd/servicescache.c (cache_addserv): Likewise.
12734 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12736 * malloc/malloc.c: Various cleanups.
12737 * malloc/hooks.c: Likewise.
12739 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12740 * stdlib/bug-fmtmsg1.c: New file.
12742 * stdlib/fmtmsg.c (init): Add missing unlock.
12743 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12745 2012-01-12 Marek Polacek <polacek@redhat.com>
12747 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12750 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12752 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12753 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12754 macro to ensure uniqueness of label name.
12755 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12756 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12758 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12760 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12762 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12763 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12767 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12769 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12771 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12772 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12775 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12777 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12778 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12779 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12782 * math/bits/math-finite.h: Add ldexp support.
12784 2012-01-10 Marek Polacek <polacek@redhat.com>
12786 * locale/programs/localedef.h (show_archive_content): Add noreturn
12789 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12791 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12793 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12795 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12797 * io/Makefile (headers): Add bits/poll2.h.
12799 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12802 typo #include statement.
12804 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12806 * include/sys/cdefs.h: Define __attribute_alloc_size.
12807 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12808 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12809 * elf/pldd.c: Likewise.
12810 * iconv/iconv_charmap.c: Likewise.
12811 * iconv/iconvconfig.c: Likewise.
12812 * iconv/strtab.c: Likewise.
12813 * locale/programs/locale.c: Likewise.
12814 * locale/programs/localedef.h: Likewise.
12815 * locale/programs/simple-hash.c: Likewise.
12816 * nscd/nscd.h: Likewise.
12817 * nss/makedb.c: Likewise.
12818 * sysdeps/generic/ldconfig.h: Likewise.
12819 * locale/programs/localedef.c: Remove xmalloc prototype.
12820 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12822 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12824 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12827 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12829 * math/Makefile (tests): Add tst-CMPLX.
12830 * math/tst-CMPLX.c: New file.
12832 * math/complex.h (CMPLXL): Fix typo.
12834 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12835 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12837 * debug/tst-chk1.c: Add poll and ppoll tests.
12838 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12839 * include/sys/poll.h: Add hidden proto for ppoll.
12840 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12841 * sysdeps/mach/hurd/ppoll.c: Likewise.
12842 * io/ppoll.c: Likewise.
12843 * debug/poll_chk.c: New file.
12844 * debug/ppoll_chk.c: New file.
12845 * include/bits/poll2.h: New file.
12846 * io/bits/poll2.h: New file.
12849 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12851 * configure.in: static is always set to yes. Remove.
12852 * config.make.in: Don't set build-static.
12853 * Makeconfig: Remove use of build-static.
12854 * dlfcn/Makefile: Likewise.
12855 * elf/Makefile: Likewise.
12856 * math/Makefile: Likewise.
12857 * misc/Makefile: Likewise.
12858 * nptl/Makefile: Likewise.
12859 * sysdeps/mach/hurd/Makefile: Likewise.
12861 * configure.in: PWD_P is not used anymore.
12862 * config.make.in: Remove PWD_P entry.
12864 * configure.in: Remove last remnants of RANLIB.
12865 No need to check for signed size_t anymore.
12866 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12868 Remove __builtin_expect test because we require at least gcc 3.4.
12869 * aclocal.m4: Likewise.
12871 * wcsmbs/mbrtoc16.c: Implement using towc function.
12872 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12873 * wcsmbs/wcsmbsload.c: Likewise.
12874 * iconv/gconv_simple.c: Likewise.
12875 * iconv/gconv_int.h: Likewise.
12876 * iconv/gconv_builtin.h: Likewise.
12877 * iconv/iconv_prog.c: Remove CHAR16 handling.
12879 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12881 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12883 * configure.in: Remove --with-elf and --enable-bounded options.
12884 Dont set base_machine for ia64. More non-ELF conditions removed.
12885 Remove testing and setting of leading underscore information.
12886 * config.make.in (build-bounded): Set to no.
12887 * config.h.in: Remove NO_UNDERSCORES entry.
12888 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12890 * csu/start.c: Remove !NO_UNDERSCORE code.
12891 * locale/localeinfo.h: Likewise.
12892 * sysdeps/generic/machine-gmon.h: Likewise.
12893 * sysdeps/generic/sysdep.h: Likewise.
12894 * sysdeps/i386/sysdep.h: Likewise.
12895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12896 * sysdeps/mach/sysdep.h: Likewise.
12897 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12899 * sysdeps/sh/sysdep.h: Likewise.
12900 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12901 * sysdeps/unix/i386/sysdep.S: Likewise.
12902 * sysdeps/unix/sparc/start.c: Likewise.
12903 * sysdeps/unix/sparc/sysdep.S: Likewise.
12904 * sysdeps/unix/sparc/sysdep.h: Likewise.
12905 * sysdeps/unix/start.c: Likewise.
12906 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12907 * sysdeps/x86_64/sysdep.h: Likewise.
12909 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12912 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12914 * argp/argp-fmtstream.h: Use const instead __const.
12915 * argp/argp.h: Likewise.
12916 * assert/assert.h: Likewise.
12917 * bits/fenv.h: Likewise.
12918 * bits/sched.h: Likewise.
12919 * bits/sigset.h: Likewise.
12920 * bits/sigthread.h: Likewise.
12921 * catgets/nl_types.h: Likewise.
12922 * conform/data/pthread.h-data: Likewise.
12923 * crypt/crypt-private.h: Likewise.
12924 * crypt/crypt.h: Likewise.
12925 * crypt/crypt_util.c: Likewise.
12926 * ctype/ctype.h: Likewise.
12927 * debug/execinfo.h: Likewise.
12928 * debug/mbsnrtowcs_chk.c: Likewise.
12929 * debug/mbsrtowcs_chk.c: Likewise.
12930 * debug/wcsnrtombs_chk.c: Likewise.
12931 * debug/wcsrtombs_chk.c: Likewise.
12932 * debug/wcstombs_chk.c: Likewise.
12933 * dirent/dirent.h: Likewise.
12934 * dlfcn/dlfcn.h: Likewise.
12935 * elf/neededtest4.c: Likewise.
12936 * grp/grp.h: Likewise.
12937 * gshadow/gshadow.h: Likewise.
12938 * iconv/gconv.h: Likewise.
12939 * iconv/gconv_int.h: Likewise.
12940 * iconv/gconv_simple.c: Likewise.
12941 * iconv/iconv.h: Likewise.
12942 * iconv/loop.c: Likewise.
12943 * iconv/skeleton.c: Likewise.
12944 * include/aio.h: Likewise.
12945 * include/aliases.h: Likewise.
12946 * include/argz.h: Likewise.
12947 * include/arpa/inet.h: Likewise.
12948 * include/assert.h: Likewise.
12949 * include/dirent.h: Likewise.
12950 * include/dlfcn.h: Likewise.
12951 * include/execinfo.h: Likewise.
12952 * include/fcntl.h: Likewise.
12953 * include/fenv.h: Likewise.
12954 * include/glob.h: Likewise.
12955 * include/grp.h: Likewise.
12956 * include/libintl.h: Likewise.
12957 * include/mntent.h: Likewise.
12958 * include/netdb.h: Likewise.
12959 * include/pwd.h: Likewise.
12960 * include/rpc/netdb.h: Likewise.
12961 * include/sched.h: Likewise.
12962 * include/search.h: Likewise.
12963 * include/shadow.h: Likewise.
12964 * include/signal.h: Likewise.
12965 * include/stdio.h: Likewise.
12966 * include/stdlib.h: Likewise.
12967 * include/string.h: Likewise.
12968 * include/sys/socket.h: Likewise.
12969 * include/sys/stat.h: Likewise.
12970 * include/sys/statfs.h: Likewise.
12971 * include/sys/statvfs.h: Likewise.
12972 * include/sys/syslog.h: Likewise.
12973 * include/sys/time.h: Likewise.
12974 * include/sys/uio.h: Likewise.
12975 * include/time.h: Likewise.
12976 * include/unistd.h: Likewise.
12977 * include/utmp.h: Likewise.
12978 * include/wchar.h: Likewise.
12979 * include/wctype.h: Likewise.
12980 * inet/aliases.h: Likewise.
12981 * inet/arpa/inet.h: Likewise.
12982 * inet/netinet/ether.h: Likewise.
12983 * inet/netinet/in.h: Likewise.
12984 * intl/libintl.h: Likewise.
12985 * io/bits/fcntl2.h: Likewise.
12986 * io/fcntl.h: Likewise.
12987 * io/ftw.h: Likewise.
12988 * io/sys/poll.h: Likewise.
12989 * io/sys/stat.h: Likewise.
12990 * io/sys/statfs.h: Likewise.
12991 * io/sys/statvfs.h: Likewise.
12992 * io/utime.h: Likewise.
12993 * libio/bits/stdio.h: Likewise.
12994 * libio/bits/stdio2.h: Likewise.
12995 * libio/libio.h: Likewise.
12996 * libio/libioP.h: Likewise.
12997 * libio/stdio.h: Likewise.
12998 * locale/lc-ctype.c: Likewise.
12999 * locale/locale.h: Likewise.
13000 * login/utmp.h: Likewise.
13001 * malloc/arena.c: Likewise.
13002 * malloc/malloc.c: Likewise.
13003 * malloc/malloc.h: Likewise.
13004 * malloc/mcheck.c: Likewise.
13005 * malloc/mtrace.c: Likewise.
13006 * math/bits/mathcalls.h: Likewise.
13007 * math/fenv.h: Likewise.
13008 * math/math_private.h: Likewise.
13009 * misc/bits/error.h: Likewise.
13010 * misc/bits/syslog.h: Likewise.
13011 * misc/err.h: Likewise.
13012 * misc/error.h: Likewise.
13013 * misc/fstab.h: Likewise.
13014 * misc/mntent.h: Likewise.
13015 * misc/regexp.h: Likewise.
13016 * misc/search.h: Likewise.
13017 * misc/sgtty.h: Likewise.
13018 * misc/sys/mman.h: Likewise.
13019 * misc/sys/syslog.h: Likewise.
13020 * misc/sys/uio.h: Likewise.
13021 * misc/sys/xattr.h: Likewise.
13022 * misc/ttyent.h: Likewise.
13023 * nis/rpcsvc/ypclnt.h: Likewise.
13024 * nss/nss.h: Likewise.
13025 * posix/bits/unistd.h: Likewise.
13026 * posix/fnmatch.h: Likewise.
13027 * posix/glob.h: Likewise.
13028 * posix/sched.h: Likewise.
13029 * posix/spawn.h: Likewise.
13030 * posix/sys/wait.h: Likewise.
13031 * posix/unistd.h: Likewise.
13032 * posix/wordexp.h: Likewise.
13033 * pwd/pwd.h: Likewise.
13034 * resolv/netdb.h: Likewise.
13035 * resource/sys/resource.h: Likewise.
13036 * rt/aio.h: Likewise.
13037 * rt/bits/mqueue2.h: Likewise.
13038 * rt/mqueue.h: Likewise.
13039 * shadow/shadow.h: Likewise.
13040 * signal/signal.h: Likewise.
13041 * socket/send.c: Likewise.
13042 * socket/sendto.c: Likewise.
13043 * socket/sys/socket.h: Likewise.
13044 * stdio-common/printf.h: Likewise.
13045 * stdlib/bits/stdlib.h: Likewise.
13046 * stdlib/fmtmsg.h: Likewise.
13047 * stdlib/monetary.h: Likewise.
13048 * stdlib/stdlib.h: Likewise.
13049 * stdlib/ucontext.h: Likewise.
13050 * streams/stropts.h: Likewise.
13051 * string/argz.h: Likewise.
13052 * string/bits/string2.h: Likewise.
13053 * string/string.h: Likewise.
13054 * string/strings.h: Likewise.
13055 * sunrpc/rpc/auth.h: Likewise.
13056 * sunrpc/rpc/auth_des.h: Likewise.
13057 * sunrpc/rpc/clnt.h: Likewise.
13058 * sunrpc/rpc/netdb.h: Likewise.
13059 * sunrpc/rpc/pmap_clnt.h: Likewise.
13060 * sunrpc/rpc/xdr.h: Likewise.
13061 * sysdeps/generic/inttypes.h: Likewise.
13062 * sysdeps/generic/net/if.h: Likewise.
13063 * sysdeps/generic/sys/swap.h: Likewise.
13064 * sysdeps/gnu/net/if.h: Likewise.
13065 * sysdeps/gnu/utmpx.h: Likewise.
13066 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13067 * sysdeps/i386/i486/bits/string.h: Likewise.
13068 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13069 * sysdeps/s390/bits/string.h: Likewise.
13070 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13071 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13072 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13073 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13074 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13075 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13076 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13077 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13078 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13079 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13080 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13081 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13082 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13083 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13084 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13085 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13086 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13088 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13091 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13092 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13094 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13095 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13096 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13097 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13098 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13099 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13100 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13101 * sysvipc/sys/ipc.h: Likewise.
13102 * sysvipc/sys/msg.h: Likewise.
13103 * sysvipc/sys/sem.h: Likewise.
13104 * sysvipc/sys/shm.h: Likewise.
13105 * termios/termios.h: Likewise.
13106 * time/sys/time.h: Likewise.
13107 * time/time.h: Likewise.
13108 * wcsmbs/bits/wchar2.h: Likewise.
13109 * wcsmbs/uchar.h: Likewise.
13110 * wcsmbs/wchar.h: Likewise.
13111 * wctype/wctype.h: Likewise.
13114 * Makeconfig: Remove all but ELF support including AIX support.
13115 * Makerules: Likewise.
13116 * config.h.in: Likewise.
13117 * config.make.in: Likewise.
13118 * configure: Likewise.
13119 * configure.in: Likewise.
13120 * csu/Makefile: Likewise.
13121 * csu/version.c: Likewise.
13122 * debug/Makefile: Likewise.
13123 * dlfcn/Makefile: Likewise.
13124 * elf/Makefile: Likewise.
13125 * extra-lib.mk: Likewise.
13126 * iconv/Makefile: Likewise.
13127 * include/libc-symbols.h: Likewise.
13128 * include/shlib-compat.h: Likewise.
13129 * resolv/Makefile: Likewise.
13130 * resolv/res_libc.c: Likewise.
13131 * rt/Makefile: Likewise.
13132 * sysdeps/i386/asm-syntax.h: Likewise.
13133 * sysdeps/i386/sysdep.h: Likewise.
13134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13135 * sysdeps/mach/sysdep.h: Likewise.
13136 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13137 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13138 * sysdeps/s390/asm-syntax.h: Likewise.
13139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13141 * sysdeps/sh/sysdep.h: Likewise.
13142 * sysdeps/unix/sparc/sysdep.h: Likewise.
13143 * sysdeps/wordsize-32/divdi3.c: Likewise.
13144 * sysdeps/x86_64/sysdep.h: Likewise.
13146 * argp/Versions: Remove _argp_unlock_xxx.
13149 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13150 * abilist/libBrokenLocale.abilist: Likewise.
13151 * abilist/libanl.abilist: Likewise.
13152 * abilist/libc.abilist: Likewise.
13153 * abilist/libcrypt.abilist: Likewise.
13154 * abilist/libdl.abilist: Likewise.
13155 * abilist/libm.abilist: Likewise.
13156 * abilist/libnsl.abilist: Likewise.
13157 * abilist/libpthread.abilist: Likewise.
13158 * abilist/libresolv.abilist: Likewise.
13159 * abilist/librt.abilist: Likewise.
13160 * abilist/libthread_db.abilist: Likewise.
13161 * abilist/libutil.abilist: Likewise.
13162 * abilist/libnss_db.abilist: New file.
13164 * scripts/abilist.awk: Add support for indirect functions.
13166 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13168 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13170 * shlib-versions: Remove entries for ports architectures.
13172 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13174 * elf/stackguard-macros.h: Remove support for IA-64.
13175 * elf/tst-auditmod1.c: Likewise.
13176 * sysdeps/generic/ldsodefs.h: Likewise.
13178 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13179 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13183 * configure.in: Remove --enable-omitfp support.
13185 * config.make.in: Likewise.
13186 * Makeconfig: Likewise.
13187 * manual/install.texi: Likewise.
13189 In case anyone cares, the IA-64 architecture could move to ports.
13190 * sysdeps/ia64/*: Removed.
13191 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13192 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13195 * configure.in: Remove entries for unsupported architectures.
13198 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13199 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13201 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13202 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13203 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13204 fall back to using wcrtomb.
13205 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13206 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13208 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13209 * wcsmbs/tst-c16c32-1.c: New file.
13211 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13214 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13216 * elf/tst-unique3.cc: Add explicit declaration of gets.
13217 * elf/tst-unique3lib.cc: Likewise.
13218 * elf/tst-unique3lib2.cc: Likewise.
13219 * elf/tst-unique4.cc: Likewise.
13221 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13223 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13226 * assert/assert.h (static_assert): Don't define for C++.
13227 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13228 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13230 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13232 * iconv/loop.c (single loop): Fix assertion in storing of
13235 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13237 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13239 * posix/getconf.c: Update copyright year.
13240 * nss/getent.c: Likewise.
13241 * nss/makedb.c: Likewise.
13242 * iconv/iconvconfig.c: Likewise.
13243 * iconv/iconv_prog.c: Likewise.
13244 * elf/ldconfig.c: Likewise.
13245 * elf/pldd.c: Likewise.
13246 * elf/sotruss.ksh: Likewise.
13247 * catgets/gencat.c: Likewise.
13248 * csu/version.c: Likewise.
13249 * elf/ldd.bash.in: Likewise.
13250 * elf/sprof.c (print_version): Likewise.
13251 * locale/programs/locale.c: Likewise.
13252 * locale/programs/localedef.c: Likewise.
13253 * login/programs/pt_chown.c: Likewise.
13254 * nscd/nscd.c (print_version): Likewise.
13255 * debug/xtrace.sh: Likewise.
13256 * malloc/memusage.sh: Likewise.
13257 * malloc/mtrace.pl: Likewise.
13258 * debug/catchsegv.sh: Likewise.
13260 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13262 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13265 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13268 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13269 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13271 * iconv/gconv_int.h: Likewise.
13272 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13273 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13274 from libc for GLIBC_2.16.
13275 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13276 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13277 * wcsmbs/uchar.h: Really define mbstate_t.
13278 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13279 * wcsmbs/c16rtomb.c: New file.
13280 * wcsmbs/mbrtoc16.c: New file.
13281 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13282 for C/POSIX locale.
13283 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13284 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13286 * wcsmbs/wchar.h: Add missing __restrict.
13288 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13291 * time/Makefile (routines): Add timespec_get.
13292 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13293 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13294 timespec for ISO C11.
13295 * time/timespec_get.c: New file.
13296 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13297 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13300 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13301 * stdlib/stdlib.h: Declare aligned_alloc.
13302 * Versions.def: Add GLIBC_2.16 for libc.
13303 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13306 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13309 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13313 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13316 * assert/assert.h (static_assert): Define.
13318 * version.h: Update for 2.16 development version.
13321 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13324 * version.h (RELEASE): Bump for 2.15 release.
13325 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13327 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13328 Patch by Marek Polacek <mpolacek@redhat.com>.
13330 * bits/byteswap.h: Protect long long constants with __extension__.
13331 * sysdeps/i386/bits/byteswap.h: Likewise.
13332 * sysdeps/ia64/bits/byteswap.h: Likewise.
13333 * sysdeps/s390/bits/byteswap.h: Likewise.
13334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13336 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13340 destination buffer.
13341 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13343 2011-12-23 Marek Polacek <polacek@redhat.com>
13345 * elf/dl-addr.c (determine_info): Add inline keyword.
13346 * elf/tst-auditmod4b.c (check_avx): Likewise.
13347 * elf/tst-auditmod6b.c (check_avx): Likewise.
13348 * elf/tst-auditmod6c.c (check_avx): Likewise.
13349 * elf/tst-auditmod7b.c (check_avx): Likewise.
13351 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13353 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13356 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13359 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13360 processing for last bytes.
13362 2011-08-06 Bruno Haible <bruno@clisp.org>
13365 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13366 U+0385, not to U+1FEE.
13369 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13370 entry for U+00A5 U+0301.
13372 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13375 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13376 buffer for the output is too small.
13378 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13382 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13383 SSE flags if possible.
13385 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13389 processing for last bytes.
13391 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13393 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13394 (syscall-list-default-options, syscall-list-default-condition)
13395 (syscall-list-includes): Define.
13396 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13397 list of ABIs and options and #if conditions for each ABI. Do not
13398 handle common syscalls between ABIs specially.
13399 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13401 (syscall-list-variants, syscall-list-32bit-options)
13402 (syscall-list-32bit-condition, syscall-list-64bit-options)
13403 (syscall-list-64bit-condition): Define.
13404 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13405 (syscall-list-variants, syscall-list-32bit-options)
13406 (syscall-list-32bit-condition, syscall-list-64bit-options)
13407 (syscall-list-64bit-condition): Define.
13408 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13410 (syscall-list-variants, syscall-list-32bit-options)
13411 (syscall-list-32bit-condition, syscall-list-64bit-options)
13412 (syscall-list-64bit-condition): Define.
13413 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13415 (syscall-list-variants, syscall-list-32bit-options)
13416 (syscall-list-32bit-condition, syscall-list-64bit-options)
13417 (syscall-list-64bit-condition): Define.
13419 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13421 * locale/iso-639.def: Add brx entry.
13424 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13425 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13427 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13428 __feraiseexcept_renamed.
13430 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13433 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13434 EPOLLET with unsigned values.
13435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13438 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13439 to large cancellation.
13440 * math/s_cacoshf.c: Likewise.
13441 * math/s_cacoshl.c: Likewise.
13443 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13447 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13448 * math/s_cacoshf.c: Likewise.
13449 * math/s_cacoshl.c: Likewise.
13451 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13454 * iconv/gconv.h: Define __GCONV_SWAP.
13455 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13456 * iconvdata/utf-16.c: Likewise.
13457 * iconvdata/utf-32.c: Likewise.
13459 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13463 numerator after shifting it by one limb.
13465 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13467 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13468 under [__USE_EXTERN_INLINES].
13470 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13473 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13475 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13477 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13478 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13480 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13481 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13482 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13483 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13484 for strncasecmp/strncasecmp_l compilation.
13485 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13486 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13488 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13491 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13494 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13497 * time/tzfile.c (__tzfile_read): Check values from file header.
13499 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13501 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13502 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13503 * powerpc/powerpc32/dl-start.S: Likewise.
13504 * powerpc/powerpc32/elf/start.S: Likewise.
13505 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13506 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13507 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13508 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13509 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13510 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13511 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13512 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13513 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13514 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13515 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13516 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13517 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13518 * powerpc/powerpc32/memset.S: Likewise.
13519 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13520 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13521 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13522 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13523 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13524 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13525 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13526 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13527 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13528 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13529 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13530 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13531 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13533 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13535 * math/libm-test.inc: Added more nearbyint tests.
13536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13541 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13543 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13546 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13548 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13549 Add wcscpy-ssse3 wcscpy-c.
13550 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13551 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13552 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13553 * sysdeps/x86_64/wcschr.S: New file.
13554 * sysdeps/x86_64/wcsrchr.S: New file.
13555 * string/test-strcmp.c: Remove checking of wcscmp function for
13557 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13558 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13559 wcsrchr-sse2 wcsrchr-c.
13560 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13561 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13562 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13563 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13564 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13565 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13566 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13567 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13568 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13569 * wcsmbc/wcschr.c (WCSCHR): New macro.
13571 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13573 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13574 * wcsmbs/test-wcsrchr.c: New file.
13575 * string/test-strrchr.c: Add wcsrchr support.
13577 * wcsmbs/test-wcscpy.c: New file.
13578 * string/test-strcpy.c: Add wcscpy support.
13581 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13583 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13586 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13589 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13591 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13593 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13594 Minor optimizations.
13596 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13597 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13598 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13600 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13602 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13603 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13604 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13605 for gcc to avoid warnings.
13606 * inet/Makefile (tests): Add tst-checks.
13607 * inet/tst-checks.c: New file.
13609 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13612 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13615 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13616 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13618 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13620 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13622 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13625 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13627 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13629 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13630 conditional on GCC version.
13631 (__arch_compare_and_exchange_val_8_acq)
13632 (__arch_compare_and_exchange_val_16_acq)
13633 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13634 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13635 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13637 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13639 * sysdeps/sh/backtrace.c: New file.
13641 2011-12-02 Andreas Schwab <schwab@redhat.com>
13643 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13646 2011-12-01 Andreas Schwab <schwab@redhat.com>
13648 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13649 falling back to utime.
13651 2011-11-30 Andreas Schwab <schwab@redhat.com>
13653 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13654 expectations for float.
13656 2011-11-29 Andreas Schwab <schwab@redhat.com>
13658 * locale/weight.h (findidx): Add parameter len.
13659 * locale/weightwc.h (findidx): Likewise.
13660 * posix/fnmatch_loop.c (FCT): Adjust caller.
13661 * posix/regcomp.c (build_equiv_class): Likewise.
13662 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13663 * posix/regexec.c (check_node_accept_bytes): Likewise.
13664 * string/strcoll_l.c (STRCOLL): Likewise.
13665 * string/strxfrm_l.c (STRXFRM): Likewise.
13667 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13669 * Makefile.in: Remove CVSOPT handling.
13670 * configure.in: Remove use of AC_REVISION.
13671 * iconvdata/Makefile (distribute): No need to filter out CVS.
13672 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13675 2011-11-16 Andreas Schwab <schwab@redhat.com>
13677 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13678 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13679 [USE_AS_STRNCASECMP_L]: Likewise.
13680 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13681 NO_TLS_DIRECT_SEG_REFS.
13682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13683 Fix argument offsets for non-PIC.
13684 [USE_AS_STRNCASECMP_L]: Likewise.
13685 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13686 NO_TLS_DIRECT_SEG_REFS.
13688 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13690 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13692 * locale/loadlocale.c (_nl_load_locale): Likewise.
13694 2011-11-15 Andreas Schwab <schwab@redhat.com>
13696 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13697 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13699 (SYSCALL_GETTIME): Set errno on error.
13701 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13702 count references to noai6ai_cached.
13704 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13706 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13708 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13709 FD_CLOEXEC for /proc/self/maps.
13711 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13712 FD_CLOEXEC for /proc/meminfo.
13714 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13717 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13718 FD_CLOEXEC for given file.
13720 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13722 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13723 FD_CLOEXEC for /etc/hosts.
13724 (_gethtent): Likewise.
13726 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13728 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13729 cancellation and set FD_CLOEXEC for /etc/netgroup.
13731 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13732 reading /etc/publickey.
13734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13735 allow cancellation when reading /etc/group.
13737 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13739 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13741 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13742 when using data file.
13744 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13746 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13747 (write_nis_obj): Use "c" and "e" in fopen.
13749 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13751 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13753 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13755 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13757 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13760 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13762 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13764 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13766 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13767 file parsing and set FD_CLOEXEC.
13769 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13771 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13773 2011-11-14 Andreas Schwab <schwab@redhat.com>
13775 * malloc/arena.c (arena_get2): Don't call reused_arena when
13776 _int_new_arena failed.
13778 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13780 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13781 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13782 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13783 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13784 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13786 to compile strcasecmp and strncasecmp.
13787 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13788 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13792 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13794 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13795 locale-defines.sym to gen-as-const-headers.
13796 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13797 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13799 to compile strcasecmp and strncasecmp.
13800 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13801 strcasecmp_l and strncasecmp_l.
13802 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13803 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13804 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13805 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13806 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13807 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13808 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13809 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13810 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13811 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13812 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13814 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13816 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13817 result of SYSDEP_GETTIME_CPU to retval.
13818 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13819 parameter list to macro. Remove trailing semicolon. Adjust users.
13821 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13824 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13826 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13828 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13829 from unused variable.
13831 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13833 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13836 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13839 * sunrpc/rpc_prot.c (rejected): Fix case value.
13841 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13842 unsigned long long int to avoid warnings in shift.
13844 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13846 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13849 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13850 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13853 * nis/nis_table.c (nis_list): Use variable of correct type for
13854 result of __follow_path call.
13856 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13858 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13859 of math functions ceil, trunc, floor, round, and sqrt, when
13860 avaliable on the platform.
13861 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13863 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13864 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13865 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13867 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13869 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13870 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13872 2011-11-11 Roland McGrath <roland@hack.frob.com>
13874 * include/unistd.h: Fix __readlink return type.
13875 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13877 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13879 * stdlib/ucontext.h: Undo last change for makecontext.
13881 2011-11-11 Andreas Schwab <schwab@redhat.com>
13883 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13885 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13886 * setjmp/setjmp.h: Mark functions as non-leaf.
13887 * setjmp/bits/setjmp2.h: Likewise.
13888 * stdlib/ucontext.h: Likewise.
13890 2011-11-10 Andreas Schwab <schwab@redhat.com>
13892 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13893 (reused_arena): Don't check arena limit.
13894 (arena_get2): Atomically check arena limit.
13896 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13898 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13899 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13904 2011-11-07 Andreas Schwab <schwab@redhat.com>
13906 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13907 handler when locking.
13909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13910 Fix size of allocated buffer.
13912 2011-11-04 Andreas Schwab <schwab@redhat.com>
13915 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13916 declarations for long double functions.
13917 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13919 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13921 2011-11-03 Andreas Schwab <schwab@redhat.com>
13923 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13926 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13929 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13931 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13933 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13935 * include/alloca.h (stackinfo_alloca_round): Define.
13936 (extend_alloca): Use it.
13937 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13938 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13941 * scripts/check-local-headers.sh: Ignore libaudit.h.
13943 * nscd/Makefile (extra-objs): Make recursively expanded.
13945 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13947 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13950 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13951 * posix/tst-rfc3484-2.c: Likewise.
13952 * posix/tst-rfc3484-3.c: Likewise.
13954 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13956 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13958 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13959 process_vm_writev from libc using GLIBC_2.15 version.
13961 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13963 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13965 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13968 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13971 * nss/getent.c (initgroups_keys): Show error message in case no group
13974 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13975 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13976 __bump_nl_timestamp.
13977 * nscd/connections (nscd_init): When host database is served open
13978 netlink socket and request notification about configuration changes.
13979 (main_loop_poll): Track netlink file descriptor and bump timestamp
13980 in case data becomes available.
13981 (main_loop_epoll): Likewise.
13982 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13983 (database_pers_head): Add extra_data fileds.
13984 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13985 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13986 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13988 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13989 in6ai data, call __free_in6ai.
13990 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13991 Add -DHAVE_NETLINK.
13992 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13993 interface information. Reuse previous data if netlink timestamp
13995 (__bump_nl_timestamp): New function.
13996 (__free_in6ai): New function.
13998 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14000 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14001 close_not_cancel_no_status here.
14002 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14004 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14007 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14010 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14011 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14012 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14014 2011-07-03 Andreas Jaeger <aj@suse.de>
14017 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14018 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14019 * math/libm-test.inc (sin_test): Add test case.
14021 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14024 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14025 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14027 * elf/chroot_canon.c (chroot_canon): Cleanups.
14029 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14032 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14033 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14035 * string/test-strchr.c: Make usable for strchrnul testing.
14036 * string/test-strchrnul.c: New file.
14037 * string/Makefile (strop-tests): Add strchrnul.
14039 * po/it.po: Update from translation team.
14040 * po/es.po: Likewise.
14042 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14045 the three constants needed as parameters. Drop the others.
14046 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14047 __m128i_strloadu_tolower.
14048 Create and initialize variable zero and use it in all the places
14049 where _mm_setzero_si128 was used.
14051 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14052 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14053 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14054 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14056 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14059 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14060 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14061 __mpranred, __mptan.
14062 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14063 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14064 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14065 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14066 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14067 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14068 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14069 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14070 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14072 2011-10-28 Andreas Schwab <schwab@redhat.com>
14074 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14075 redefine if SHARED.
14076 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14079 wide char related routines to wcsmbs subdir.
14081 2011-10-27 Andreas Schwab <schwab@redhat.com>
14084 * misc/sys/cdefs.h (__THROWNL): Define.
14085 * posix/unistd.h: Use __THREADNL instead of __THREAD
14086 for memory synchronization functions.
14088 2011-10-26 Roland McGrath <roland@hack.frob.com>
14091 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14093 * manual/stdio.texi (Obstack Streams): Node removed.
14095 2011-10-26 Andreas Schwab <schwab@redhat.com>
14097 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14098 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14099 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14101 * math/math_private.h (math_force_eval): Allow non-addressable
14103 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14105 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14107 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14108 file is not needed.
14110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14112 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14113 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14114 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14117 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14119 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14120 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14121 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14122 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14123 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14124 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14125 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14126 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14127 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14128 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14129 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14130 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14132 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14133 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14134 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14135 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14136 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14137 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14139 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14140 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14143 place. Use VEX encoding when compiling for AVX.
14145 2011-10-25 Andreas Schwab <schwab@redhat.com>
14147 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14148 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14150 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14152 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14154 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14155 useless if() expression.
14156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14166 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14167 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14168 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14169 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14170 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14172 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14176 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14178 2011-10-25 Andreas Schwab <schwab@redhat.com>
14180 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14184 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14186 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14187 .text section. Avoid duplicate constants.
14188 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14198 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14200 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14203 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14205 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14211 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14212 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14213 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14214 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14215 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14217 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14218 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14219 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14220 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14221 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14222 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14223 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14224 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14225 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14226 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14227 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14229 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14230 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14231 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14232 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14234 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14236 * sysdeps/x86_64/dla.h: Move to ...
14237 * sysdeps/x86_64/fpu/dla.h: ...here.
14238 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14239 situations. Use __builtin_fma only for gcc 4.6 and up.
14241 * config.make.in: Add have-mfma4 entry.
14242 * configure.in: Substitute libc_cv_cc_fma4.
14243 * math/Makefile (dbl-only-routines): Add sincostab.
14244 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14245 Use __sincostab not sincos.
14246 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14253 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14254 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14255 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14256 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14259 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14261 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14262 define aliases when function name is a macro.
14263 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14264 sysdeps/ieee754/dbl-64/sincos.tbl.
14265 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14266 fma4-enabled routines.
14267 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14268 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14269 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14270 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14271 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14272 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14273 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14275 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14276 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14277 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14278 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14279 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14280 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14281 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14282 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14283 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14284 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14285 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14286 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14287 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14288 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14291 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14293 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14294 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14295 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14296 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14298 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14309 2011-10-24 Andreas Schwab <schwab@redhat.com>
14311 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14313 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14317 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14321 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14322 Remove unused variable magic_bits.
14323 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14325 * string/strnlen.c: Define and use STRNLEN macro.
14326 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14327 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14329 * wcsmbs/wcslen.c: Define and use WCSLEN.
14330 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14331 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14332 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14333 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14334 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14335 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14336 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14338 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14341 strnlen-sse2-no-bsf.
14342 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14344 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14345 Add strnlen support.
14346 (USE_AS_STRNLEN): New macro.
14347 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14348 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14349 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14350 * sysdeps/x86_64/wcslen.S: New file.
14352 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14354 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14355 XMM-moves are used for copying on small sizes.
14357 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14359 * wcsmbs/Makefile (strop-tests): Add wcschr.
14360 * wcsmbs/test-wcschr.c: New file.
14361 * string/test-strchr.c: Update.
14362 Add wcschr support.
14365 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14367 * wcsmbs/Makefile (strop-tests): Add wcslen.
14368 * wcsmbs/test-wcslen.c: New file.
14369 * string/test-strlen.c: Update.
14370 Add wcslen support.
14373 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14375 * po/it.po: Update from translation team.
14377 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14379 * sysdeps/x86_64/wcscmp.S: Update.
14380 Fix wrong comparison semantics.
14381 wcscmp shall use signed comparison not unsigned.
14382 Don't use substraction to avoid overflow bug.
14383 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14384 * wcsmbc/wcscmp.c: Likewise.
14385 * string/test-strcmp.c: Likewise.
14386 Add new tests to check cases with negative values.
14388 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14390 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14391 * sysdeps/x86_64/dla.h: ...here. New file.
14392 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14402 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14405 __ynl_finite aliases.
14407 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14411 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14413 [DLA_FMA] (EMULV): Use DLA_FMA.
14414 [DLA_FMA] (MUL12): Use EMULV.
14415 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14416 that are not needed.
14417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14425 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14427 * math/s_nan.c: Undef __nan.
14428 * math/s_nanf.c: Undef __nanf.
14429 * math/s_nanl.c: Undef __nanl.
14430 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14433 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14435 * math/s_catan.c: Add branch predictions.
14436 * math/s_catanf.c: Likewise.
14437 * math/s_catanh.c: Likewise.
14438 * math/s_catanhf.c: Likewise.
14439 * math/s_catanhl.c: Likewise.
14440 * math/s_catanl.c: Likewise.
14441 * math/s_cexp.c: Likewise.
14442 * math/s_cexpf.c: Likewise.
14443 * math/s_cexpl.c: Likewise.
14444 * math/s_clog.c: Likewise.
14445 * math/s_clog10.c: Likewise.
14446 * math/s_clog10f.c: Likewise.
14447 * math/s_clog10l.c: Likewise.
14448 * math/s_clogf.c: Likewise.
14449 * math/s_clogl.c: Likewise.
14450 * math/s_csqrt.c: Likewise.
14451 * math/s_csqrtf.c: Likewise.
14452 * math/s_csqrtl.c: Likewise.
14453 * math/s_ctanf.c: Likewise.
14454 * math/s_ctanh.c: Likewise.
14455 * math/s_ctanhf.c: Likewise.
14456 * math/s_ctanhl.c: Likewise.
14457 * math/s_ctanl.c: Likewise.
14459 * math/math_private.h: Define __nan, __nanf, __nanl.
14460 * math/s_cacosh.c: Include <math_private.h>.
14461 * math/s_cacoshl.c: Likewise.
14462 * math/s_casinh.c: Likewise.
14463 * math/s_casinhf.c: Likewise.
14464 * math/s_casinhl.c: Likewise.
14465 * math/s_ccos.c: Rely entire on ccosh.
14466 * math/s_ccosf.c: Rely entire on ccoshf.
14467 * math/s_ccosl.c: Rely entirely on ccoshl.
14468 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14469 Remove tests for FE_INVALID.
14470 * math/s_ccoshf.c: Likewise.
14471 * math/s_ccoshl.c: Likewise.
14472 * math/s_csin.c: Likewise.
14473 * math/s_csinf.c: Likewise.
14474 * math/s_csinh.c Likewise.
14475 * math/s_csinhf.c: Likewise.
14476 * math/s_csinhl.c: Likewise.
14477 * math/s_csinl.c: Likewise.
14478 * math/s_ctan.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14480 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14481 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14483 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14486 compilation problems.
14488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14491 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14493 * sysdeps/i386/configure.in: Test for -mfma4 option.
14494 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14495 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14496 COMMON_CPUID_INDEX_80000001.
14497 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14498 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14499 use it if FMA3 is not supported.
14500 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14502 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14503 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14505 2011-10-20 Andreas Schwab <schwab@redhat.com>
14508 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14509 it would create a cycle with a link time dependency.
14511 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14513 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14515 * string/Makefile (strop-tests): Add rawmemchr.
14516 * string/test-rawmemchr.c: New file.
14518 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14519 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14520 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14521 when compiling str{,n}casecmp and when AVX is available. Hook up
14522 new optimized code in initializers.
14524 2011-10-19 Andreas Schwab <schwab@redhat.com>
14526 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14527 __feraiseexcept instead of feraiseexcept.
14529 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14531 * math/math_private.h: Define defaults for libc_fetestexcept and
14533 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14534 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14535 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14536 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14537 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14538 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14539 libc_fetestexcept and libc_feupdateenv.
14541 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14542 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14543 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14544 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14545 libc_feholdexcept_setround.
14547 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14548 Add s_nearbyint-c and s_nearbyintf-c.
14549 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14550 nearbyintf inlines.
14551 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14552 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14553 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14554 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14556 * math/math_private.h: Define defaults for libc_fegetround,
14557 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14558 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14559 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14560 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14561 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14562 standard functions.
14563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14564 Remove comments and hacks for old compiler versions.
14565 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14566 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14567 libc_feholdexceptl.
14569 2011-10-18 Andreas Schwab <schwab@redhat.com>
14571 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14572 (__feraiseexcept_renamed): Add __NTH.
14573 (feraiseexcept): Add __NTH. Rename local variables to fix
14574 namespace violations.
14576 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14578 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14580 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14582 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14583 recently added interfaces.
14584 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14586 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14587 about macro parameter expansion.
14589 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14590 __NO_MATH_INLINES is defined. Cleanups.
14592 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14593 and __floorf is target has SSE4.1.
14594 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14595 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14596 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14599 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14601 (floorf): Likewise.
14603 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14605 2011-10-17 Andreas Schwab <schwab@redhat.com>
14607 * misc/sys/cdefs.h: Fix last change.
14609 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14612 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14614 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14616 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14622 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14623 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14624 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14625 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14626 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14627 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14628 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14629 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14630 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14631 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14632 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14633 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14634 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14635 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14636 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14637 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14639 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14640 ceil, ceilf, floor, floorf.
14642 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14643 Perform IRELATIVE relocations last.
14645 * elf/do-rel.h: Add another parameter nrelative, replacing the
14646 local variable with the same name. Change name of the function
14647 to end in Rel or Rela (uppercase).
14648 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14649 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14650 elf_dynamic_do_##reloc function.
14652 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14654 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14655 is sufficient, at least on modern CPUs.
14657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14659 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14660 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14662 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14664 * math/bits/math-finite.h: Add entries for exp.
14665 * math/e_expl.c: Add __*_finite alias.
14666 * sysdeps/i386/fpu/e_exp.S: Likewise.
14667 * sysdeps/i386/fpu/e_expf.S: Likewise.
14668 * sysdeps/i386/fpu/e_expl.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14670 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14674 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14675 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14677 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14678 is sufficient, at least on modern CPUs.
14680 * ctype/ctype-info.c (__ctype_init): Define.
14681 * include/ctype.h (__ctype_init): Declare.
14682 (__ctype_b_loc): The variable is always initialized.
14683 (__ctype_toupper_loc): Likewise.
14684 (__ctype_tolower_loc): Likewise.
14685 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14686 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14688 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14690 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14692 * configure.in: Also look in $cxxmachine/include for C++ system
14695 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14697 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14698 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14699 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14700 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14702 (USE_AS_WMEMCMP): New macro.
14704 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14705 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14706 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14707 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14709 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14710 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14711 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14712 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14713 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14714 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14715 (USE_AS_WMEMCMP): New macro.
14716 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14717 * sysdeps/string/test-memcmp.c: Update.
14718 Fix simple_wmemcmp.
14720 * wcsmbs/wmemcmp.c: Update.
14721 (WMEMCMP): New macro.
14724 2011-10-12 Andreas Jaeger <aj@suse.de>
14727 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14729 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14731 * libio/iofwide.c (do_length): Avoid warning.
14733 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14735 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14737 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14739 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14740 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14741 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14742 * sysdeps/i386/i686/fpu/e_log.S: New file.
14743 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14744 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14746 * ctype/ctype.h: Add support for inlined isXXX functions when
14747 compiling C++ code.
14749 2011-10-14 Andreas Schwab <schwab@redhat.com>
14751 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14753 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14755 2011-10-13 Roland McGrath <roland@hack.frob.com>
14758 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14760 2011-10-13 Andreas Schwab <schwab@redhat.com>
14762 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14763 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14766 * sysdeps/x86_64/memrchr.S: Check for zero size.
14768 * string/stratcliff.c: Add memrchr tests.
14770 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14773 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14774 rawmemchr-sse2 rawmemchr-sse2-bsf.
14775 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14776 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14777 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14778 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14779 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14780 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14781 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14782 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14783 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14784 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14785 * string/memrchr.c (MEMRCHR): New macro.
14787 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14789 Add integration with gcc's -ffinite-math-only and optimize wrapper
14791 * Versions.def: Define GLIBC_2.15 version for libm.
14792 * math/Makefile (headers): Add bits/math-finite.h.
14793 * math/bits/math-finite.h: New file.
14794 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14795 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14796 * math/e_acoshl.c: Add __*_finite alias.
14797 * math/e_acosl.c: Likewise.
14798 * math/e_asinl.c: Likewise.
14799 * math/e_atan2l.c: Likewise.
14800 * math/e_atanhl.c: Likewise.
14801 * math/e_coshl.c: Likewise.
14802 * math/e_exp10.c: Likewise.
14803 * math/e_exp10f.c: Likewise.
14804 * math/e_exp10l.c: Likewise.
14805 * math/e_exp2l.c: Likewise.
14806 * math/e_fmodl.c: Likewise.
14807 * math/e_gammal_r.c: Likewise.
14808 * math/e_hypotl.c: Likewise.
14809 * math/e_j0l.c: Likewise.
14810 * math/e_j1l.c: Likewise.
14811 * math/e_jnl.c: Likewise.
14812 * math/e_lgammal_r.c: Likewise.
14813 * math/e_log10l.c: Likewise.
14814 * math/e_log2l.c: Likewise.
14815 * math/e_logl.c: Likewise.
14816 * math/e_powl.c: Likewise.
14817 * math/e_sinhl.c: Likewise.
14818 * math/e_sqrtl.c: Likewise.
14819 * math/e_scalb.c: Completely rewritten and optimized.
14820 * math/e_scalbf.c: Likewise.
14821 * math/e_scalbl.c: Likewise.
14822 * math/w_acos.c: Likewise.
14823 * math/w_acosf.c: Likewise.
14824 * math/w_acosl.c: Likewise.
14825 * math/w_acosh.c: Likewise.
14826 * math/w_acoshf.c: Likewise.
14827 * math/w_acoshl.c: Likewise.
14828 * math/w_asin.c: Likewise.
14829 * math/w_asinf.c: Likewise.
14830 * math/w_asinl.c: Likewise.
14831 * math/w_atan2.c: Likewise.
14832 * math/w_atan2f.c: Likewise.
14833 * math/w_atan2l.c: Likewise.
14834 * math/w_atanh.c: Likewise.
14835 * math/w_atanhf.c: Likewise.
14836 * math/w_atanhl.c: Likewise.
14837 * math/w_exp10.c: Likewise.
14838 * math/w_exp10f.c: Likewise.
14839 * math/w_exp10l.c: Likewise.
14840 * math/w_fmod.c: Likewise.
14841 * math/w_fmodf.c: Likewise.
14842 * math/w_fmodl.c: Likewise.
14843 * math/w_j0.c: Likewise.
14844 * math/w_j0f.c: Likewise.
14845 * math/w_j0l.c: Likewise.
14846 * math/w_j1.c: Likewise.
14847 * math/w_j1f.c: Likewise.
14848 * math/w_j1l.c: Likewise.
14849 * math/w_jn.c: Likewise.
14850 * math/w_jnf.c: Likewise.
14851 * math/w_log.c: Likewise.
14852 * math/w_logf.c: Likewise.
14853 * math/w_logl.c: Likewise.
14854 * math/w_log10.c: Likewise.
14855 * math/w_log10f.c: Likewise.
14856 * math/w_log10l.c: Likewise.
14857 * math/w_log2.c: Likewise.
14858 * math/w_log2f.c: Likewise.
14859 * math/w_log2l.c: Likewise.
14860 * math/w_pow.c: Likewise.
14861 * math/w_powf.c: Likewise.
14862 * math/w_powl.c: Likewise.
14863 * math/w_remainder.c: Likewise.
14864 * math/w_remainderf.c: Likewise.
14865 * math/w_remainderl.c: Likewise.
14866 * math/w_scalb.c: Likewise.
14867 * math/w_scalbf.c: Likewise.
14868 * math/w_scalbl.c: Likewise.
14869 * math/w_sqrt.c: Likewise.
14870 * math/w_sqrtf.c: Likewise.
14871 * math/w_sqrtl.c: Likewise.
14872 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14873 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14875 * math/math_private.h: Declare __kernel_standard_f.
14876 * math/w_cosh.c: Remove cruft and optimize a bit.
14877 * math/w_coshf.c: Likewise.
14878 * math/w_coshl.c: Likewise.
14879 * math/w_exp2.c: Likewise.
14880 * math/w_exp2f.c: Likewise.
14881 * math/w_exp2l.c: Likewise.
14882 * math/w_hypot.c: Likewise.
14883 * math/w_hypotf.c: Likewise.
14884 * math/w_hypotl.c: Likewise.
14885 * math/w_lgamma.c: Likewise.
14886 * math/w_lgamma_r.c: Likewise.
14887 * math/w_lgammaf.c: Likewise.
14888 * math/w_lgammaf_r.c: Likewise.
14889 * math/w_lgammal.c: Likewise.
14890 * math/w_lgammal_r.c: Likewise.
14891 * math/w_sinh.c: Likewise.
14892 * math/w_sinhf.c: Likewise.
14893 * math/w_sinhl.c: Likewise.
14894 * math/w_tgamma.c: Likewise.
14895 * math/w_tgammaf.c: Likewise.
14896 * math/w_tgammal.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14899 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14900 Minor optimizations. Pretty printing. Remove cruft.
14901 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14902 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14903 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14904 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14905 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14906 * sysdeps/i386/fpu/e_asin.S: Likewise.
14907 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14908 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14909 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14910 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14912 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14913 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14914 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14915 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14916 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14917 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14918 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14919 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14920 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14921 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14922 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14923 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14924 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14925 * sysdeps/i386/fpu/e_log.S: Likewise.
14926 * sysdeps/i386/fpu/e_log10.S: Likewise.
14927 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14928 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14929 * sysdeps/i386/fpu/e_log2.S: Likewise.
14930 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14931 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14932 * sysdeps/i386/fpu/e_logf.S: Likewise.
14933 * sysdeps/i386/fpu/e_logl.S: Likewise.
14934 * sysdeps/i386/fpu/e_pow.S: Likewise.
14935 * sysdeps/i386/fpu/e_powf.S: Likewise.
14936 * sysdeps/i386/fpu/e_powl.S: Likewise.
14937 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14938 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14939 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14940 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14941 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14942 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14943 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14944 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14945 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14953 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14954 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14955 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14957 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14959 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14960 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14962 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14963 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14966 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14967 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14969 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14970 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14971 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14972 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14973 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14974 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14975 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14976 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14977 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14978 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14979 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14980 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14981 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14982 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14983 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14984 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14985 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14986 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14987 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15026 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15029 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15031 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15034 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15037 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15039 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15040 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15041 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15042 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15043 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15044 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15045 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15046 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15047 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15048 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15049 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15050 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15051 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15052 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15054 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15055 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15056 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15057 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15058 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15059 (__isnanf): Likewise.
15060 (__isinf_ns): Likewise.
15061 (__isinf_nsf): Likewise.
15062 (__finite): Likewise.
15063 (__finitef): Likewise.
15064 (__ieee754_sqrt): Define as macro.
15065 (__ieee754_sqrtf): Define as macro.
15066 (__ieee754_sqrtl): Define as macro.
15067 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15069 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15070 __FINITE_MATH_ONLY__ consistent.
15071 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15073 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15075 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15078 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15080 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15082 * po/ja.po: Update from translation team.
15084 2011-10-08 Roland McGrath <roland@hack.frob.com>
15086 * locale/programs/locarchive.c (prepare_address_space): New function.
15087 (create_archive, enlarge_archive, open_archive): Use it.
15089 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15090 inside [SHARED], where it is used.
15092 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15094 * nss/getent.c (netgroup_keys): Remove unused variable.
15095 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15097 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15099 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15100 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15103 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15104 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15105 * math/Makefile (libm-calls): Add s_isinf_ns.
15106 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15107 * math/multc3.c: Likewise.
15108 * math/s_casin.c: Likewise.
15109 * math/s_casinf.c: Likewise.
15110 * math/s_casinl.c: Likewise.
15111 * math/s_ccos.c: Likewise.
15112 * math/s_ccosf.c: Likewise.
15113 * math/s_ccosl.c: Likewise.
15114 * math/s_ctan.c: Likewise.
15115 * math/s_ctanf.c: Likewise.
15116 * math/s_ctanh.c: Likewise.
15117 * math/s_ctanhf.c: Likewise.
15118 * math/s_ctanhl.c: Likewise.
15119 * math/s_ctanl.c: Likewise.
15120 * math/w_fmod.c: Likewise.
15121 * math/w_fmodf.c: Likewise.
15122 * math/w_fmodl.c: Likewise.
15123 * math/w_remainder.c: Likewise.
15124 * math/w_remainderf.c: Likewise.
15125 * math/w_remainderl.c: Likewise.
15126 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15127 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15128 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15130 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15131 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15132 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15133 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15135 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15137 * stdio-common/printf_fphex.c: Likewise.
15138 * stdio-common/printf_size.c: Likewise.
15140 * math/e_exp10.c: Include math_private.h using <...> not "...".
15141 * math/e_exp10f.c: Likewise.
15142 * math/e_exp10l.c: Likewise.
15143 * math/e_exp2l.c: Likewise.
15144 * math/e_j0l.c: Likewise.
15145 * math/e_j1l.c: Likewise.
15146 * math/e_jnl.c: Likewise.
15147 * math/e_lgammal_r.c: Likewise.
15148 * math/e_rem_pio2l.c: Likewise.
15149 * math/e_scalb.c: Likewise.
15150 * math/e_scalbf.c: Likewise.
15151 * math/e_scalbl.c: Likewise.
15152 * math/k_cosl.c: Likewise.
15153 * math/k_sinl.c: Likewise.
15154 * math/k_tanl.c: Likewise.
15155 * math/s_cacoshf.c: Likewise.
15156 * math/s_catan.c: Likewise.
15157 * math/s_catanf.c: Likewise.
15158 * math/s_catanh.c: Likewise.
15159 * math/s_catanhf.c: Likewise.
15160 * math/s_catanhl.c: Likewise.
15161 * math/s_catanl.c: Likewise.
15162 * math/s_ccosh.c: Likewise.
15163 * math/s_ccoshf.c: Likewise.
15164 * math/s_ccoshl.c: Likewise.
15165 * math/s_cexp.c: Likewise.
15166 * math/s_cexpf.c: Likewise.
15167 * math/s_cexpl.c: Likewise.
15168 * math/s_clog.c: Likewise.
15169 * math/s_clog10.c: Likewise.
15170 * math/s_clog10f.c: Likewise.
15171 * math/s_clog10l.c: Likewise.
15172 * math/s_clogf.c: Likewise.
15173 * math/s_clogl.c: Likewise.
15174 * math/s_csin.c: Likewise.
15175 * math/s_csinf.c: Likewise.
15176 * math/s_csinh.c: Likewise.
15177 * math/s_csinhf.c: Likewise.
15178 * math/s_csinhl.c: Likewise.
15179 * math/s_csinl.c: Likewise.
15180 * math/s_csqrt.c: Likewise.
15181 * math/s_csqrtf.c: Likewise.
15182 * math/s_csqrtl.c: Likewise.
15183 * math/s_ctan.c: Likewise.
15184 * math/s_ctanf.c: Likewise.
15185 * math/s_ctanh.c: Likewise.
15186 * math/s_ctanhf.c: Likewise.
15187 * math/s_ctanhl.c: Likewise.
15188 * math/s_ctanl.c: Likewise.
15189 * math/s_ldexp.c: Likewise.
15190 * math/s_ldexpf.c: Likewise.
15191 * math/s_ldexpl.c: Likewise.
15192 * math/s_significand.c: Likewise.
15193 * math/s_significandf.c: Likewise.
15194 * math/s_significandl.c: Likewise.
15195 * math/w_acos.c: Likewise.
15196 * math/w_acosf.c: Likewise.
15197 * math/w_acosh.c: Likewise.
15198 * math/w_acoshf.c: Likewise.
15199 * math/w_acoshl.c: Likewise.
15200 * math/w_acosl.c: Likewise.
15201 * math/w_asin.c: Likewise.
15202 * math/w_asinf.c: Likewise.
15203 * math/w_asinl.c: Likewise.
15204 * math/w_atan2.c: Likewise.
15205 * math/w_atan2f.c: Likewise.
15206 * math/w_atan2l.c: Likewise.
15207 * math/w_atanh.c: Likewise.
15208 * math/w_atanhf.c: Likewise.
15209 * math/w_atanhl.c: Likewise.
15210 * math/w_cosh.c: Likewise.
15211 * math/w_coshf.c: Likewise.
15212 * math/w_coshl.c: Likewise.
15213 * math/w_dremf.c: Likewise.
15214 * math/w_exp10.c: Likewise.
15215 * math/w_exp10f.c: Likewise.
15216 * math/w_exp10l.c: Likewise.
15217 * math/w_exp2.c: Likewise.
15218 * math/w_exp2f.c: Likewise.
15219 * math/w_fmod.c: Likewise.
15220 * math/w_fmodf.c: Likewise.
15221 * math/w_fmodl.c: Likewise.
15222 * math/w_hypot.c: Likewise.
15223 * math/w_hypotf.c: Likewise.
15224 * math/w_hypotl.c: Likewise.
15225 * math/w_j0.c: Likewise.
15226 * math/w_j0f.c: Likewise.
15227 * math/w_j0l.c: Likewise.
15228 * math/w_j1.c: Likewise.
15229 * math/w_j1f.c: Likewise.
15230 * math/w_j1l.c: Likewise.
15231 * math/w_jn.c: Likewise.
15232 * math/w_jnf.c: Likewise.
15233 * math/w_jnl.c: Likewise.
15234 * math/w_lgamma.c: Likewise.
15235 * math/w_lgamma_r.c: Likewise.
15236 * math/w_lgammaf.c: Likewise.
15237 * math/w_lgammaf_r.c: Likewise.
15238 * math/w_lgammal.c: Likewise.
15239 * math/w_lgammal_r.c: Likewise.
15240 * math/w_log.c: Likewise.
15241 * math/w_log10.c: Likewise.
15242 * math/w_log10f.c: Likewise.
15243 * math/w_log10l.c: Likewise.
15244 * math/w_log2.c: Likewise.
15245 * math/w_log2f.c: Likewise.
15246 * math/w_log2l.c: Likewise.
15247 * math/w_logf.c: Likewise.
15248 * math/w_logl.c: Likewise.
15249 * math/w_pow.c: Likewise.
15250 * math/w_powf.c: Likewise.
15251 * math/w_powl.c: Likewise.
15252 * math/w_remainder.c: Likewise.
15253 * math/w_remainderf.c: Likewise.
15254 * math/w_remainderl.c: Likewise.
15255 * math/w_scalb.c: Likewise.
15256 * math/w_scalbf.c: Likewise.
15257 * math/w_scalbl.c: Likewise.
15258 * math/w_sinh.c: Likewise.
15259 * math/w_sinhf.c: Likewise.
15260 * math/w_sinhl.c: Likewise.
15261 * math/w_sqrt.c: Likewise.
15262 * math/w_sqrtf.c: Likewise.
15263 * math/w_sqrtl.c: Likewise.
15264 * math/w_tgamma.c: Likewise.
15265 * math/w_tgammaf.c: Likewise.
15266 * math/w_tgammal.c: Likewise.
15268 * po/ja.po: Update from translation team.
15270 2011-09-29 Andreas Jaeger <aj@suse.de>
15273 * sunrpc/netname.c (netname2host): Fix logic.
15277 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15279 * math/w_remainder.c (__remainder): Likewise.
15280 * math/w_remainderf.c (__remainderf): Likewise.
15281 * math/libm-test.inc (remainder_test): Add test cases.
15283 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15285 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15288 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15290 * string/test-memcmp.c: Avoid unncessary #defines.
15291 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15293 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15295 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15296 Use new sse2 version for core i3 - i7 as it's faster
15297 than sse42 version.
15298 (bit_Prefer_PMINUB_for_stringop): New.
15299 * sysdeps/x86_64/rawmemchr.S: Update.
15300 Replace with faster SSE2 version.
15301 * sysdeps/x86_64/memrchr.S: New file.
15302 * sysdeps/x86_64/memchr.S: Update.
15303 Replace with faster SSE2 version.
15305 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15307 * elf/dl-load.c (lose): Add cast to avoid warning.
15309 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15311 * po/ca.po: Update from translation team.
15313 * inet/getnetgrent_r.c: Hook up nscd.
15314 * nscd/Makefile (routines): Add nscd_netgroup.
15315 (nscd-modules): Add netgroupcache.
15316 (CFLAGS-netgroupcache.c): Define.
15317 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15318 (cache_search): Add const to second parameter.
15319 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15321 (dbs): Add netgrdb entry.
15322 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15323 (verify_persistent_db): Handle netgrdb.
15324 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15325 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15327 (netgroup_response_header): Define.
15328 (innetgroup_response_header): Define.
15329 (datahead): Add netgroup_response_header and innetgroup_response_header
15331 * nscd/nscd.conf: Add entries for netgroup cache.
15332 * nscd/nscd.h (dbtype): Add netgrdb.
15333 (_PATH_NSCD_NETGROUP_DB): Define.
15334 (netgroup_iov_disabled): Declare.
15335 (xmalloc, xcalloc, xrealloc): Move declarations here.
15336 (cache_search): Adjust prototype.
15337 Add netgroup-related prototypes.
15338 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15339 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15340 (__nscd_innetgr): Declare.
15341 * nscd/selinux.c (perms): Use access_vector_t as element type and
15342 add netgroup-related initializers.
15343 * nscd/netgroupcache.c: New file.
15344 * nscd/nscd_netgroup.c: New file.
15345 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15346 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15347 For four parameters use innetgr.
15348 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15349 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15350 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15351 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15353 * nscd/connections.c (register_traced_file): Don't register file
15354 for disabled databases.
15356 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15358 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15360 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15361 from tree and freeing node.
15363 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15365 * nss/nsswitch.c (__nss_database_lookup): Handle
15366 nss_parse_service_list out of memory case.
15368 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15370 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15371 out of memory case.
15373 2011-10-04 Andreas Schwab <schwab@redhat.com>
15375 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15376 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15378 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15379 elf_machine_rela, elf_machine_lazy_rel.
15380 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15381 (ELF_DYNAMIC_DO_REL): Likewise.
15382 (ELF_DYNAMIC_DO_RELA): Likewise.
15383 (ELF_DYNAMIC_RELOCATE): Likewise.
15384 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15385 to ELF_DYNAMIC_DO_REL.
15386 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15387 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15388 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15391 skip_ifunc, don't call ifunc function if non-zero.
15392 (elf_machine_rela): Likewise.
15393 (elf_machine_lazy_rel): Likewise.
15394 (elf_machine_lazy_rela): Likewise.
15395 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15396 (elf_machine_lazy_rel): Likewise.
15397 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15399 (elf_machine_lazy_rel): Likewise.
15400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15402 (elf_machine_lazy_rel): Likewise.
15403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15404 (elf_machine_lazy_rel): Likewise.
15405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15406 (elf_machine_lazy_rel): Likewise.
15407 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15408 (elf_machine_lazy_rel): Likewise.
15409 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15410 (elf_machine_lazy_rel): Likewise.
15411 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15412 (elf_machine_lazy_rel): Likewise.
15413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15414 (elf_machine_lazy_rel): Likewise.
15416 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15418 * nss/nss_files/files-init.c (_nss_files_init): Use static
15419 initialization for all the *_traced_file variables.
15421 2011-09-28 Andreas Schwab <schwab@redhat.com>
15423 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15425 2011-09-27 Roland McGrath <roland@hack.frob.com>
15428 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15430 2011-09-27 Andreas Schwab <schwab@redhat.com>
15432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15433 Reread the line before reparsing it.
15435 2011-09-26 Andreas Schwab <schwab@redhat.com>
15437 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15439 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15440 Maxim Kuvyrkov <maxim@codesourcery.com>
15441 Joseph Myers <joseph@codesourcery.com>
15443 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15444 if needed for __stack_chk_guard.
15446 2011-09-19 Roland McGrath <roland@hack.frob.com>
15448 * sysdeps/posix/spawni.c (script_execute): Always define it.
15449 It will be optimized away if unused.
15450 (maybe_script_execute): New function.
15451 (__spawni): Call it.
15453 * Makerules: Don't include tls.make.
15454 (config-tls): Always set to thread.
15455 * tls.make.c: File removed.
15457 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15459 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15460 * config.make.in (CPPFLAGS-config): New substituted variable.
15462 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15464 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15467 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15468 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15470 2011-09-15 Roland McGrath <roland@hack.frob.com>
15472 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15473 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15475 (CALL_FAIL): Likewise.
15476 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15477 (CALL_FAIL): Macro removed.
15478 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15480 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15482 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15483 for __FINITE_MATH_ONLY__ == 1.
15485 2011-09-15 Andreas Schwab <schwab@redhat.com>
15487 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15488 __ieee754_sqrt instead of sqrt.
15489 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15490 __ieee754_sqrtf instead of sqrtf.
15491 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15492 __floorf instead of floorf.
15493 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15494 __floorf, __truncf instead of floorf, truncf.
15496 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15498 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15500 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15501 __extern_always_inline.
15502 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15505 2011-09-14 Andreas Schwab <schwab@redhat.com>
15507 * elf/rtld.c (dl_main): Also relocate in dependency order when
15508 doing symbol dependency testing.
15510 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15513 Always define `refsym'.
15515 2011-09-13 Andreas Schwab <schwab@redhat.com>
15517 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15518 (__FD_ELT): Renamed from __FDELT.
15519 * misc/bits/select2.h (__FD_ELT): Likewise.
15520 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15521 __FD_MASK instead of __FDELT, __FDMASK.
15522 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15524 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15527 * elf/Makefile (gen-ldd): Fix pattern.
15529 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15530 (init_tls): Likewise.
15532 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15536 2011-09-12 Andreas Schwab <schwab@redhat.com>
15538 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15539 `struct cmsghdr *' instead of `void *'.
15540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15543 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15545 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15547 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15548 ldd_rewrite_script.
15550 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15552 * configure.in: Remove --with-tls option.
15553 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15554 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15555 out in case it is missing.
15556 * sysdeps/ia64/elf/configure.in: Likewise.
15557 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15558 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15559 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15560 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15561 * sysdeps/sh/elf/configure.in: Likewise.
15562 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15563 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15564 * sysdeps/x86_64/elf/configure.in: Likewise.
15565 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15566 * sysdeps/mach/hurd/tls.h: Likewise.
15569 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15572 * configure.in: Fix use of AC_INIT.
15574 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15576 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15578 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15580 * malloc/hooks.c: Likewise.
15583 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15584 variables statically.
15585 (narenas): Initialize.
15586 (list_lock): Initialize.
15587 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15588 initializtion of main_arena and list_lock. Small cleanups.
15589 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15590 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15591 Add initializers to main_arena and mp_.
15592 (malloc_state): Remove pagesize member. Change all users to use
15595 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15596 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15597 is always initialized.
15599 * malloc/malloc.c: Removed unused configurations and dead code.
15600 * malloc/arena.c: Likewise.
15601 * malloc/hooks.c: Likewise.
15602 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15604 * include/tls.h: Removed. USE___THREAD must always be defined.
15605 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15606 * elf/dl-libc.c: Likewise.
15607 * elf/dl-tsd.c: Likewise.
15608 * include/errno.h: Likewise.
15609 * include/netdb.h: Likewise.
15610 * include/resolv.h: Likewise.
15611 * inet/herrno-loc.c: Likewise.
15612 * inet/herrno.c: Likewise.
15613 * malloc/arena.c: Likewise.
15614 * malloc/hooks.c: Likewise.
15615 * malloc/malloc.c: Likewise.
15616 * resolv/res-state.c: Likewise.
15617 * resolv/res_libc.c: Likewise.
15618 * sysdeps/i386/dl-machine.h: Likewise.
15619 * sysdeps/ia64/dl-machine.h: Likewise.
15620 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15621 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15622 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15623 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15624 * sysdeps/sh/dl-machine.h: Likewise.
15625 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15626 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15627 * sysdeps/unix/i386/sysdep.S: Likewise.
15628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15629 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15634 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15638 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15639 * sysdeps/x86_64/dl-machine.h: Likewise.
15640 * tls.make.c: Likewise.
15642 * configure.in: Remove --with-__thread option. Make tests for
15643 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15644 tls_model attribute fail if no support is available. Remove
15646 * Makeconfig: Adjust for dropped configure option. All features are
15648 * Makerules: Likewise.
15649 * Versions.def: Likewise.
15650 * argp/argp-fmtstream.c: Likewise.
15651 * argp/argp-fmtstream.h: Likewise.
15652 * argp/argp-help.c: Likewise.
15653 * assert/assert.c: Likewise.
15654 * config.h.in: Likewise.
15655 * config.make.in: Likewise.
15656 * configure: Likewise.
15657 * configure.in: Likewise.
15658 * csu/Versions: Likewise.
15659 * csu/init.c: Likewise.
15660 * elf/tst-audit2.c: Likewise.
15661 * elf/tst-tls10.c: Likewise.
15662 * elf/tst-tls10.h: Likewise.
15663 * elf/tst-tls11.c: Likewise.
15664 * elf/tst-tls12.c: Likewise.
15665 * elf/tst-tls14.c: Likewise.
15666 * elf/tst-tlsmod11.c: Likewise.
15667 * elf/tst-tlsmod12.c: Likewise.
15668 * elf/tst-tlsmod13.c: Likewise.
15669 * elf/tst-tlsmod13a.c: Likewise.
15670 * elf/tst-tlsmod14a.c: Likewise.
15671 * elf/tst-tlsmod15b.c: Likewise.
15672 * elf/tst-tlsmod16a.c: Likewise.
15673 * elf/tst-tlsmod16b.c: Likewise.
15674 * elf/tst-tlsmod7.c: Likewise.
15675 * elf/tst-tlsmod8.c: Likewise.
15676 * elf/tst-tlsmod9.c: Likewise.
15677 * gmon/gmon.c: Likewise.
15678 * grp/fgetgrent_r.c: Likewise.
15679 * grp/putgrent.c: Likewise.
15680 * hurd/fopenport.c: Likewise.
15681 * include/libc-symbols.h: Likewise.
15682 * include/tls.h: Likewise.
15683 * intl/gettextP.h: Likewise.
15684 * intl/loadinfo.h: Likewise.
15685 * locale/global-locale.c: Likewise.
15686 * locale/localeinfo.h: Likewise.
15687 * mach/devstream.c: Likewise.
15688 * malloc/arena.c: Likewise.
15689 * malloc/set-freeres.c: Likewise.
15690 * misc/err.c: Likewise.
15691 * misc/getttyent.c: Likewise.
15692 * misc/mntent_r.c: Likewise.
15693 * posix/getopt.c: Likewise.
15694 * posix/wordexp.c: Likewise.
15695 * pwd/fgetpwent_r.c: Likewise.
15696 * resolv/Versions: Likewise.
15697 * resolv/res_hconf.c: Likewise.
15698 * shadow/fgetspent_r.c: Likewise.
15699 * shadow/putspent.c: Likewise.
15700 * stdio-common/printf_fphex.c: Likewise.
15701 * stdio-common/tmpfile.c: Likewise.
15702 * stdlib/abort.c: Likewise.
15703 * stdlib/fmtmsg.c: Likewise.
15704 * sunrpc/auth_unix.c: Likewise.
15705 * sunrpc/clnt_perr.c: Likewise.
15706 * sunrpc/clnt_tcp.c: Likewise.
15707 * sunrpc/clnt_udp.c: Likewise.
15708 * sunrpc/clnt_unix.c: Likewise.
15709 * sunrpc/openchild.c: Likewise.
15710 * sunrpc/svc_simple.c: Likewise.
15711 * sunrpc/svc_tcp.c: Likewise.
15712 * sunrpc/svc_udp.c: Likewise.
15713 * sunrpc/svc_unix.c: Likewise.
15714 * sunrpc/xdr.c: Likewise.
15715 * sunrpc/xdr_array.c: Likewise.
15716 * sunrpc/xdr_rec.c: Likewise.
15717 * sunrpc/xdr_ref.c: Likewise.
15718 * sunrpc/xdr_stdio.c: Likewise.
15720 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15722 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15724 2011-07-03 Andreas Jaeger <aj@suse.de>
15726 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15727 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15728 regenerate with gen-libm-tests.pl.
15730 2010-05-12 Petr Baudis <pasky@suse.cz>
15733 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15734 around j0() zero points by switching to j1().
15735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15740 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15742 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15744 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15747 Patch in part by Pavel Roskin <proski@gnu.org>.
15750 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15752 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15753 Free memory block if necessary.
15756 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15757 be NULL. Don't lock in this case.
15759 2011-09-09 Roland McGrath <roland@hack.frob.com>
15761 * elf/elf.h (ELFOSABI_GNU): New macro.
15762 (ELFOSABI_LINUX): Define to that.
15764 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15766 * string/strncat.c (strncat): Undef the symbol in case it has been
15767 defined in bits/string.h.
15769 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15771 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15773 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15776 2011-08-17 Andreas Jaeger <aj@suse.de>
15778 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15780 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15781 Ian Lance Taylor <iant@google.com>
15783 * math/libm-test.inc (lround_test): New testcase.
15784 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15786 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15788 * Makefile: Remove support for automatic cvs check-ins.
15789 * Makerules: Likewise.
15790 * config.make.in: Likewise.
15791 * configure.in: Likewise.
15792 * intl/Makefile: Likewise.
15793 * locale/Makefile: Likewise.
15794 * po/Makefile: Likewise.
15795 * posix/Makefile: Likewise.
15796 * sysdeps/gnu/Makefile: Likewise.
15797 * sysdeps/mach/hurd/Makefile: Likewise.
15798 * sysdeps/sparc/sparc32/Makefile: Likewise.
15801 * posix/Makefile (bug-regex32-ENV): Define.
15802 Patch by John Stanley <jpsinthemix@verizon.net>.
15804 * misc/Makefile (headers): Add bits/select2.h.
15805 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15806 * misc/bits/select2.h: New file.
15807 * include/bits/select2.h: New file.
15808 * debug/Makefile (routines): Add fdelt_chk.
15809 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15810 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15812 * debug/fdelt_chk.c: New file.
15814 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15815 * wcsmbs/test-wmemcmp.c: Likewise.
15816 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15817 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15819 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15821 * string/Makefile (strop-tests): Add memcmp.
15822 * string/test-wmemcmp.c: New file.
15823 * string/test-memcmp.c: Add wmemcmp support.
15825 2011-09-08 Roland McGrath <roland@hack.frob.com>
15828 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15831 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15832 garbage value in a __mach_port_mod_refs call in the cases of the
15833 task-self and thread-self ports.
15835 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15837 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15839 2011-09-08 Andreas Schwab <schwab@redhat.com>
15841 * elf/dl-load.c (lose): Check for non-null L.
15843 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15845 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15847 * elf/dl-libc.c (dlerror_run): Pass back error code from
15851 * elf/dl-load.c (lose): Free l_origin if it is valid.
15853 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15855 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15857 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15858 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15859 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15860 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15862 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15864 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15865 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15866 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15867 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15868 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15869 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15870 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15871 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15872 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15873 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15875 2011-08-15 Alan Modra <amodra@gmail.com>
15878 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15879 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15880 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15881 ppc_mcount to static-only-routines.
15882 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15884 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15885 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15887 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15889 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15890 for finite and infinity parameters.
15892 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15895 and add nop instructions for throughput optimization.
15896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15898 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15900 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15901 aligned copy for power7 with vector-scalar instructions.
15902 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15904 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15909 2011-09-07 Andreas Schwab <schwab@redhat.com>
15912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15915 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15917 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15918 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15919 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15920 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15923 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15925 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15926 Forgot to demangle the pointer.
15928 * sysdeps/i386/sysdep.h: Define atom_text_section.
15929 * sysdeps/x86_64/sysdep.h: Likewise.
15930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15931 section with atom_text_section.
15932 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15933 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15934 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15935 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15936 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15938 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15940 already be defined. Change to take two parameters and don't assign
15941 result to variable. Adjust all users.
15942 Define INTERNAL_GETTIME if not already defined.
15943 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15946 HAVE_CLOCK_GETTIME_VSYSCALL.
15947 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15950 gettimeofday vsyscall, just use time.
15952 2011-09-06 Andreas Schwab <schwab@redhat.com>
15954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15957 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15959 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15963 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15965 syscall if possible.
15967 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15969 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15970 e_ident. Don't pass to find_mapsXX.
15971 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15973 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15976 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15977 * sysdeps/x86_64/multiarch/strchr.S: Update.
15978 Check bit_slow_BSF bit.
15979 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15980 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15981 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15983 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15986 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15988 (tryshell): Define.
15989 (__spawni): Change last parameter to be flag. Test
15990 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15991 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15992 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15993 * posix/spawni.c: Likewise.
15994 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15995 * posix/spawnp.c: Likewise. Change normal version to use
15996 SPAWN_XFLAGS_USE_PATH.
15997 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15998 SPAWN_XFLAGS_TRY_SHELL.
16001 * posix/glob.h: Remove gcc 1.x support.
16004 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16006 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16009 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16011 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16012 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16014 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16015 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16018 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16020 * sysdeps/x86_64/wcscmp.S: New file.
16022 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16023 wcscmp-c wcscmp-sse2
16024 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16025 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16026 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16027 * wcsmbs/wcscmp.c: Allow renaming.
16029 2011-09-05 David S. Miller <davem@davemloft.net>
16031 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16032 stack slot, rather than the struct return pointer slot.
16033 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16034 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16036 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16038 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16040 * po/ja.po: Update from translation team.
16043 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16044 kernel in 64-bit binaries.
16046 2011-09-01 David S. Miller <davem@davemloft.net>
16048 * elf/elf.h (HWCAP_SPARC_*): Move to..
16049 * sysdeps/sparc/sysdep.h: this new file and add new values.
16050 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16051 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16052 _DL_HWCAP_COUNT to 24.
16053 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16055 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16056 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16057 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16059 instead of magic constants.
16060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16062 2011-08-31 David S. Miller <davem@davemloft.net>
16064 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16066 Reimplement to do errno handling inline.
16067 (SYSCALL_ERROR_HANDLER): New macro.
16068 (__SYSCALL_STRING): Do not do errno handling in asm.
16069 (__CLONE_SYSCALL_STRING): Delete.
16070 (__INTERNAL_SYSCALL_STRING): Delete.
16071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16072 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16073 (PSEUDO): Reimplement to do errno handling inline.
16074 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16075 (SYSCALL_ERROR_HANDLER): New macro.
16076 (__SYSCALL_STRING): Do not do errno handling in asm.
16077 (__CLONE_SYSCALL_STRING): Delete.
16078 (__INTERNAL_SYSCALL_STRING): Delete.
16079 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16080 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16082 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16083 (inline_syscall*): Add 'err' argument.
16084 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16085 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16086 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16087 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16089 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16090 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16092 2011-08-30 Andreas Schwab <schwab@redhat.com>
16094 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16096 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16098 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16101 2011-08-24 David S. Miller <davem@davemloft.net>
16103 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16105 2011-08-24 Andreas Schwab <schwab@redhat.com>
16107 * elf/Makefile: Add rules to build and run unload8 test.
16108 * elf/unload8.c: New file.
16109 * elf/unload8mod1.c: New file.
16110 * elf/unload8mod1x.c: New file.
16111 * elf/unload8mod2.c: New file.
16112 * elf/unload8mod3.c: New file.
16114 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16117 2011-08-23 David S. Miller <davem@davemloft.net>
16119 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16120 subtract stack bias.
16121 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16122 %sp not %fp in calculations.
16123 (_JMPBUF_UNWINDS_ADJ): Likewise.
16125 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16126 (aio_suspend): Call it to force an exception region around the
16127 AIO_MISC_WAIT() invocation.
16129 2011-08-23 Andreas Schwab <schwab@redhat.com>
16131 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16134 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16136 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16138 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16139 and <dl-machine.h>.
16140 (Elf64_FuncDesc): Remove.
16142 2011-08-22 David S. Miller <davem@davemloft.net>
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16145 sigaltstack check, add missing cfi directives.
16146 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16147 missing cfi directives, and sigaltstack handling.
16149 2011-08-16 Andreas Schwab <schwab@redhat.com>
16152 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16153 object is seen twice.
16154 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16156 * elf/Makefile (distribute): Add tst-initorder2.c.
16157 (tests): Add tst-initorder2.
16158 (modules-names): Add tst-initorder2a tst-initorder2b
16159 tst-initorder2c tst-initorder2d. Add rules to build them.
16160 ($(objpfx)tst-initorder2.out): New rule.
16161 * elf/tst-initorder2.c: New file.
16162 * elf/tst-initorder2.exp: New file.
16164 2011-08-22 Andreas Schwab <schwab@redhat.com>
16166 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16168 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16169 dependencies back to end of function.
16171 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16172 $(elfobjdir)/ld.so.
16174 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16177 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16179 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16180 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16181 of __vdso_gettimeofday.
16182 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16183 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16185 (_libc_vdso_platform_setup): Remove initialization of
16186 __vdso_gettimeofday and __vdso_time.
16188 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16190 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16191 and fgetc_unlocked.
16192 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16195 * elf/dl-open.c (add_to_global): Report additions to the global scope
16196 for LD_DEBUG=scopes.
16197 (dl_open_worker): Also print scope of newly loaded dependencies.
16198 (_dl_show_scope): Indicate if there is no scope.
16201 * stdio-common/Makefile (tests): Add bug24.
16202 * stdio-common/bug24.c: New file.
16204 2011-08-19 Andreas Jaeger <aj@suse.de>
16207 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16208 non-existant file when using close-on-exec mode.
16210 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16212 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16213 the very first instruction.
16215 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16216 the CFI state in the end.
16217 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16218 inclusion of dl-trampoline.h.
16219 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16221 2011-08-19 Andreas Schwab <schwab@redhat.com>
16223 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16224 expectations for long double.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16227 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16229 2011-08-14 David S. Miller <davem@davemloft.net>
16231 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16232 artificual limit depends upon the system page size.
16234 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16236 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16237 * resolv/Makefile: Define CFLAGS-libresolv.
16239 2011-08-17 Andreas Schwab <schwab@redhat.com>
16241 * nss/makedb.c (compute_tables): Make variables used in nested
16244 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16246 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16247 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16248 if buffer was too small.
16250 * elf/pldd.c (main): Attach to all threads in the process.
16251 Rewrite /proc handling to use *at functions.
16253 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16255 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16256 specifies first scope to show.
16257 (dl_open_worker): Update callers. Move printing scope of new
16258 object to before the relocation.
16259 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16260 * sysdeps/generic/ldsodefs.h: Update declaration.
16262 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16263 string for the scope number.
16265 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16267 * nscd/servicescache.c (cache_addserv): Make sure written is always
16270 2011-08-14 Roland McGrath <roland@hack.frob.com>
16272 * sysdeps/i386/i486/bits/atomic.h
16273 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16274 statement expression, so as to suppress "set but not used" warning.
16275 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16277 * string/strncat.c (STRNCAT): Use prototype definition.
16279 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16280 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16282 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16283 (localedef-modules): Add localedef.
16284 (locale-modules): Add locale.
16286 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16287 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16288 to avoid a warning.
16290 2011-08-14 David S. Miller <davem@davemloft.net>
16292 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16293 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16295 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16297 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16298 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16299 * elf/rtld.c (dl_main): Set l_name of vDSO.
16300 Call _dl_show_scope when DL_DEBUG_SCOPES.
16301 (process_dl_debug): Recognize scopes flag and also set it for all.
16302 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16303 Declare _dl_show_scope.
16305 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16306 (do_dlopen): Pass caller_dlopen to dl_open.
16307 (__libc_dlopen_mode): Initialize caller_dlopen.
16309 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16310 of libc. Make tolower call locale-independent. Optimize a bit by
16311 using isdigit instead of isalnum.
16312 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16314 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16316 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16317 was a dependency or dynamically loaded.
16319 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16321 * intl/l10nflist.c: Allow architecture-specific pop function.
16322 * sysdeps/x86_64/l10nflist.c: New file.
16324 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16327 2011-08-10 Andreas Schwab <schwab@redhat.com>
16329 * include/dirent.h: Add libc_hidden_proto for scandirat and
16330 scandirat64. Don't declare __scandirat64.
16331 * dirent/scandirat.c: Add libc_hidden_def.
16332 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16333 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16335 2011-08-10 David S. Miller <davem@davemloft.net>
16337 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16341 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16343 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16345 * Versions.def [libc]: Add GLIBC_2.15.
16346 * dirent/Makefile (routines): Add scandirat and scandirat64.
16347 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16349 * dirent/dirent.h: Declare scandirat and scandirat64.
16350 * dirent/scandirat.c: New file.
16351 * dirent/scandirat64.c: New file.
16352 * sysdeps/wordsize-64/scandirat.c: New file.
16353 * sysdeps/wordsize-64/scandirat64.c: New file.
16354 * dirent/opendir.c: Define opendirat.
16355 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16357 * dirent/scandir64.c: Adjust for scandir.c change.
16358 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16359 __scandirat64, and __scandir_cancel_handler.
16360 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16361 additional parameter and use openat instead of open (outside of ld.so).
16362 Add new __opendir as wrapper around __opendirat.
16363 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16364 here without requiring old scandirat implementation.
16366 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16368 * dirent/scandir.c (cancel_handler): Renamed to
16369 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16370 defined. Adjust users.
16371 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16372 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16374 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16376 * string/test-string.h (IMPL): Use __STRING to expand name and then
16379 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16382 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16384 * string/Makefile: Update.
16385 (strop-tests): Append strncat.
16386 * string/test-wcscmp.c: New file.
16387 New comprehensive test for wcscmp.
16388 * string/test-strcmp.c: Update.
16389 (WIDE): New define.
16391 2011-07-22 Andreas Schwab <schwab@redhat.com>
16393 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16396 2011-07-26 Andreas Schwab <schwab@redhat.com>
16398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16399 encoding to ACE if AI_IDN.
16401 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16403 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16404 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16406 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16409 Fix overflow bug in strncat.
16410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16412 * string/test-strncat.c: Update.
16413 Add new tests for checking overflow bugs.
16415 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16418 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16419 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16420 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16421 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16422 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16423 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16424 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16425 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16427 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16428 (USE_AS_STRCAT): Define.
16429 Add strcat and strncat support.
16430 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16432 2011-07-25 Andreas Schwab <schwab@redhat.com>
16434 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16435 __n bigger than INT_MAX+1.
16436 (__strncmp_g): Likewise.
16438 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16440 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16441 * libio/stido.h: Likewise.
16443 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16448 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16451 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16455 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16460 (_dl_x86_64_save_sse): Likewise.
16462 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16466 (_dl_x86_64_save_sse): Likewise.
16468 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16470 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16472 2011-07-21 Andreas Schwab <schwab@redhat.com>
16474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16476 (_dl_x86_64_save_sse): Use correct AVX check.
16478 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16481 bug in strncpy/strncat.
16482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16484 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16486 * string/tester.c (test_strcat): Add tests for different alignments
16487 of source and destination.
16488 (test_strncat): Likewise.
16490 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16493 * posix/glob.c (glob): Check passed in values before using them in
16494 expressions to avoid some overflows.
16495 (glob_in_dir): Likewise.
16498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16499 check for AVX enablement so that we don't crash with old kernels and
16501 * elf/tst-audit4.c: Add same checks here.
16502 * elf/tst-audit6.c: Likewise.
16504 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16506 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16508 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16510 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16512 * po/cs.po: Update from translation team.
16513 * po/bg.po: Likewise.
16515 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16517 * misc/sys/cdefs.h: Add support for const attribute.
16518 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16519 to gnu_dev_{major,minor,makedev} functions.
16521 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16523 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16525 2011-07-20 Andreas Schwab <schwab@redhat.com>
16527 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16530 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16532 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16533 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16534 register in order to avoid conflicts with the soft frame pointer
16535 being held in r11 when necessary.
16536 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16537 (INTERNAL_VSYSCALL_NCS): Likewise.
16539 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16541 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16542 * elf/dl-fini.c (_dl_fini): Adjust caller.
16543 * elf/dl-close.c (_dl_close_worker): Likewise.
16544 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16546 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16548 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16549 "aux_cache->nlibs < 0".
16551 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16552 in the reload-count case.
16554 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16557 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16558 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16559 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16560 * sysdeps/x86_64/multiarch/strcat.S: New file.
16561 * sysdeps/x86_64/multiarch/strncat.S: New file.
16562 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16563 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16564 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16565 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16567 (USE_AS_STRCAT): Define.
16568 Add strcat and strncat support.
16569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16570 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16571 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16572 * string/strncat.c: Update.
16573 (USE_AS_STRNCAT): Define.
16574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16575 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16577 * sysdeps/x86_64/multiarch/init-arch.h
16578 (bit_Prefer_PMINUB_for_stringop): New.
16579 (index_Prefer_PMINUB_for_stringop): Likewise.
16580 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16581 bit_Prefer_PMINUB_for_stringop.
16583 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16585 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16587 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16588 of casting of buffer.
16589 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16590 buffer32 and buffer64.
16591 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16592 writes instead of casting of buffer.
16593 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16595 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16598 2011-07-19 Andreas Schwab <schwab@redhat.com>
16600 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16602 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16604 * nscd/nscd.c (termination_handler): Don't do anything for a database
16605 if it has not yet been initialized.
16607 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16609 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16611 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16613 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16615 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16617 * po/nl.po: Update from translation team.
16618 * po/sv.po: Likewise.
16620 2011-07-16 Roland McGrath <roland@hack.frob.com>
16622 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16623 now disallowed by GCC.
16625 * configure.in (use-default-link): Default to yes if a test -shared
16626 link meets our qualifications.
16627 * configure: Regenerated.
16629 * config.make.in (output-format): New variable.
16630 * configure.in: Check for ld --print-output-format support.
16631 * configure: Regenerated.
16632 * Makerules ($(common-objpfx)format.lds)
16633 [$(output-format) != unknown]: Just use $(output-format),
16634 instead of the linker-script munging.
16636 2011-07-14 Roland McGrath <roland@hack.frob.com>
16638 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16639 of $(common-objpfx)shlib.lds.
16640 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16642 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16643 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16645 * configure.in (-z relro check): Adjust test code to add a large
16646 writable data section after it.
16647 * configure: Regenerated.
16649 2011-07-11 Roland McGrath <roland@hack.frob.com>
16651 * configure.in (-z relro check): Fix test code to make the variable
16653 * configure: Regenerated.
16655 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16657 * nscd/nscd.h (struct traced_file): Define.
16658 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16659 elements. Add traced_files.
16660 (inotify_fd): Declare.
16661 (register_traced_file): Declare.
16662 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16663 (inotify_fd): Export.
16664 (resolv_conf_descr): Remove.
16665 (nscd_init): Move inotify descriptor creation to main.
16666 Don't register files for notification here.
16667 (register_traced_file): New function.
16668 (invalidate_cache): Don't use reset_res to determine whether to call
16669 res_init, go through the list of registered files.
16670 (main_loop_poll): The inotify descriptors are now stored in the
16671 structures for the traced files.
16672 (main_loop_epoll): Likewise
16673 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16674 to __nss_disable_nscd.
16675 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16676 for a database anymore. Check the records for all the registered
16678 * nss/Makefile (libnss_files-routines): Add files-init.
16679 (libnss_db-routines): Add db-init.
16680 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16681 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16682 * nss/nss_db/db-init.c: New file.
16683 * nss/nss_files/files-init.c: New file.
16684 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16685 __nss_lookup_function.
16686 (__nss_lookup_function): Call nss_load_library.
16687 (nss_load_all_libraries): New function.
16688 (__nss_disable_nscd): Take parameter with callback function for files
16689 to register. Set is_nscd. Load all the DSOs for the NSS modules
16690 used for the cached services.
16691 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16692 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16693 options for features to all the files in nscd.
16695 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16697 2011-07-10 Roland McGrath <roland@hack.frob.com>
16699 * csu/elf-init.c (__libc_csu_init): Comment typo.
16701 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16703 * po/pl.po: Update from translation team.
16704 * po/ja.po: Likewise.
16705 * po/ru.po: Likewise.
16706 * po/ko.po: Likewise.
16707 * po/fr.po: Likewise.
16709 2011-07-09 Roland McGrath <roland@hack.frob.com>
16711 * configure.in (.ctors/.dtors header and trailer check):
16712 Use an empirical test on a built program.
16713 * configure: Regenerated.
16715 * configure.in (-z relro check): Use an empirical test on a built DSO.
16716 Detect, but do not require, on ia64.
16717 * configure: Regenerated.
16719 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16720 Update tests that use readelf to use $READELF instead.
16721 * configure: Regenerated.
16723 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16725 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16726 if the result is not used.
16728 2011-07-05 Andreas Jaeger <aj@suse.de>
16731 * stdlib/tst-strtod.c: Add testcase.
16733 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16735 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16736 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16737 The latter has a higher limit. Take additional parameter to pass to
16739 (__pathconf): Pass file to __statfs_link_max.
16740 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16742 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16746 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16750 (__statfs_filesize_max): Likewise.
16751 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16753 2011-07-05 Andreas Jaeger <aj@suse.de>
16755 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16757 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16759 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16761 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16764 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16766 * Makefile (strop-tests): Add strncat.
16767 * string/test-strncat.c: New file.
16769 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16771 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16773 2011-06-21 Andreas Jaeger <aj@suse.de>
16775 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16776 Copy rule from iconvdata/Makefile.
16778 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16781 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16782 but no long options are defined, just return 'W'.
16784 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16787 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16789 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16791 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16793 (innetgr): Likewise.
16795 2011-07-05 Roland McGrath <roland@hack.frob.com>
16797 * config.make.in (install_root): Default to $(DESTDIR).
16799 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16801 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16803 2011-07-02 Roland McGrath <roland@hack.frob.com>
16805 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16807 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16808 containing directory rather than embedding absolute directory names.
16810 * scripts/check-local-headers.sh: Rewritten using awk.
16811 Match by word, not by line. Print error messages for matches.
16812 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16814 * Makerules [shlib-lds-flags empty]:
16815 ($(common-objpfx)libc_pic.opts): New target.
16816 ($(common-objpfx)libc_pic.os.clean): New target.
16817 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16819 * config.make.in (OBJCOPY): New variable.
16820 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16821 * configure: Regenerated.
16823 * config.make.in (use-default-link): New variable.
16824 * configure.in (use_default_link): Grok --with-default-link to set it.
16825 * configure: Regenerated.
16826 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16827 (shlib-lds, shlib-lds-flags): Define to empty.
16829 * Makerules (shlib-lds): New variable.
16830 (shlib-lds-flags): New variable.
16831 (build-shlib, build-moduile, build-module-asneeded): Use it.
16832 ($(common-objpfx)libc.so): Use $(shlib-lds).
16833 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16834 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16836 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16837 DT_FLAGS/DT_FLAGS_1 with zero flags.
16839 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16840 linker script munging.
16842 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16844 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16846 * crypt/sha512.c (sha512_process_block): Perform total addition using
16847 128-bit if possible.
16848 (__sha512_finish_ctx): Likewise.
16849 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16851 * crypt/sha256.c (SWAP64): Define.
16852 (sha256_process_block): Perform total addition using 64-bit if
16854 (__sha256_finish_ctx): Likewise.
16856 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16858 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16860 * nscd/hstcache.c (cache_addhst): Likewise.
16861 * nscd/grpcache.c (cache_addgr): Likewise.
16862 * nscd/aicache.c (addhstaiX): Likewise
16863 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16865 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16867 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16869 * nscd/hstcache.c (cache_addhst): Likewise.
16870 * nscd/grpcache.c (cache_addgr): Likewise.
16871 * nscd/aicache.c (addhstaiX): Likewise
16873 2011-07-01 Andreas Schwab <schwab@redhat.com>
16875 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16876 domain only when needed.
16878 2011-06-30 Andreas Schwab <schwab@redhat.com>
16880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16881 is always restored.
16883 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16885 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16886 are re-adding the entry.
16887 * nscd/servicescache.c (cache_addserv): Likewise.
16889 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16891 * sysdeps/generic/dl-irel.h: fix protection against multiple
16893 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16895 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16898 * malloc/memusage.sh: Fix quoting in message.
16899 * debug/xtrace.sh: Likewise.
16901 * configure.in: Remove support for --experimental-malloc option, make
16903 * config.make.in: Likewise.
16904 * malloc/Makefile: Likewise.
16906 2011-06-27 Andreas Schwab <schwab@redhat.com>
16908 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16909 two-byte characters.
16911 2011-06-27 Roland McGrath <roland@hack.frob.com>
16913 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16914 AC_CACHE_CHECK invocation.
16915 * configure: Regenerated.
16917 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16919 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16922 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16923 bit from old_res_options.
16925 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16927 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16928 value type for setfct.
16930 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16933 __gettimeofday instead of gettimeofday.
16935 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16937 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16939 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16946 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16949 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16950 strcpy-sse2-unaligned strncpy-sse2-unaligned
16951 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16952 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16953 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16954 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16955 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16956 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16957 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16958 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16959 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16960 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16961 (STRCPY): Support SSE2 and SSSE3 versions.
16963 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16967 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16968 kernels which artificially limit size of requests.
16970 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16973 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16974 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16975 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16976 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16977 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16978 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16979 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16982 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16983 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16984 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16985 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16986 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16988 Enable unaligned load optimization for Intel Core i3, i5 and i7
16990 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16992 (index_Fast_Unaligned_Load): Define.
16993 (HAS_FAST_UNALIGNED_LOAD): Define.
16995 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16997 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16999 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17003 until it is clear that the information is realy needed.
17004 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17006 2011-06-22 Andreas Schwab <schwab@redhat.com>
17008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17010 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17013 /sys/devices/system/cpu/online if it is usable.
17015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17016 reading the information from the /proc filesystem to once a second.
17018 2011-06-21 Andreas Jaeger <aj@suse.de>
17020 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17021 NULL after inclusion of kernel headers.
17023 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17025 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17026 calls to internal_setent.
17029 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17030 addresses using gethostbyname4_r ignore IPv4 addresses.
17032 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17033 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17035 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17037 2011-06-20 David S. Miller <davem@davemloft.net>
17039 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17041 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17043 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17044 (elf_irel): Use it.
17045 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17046 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17047 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17048 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17049 * sysdeps/x86_64/dl-irel.h: Likewise.
17051 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17052 * elf/dl-sym.c: Likewise.
17054 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17056 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17057 need to dereference resplen2.
17059 2011-06-14 Andreas Schwab <schwab@redhat.com>
17061 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17063 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17065 * Makeconfig: Define vardbdir and inst_vardbdir.
17066 * nss/Makefile: Add rules to install db-Makefile.
17068 * nss/nss_db/db-XXX.c: Cleanup.
17070 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17071 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17073 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17074 * nss/makedb.c: Implement -g option to specify that value strings
17075 are generated and should not be added to table iterated over for
17077 * nss/nss_db/db-initgroups.c: New file.
17079 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17082 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17083 (internal_getgrouplist): Adjust to name change.
17084 Update use_initgroups_entry if this is not the first call.
17085 * nss/databases.def: Add initgroups entry.
17087 * nss/makedb.c (compute_tables): Check result of multiple hash table
17088 sizes to minimize maximum chain length.
17090 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17092 * Versions.def: Add entry for libnss_db.
17093 * shlib-versions: Likewise.
17094 * nss/Makefile: Add rules to build libnss_db.
17095 * nss/Versions: Add libnss_db information. Organize libnss_files
17097 * nss/db-Makefile: Add gshadow support. Change rules for the new
17098 makedb progra. Some minor improvements to generate smaller files.
17099 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17101 * nss/makedb.c: ...here.
17102 Improve database format to be smaller and require less memory at
17104 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17106 * nss/nss_db/db-netgrp.c: Likewise.
17107 * nss/nss_db/db-open.c: Likewise.
17108 * nss/nss_files/flies-XXX.x: Adjust comments.
17109 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17110 * nss/nss_files/files-grp.c: Likewise.
17111 * nss/nss_files/files-hosts.c: Likewise.
17112 * nss/nss_files/files-network.c: Likewise.
17113 * nss/nss_files/files-proto.c: Likewise.
17114 * nss/nss_files/files-pwd.c: Likewise.
17115 * nss/nss_files/files-rpc.c: Likewise.
17116 * nss/nss_files/files-service.c: Likewise.
17117 * nss/nss_files/files-sgrp.c: Likewise.
17118 * nss/nss_files/files-spwd.c: Likewise.
17119 * nss/nss_db/db-alias.c: Removed.
17120 * nss/nss_db/dummy-db.h: Removed.
17122 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17124 * nss/makedb.c: Rewritten to not use database library.
17125 * nss/Makefile: Update to build new makedb program.
17127 2011-06-14 Andreas Jaeger <aj@suse.de>
17129 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17130 memset declaration.
17132 2011-06-10 Andreas Schwab <schwab@redhat.com>
17134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17137 2011-06-10 Roland McGrath <roland@hack.frob.com>
17139 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17140 * elf/Makefile ($(objpfx)ld.so): Likewise.
17142 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17143 Don't list ld.so twice in dependencies.
17145 * posix/bug-regex31.c: Include <stdlib.h>.
17147 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17149 * nis/nss_compat/compat-spwd.c
17150 (getspent_next_nss_netgr): Remove unused variable.
17151 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17153 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17154 nonmembers" output to use the right array.
17156 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17158 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17160 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17161 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17162 * catgets/gencat.c (read_input_file): Likewise.
17163 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17165 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17166 variable definition inside #if's controlling its use.
17168 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17170 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17172 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17174 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17177 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17179 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17180 * configure: Regenerated.
17182 * Makerules: Revert last change.
17183 * elf/Makefile: Likewise.
17185 2011-06-09 Roland McGrath <roland@hack.frob.com>
17187 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17188 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17189 (reloc-link): Likewise.
17191 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17193 * elf/Makefile: Add rules to build pldd.
17194 * elf/pldd.c: New file.
17195 * elf/pldd-xx.c: New file.
17197 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17199 * version.h: Update for 2.15 development version.
17201 2011-06-07 David S. Miller <davem@davemloft.net>
17203 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17206 elf_machine_lazy_rel): Likewise.
17207 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17209 elf_machine_lazy_rel): Likewise.
17210 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17211 dl_hwcap via passed in argument.
17212 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17215 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17217 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17219 2011-06-06 Roland McGrath <roland@hack.frob.com>
17222 * manual/fdl-1.1.texi: New file, verbatim from:
17223 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17224 * manual/lgpl-2.1.texi: New file, verbatim from:
17225 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17226 * manual/Makefile (licenses): New variable, list those new file names.
17228 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17230 * manual/fdl.texi: File removed.
17231 * manual/lesser.texi: File removed.
17232 * manual/libc.texinfo (Copying, Documentation License):
17233 Use new @include file names, put @appendix directive before @include.
17235 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17238 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17239 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17240 (mq_open): Add __NTH.
17242 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17245 Assume Intel Core i3/i5/i7 processor if AVX is available.
17247 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17252 2011-05-31 Andreas Schwab <schwab@redhat.com>
17254 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17255 memory. Use alloca_account. Fix memory leak when retrying.
17257 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17259 * version.h (RELEASE): Bump for 2.14 release.
17260 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17262 * config.make.in (RANLIB): Remove entry.
17264 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17266 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17267 (libc.pot): Work around missing support for .ksh extension in xgettext.
17270 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17271 if both request failed.
17272 (send_dg): In case of server errors clear resplen or *resplen2.
17275 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17276 when there are multiple maps.
17277 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17278 (_dl_fini): Remove test here.
17280 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17282 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17285 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17286 bit from old_res_options.
17287 (gaih_inet): Likewise.
17290 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17293 * resolv/res_init.c (res_setoptions): Make the code more compact.
17296 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17300 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17302 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17305 * malloc/malloc.h: Declare malloc hook variables as volatile.
17307 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17311 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17312 raise in the comment.
17313 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17314 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17315 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17317 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17320 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17321 grow the buffers more if it already has to be sufficient.
17322 (build_wcs_upper_buffer): Likewise.
17323 * posix/regexec.c (check_matching): Likewise.
17324 (clean_state_log_if_needed): Likewise.
17325 (extend_buffers): Don't enlarge buffers beyond size of the input
17327 Patches mostly by Emil Wojak <emil@wojak.eu>.
17328 * posix/bug-regex32.c: New file.
17329 * posix/Makefile (tests): Add bug-regex32.
17331 * locale/findlocale.c (_nl_find_locale): Return right away if
17332 _nl_explode_name failed.
17333 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17335 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17337 * debug/xtrace.sh: Unify messages.
17338 * malloc/memusage.sh: Likewise.
17341 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17342 time symbol from vDSO. Substitute with vsyscall if not available.
17343 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17346 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17347 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17348 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17349 Add sendmmsg and internal_sendmmsg.
17350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17351 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17352 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17354 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17355 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17358 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17361 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17362 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17364 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17368 * iconvdata/Makefile (tests): Add bug-iconv9.
17369 * iconvdata/bug-iconv9.c: New file.
17371 2011-05-27 Andreas Schwab <schwab@redhat.com>
17374 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17376 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17379 (struct user_regs_struct): Change intcs field back to cs.
17381 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17383 * po/ja.po: Update from translation team.
17385 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17388 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17389 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17391 2011-05-20 Andreas Schwab <schwab@redhat.com>
17393 * stdlib/longlong.h: Update from GCC.
17395 2011-05-23 Andreas Schwab <schwab@redhat.com>
17397 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17399 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17400 Add parameter name.
17401 (__sysconf): Pass it down.
17403 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17406 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17408 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17409 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17410 add in in __libc_use_alloca calls. Adjust callers.
17411 (glob): Use malloc in some situations.
17413 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17414 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17417 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17419 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17420 and CLOCK_BOOTTIME_ALARM.
17423 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17426 * string/_strerror.c (__strerror_r): Print negative errors as signed
17430 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17431 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17432 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17434 * configure.in: Fix typo in redirection and correct removal of test
17435 files in two cases.
17438 * locale/setlocale.c (new_composite_name): Fix test to check for
17439 identical name of all categories.
17442 * libio/filedoalloc.c (local_isatty): New function.
17443 (_IO_file_doallocate): Use local_isatty.
17444 * stdio-common/perror.c (perror): In case a new stream is used
17445 forward the stream error.
17446 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17449 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17454 * include/alloca.h (extend_alloca_account): Define.
17457 * posix/regex.h: Fix comments with documentation of user-accessible
17458 fields after compilation and describe correct free'ing of pattern
17459 after re_compile_pattern.
17460 Patch by Reuben Thomas <rrt@sc3d.org>.
17462 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17464 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17465 and -mno-altivec to prevent the compiler from using Altivec and/or
17466 VSX instructions when the corresponding registers are not available.
17468 2011-05-19 Andreas Schwab <schwab@redhat.com>
17470 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17472 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17474 * libio/freopen.c (freopen): Use __dup2, not dup2.
17475 * libio/freopen64.c (freopen64): Likewise.
17477 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17480 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17481 * math/Makefile (tests): Add test-powl.
17482 (CFLAGS-test-powl.c): Define.
17483 * math/test-powl.c: New file.
17485 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17487 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17489 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17492 * iconvdata/gb18030.c: Update to GB18020-2005.
17494 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17496 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17497 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17498 Patch by Aharon Robbins <arnold@skeeve.com>.
17501 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17505 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17506 through underflows.
17509 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17510 point to strings before performing equality test for error_one_per_line
17514 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17518 (struct user_fpregs_struct): Avoid __uint*_t types.
17521 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17522 symbol info. Use it instead of calling _dl_addr locally.
17523 (lock_and_info): New function.
17524 (tr_freehook): Call lock_and_info and pass symbol info as additional
17525 parameter to tr_where.
17526 (tr_mallochook): Likewise.
17527 (tr_reallochook): Likewise.
17528 (tr_memalignhook): Likewise.
17530 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17531 used and couldn't be at all thread-safe.
17533 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17535 * libio/freopen.c (freopen): Don't close old file descriptor
17536 before the new one is opened. Instead dup the new file descriptor
17537 to the old one after the new stream is created.
17538 * libio/freopen64.c (freopen64): Likewise.
17539 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17540 * libio/fileops.c (_IO_new_file_close_it): Handle new
17541 _IO_FLAGS2_NOCLOSE flag.
17542 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17543 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17544 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17545 _IO_FLAGS2_NOCLOSE flag.
17546 * include/unistd.h: Add hidden_proto for dup3.
17547 Define __have_dup3.
17548 * io/dup3.c: Define hidden symbol.
17549 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17552 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17553 when an incomplete long option is used.
17554 * posix/tst-getopt_long1.c: New file.
17555 * posix/Makefile (tests): Add tst-getopt_long1.
17558 * scripts/config.guess: Update from autoconf-2.68.
17559 * scripts/config.sub: Likewise.
17562 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17564 (has_cpuclock): ...this. New function.
17565 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17566 macro here based on has_cpuclock code.
17569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17570 First byte (not low byte) is now always NUL.
17571 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17574 Use non-cancelable interfaces.
17577 * locale/iso-639.def: Add entry for Sorani.
17580 * include/stdlib.h: Move include protection to the right place.
17581 Define abort_msg_s. Declare __abort_msg with it.
17582 * stdlib/abort.c (__abort_msg): Adjust type.
17583 * assert/assert.c (__assert_fail_base): New function. Majority
17584 of code from __assert_fail. Allocate memory for __abort_msg with
17586 (__assert_fail): Now call __assert_fail_base.
17587 * assert/assert-perr.c: Remove bulk of implementation. Use
17588 __assert_fail_base.
17589 * include/assert.hL Declare __assert_fail_base.
17590 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17592 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17594 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17598 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17599 until all modules are registered in the DTV.
17600 * elf/Makefile: Add rules to build and run tst-tls19.
17601 * elf/tst-tls19.c: New file.
17602 * elf/tst-tls19mod1.c: New file.
17603 * elf/tst-tls19mod2.c: New file.
17604 * elf/tst-tls19mod3.c: New file.
17605 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17608 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17612 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17613 two-byte sequence errors.
17614 * iconvdata/Makefile (tests): Add bug-iconv8.
17615 * iconvdata/bug-iconv8.c: New file.
17618 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17621 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17624 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17625 (dummy_getcfa): New function.
17626 (init): Get _Unwind_GetCFA address, use dummy if not found.
17627 (backtrace_helper): In recursion check, also check whether CFA changes.
17628 (__backtrace): Completely initialize arg.
17630 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17631 storing incomplete byte sequence in state object. Avoid testing for
17632 guaranteed too small input if we know there is enough data available.
17634 2011-05-11 Andreas Schwab <schwab@redhat.com>
17636 * Makeconfig (+link-pie): Indent.
17637 * Rules (binaries-pie): Define if $(have-fpie) and
17639 (binaries-shared): Also filter out $(binaries-pie).
17640 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17641 * nscd/Makefile (others-pie): Add nscd.
17642 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17643 ($(objpfx)nscd): Remove command override.
17644 * login/Makefile (others-pie): Add pt_chown.
17645 ($(objpfx)pt_chown): Remove command override.
17646 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17647 remove command overrides.
17649 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17651 * libio/tst_putwc.c: Fix error messages.
17654 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17655 currently writing and seek to current position when not.
17656 * libio/Makefile (tests): Add bug-fclose1.
17657 * libio/bug-fclose1.c: New file.
17659 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17662 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17663 don't set DF_1_NODELETE here.
17664 (do_lookup_x): When entering new entry test for copy relocation
17665 and if necessary set DF_1_NODELETE flag.
17666 * elf/tst-unique4.cc: New file.
17667 * elf/tst-unique4.h: New file.
17668 * elf/tst-unique4lib.cc: New file.
17669 * elf/Makefile: Add rules to build and run tst-unique4.
17670 Patch by Piotr Bury <pbury@goahead.com>.
17672 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17675 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17678 * misc/mntent_r.c (addmntent): Flush the stream after the output
17681 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17682 (is_trusted_path_normalize): Skip initial colon. Append slash
17683 to empty buffer. Duplicate is_trusted_path code but allow
17684 constructed patch to be prefix.
17685 (is_dst): Allow $ORIGIN followed by /.
17686 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17687 Correct testing of result of is_trusted_path_normalize
17688 (decompose_rpath): Fix warning.
17690 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17693 * grp/initgroups.c (internal_getgrouplist): When we found the service
17694 list through the initgroups entry in nsswitch.conf do not always
17695 continue on a successful lookup. Don't always use the
17696 __nss_group_database value if it is set.
17697 * nss/nsswitch.conf (initgroups): Change action for successful db
17698 lookup to continue for compatibility.
17700 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17703 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17705 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17707 * iconvdata/tst-tables.sh: Likewise.
17708 * iconvdata/cp770.c: New file.
17709 * iconvdata/cp771.c: New file.
17710 * iconvdata/cp772.c: New file.
17711 * iconvdata/cp773.c: New file.
17712 * iconvdata/cp774.c: New file.
17713 * iconvdata/testdata/CP770: New file.
17714 * iconvdata/testdata/CP770..UTF8: New file.
17715 * iconvdata/testdata/CP771: New file.
17716 * iconvdata/testdata/CP771..UTF8: New file.
17717 * iconvdata/testdata/CP772: New file.
17718 * iconvdata/testdata/CP772..UTF8: New file.
17719 * iconvdata/testdata/CP773: New file.
17720 * iconvdata/testdata/CP773..UTF8: New file.
17721 * iconvdata/testdata/CP774: New file.
17722 * iconvdata/testdata/CP774..UTF8: New file.
17724 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17726 * iconvdata/gen-8bit-gap.sh: Likewise.
17727 * iconvdata/gen-8bit.sh: Likewise.
17729 * locale/iso-639.def: Add ary entry.
17732 * locale/C-translit.h.in: Add U20A1 transliteration.
17735 * locale/iso-639.def: Add wae entry.
17736 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17739 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17743 * locale/C-translit.h.in: Add entry for U20B9.
17744 Patch by pravin.d.s@gmail.com.
17746 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17749 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17750 ENAMETOOLONG use generic getcwd.
17751 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17752 in rtld. Use *stat64.
17753 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17754 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17755 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17756 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17757 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17758 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17759 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17760 __fstatat64 macros.
17761 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17762 * dirent/rewinddir.c: Add libc_hidden_def.
17763 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17764 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17766 * include/dirent.h (__alloc_dir): Add flags parameter.
17767 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17768 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17770 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17771 from fdopendir if O_CLOEXEC is already set.
17773 2011-03-15 Alan Modra <amodra@gmail.com>
17775 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17776 l_tls_firstbyte_offset non-zero. Save padding offset in
17777 l_tls_firstbyte_offset for later use.
17778 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17779 freeing static tls block.
17781 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17783 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17784 where #ifdef was intended. The intent is to prevent ARG_MAX from
17785 being defined by the kernel headers.
17787 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17790 * resolv/resolv.h: Define RES_NOTLDQUERY.
17791 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17792 no-tld-query and set RES_NOTLDQUERY.
17793 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17794 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17795 modern BIND to search name as TLD unless forbidden.
17797 2011-05-07 Petr Baudis <pasky@suse.cz>
17798 Ulrich Drepper <drepper@gmail.com>
17801 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17802 (is_trusted_path): ...to here.
17803 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17804 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17805 using is_trusted_path_normalize() in setuid scripts.
17807 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17809 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17810 __BEGIN/__END_DECLS.
17812 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17815 NSS_STATUS_NOTFOUND if no record was found.
17817 2011-05-05 Andreas Schwab <schwab@redhat.com>
17819 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17820 (headers-not-in-tirpc): Remove rpc/netdb.h
17821 * resolv/netdb.h: Revert last change.
17823 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17825 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17826 circular dependency between libgcc.a and libc.a.
17828 2011-05-05 Andreas Schwab <schwab@redhat.com>
17830 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17831 * nis/Makefile: Don't install rpcsvc/*.
17832 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17833 instead of <rpc/types.h>.
17834 (MAXHOSTNAMELEN): Define.
17836 2011-05-03 Andreas Schwab <schwab@redhat.com>
17838 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17840 2011-04-28 Maciej Babinski <mbabinski@google.com>
17843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17844 gethostbyname4_r when IPv6 results are possible.
17846 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17849 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17850 _PC_PIPE_BUF handling.
17852 2011-04-30 Bruno Haible <bruno@clisp.org>
17855 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17856 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17858 * inet/getnameinfo.c (getnameinfo): Likewise.
17860 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17862 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17863 to groups setting in database lookup.
17864 * nss/nsswitch.conf: Add initgroups entry.
17866 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17869 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17871 Patch by Eric Blake <eblake@redhat.com>.
17873 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17875 * sunrpc/Makefile (need-export-routines): Add svc_run.
17876 (routines): Remove svc_run.
17877 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17878 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17879 * sunrpc/svc_run.c (svc_run): Likewise.
17880 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17882 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17885 problem in reallocation in last patch.
17887 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17889 * sunrpc/Makefile: Move inclusion of Rules.
17891 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17893 * nss/nss_files/files-initgroups.c: New file.
17894 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17895 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17896 _nss_files_initgroups_dyn.
17898 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17900 * elf/elf.h (R_ARM_IRELATIVE): Define.
17902 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17904 * po/ru.po: Update from translation team.
17906 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17908 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17911 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17914 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17915 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17917 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17920 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17922 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17924 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17926 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17928 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17931 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17933 * stdlib/bug-getcontext.c: New file.
17934 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17936 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17938 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17939 instructions into .machine "z9-109".
17940 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17941 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17943 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17945 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17946 between environment variables and auxiliary vector.
17948 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17950 * Makefile: Add rules to build linkobj/libc.so.
17951 * include/libc-symbols.h: Define libc_hidden_nolink.
17952 * include/rpc/auth.h: Mark functions which are to be hidden.
17953 * include/rpc/auth_des.h: Likewise.
17954 * include/rpc/auth_unix.h: Likewise.
17955 * include/rpc/clnt.h: Likewise.
17956 * include/rpc/des_crypt.h: Likewise.
17957 * include/rpc/key_prot.h: Likewise.
17958 * include/rpc/pmap_clnt.h: Likewise.
17959 * include/rpc/pmap_prot.h: Likewise.
17960 * include/rpc/pmap_rmt.h: Likewise.
17961 * include/rpc/rpc_msg.h: Likewise.
17962 * include/rpc/svc.h: Likewise.
17963 * include/rpc/svc_auth.h: Likewise.
17964 * include/rpc/xdr.h: Likewise.
17965 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17966 * nss/Makefile: Likewise.
17967 * sunrpc/Makefile: Don't install headers. Build library with normal
17968 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17969 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17970 for the compat linking library. Remove use of INTDEF/INTUSE.
17971 * sunrpc/auth_none.c: Likewise.
17972 * sunrpc/auth_unix.c: Likewise.
17973 * sunrpc/authdes_prot.c: Likewise.
17974 * sunrpc/authuxprot.c: Likewise.
17975 * sunrpc/clnt_gen.c: Likewise.
17976 * sunrpc/clnt_perr.c: Likewise.
17977 * sunrpc/clnt_raw.c: Likewise.
17978 * sunrpc/clnt_simp.c: Likewise.
17979 * sunrpc/clnt_tcp.c: Likewise.
17980 * sunrpc/clnt_udp.c: Likewise.
17981 * sunrpc/clnt_unix.c: Likewise.
17982 * sunrpc/des_crypt.c: Likewise.
17983 * sunrpc/des_soft.c: Likewise.
17984 * sunrpc/get_myaddr.c: Likewise.
17985 * sunrpc/key_call.c: Likewise.
17986 * sunrpc/key_prot.c: Likewise.
17987 * sunrpc/netname.c: Likewise.
17988 * sunrpc/pm_getmaps.c: Likewise.
17989 * sunrpc/pm_getport.c: Likewise.
17990 * sunrpc/pmap_clnt.c: Likewise.
17991 * sunrpc/pmap_prot.c: Likewise.
17992 * sunrpc/pmap_prot2.c: Likewise.
17993 * sunrpc/pmap_rmt.c: Likewise.
17994 * sunrpc/publickey.c: Likewise.
17995 * sunrpc/rpc_cmsg.c: Likewise.
17996 * sunrpc/rpc_common.c: Likewise.
17997 * sunrpc/rpc_dtable.c: Likewise.
17998 * sunrpc/rpc_prot.c: Likewise.
17999 * sunrpc/rpc_thread.c: Likewise.
18000 * sunrpc/rtime.c: Likewise.
18001 * sunrpc/svc.c: Likewise.
18002 * sunrpc/svc_auth.c: Likewise.
18003 * sunrpc/svc_authux.c: Likewise.
18004 * sunrpc/svc_raw.c: Likewise.
18005 * sunrpc/svc_run.c: Likewise.
18006 * sunrpc/svc_simple.c: Likewise.
18007 * sunrpc/svc_tcp.c: Likewise.
18008 * sunrpc/svc_udp.c: Likewise.
18009 * sunrpc/svc_unix.c: Likewise.
18010 * sunrpc/svcauth_des.c: Likewise.
18011 * sunrpc/xcrypt.c: Likewise.
18012 * sunrpc/xdr.c: Likewise.
18013 * sunrpc/xdr_array.c: Likewise.
18014 * sunrpc/xdr_float.c: Likewise.
18015 * sunrpc/xdr_intXX_t.c: Likewise.
18016 * sunrpc/xdr_mem.c: Likewise.
18017 * sunrpc/xdr_rec.c: Likewise.
18018 * sunrpc/xdr_ref.c: Likewise.
18019 * sunrpc/xdr_sizeof.c: Likewise.
18020 * sunrpc/xdr_stdio.c: Likewise.
18022 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18025 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18026 * sysdeps/ia64/dl-tls.h: Likewise.
18027 * sysdeps/powerpc/dl-tls.h: Likewise.
18028 * sysdeps/s390/dl-tls.h: Likewise.
18029 * sysdeps/sh/dl-tls.h: Likewise.
18030 * sysdeps/sparc/dl-tls.h: Likewise.
18031 * sysdeps/x86_64/dl-tls.h: Likewise.
18032 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18034 2011-03-14 Andreas Schwab <schwab@redhat.com>
18036 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18037 rpath element also skip the following colon.
18038 (expand_dynamic_string_token): Add is_path parameter and pass
18039 down to DL_DST_REQUIRED and _dl_dst_substitute.
18040 (decompose_rpath): Call expand_dynamic_string_token with
18041 non-zero is_path. Ignore empty rpaths.
18042 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18045 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18050 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18053 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18054 Patch by Filipe David Manana <fdmanana@apache.org>.
18056 2011-04-07 Andreas Schwab <schwab@redhat.com>
18058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18059 Maintain aligned stack.
18060 (CHECK_RSP): Remove unused macro.
18062 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18064 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18065 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18067 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18069 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18071 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18073 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18076 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18077 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18078 * sysdeps/x86_64/memmove.c: New file.
18079 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18080 (memcpy): Renamed to ...
18081 (__new_memcpy): This.
18082 (memcpy): Provide GLIBC_2_14 memcpy.
18083 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18084 (memcpy): Provide GLIBC_2_2_5 memcpy.
18086 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18089 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18091 2011-03-30 Andreas Schwab <schwab@redhat.com>
18093 * misc/syncfs.c: New file.
18094 * misc/Makefile (routines): Add syncfs.
18095 * posix/unistd.h: Declare syncfs.
18096 * sysdeps/unix/syscalls.list: Add syncfs.
18098 2011-04-01 Andreas Schwab <schwab@redhat.com>
18100 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18103 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18105 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18107 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18108 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18110 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18113 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18120 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18121 sync_file_range.c with -fexceptions.
18122 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18123 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18124 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18125 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18126 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18127 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18129 sync_file_range as cancellation point
18130 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18131 now a wrapper around __call_sync_file_range with cancellation handling.
18132 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18133 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18134 function name to __call_sync_file_range.
18135 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18136 Add call_sync_file_range.
18138 2011-04-01 Andreas Schwab <schwab@redhat.com>
18140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18143 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18145 * iconv/iconv.h: Fix typo in comment.
18146 * io/fcntl.h: Likewise.
18147 * libio/stdio.h: Likewise.
18148 * posix/spawn.h: Likewise.
18149 * posix/unistd.h: Likewise.
18150 * stdlib/stdlib.h: Likewise.
18151 * time/time.h: Likewise.
18152 * wcsmbs/wchar.h: Likewise.
18154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18155 open_by_handle): Add.
18156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18157 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18158 Augment a few comments.
18159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18164 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18167 * io/fcntl.h (AT_EMPTY_PATH): Define.
18169 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18171 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18172 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18173 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18175 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18176 * Versions.def: Add GLIBC_2.14.
18177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18180 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18182 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18184 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18186 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18189 * string/test-strncmp.c (do_page_test): New function.
18190 (check2): Likewise.
18191 (test_main): Call check2.
18192 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18194 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18198 Handle cache information in CPU leaf 4.
18199 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18201 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18204 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18205 character representation.
18206 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18208 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18210 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18211 END(__isnan) to END(__isnanf) to match function entry point/label
18212 EALIGN(__isnanf,...).
18214 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18216 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18218 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18221 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18222 copy from the symbol referenced in the relocation to initialize the
18224 Patch by Piotr Bury <pbury@goahead.com>.
18225 * elf/Makefile: Add rules to build and tst-unique3.
18226 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18227 * elf/tst-unique3.cc: New file.
18228 * elf/tst-unique3.h: New file.
18229 * elf/tst-unique3lib.cc: New file.
18230 * elf/tst-unique3lib2.cc: New file.
18232 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18234 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18236 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18237 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18240 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18242 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18243 to-be-loaded object along a path to loader is ld.so.
18245 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18246 Ulrich Drepper <drepper@gmail.com>
18248 * sysdeps/x86_64/memset.S: After aligning destination, code
18249 branches to different locations depending on the value of
18250 misalignment, when multiarch is enabled. Fix this.
18252 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18254 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18255 Set _x86_64_preferred_memory_instruction for AMD processsors.
18256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18257 Set bit_Prefer_SSE_for_memop for AMD processors.
18259 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18261 * libio/fmemopen.c (fmemopen): Optimize a bit.
18263 2011-03-03 Andreas Schwab <schwab@redhat.com>
18265 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18267 2011-03-03 Roland McGrath <roland@redhat.com>
18269 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18271 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18273 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18274 __bzero_ultra1 instead of __memset_ultra1.
18276 2011-02-23 Andreas Schwab <schwab@redhat.com>
18277 Ulrich Drepper <drepper@gmail.com>
18280 * include/link.h (struct link_map): Add l_orig_initfini.
18281 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18282 returning unsuccessfully.
18283 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18284 close of a file loaded at startup, restore the original l_initfini
18286 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18287 list, store the pointer.
18288 * elf/Makefile ($(objpfx)noload-mem): New rule.
18289 (noload-ENV): Define.
18290 (tests): Add $(objpfx)noload-mem.
18291 * elf/noload.c: Include <memcheck.h>.
18292 (main): Call mtrace. Close all opened handles.
18294 2011-02-17 Andreas Schwab <schwab@redhat.com>
18297 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18298 dependencies are missing.
18300 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18302 Fix __if_freereq crash: Unlike the generic version which uses free,
18304 * sysdeps/mach/hurd/ifreq.h: New file.
18306 2011-01-27 Petr Baudis <pasky@suse.cz>
18307 Ulrich Drepper <drepper@gmail.com>
18310 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18311 to extend_alloca().
18312 * stdio-common/bug23.c: New file.
18313 * stdio-common/Makefile (tests): Add bug23.
18315 2010-09-28 Andreas Schwab <schwab@redhat.com>
18316 Ulrich Drepper <drepper@gmail.com>
18319 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18320 before performing relro protection. At old place add assertion
18321 to make sure nothing changed.
18323 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18324 Glauber de Oliveira Costa <glommer@gmail.com>
18326 * elf/elf.h: Add new ARM TLS relocs.
18328 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18331 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18333 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18335 * sysdeps/wordsize-64/tst-writev.c: New file.
18337 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18339 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18340 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18341 insns in _dl_start to prevent a TOC reference before relocs are
18344 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18347 * Makeconfig: Remove RANLIB definition.
18348 * Makerules: Don't use RANLIB.
18349 * aclocal.m4: Remove ranlib test.
18350 * configure.in: No need to check for ranlib.
18351 * elf/rtld-Rules: Don't use RANLIB.
18353 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18355 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18357 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18358 inclusion protection macro.
18360 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18361 SIGRTMIN and SIGRTMAX and print information in that case only when
18362 SIGRTMIN is defined.
18364 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18366 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18367 arginfo fn returning -1.
18369 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18370 and thousands string is zero terminated.
18372 2011-02-03 Andreas Schwab <schwab@redhat.com>
18374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18375 sysdeps/unix/sysv/linux/bits/socket.h.
18377 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18379 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18380 (__CPU_COUNT): Remove old macros.
18381 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18382 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18383 (__CPU_ALLOC, __CPU_FREE): Add macros.
18384 (__sched_cpualloc, __sched_cpufree): Add declarations.
18386 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18388 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18389 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18390 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18391 (readdhstai): Return value of addhstaiX call.
18392 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18393 (addgrbyX): Return value returned by cache_addgr.
18394 (readdgrbyname): Return value returned by addgrbyX.
18395 (readdgrbygid): Likewise.
18396 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18397 (addpwbyX): Return value returned by cache_addpw.
18398 (readdpwbyname): Return value returned by addhstbyX.
18399 (readdpwbyuid): Likewise.
18400 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18401 (addservbyX): Return value returned by cache_addserv.
18402 (readdservbyname): Return value returned by addservbyX:
18403 (readdservbyport): Likewise.
18404 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18405 (addhstbyX): Return value returned by cache_addhst.
18406 (readdhstbyname): Return value returned by addhstbyX.
18407 (readdhstbyaddr): Likewise.
18408 (readdhstbynamev6): Likewise.
18409 (readdhstbyaddrv6): Likewise.
18410 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18411 (readdinitgroups): Return value returned by addinitgroupsX.
18412 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18413 (prune_cache): Keep track of timeout value of re-added entries.
18414 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18415 * nscd/nscd.h: Adjust prototypes of readd* functions.
18417 2011-02-04 Roland McGrath <roland@redhat.com>
18419 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18420 (nis_stats): Likewise.
18421 * nis/nis_modify.c (nis_modify): Likewise.
18422 * nis/nis_remove.c (nis_remove): Likewise.
18423 * nis/nis_add.c (nis_add): Likewise.
18425 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18427 * posix/fnmatch_loop.c: Add some consts.
18429 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18431 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18434 * config.make.in (config-cflags-novzeroupper): Define.
18435 * configure.in: Substitute libc_cv_cc_novzeroupper.
18436 * elf/Makefile (AVX-CFLAGS): Define.
18437 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18438 (CFLAGS-tst-auditmod4a.c): Likewise.
18439 (CFLAGS-tst-auditmod4b.c): Likewise.
18440 (CFLAGS-tst-auditmod6b.c): Likewise.
18441 (CFLAGS-tst-auditmod6c.c): Likewise.
18442 (CFLAGS-tst-auditmod7b.c): Likewise.
18443 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18445 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18447 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18448 function to the callback.
18449 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18451 2011-02-02 Andreas Schwab <schwab@redhat.com>
18453 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18456 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18459 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18461 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18463 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18466 * elf/Makefile: Add rules to build and run new test.
18467 * elf/tst-initorder.c: New file.
18468 * elf/tst-initorder.exp: New file.
18469 * elf/tst-initordera1.c: New file.
18470 * elf/tst-initordera2.c: New file.
18471 * elf/tst-initordera3.c: New file.
18472 * elf/tst-initordera4.c: New file.
18473 * elf/tst-initorderb1.c: New file.
18474 * elf/tst-initorderb2.c: New file.
18475 * elf/tst-order-a1.c: New file.
18476 * elf/tst-order-a2.c: New file.
18477 * elf/tst-order-a3.c: New file.
18478 * elf/tst-order-a4.c: New file.
18479 * elf/tst-order-b1.c: New file.
18480 * elf/tst-order-b2.c: New file.
18481 * elf/tst-order-main.c: New file.
18482 New test case by George Gensure <werkt0@gmail.com>.
18484 2010-10-01 Andreas Schwab <schwab@redhat.com>
18486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18487 decoding ACE if AI_CANONIDN.
18489 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18491 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18493 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18495 * version.h (RELEASE): Bump for 2.13 release.
18496 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18498 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18502 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18507 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18509 * posix/getconf.c: Update copyright year.
18510 * catgets/gencat.c: Likewise.
18511 * csu/version.c: Likewise.
18512 * debug/catchsegv.sh: Likewise.
18513 * debug/xtrace.sh: Likewise.
18514 * elf/ldconfig.c: Likewise.
18515 * elf/ldd.bash.in: Likewise.
18516 * elf/sprof.c (print_version): Likewise.
18517 * iconv/iconv_prog.c: Likewise.
18518 * iconv/iconvconfig.c: Likewise.
18519 * locale/programs/locale.c: Likewise.
18520 * locale/programs/localedef.c: Likewise.
18521 * malloc/memusage.sh: Likewise.
18522 * malloc/mtrace.pl: Likewise.
18523 * nscd/nscd.c (print_version): Likewise.
18524 * nss/getent.c: Likewise.
18526 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18527 PF_CAIF, and PF_ALG.
18528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18530 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18532 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18533 (modules-names): Use them.
18534 (ifunc-test-modules, ifunc-pie-tests): Define.
18535 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18536 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18537 (test-extras): Likewise.
18538 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18539 $(compile-command.c).
18540 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18541 (all-built-dso): Define.
18542 (check-textrel.out, check-execstack.out): Depend on it.
18544 * configure.in: Don't override --enable-multi-arch.
18546 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18549 * nscd/hstcache.c (tryagain): Define.
18550 (cache_addhst): Return tryagain not notfound for temporary errors.
18551 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18554 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18557 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18558 to make the syscall.
18559 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18562 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18563 and fall back to matching as normal character if the string ends before
18564 the matching ']' is found. This is what POSIX requires.
18565 * posix/testfnm.c: Adjust test result.
18566 * posix/globtest.sh: Adjust test result. Add new test.
18567 * posix/tst-fnmatch.input: Likewise.
18568 * posix/tst-fnmatch2.c: Add new test.
18570 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18572 * elf/Makefile (check-execstack): Revert last change. Depend on
18574 (check-execstack.h): New target.
18575 (generated): Add check-execstack.h.
18576 * elf/check-execstack.c: Include "check-execstack.h".
18577 (main): Revert last change.
18578 (handle_file): Return zero if GNU_STACK is absent and
18579 DEFAULT_STACK_PERMS doesn't include PF_X.
18581 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18583 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18584 in child fails because the descriptor is already closed.
18585 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18586 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18587 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18594 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18595 temporary buffer used to handle multi lookups locally.
18596 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18598 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18600 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18603 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18605 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18606 alignment for SSE2.
18608 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18611 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18612 characters. When rounding increased number of integer digits recompute
18614 * stdio-common/tst-grouping.c: New file.
18615 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18617 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18619 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18620 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18622 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18624 * bits/select.h: Likewise.
18626 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18628 * po/ja.po: Update from translation team.
18630 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18633 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18634 implementation just like for lxstat, fxstatat, et al.
18636 2010-12-27 Jim Meyering <meyering@redhat.com>
18639 * posix/regexec.c (build_trtable): Return failure indication upon
18640 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18642 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18645 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18646 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18647 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18648 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18651 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18654 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18655 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18657 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18659 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18660 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18661 script has SORT_BY_INIT_PRIORITY.
18662 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18663 NO_CTORS_DTORS_SECTIONS is defined.
18664 * elf/soinit.c: Likewise.
18665 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18666 NO_CTORS_DTORS_SECTIONS is defined.
18667 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18668 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18669 * sysdeps/sh/init-first.c: Likewise.
18670 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18672 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18674 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18675 always use the slow path.
18677 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18679 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18680 similar rule which adds the sysdep directories to the header search in
18681 order to pick up the correct platform stackinfo.h.
18682 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18683 perform test if it is, otherwise return successfully without testing.
18684 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18685 DEFAULT_STACK_PERMS define in stackinfo.h.
18686 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18687 defined in stackinfo.h.
18688 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18689 DEFAULT_STACK_PERMS defined in stackinfo.h.
18690 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18691 * sysdeps/ia64/stackinfo.h: Likewise.
18692 * sysdeps/s390/stackinfo.h: Likewise.
18693 * sysdeps/sh/stackinfo.h: Likewise.
18694 * sysdeps/sparc/stackinfo.h: Likewise.
18695 * sysdeps/x86_64/stackinfo.h: Likewise.
18696 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18697 PF_X for powerpc64. Retain PF_X for powerpc32.
18699 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18701 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18703 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18704 GETDENTS_64BIT_ALIGNED.
18706 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18708 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18710 2010-12-10 Andreas Schwab <schwab@redhat.com>
18712 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18715 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18716 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18718 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18719 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18721 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18724 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18727 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18729 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18731 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18733 * po/it.po: Update from translation team.
18735 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18737 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18740 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18742 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18744 2010-11-24 Andreas Schwab <schwab@redhat.com>
18746 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18748 (gaih_getanswer_slice): Likewise.
18750 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18754 2010-05-31 Petr Baudis <pasky@suse.cz>
18757 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18758 silently even in the chroot mode.
18760 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18762 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18763 last patch a bit. Pretty printing
18765 2010-05-31 Petr Baudis <pasky@suse.cz>
18768 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18769 initialization of skip_initgroups_dyn.
18771 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18773 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18774 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18776 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18778 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18780 2010-11-11 Andreas Schwab <schwab@redhat.com>
18782 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18783 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18784 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18785 ($(objpfx)tst-fnmatch-mem): New rule.
18786 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18787 * posix/tst-fnmatch.c (main): Call mtrace.
18789 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18792 Support Intel processor model 6 and model 0x2c.
18794 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18796 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18799 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18802 * string/test-strncasecmp.c (check_result): New function.
18803 (do_one_test): Use it.
18804 (check1): New function.
18805 (test_main): Use it.
18806 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18807 Support strcasecmp and strncasecmp.
18809 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18812 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18815 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18817 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18821 * sysdeps/x86_64/multiarch/bzero.S: New file.
18822 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18823 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18824 * sysdeps/x86_64/multiarch/memset.S: New file.
18825 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18827 Set bit_Prefer_SSE_for_memop for Intel processors.
18828 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18830 (index_Prefer_SSE_for_memop): Define.
18831 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18833 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18835 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18836 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18838 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18841 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18842 (__x86_64_raw_data_cache_size_half): Likewise.
18843 (__x86_64_raw_shared_cache_size): Likewise.
18844 (__x86_64_raw_shared_cache_size_half): Likewise.
18846 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18847 (__x86_64_raw_data_cache_size_half): Likewise.
18848 (__x86_64_raw_shared_cache_size): Likewise.
18849 (__x86_64_raw_shared_cache_size_half): Likewise.
18850 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18851 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18852 and __x86_64_raw_shared_cache_size_half. Round
18853 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18854 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18855 to multiple of 256 bytes.
18857 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18860 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18861 of inacessible symlinks. Verify result of symlink before returning it.
18862 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18863 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18865 2010-10-28 Erich Ritz <erichritz@gmail.com>
18867 * math/math.h (isinf): Fix typo in comment.
18869 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18871 * po/da.po: Update from translation team.
18873 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18875 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18876 is added to the list.
18878 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18879 Ulrich Drepper <drepper@gmail.com>
18881 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18882 the global list here. Move code to...
18883 (_dl_add_to_namespace_list): ...here. New function.
18884 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18885 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18886 * elf/dl-load.c (lose): Don't remove the element from the list.
18887 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18888 (_dl_map_object): Likewise.
18890 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18893 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18894 into all bytes of SSE register.
18895 Patch by Richard Li <richardpku@gmail.com>.
18897 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18900 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18903 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18905 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18906 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18907 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18913 2010-10-22 Andreas Schwab <schwab@redhat.com>
18915 * include/dlfcn.h (__RTLD_SECURE): Define.
18916 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18917 mode & __RTLD_SECURE instead.
18918 (open_path): Rename preloaded parameter to secure.
18919 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18920 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18921 * elf/dl-deps.c (openaux): Likewise.
18922 * elf/rtld.c (struct map_args): Remove is_preloaded.
18923 (map_doit): Don't use it.
18924 (dl_main): Likewise.
18925 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18926 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18928 2010-09-09 Andreas Schwab <schwab@redhat.com>
18930 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18931 (sysd-rules-targets): Remove duplicates.
18932 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18933 rtld-%.$o dependency.
18935 2010-10-18 Andreas Schwab <schwab@redhat.com>
18937 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18938 _dl_map_object do it.
18940 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18942 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18943 fast fma builtins, define the macros in the C99 standard.
18944 (FP_FAST_FMAF): Likewise.
18945 (FP_FAST_FMAL): Likewise.
18946 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18948 * bits/mathdef.h: Update copyright year.
18949 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18951 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18953 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18954 builtins, define the macros in the C99 standard.
18955 (FP_FAST_FMAF): Likewise.
18956 (FP_FAST_FMAL): Likewise.
18957 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18959 (FP_FAST_FMAF): Likewise.
18961 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18964 * math/libm-test.inc (fma_test): Some new testcases.
18965 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18966 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18967 y and infinite z. Do multiplication by C already in long double.
18968 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18970 y and infinite z. Do bitwise or of inexact bit into u.d.
18971 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18972 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18973 * sysdeps/i386/fpu/s_fma.S: Removed.
18974 * sysdeps/i386/fpu/s_fmal.S: Removed.
18976 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18979 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18981 computation is not scheduled after fetestexcept. Fix value
18982 of minimum denormal long double.
18984 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18987 * math/libm-test.inc (fma_test): Add some more tests.
18988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18991 2010-10-15 Andreas Schwab <schwab@redhat.com>
18993 * scripts/data/localplt-s390-linux-gnu.data: New file.
18994 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18996 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18999 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19000 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19002 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19004 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19006 if one of x and y is very large and the other is subnormal.
19007 * sysdeps/s390/fpu/s_fmaf.c: New file.
19008 * sysdeps/s390/fpu/s_fma.c: New file.
19009 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19010 * sysdeps/powerpc/fpu/s_fma.S: New file.
19011 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19012 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19013 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19015 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19018 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19021 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19022 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19023 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19024 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19025 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19028 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19031 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19032 * posix/bug-regex31.input: Add test case.
19034 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19036 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19037 * posix/bug-regex31.input: New file.
19040 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19041 (parse_sub_exp): Fix last change, use postorder.
19043 * posix/bug-regex31.c: New file.
19044 * posix/Makefile: Add rules to build and run bug-regex31.
19046 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19049 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19052 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19053 to have entries in sys_siglist.
19056 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19059 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19062 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19063 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19064 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19065 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19066 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19067 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19068 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19069 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19070 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19071 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19072 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19073 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19074 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19075 * math/ftestexcept.c (fetestexcept): Likewise.
19076 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19077 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19078 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19079 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19080 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19081 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19082 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19084 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19087 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19090 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19092 * string/bug-strstr1.c: New file.
19093 * string/Makefile: Add rules to build and run bug-strstr1.
19095 2010-10-05 Eric Blake <eblake@redhat.com>
19098 * string/str-two-way.h (two_way_long_needle): Always clear memory
19099 when skipping input due to the shift table.
19101 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19104 * malloc/mcheck.c: Handle large requests.
19107 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19108 for strncmp and strncasecmp.
19109 * string/stratcliff.c: Add tests for strcmp and strncmp.
19110 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19112 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19114 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19117 2010-09-30 Andreas Jaeger <aj@suse.de>
19119 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19120 (CGROUP_SUPER_MAGIC): Define.
19121 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19122 Handle btrfs and cgroup file systems.
19123 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19126 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19128 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19129 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19131 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19134 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19135 trying to locate the ELF header.
19137 2010-09-27 Andreas Schwab <schwab@redhat.com>
19140 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19141 Mask out sign-bit copies when constructing f_fsid.
19143 2010-09-24 Petr Baudis <pasky@suse.cz>
19145 * debug/stack_chk_fail_local.c: Add missing licence exception.
19146 * debug/warning-nop.c: Likewise.
19148 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19150 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19151 implementing getdents64 using getdents syscall, set d_type if
19152 __ASSUME_GETDENTS32_D_TYPE.
19154 2010-09-16 Andreas Schwab <schwab@redhat.com>
19156 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19157 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19159 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19162 * posix/unistd.h: Undo change of feature selection for ftruncate from
19165 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19167 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19170 2010-09-20 Andreas Schwab <schwab@redhat.com>
19172 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19174 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19176 2010-09-14 Andreas Schwab <schwab@redhat.com>
19178 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19179 variables after CHECK_SP call.
19180 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19182 2010-09-13 Andreas Schwab <schwab@redhat.com>
19183 Ulrich Drepper <drepper@redhat.com>
19185 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19186 re-relocationg ld.so.
19187 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19188 _dl_init_paths call.
19189 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19192 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19194 * resolv/res_init.c (__res_vinit): Count the default server we added.
19196 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19197 Ulrich Drepper <drepper@redhat.com>
19200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19201 (____longjmp_chk): Use %ebx for saving value across system call.
19204 2010-09-06 Andreas Schwab <schwab@redhat.com>
19206 * manual/Makefile: Don't mix pattern rules with normal rules.
19208 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19210 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19212 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19213 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19214 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19215 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19219 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19222 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19223 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19225 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19227 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19228 * sysdeps/x86_64/addmul_1.S: Likewise.
19229 * sysdeps/x86_64/lshift.S: Likewise.
19230 * sysdeps/x86_64/mul_1.S: Likewise.
19231 * sysdeps/x86_64/rshift.S: Likewise.
19232 * sysdeps/x86_64/sub_n.S: Likewise.
19233 * sysdeps/x86_64/submul_1.S: Likewise.
19235 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19237 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19238 Define __sched_param instead of SCHED_* and sched_param when
19239 <bits/sched.h> is included with __need_schedparam defined.
19240 * bits/sched.h [__need_schedparam]
19241 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19242 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19243 (__defined_schedparam): Define to 1.
19244 (__sched_param): New structure, identical to sched_param.
19245 (__need_schedparam): Undefine.
19247 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19249 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19250 (epoll_create1): Declare.
19252 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19254 2010-08-31 Andreas Schwab <schwab@redhat.com>
19257 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19258 shifting retval into place.
19260 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19262 * nis/rpcsvc/nis.h: Update copyright notice.
19263 * nis/rpcsvc/nis.x: Likewise.
19264 * nis/rpcsvc/nis_callback.h: Likewise.
19265 * nis/rpcsvc/nis_callback.x: Likewise.
19266 * nis/rpcsvc/nis_object.x: Likewise.
19267 * nis/rpcsvc/nis_tags.h: Likewise.
19268 * nis/rpcsvc/yp.h: Likewise.
19269 * nis/rpcsvc/yp.x: Likewise.
19270 * nis/rpcsvc/ypupd.h: Likewise.
19271 * nis/yp_xdr.c: Likewise.
19272 * nis/ypupdate_xdr.c: Likewise.
19274 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19275 mainly the body of pmap_getport. Add parameters to specify timeouts.
19276 (pmap_getport): Use __libc_rpc_getport.
19277 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19278 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19279 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19281 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19286 2010-08-27 Roland McGrath <roland@redhat.com>
19288 * sysdeps/i386/i686/multiarch/Makefile
19289 (CFLAGS-varshift.c): New variable.
19291 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19293 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19294 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19296 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19298 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19300 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19302 * sysdeps/x86_64/strlen.S: Unroll the loop.
19303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19304 strlen-sse2 strlen-sse2-bsf.
19305 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19306 __strlen_no_bsf if bit_Slow_BSF is set.
19307 (__strlen_sse42): Removed.
19308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19309 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19311 2010-08-25 Roland McGrath <roland@redhat.com>
19313 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19314 * sysdeps/x86_64/multiarch/varshift.c: New file.
19315 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19316 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19317 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19318 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19320 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19323 strlen-sse2 strlen-sse2-bsf.
19324 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19325 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19326 (__strlen_sse2): Removed.
19327 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19330 bit_Slow_BSF for Atom.
19331 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19332 (index_Slow_BSF): Define.
19333 (HAS_SLOW_BSF): Define.
19335 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19338 * resolv/res_init.c (__res_vinit): When no server address at all
19339 is given default to loopback.
19341 2010-08-24 Roland McGrath <roland@redhat.com>
19343 * configure.in: Remove config-name.h generation.
19344 * configure: Regenerated.
19345 * config-name.in: File removed.
19346 * scripts/config-uname.sh: New file.
19347 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19348 ($(objdir)config-name.h): New target.
19350 * sunrpc/rpc_parse.h: Avoid nested comment.
19352 2010-08-24 Richard Henderson <rth@redhat.com>
19353 Ulrich Drepper <drepper@redhat.com>
19354 H.J. Lu <hongjiu.lu@intel.com>
19356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19358 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19359 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19360 _mm_alignr_epi8 with _mm_loadu_si128.
19361 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19362 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19363 (__m128i_shift_right): Removed.
19364 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19365 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19366 * sysdeps/x86_64/multiarch/varshift.h: New file.
19367 * sysdeps/x86_64/multiarch/varshift.S: New file.
19369 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19371 * configure.in: Move assembler checks to before sysdep dir checking.
19373 2010-08-20 Petr Baudis <pasky@suse.cz>
19375 * LICENSES: Sync the sunrpc license.
19377 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19379 * sunrpc/auth_des.c: Update copyright notice once again.
19380 * sunrpc/auth_none.c: Likewise.
19381 * sunrpc/auth_unix.c: Likewise.
19382 * sunrpc/authdes_prot.c: Likewise.
19383 * sunrpc/authuxprot.c: Likewise.
19384 * sunrpc/bindrsvprt.c: Likewise.
19385 * sunrpc/clnt_gen.c: Likewise.
19386 * sunrpc/clnt_perr.c: Likewise.
19387 * sunrpc/clnt_raw.c: Likewise.
19388 * sunrpc/clnt_simp.c: Likewise.
19389 * sunrpc/clnt_tcp.c: Likewise.
19390 * sunrpc/clnt_udp.c: Likewise.
19391 * sunrpc/clnt_unix.c: Likewise.
19392 * sunrpc/des_crypt.c: Likewise.
19393 * sunrpc/des_soft.c: Likewise.
19394 * sunrpc/get_myaddr.c: Likewise.
19395 * sunrpc/getrpcport.c: Likewise.
19396 * sunrpc/key_call.c: Likewise.
19397 * sunrpc/key_prot.c: Likewise.
19398 * sunrpc/openchild.c: Likewise.
19399 * sunrpc/pm_getmaps.c: Likewise.
19400 * sunrpc/pm_getport.c: Likewise.
19401 * sunrpc/pmap_clnt.c: Likewise.
19402 * sunrpc/pmap_prot.c: Likewise.
19403 * sunrpc/pmap_prot2.c: Likewise.
19404 * sunrpc/pmap_rmt.c: Likewise.
19405 * sunrpc/rpc/auth.h: Likewise.
19406 * sunrpc/rpc/auth_unix.h: Likewise.
19407 * sunrpc/rpc/clnt.h: Likewise.
19408 * sunrpc/rpc/des_crypt.h: Likewise.
19409 * sunrpc/rpc/key_prot.h: Likewise.
19410 * sunrpc/rpc/netdb.h: Likewise.
19411 * sunrpc/rpc/pmap_clnt.h: Likewise.
19412 * sunrpc/rpc/pmap_prot.h: Likewise.
19413 * sunrpc/rpc/pmap_rmt.h: Likewise.
19414 * sunrpc/rpc/rpc.h: Likewise.
19415 * sunrpc/rpc/rpc_des.h: Likewise.
19416 * sunrpc/rpc/rpc_msg.h: Likewise.
19417 * sunrpc/rpc/svc.h: Likewise.
19418 * sunrpc/rpc/svc_auth.h: Likewise.
19419 * sunrpc/rpc/types.h: Likewise.
19420 * sunrpc/rpc/xdr.h: Likewise.
19421 * sunrpc/rpc_clntout.c: Likewise.
19422 * sunrpc/rpc_cmsg.c: Likewise.
19423 * sunrpc/rpc_common.c: Likewise.
19424 * sunrpc/rpc_cout.c: Likewise.
19425 * sunrpc/rpc_dtable.c: Likewise.
19426 * sunrpc/rpc_hout.c: Likewise.
19427 * sunrpc/rpc_main.c: Likewise.
19428 * sunrpc/rpc_parse.c: Likewise.
19429 * sunrpc/rpc_parse.h: Likewise.
19430 * sunrpc/rpc_prot.c: Likewise.
19431 * sunrpc/rpc_sample.c: Likewise.
19432 * sunrpc/rpc_scan.c: Likewise.
19433 * sunrpc/rpc_scan.h: Likewise.
19434 * sunrpc/rpc_svcout.c: Likewise.
19435 * sunrpc/rpc_tblout.c: Likewise.
19436 * sunrpc/rpc_util.c: Likewise.
19437 * sunrpc/rpc_util.h: Likewise.
19438 * sunrpc/rpcinfo.c: Likewise.
19439 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19440 * sunrpc/rpcsvc/key_prot.x: Likewise.
19441 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19442 * sunrpc/rpcsvc/mount.x: Likewise.
19443 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19444 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19445 * sunrpc/rpcsvc/rex.x: Likewise.
19446 * sunrpc/rpcsvc/rstat.x: Likewise.
19447 * sunrpc/rpcsvc/rusers.x: Likewise.
19448 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19449 * sunrpc/rpcsvc/spray.x: Likewise.
19450 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19451 * sunrpc/rtime.c: Likewise.
19452 * sunrpc/svc.c: Likewise.
19453 * sunrpc/svc_auth.c: Likewise.
19454 * sunrpc/svc_authux.c: Likewise.
19455 * sunrpc/svc_raw.c: Likewise.
19456 * sunrpc/svc_run.c: Likewise.
19457 * sunrpc/svc_simple.c: Likewise.
19458 * sunrpc/svc_tcp.c: Likewise.
19459 * sunrpc/svc_udp.c: Likewise.
19460 * sunrpc/svc_unix.c: Likewise.
19461 * sunrpc/svcauth_des.c: Likewise.
19462 * sunrpc/xcrypt.c: Likewise.
19463 * sunrpc/xdr.c: Likewise.
19464 * sunrpc/xdr_array.c: Likewise.
19465 * sunrpc/xdr_float.c: Likewise.
19466 * sunrpc/xdr_mem.c: Likewise.
19467 * sunrpc/xdr_rec.c: Likewise.
19468 * sunrpc/xdr_ref.c: Likewise.
19469 * sunrpc/xdr_sizeof.c: Likewise.
19470 * sunrpc/xdr_stdio.c: Likewise.
19472 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19475 2010-08-19 Andreas Schwab <schwab@redhat.com>
19477 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19479 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19481 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19482 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19483 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19484 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19485 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19486 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19487 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19488 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19490 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19491 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19492 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19493 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19494 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19496 2010-07-26 Anton Blanchard <anton@samba.org>
19498 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19499 * malloc/arena.c (heap_trim): Likewise.
19501 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19503 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19506 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19508 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19510 * sysdeps/i386/elf/Makefile: New file.
19512 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19514 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19515 from fanotify_init.
19516 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19519 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19521 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19523 * sysdeps/multiarch/strcmp.S: Likewise.
19525 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19527 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19528 strncase_l-nonascii.
19529 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19530 Add strncase_l-ssse3.
19531 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19532 * sysdeps/x86_64/strcmp.S: Likewise.
19533 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19534 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19535 * sysdeps/x86_64/strncase.S: New file.
19536 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19537 * sysdeps/x86_64/strncase_l.S: New file.
19538 * string/Makefile (strop-tests): Add strncasecmp.
19539 * string/test-strncasecmp.c: New file.
19541 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19544 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19545 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19547 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19549 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19551 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19553 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19554 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19555 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19557 2010-05-01 Alan Modra <amodra@gmail.com>
19559 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19560 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19561 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19562 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19563 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19564 tidying. Don't tail-call __sigjmp_save for static lib.
19565 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19567 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19568 (CALL_MCOUNT): Add eh info, and nop after bl.
19569 (TAIL_CALL_SYSCALL_ERROR): New macro.
19570 (PSEUDO_RET): Use it.
19571 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19572 Correct save location of integer regs and cr.
19573 (_dl_profile_resolve): Correct cr save location. Delete nops
19574 after bl when SHARED. Reduce cfi size a little by better
19575 placement of cfi directives.
19576 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19577 make a stack frame. Instead use parm save area as a temp.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19579 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19581 Don't make a stack frame for parent, use parm save area.
19582 Increase child stack frame to 112 bytes. Don't save unused reg,
19583 and adjust reg usage. Set up cfi on error recovery and
19584 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19586 (__makecontext): Add dummy nop after jump to exit.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19588 Use correct parm save area and cr save, reduce stack frame.
19589 Correct cfi for possible PSEUDO_RET frame setup.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19591 Branch to local label emitted by PSEUDO_RET rather than
19594 2010-08-12 Andreas Schwab <schwab@redhat.com>
19597 * locale/programs/locale.c (print_assignment): New function.
19598 (show_locale_vars): Use it.
19600 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19602 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19604 (struct statfs64): Likewise.
19605 (_STATFS_F_FLAGS): Define.
19606 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19607 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19608 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19609 (ST_VALID): Define locally.
19610 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19611 __statvfs_getflags, use the provided value.
19612 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19613 __ASSUME_STATFS_F_FLAGS.
19615 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19617 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19618 Add sys/fanotify.h.
19619 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19620 fanotify_mask for GLIBC_2.13.
19621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19622 fanotify_init and fanotify_mark.
19623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19624 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19626 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19628 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19629 prlimit64 for GLIBC_2.13.
19630 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19635 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19636 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19640 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19643 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19644 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19646 * nss/Makefile: Add rules to build and run tst-nss-test1.
19647 * shlib-versions: Add entry for libnss_test1.
19648 * nss/nss_test1.c: New file.
19649 * nss/tst-nss-test1.c: New file.
19651 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19652 (__nss_configure_lookup): Set appropriate entry in
19653 __nss_configure_lookup to true.
19654 * nss/nsswitch.h: Define enum with indeces of databases in
19655 databases and __nss_database_custom arrays. Declare
19656 __nss_database_custom.
19657 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19658 to avoid using nscd when custom rules are installed.
19659 * nss/getXXbyYY_r.c: Likewise.
19660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19662 * nss/nss_files/files-parse.c: Whitespace fixes.
19664 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19667 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19668 * posix/fnmatch_loop.c: Likewise.
19670 2010-07-17 Andi Kleen <ak@linux.intel.com>
19672 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19673 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19674 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19675 * Versions.def [GLIBC_2.13]: Add.
19677 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19679 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19680 Also fail if tpwd after pwuid call is NULL.
19682 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19684 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19685 when converting to ms.
19687 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19689 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19690 EOPNOTSUPP errors with ENOTTY.
19691 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19692 EOPNOTSUPP errors with ENOTTY.
19694 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19696 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19697 Add strcasecmp_l-ssse3.
19698 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19700 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19701 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19702 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19704 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19706 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19708 * string/Makefile (strop-tests): Add strcasecmp.
19709 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19710 strcasecmp_l-nonascii.
19711 (gen-as-const-headers): Add locale-defines.sym.
19712 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19713 * sysdeps/x86_64/strcasecmp.S: New file.
19714 * sysdeps/x86_64/strcasecmp_l.S: New file.
19715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19716 * sysdeps/x86_64/locale-defines.sym: New file.
19717 * string/test-strcasecmp.c: New file.
19719 * string/test-strcasestr.c: Test both ends of the range of characters.
19720 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19722 2010-07-29 Roland McGrath <roland@redhat.com>
19725 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19727 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19729 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19732 2010-07-27 Andreas Schwab <schwab@redhat.com>
19734 * manual/memory.texi (Malloc Tunable Parameters): Document
19737 2010-07-26 Roland McGrath <roland@redhat.com>
19740 * configure.in (-fgnu89-inline check): Set and substitute
19741 gnu89_inline, not libc_cv_gnu89_inline.
19742 * configure: Regenerated.
19743 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19745 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19747 * string/test-strnlen.c: New file.
19748 * string/Makefile (strop-tests): Add strnlen.
19749 * string/tester.c (test_strnlen): Add a few more test cases.
19750 * string/tst-strlen.c: Better error reporting.
19752 * sysdeps/x86_64/strnlen.S: New file.
19754 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19756 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19757 lower-latency instructions.
19759 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19761 * string/test-strcasestr.c: New file.
19762 * string/test-strstr.c: New file.
19763 * string/Makefile (strop-tests): Add strstr and strcasestr.
19764 * string/str-two-way.h: Don't undefine MAX.
19765 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19767 2010-07-21 Andreas Schwab <schwab@redhat.com>
19769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19770 strcasestr-nonascii.
19771 (CFLAGS-strcasestr-nonascii.c): Define.
19772 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19774 Remove unused attribute.
19776 2010-07-20 Roland McGrath <roland@redhat.com>
19778 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19779 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19780 ld.so.cache was broken. With it, there is no way to disable dsocaps
19781 like LD_HWCAP_MASK can disable hwcaps.
19783 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19785 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19787 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19789 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19790 call in strcasestr.
19791 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19792 __strcasestr_sse42_nonascii.
19793 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19794 strcasestr-nonascii.c.
19795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19797 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19799 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19800 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19801 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19804 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19806 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19809 2010-07-06 Andreas Schwab <schwab@redhat.com>
19812 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19815 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19818 _PC_PIPE_BUF using F_GETPIPE_SZ.
19820 2010-07-05 Roland McGrath <roland@redhat.com>
19822 * manual/arith.texi (Rounding Functions): Fix rint description
19823 implicit in round description.
19825 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19827 * elf/Makefile: Fix linking for a few tests to make recent linker
19830 2010-06-30 Andreas Schwab <schwab@redhat.com>
19832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19833 $(common-objpfx)libc_nonshared.a.
19835 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19837 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19838 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19839 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19840 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19841 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19842 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19843 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19844 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19859 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19860 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19861 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19862 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19863 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19864 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19865 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19866 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19867 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19868 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19869 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19870 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19886 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19888 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19889 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19890 * string/memmove.c (memmove): Renamed to ...
19891 (MEMMOVE): ...this. Default to memmove.
19892 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19893 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19896 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19897 mempcpy-ssse3-back memmove-ssse3-back.
19898 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19901 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19902 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19903 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19904 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19905 * sysdeps/x86_64/multiarch/memmove.c: New file.
19906 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19907 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19908 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19909 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19910 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19913 (index_Fast_Copy_Backward): Define.
19914 (HAS_ARCH_FEATURE): Define.
19915 (HAS_FAST_REP_STRING): Define.
19916 (HAS_FAST_COPY_BACKWARD): Define.
19918 2010-06-21 Andreas Schwab <schwab@redhat.com>
19920 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19921 Restore proper fallback handling.
19923 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19926 * posix/group_member.c (__group_member): Correct checking loop.
19928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19929 OOM in getpwuid_r correctly. Return error number when the caller
19930 should return, otherwise -1.
19931 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19932 call returning > 0 value.
19933 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19935 2010-06-07 Andreas Schwab <schwab@redhat.com>
19937 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19938 libc_nonshared.a from targets in modules-names.
19940 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19942 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19945 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19948 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19952 2010-06-02 Andreas Schwab <schwab@redhat.com>
19954 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19956 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19958 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19960 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19961 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19967 2010-06-14 Roland McGrath <roland@redhat.com>
19969 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19971 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19973 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19974 __REDIRECT followed by __THROW.
19975 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19976 * posix/getopt.h (getopt): Likewise.
19978 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19980 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19981 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19982 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19984 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19985 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19987 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19989 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19991 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19995 Properly check family and model.
19997 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19999 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20001 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20003 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20005 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20007 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20010 2010-05-19 Andreas Schwab <schwab@redhat.com>
20012 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20015 2010-05-21 Andreas Schwab <schwab@redhat.com>
20017 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20018 and internal_recvmmsg.
20019 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20020 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20021 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20022 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20024 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20025 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20026 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20028 2010-05-20 Andreas Schwab <schwab@redhat.com>
20030 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20032 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20034 POWER7 optimizations.
20035 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20036 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20038 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20040 * version.h: Update for 2.13 development version.
20042 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20044 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20045 exceptions. Return 0.
20047 2010-05-07 Roland McGrath <roland@redhat.com>
20049 * elf/ldconfig.c (main): Add a const.
20051 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20053 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20054 (args_options): Add no-idn option.
20055 (ahosts_keys_int): Add idn_flags to ai_flags.
20056 (parse_option): Handle 'i' option to clear idn_flags.
20058 * malloc/malloc.c (_int_free): Possible race in the most recently
20059 added check. Only act on the data if no current modification
20062 See ChangeLog.17 for earlier changes.