1 2012-10-09 Roland McGrath <roland@hack.frob.com>
3 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4 defined. Don't check if MAP is NULL.
6 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11 (_G_stat64): Likewise.
12 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13 instead of struct _G_stat64.
14 * libio/fileops.c (mmap_remap_check): Likewise.
15 (decide_maybe_mmap): Likewise.
16 (_IO_new_file_seekoff): Likewise.
17 (_IO_file_stat): Likewise.
18 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21 instead of struct _G_stat64.
22 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29 (CHECK_EOL): New macro.
30 (two_way_short_needle): Check beginning of haystack for EOL. Use
32 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33 Replace with CHECK_EOL.
34 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35 Replace with CHECK_EOL.
37 2012-10-08 Joseph Myers <joseph@codesourcery.com>
39 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41 * math/libm-test.inc: Update comment listing what functions and
43 (finite_test): New function.
44 (isinf_test): Likewise.
45 (isnan_test): Likewise.
46 (fpclassify_test): Test subnormal input.
47 (isfinite_test): Likewise.
48 (isnormal_test): Likewise.
49 (main): Call the new functions.
51 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
54 * Makerules (%.dynsym): Force C locale when running
55 $(OBJDUMP) --dynamic-syms.
57 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
59 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62 2012-10-06 David S. Miller <davem@davemloft.net>
64 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65 upper 32-bits of the length value in %o2 since we use branch-on-register
66 tests which consider the entire 64-bit register.
68 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
70 * string/test-strstr.c (check2): Add a test for page boundary.
72 2012-10-05 David S. Miller <davem@davemloft.net>
74 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
77 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
79 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
80 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
81 and bzero when HWCAP_SPARC_CRYPTO is present.
83 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
86 * string/test-strstr.c (check2): New function.
87 (test_main): Call check2.
89 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
91 * string/bug-strcasestr1.c (do_test): Moved to ...
92 * string/test-strcasestr.c (check1): Here. New function.
93 (do_one_test): Break out result checking code into ...
94 (check_result): This. New function.
95 (do_one_test): Call check_result.
96 (test_main): Call check1.
97 * string/bug-strchr1.c (do_test): Moved to ...
98 * string/test-strchr.c (check1): Here. New function.
99 (do_one_test): Break out result checking code into ...
100 (check_result): This. New function.
101 (do_one_test): Call check_result.
102 (test_main): Call check1.
103 * string/bug-strstr1.c (main): Moved to ...
104 * string/test-strchr.c (check1): Here. New function.
105 (do_one_test): Break out result checking code into ...
106 (check_result): This. New function.
107 (do_one_test): Call check_result.
108 (test_main): Call check1.
109 * string/bug-strcasestr1.c: Removed.
110 * string/bug-strchr1.c: Likewise.
111 * string/bug-strstr1.c: Likewise.
113 * elf/Makefile (dl-routines): Add hwcaps.
114 * elf/dl-support.c (_dl_important_hwcaps): Removed.
115 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
116 (_dl_important_hwcaps): Moved to ...
117 * elf/dl-hwcaps.c: Here. New file.
118 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
121 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
122 if IS_IN_rtld isn't defined.
124 * elf/dl-support.c (_dl_sysinfo_map): New.
125 Include "get-dynamic-info.h" and "setup-vdso.h".
126 (_dl_non_dynamic_init): Call setup_vdso.
127 * elf/dynamic-link.h: Don't include <assert.h>.
128 (elf_get_dynamic_info): Moved to ...
129 * elf/get-dynamic-info.h: Here. New file.
130 * elf/dynamic-link.h: Include "get-dynamic-info.h".
131 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
132 * elf/setup-vdso.h: Here. New file.
133 * elf/rtld.c: Include "setup-vdso.h".
134 (dl_main): Call setup_vdso.
136 2012-10-05 Joseph Myers <joseph@codesourcery.com>
138 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
139 creal in comment listing functions tested. List finite, isinf,
140 isnan, isless, islessequal, isgreater, isgreaterequal,
141 islessgreater, isunordered, lgamma_r and pow10 as functions and
142 macros not tested. Mention which functions not tested are aliases
143 for other functions. Fix typo. Note that signs of NaNs are not
146 * scripts/config.guess: Update from config.git.
147 * scripts/config.sub: Likewise.
149 2012-10-04 Roland McGrath <roland@hack.frob.com>
151 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
152 * misc/madvise.c (madvise): Renamed to __madvise.
153 Make madvise a weak alias.
154 * include/sys/mman.h: Declare __madvise.
155 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
156 * sysdeps/unix/syscalls.list
157 (madvise): Make __madvise the strong name, and madvise a weak alias.
158 * sysdeps/unix/sysv/linux/syscalls.list
159 (madvise, mmap): Remove redundant entries.
160 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
161 * malloc/malloc.c (mtrim): Likewise.
162 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
164 2012-10-03 Roland McGrath <roland@hack.frob.com>
166 * sysdeps/mach/hurd/dl-cache.c: File removed.
167 * config.h.in (USE_LDCONFIG): New #undef.
168 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
169 * configure: Regenerated.
170 * elf/Makefile (dl-routines): Add dl-cache only under
171 [$(use-ldconfig) = yes].
172 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
173 cache on [USE_LDCONFIG].
174 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
176 * elf/rtld.c (dl_main): Likewise.
178 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
180 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
181 _SC_LEVEL4_CACHE_LINESIZE.
183 2012-10-03 Roland McGrath <roland@hack.frob.com>
185 * sysdeps/unix/bsd/confstr.h: File removed.
187 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
189 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
192 2012-10-02 Roland McGrath <roland@hack.frob.com>
194 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
195 Make 'mapoff' field ElfW(Off) rather than off_t.
197 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
199 * nscd/Makefile: Remove nscd-cflags and all its users.
200 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
201 (CFLAGS-nonlib): Add compiler flags for nscd modules.
204 * malloc.c (malloc_printerr): Clarify error message.
206 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
210 Set bit_FMA_Usable if FMA is supported.
211 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
213 (bit_FMA4_Usable): Updated.
214 (index_FMA_Usable): New macro.
215 (CPUID_FMA): Likewise
216 (HAS_FMA): Defined with bit_FMA_Usable.
218 2012-10-01 Roland McGrath <roland@hack.frob.com>
220 * bits/types.h (__swblk_t): Type removed.
221 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
222 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
224 (__SWBLK_T_TYPE): Likewise.
225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
226 (__SWBLK_T_TYPE): Likewise.
227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
228 (__SWBLK_T_TYPE): Likewise.
229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
230 (__SWBLK_T_TYPE): Likewise.
232 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
233 Honza Horak <hhorak@redhat.com>
235 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
236 (xdr_mapname): Use YPMAXMAP as maxsize.
237 (xdr_peername): Use YPMAXPEER as maxsize.
238 (xdr_keydat): Use YPAXRECORD as maxsize.
239 (xdr_valdat): Use YPMAXRECORD as maxsize.
241 2012-10-01 Roland McGrath <roland@hack.frob.com>
243 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
245 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
246 * csu/init-first.c: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
248 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
249 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
250 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
251 * sysdeps/i386/init-first.c: File removed.
252 * sysdeps/sh/init-first.c: File removed.
254 2012-10-01 Joseph Myers <joseph@codesourcery.com>
257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
258 if x * y might underflow to zero and z is zero.
259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
260 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
261 * math/libm-test.inc (min_subnorm_value): New variable.
262 (fma_test): Add more tests.
263 (fma_test_towardzero): Likewise.
264 (fma_test_downward): Likewise
265 (fma_test_upward): Likewise.
266 (initialize): Set min_subnorm_value.
268 2012-09-29 Joseph Myers <joseph@codesourcery.com>
271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
274 mode for addition resulting in exact zero.
275 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
278 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
280 * math/libm-test.inc (fma_test): Add more tests.
281 (fma_test_towardzero): New function.
282 (fma_test_downward): Likewise.
283 (fma_test_upward): Likewise.
284 (main): Call the new functions.
286 2012-09-28 David S. Miller <davem@davemloft.net>
288 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
290 2012-09-28 Roland McGrath <roland@hack.frob.com>
292 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
295 * sysdeps/gnu/_G_config.h: Moved to ...
296 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
297 * sysdeps/mach/hurd/_G_config.h: Moved to ...
298 * sysdeps/generic/_G_config.h: ... here.
300 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
302 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
304 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
305 Conditionalize target on [libnss_test1.so-version].
307 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
309 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
310 (elfobjdir): Move out of conditionals.
312 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
313 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
314 (__nss_lookup_function): Conditionalize label remove_from_tree on
315 [!DO_STATIC_NSS || SHARED], matching its only use.
317 2012-09-28 David S. Miller <davem@davemloft.net>
319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
320 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
322 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
324 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
326 when HWCAP_SPARC_CRYPTO is present.
328 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
330 * io/tst-mknodat.c: Create a FIFO instead of a socket.
332 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
335 * stdio-common/vfprintf.c (process_string_arg): Revert
338 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
340 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
342 * stdio-common/tst-sprintf.c: Include <locale.h>
343 (main): Test sprintf's handling of incomplete multibyte
346 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
348 * elf/dl-runtime.c (VERSYMIDX): Removed.
349 * elf/dl-version.c (VERSYMIDX): Likewise.
350 * elf/do-rel.h (VERSYMIDX): Likewise.
352 * elf/dynamic-link.h (VERSYMIDX): Likewise.
353 * elf/rtld.c (VALIDX): Likewise.
355 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
356 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
357 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
358 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
362 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
364 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
366 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
369 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
371 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
372 addresses are in the same scope as 192.0.2/24.
373 * posix/gai.conf: Document new scope table defaults.
375 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
378 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
379 for ftell. Compute offsets from write pointers instead.
380 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
382 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
385 * libio/Makefile (tests): New test case tst-fseek.
386 * libio/tst-fseek.c: New test case to verify that fseek/ftell
387 combination works in wide mode.
388 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
389 state when the external buffer state changes.
391 2012-09-27 David S. Miller <davem@davemloft.net>
394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
395 pass reloc->r_addend in as the 'high' argument to
396 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
400 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
402 * rt/tst-aio2.c: Include <pthread.h>.
403 * rt/tst-aio3.c: Likewise.
405 2012-09-27 Steve Ellcey <sellcey@mips.com>
407 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
409 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
411 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
412 contents on [SHARED].
414 2012-09-26 Marek Polacek <polacek@redhat.com>
418 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
419 for C++ and GCC <4.3 as well as for non GCC compilers.
421 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
425 2012-09-25 Roland McGrath <roland@hack.frob.com>
427 * Makefile.in (all, install): Declare with .PHONY.
428 Reported by Michael Hope <michael.hope@linaro.org>.
430 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
432 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
433 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
435 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
437 (sydep_routines): Add the new and the internal functions.
438 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
439 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
441 (GLIBC_2.17): Add the new function.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
443 (GLIBC_2.17): Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
445 (GLIBC_2.17): Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
447 (GLIBC_2.17): Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
450 2012-09-25 Alan Modra <amodra@gmail.com>
452 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
453 Add release barrier before setting once_control to say
454 initialisation is done. Add hints on lwarx. Use macro in
456 (clear_once_control): Add release barrier.
458 2012-09-25 Joseph Myers <joseph@codesourcery.com>
461 * math/s_clog.c (__clog): Handle more values close to |z| = 1
463 * math/s_clog10.c (__clog10): Likewise.
464 * math/s_clog10f.c (__clog10f): Likewise.
465 * math/s_clog10l.c (__clog10l): Likewise.
466 * math/s_clogf.c (__clogf): Likewise.
467 * math/s_clogl.c (__clogl): Likewise.
468 * math/Makefile (libm-calls): Add x2y2m1.
469 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
470 (__x2y2m1): Likewise.
471 (__x2y2m1l): Likewise.
472 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
473 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
474 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
476 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
477 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
478 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
484 int as type of variable DEPTH.
485 (glob): Use size_t instead of int as type of variables NEWCOUNT
488 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
490 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
492 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
493 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
494 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
495 macros for using routine as __sincosf_ia32.
496 Use macro for function declaration and weak_alias.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
499 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
502 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
504 * math/s_cexpf.c (__cexpf): Likewise.
505 * math/s_csinf.c (__csinf): Likewise.
506 * math/s_csinhf.c (__csinhf): Likewise.
507 * math/s_ctanf.c (__ctanf): Likewise.
508 * math/s_ctanhf.c (__ctanhf): Likewise.
509 * math/s_ccosh.c (__ccoshf): Likewise.
510 * math/s_cexp.c (__cexpl): Likewise.
511 * math/s_csin.c (__csin): Likewise.
512 * math/s_csinh.c (__csinh): Likewise.
513 * math/s_ctan.c (__ctan): Likewise.
514 * math/s_ctanh.c (ctanh): Likewise.
515 * math/s_ccoshl.c (__ccoshl): Likewise.
516 * math/s_cexpl.c (__cexpl): Likewise.
517 * math/s_csinl.c (__csinl): Likewise.
518 * math/s_csinhl.c (__csinhl): Likewise.
519 * math/s_ctanl.c (__ctanl): Likewise.
520 * math/s_ctanhl.c (__ctanhl): Likewise.
522 2012-09-25 Joseph Myers <joseph@codesourcery.com>
524 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
525 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
526 (_IO_off_t): Define to __off_t, not _G_off_t.
527 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
528 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
529 (_IO_wint_t): Define to wint_t, not _G_wint_t.
530 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
531 type of __dummy and __dummy2 fields.
532 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
533 (_G_ssize_t): Likewise.
534 (_G_off_t): Likewise.
535 (_G_pid_t): Likewise.
536 (_G_uid_t): Likewise.
537 (_G_wchar_t): Likewise.
538 (_G_wint_t): Likewise.
539 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
540 (_G_ssize_t): Likewise.
541 (_G_off_t): Likewise.
542 (_G_pid_t): Likewise.
543 (_G_uid_t): Likewise.
544 (_G_wchar_t): Likewise.
545 (_G_wint_t): Likewise.
546 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
547 (_G_ssize_t): Likewise.
548 (_G_off_t): Likewise.
549 (_G_pid_t): Likewise.
550 (_G_uid_t): Likewise.
551 (_G_wchar_t): Likewise.
552 (_G_wint_t): Likewise.
554 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
556 * malloc/arena.c: Include malloc-sysdep.h.
557 (shrink_heap): Use check_may_shrink_heap to decide if madvise
558 is sufficient to shrink the heap or an unmap is needed.
559 * sysdeps/generic/malloc-sysdep.h: New file. Define
560 new function check_may_shrink_heap.
561 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
562 new function check_may_shrink_heap.
564 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
566 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
569 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
571 * catgets/test-gencat.sh: Add "set -e".
572 * elf/tst-pathopt.sh: Likewise.
573 * grp/tst_fgetgrent.sh: Likewise.
574 * iconvdata/run-iconv-test.sh: Likewise.
575 * intl/tst-gettext.sh: Likewise.
576 * intl/tst-gettext2.sh: Likewise.
577 * intl/tst-gettext4.sh: Likewise.
578 * intl/tst-gettext6.sh: Likewise.
579 * intl/tst-translit.sh: Likewise.
580 * io/ftwtest-sh: Likewise.
581 * libio/test-freopen.sh: Likewise.
582 * malloc/tst-mtrace.sh: Likewise.
583 * posix/globtest.sh: Likewise.
584 * posix/tst-getconf.sh: Likewise.
585 * posix/wordexp-tst.sh: Likewise.
586 * stdio-common/tst-printf.sh: Likewise.
587 * stdio-common/tst-unbputc.sh: Likewise.
588 * stdlib/tst-fmtmsg.sh: Likewise.
589 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
590 * catgets/Makefile: Do not specify -e option when running
591 testsuite shell scripts.
592 * elf/Makefile: Likewise.
593 * grp/Makefile: Likewise.
594 * iconvdata/Makefile: Likewise.
595 * intl/Makefile: Likewise.
596 * io/Makefile: Likewise.
597 * libio/Makefile: Likewise.
598 * malloc/Makefile: Likewise.
599 * posix/Makefile: Likewise.
600 * stdio-common/Makefile: Likewise.
601 * stdlib/Makefile: Likewise.
602 * sysdeps/x86_64/Makefile: Likewise.
604 * io/ftwtest-sh: Add copyright header.
605 * posix/globtest.sh: Likewise.
606 * posix/tst-getconf.sh: Likewise.
607 * posix/wordexp-tst.sh: Likewise.
608 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
610 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
613 * Makeconfig (+link): Defined as $(+link-static) if
614 $(build-shared) isn't yes.
615 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
617 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
619 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
622 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
623 new chunk size with MALLOC_ALIGN_MASK.
625 2012-09-24 Joseph Myers <joseph@codesourcery.com>
628 * stdio-common/printf_fphex.c: Include <stdbool.h> and
630 (__printf_fphex): Determine rounding using get_rounding_mode and
632 * stdio-common/tst-printf-round.c (struct hex_test): New
634 (hex_tests): New variable.
635 (test_hex_in_one_mode): New function.
636 (do_test): Also run tests for hex float output.
638 2012-09-21 Joseph Myers <joseph@codesourcery.com>
640 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
641 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
642 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
643 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
644 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
645 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
646 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
647 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
649 2012-09-20 Joseph Myers <joseph@codesourcery.com>
651 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
652 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
653 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
654 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
656 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
659 * elf/rtld.c (dl_main): Limit the check for self loading to normal
661 * elf/tst-rtld-load-self.sh: New test.
662 * elf/Makefile: Run it.
664 2012-09-18 Joseph Myers <joseph@codesourcery.com>
666 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
667 (tst-writev-ENV): Remove.
668 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
670 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
672 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
674 2012-09-17 Joseph Myers <joseph@codesourcery.com>
676 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
678 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
680 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
681 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
682 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
685 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
688 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
689 * config.make.in (have-cpp-asm-debuginfo): Removed.
690 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
691 * configure: Regenerated.
693 2012-09-14 Joseph Myers <joseph@codesourcery.com>
696 * stdio-common/printf_fp.c: Include <stdbool.h> and
698 (___printf_fp): Determine rounding using get_rounding_mode and
700 * stdio-common/tst-printf-round.c: New file.
701 * stdio-common/Makefile (tests): Add tst-printf-round.
702 (link-libm): New variable.
703 ($(objpfx)tst-printf-round): Depend in $(link-libm).
705 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
708 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
709 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
711 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
714 2012-09-13 Joseph Myers <joseph@codesourcery.com>
716 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
717 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
718 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
719 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
721 2012-09-12 Joseph Myers <joseph@codesourcery.com>
724 * include/rounding-mode.h: New file.
725 * sysdeps/generic/get-rounding-mode.h: Likewise.
726 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
727 * stdlib/strtod_l.c: Include <rounding-mode.h>.
728 (MAX_VALUE): New macro.
729 (MIN_VALUE): Likewise.
730 (overflow_value): New function.
731 (underflow_value): Likewise.
732 (round_and_return): Use overflow_value and underflow_value to
733 determine return values in overflow and underflow cases. Use
734 round_away to determine rounding depending on rounding mode.
735 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
736 determine return values in overflow and underflow cases.
737 * stdlib/tst-strtod-round.c: Include <fenv.h>.
738 (struct test_results): New structure.
739 (struct test): Use struct test_results to store expected results
740 for all rounding modes.
741 (TEST): Include expected results for all rounding modes.
742 (test_in_one_mode): New function.
743 (do_test): Use test_in_one_mode to compute and check results.
744 Check results for all rounding modes.
745 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
748 2012-12-09 Allan McRae <allan@archlinux.org>
750 * sysdeps/i386/fpu/libm-test-ulps: Update
752 2012-09-11 Joseph Myers <joseph@codesourcery.com>
754 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
755 (_G_int32_t): Likewise.
756 (_G_uint16_t): Likewise.
757 (_G_uint32_t): Likewise.
758 (_G_HAVE_BOOL): Likewise.
759 (_G_HAVE_ATEXIT): Likewise.
760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
761 (_G_HAVE_IO_FILE_OPEN): Likewise.
762 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
763 (_G_int32_t): Likewise.
764 (_G_uint16_t): Likewise.
765 (_G_uint32_t): Likewise.
766 (_G_HAVE_BOOL): Likewise.
767 (_G_HAVE_ATEXIT): Likewise.
768 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
769 (_G_HAVE_IO_FILE_OPEN): Likewise.
770 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
771 (_G_int32_t): Likewise.
772 (_G_uint16_t): Likewise.
773 (_G_uint32_t): Likewise.
774 (_G_HAVE_BOOL): Likewise.
775 (_G_HAVE_ATEXIT): Likewise.
776 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
777 (_G_HAVE_IO_FILE_OPEN): Likewise.
779 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
781 * csu/libc-tls.c: Update copyright years.
783 2012-09-10 Joseph Myers <joseph@codesourcery.com>
785 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
786 [!_G_USING_THUNKS]: Remove conditional code.
787 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
788 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
790 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
791 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
792 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
793 (_G_VTABLE_LABEL_PREFIX): Likewise.
794 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
795 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
797 (_G_VTABLE_LABEL_PREFIX): Likewise.
798 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
799 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
800 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
801 (_G_VTABLE_LABEL_PREFIX): Likewise.
802 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
804 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
806 * libio/Makefile: Include ../Makeconfig before tests.
807 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
808 only if $(build-shared) is yes.
810 * iconv/gconv_db.c: Update copyright years.
812 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
814 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
815 unwind info if defined PIC. Fix special cases description.
816 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
818 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
820 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
822 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
824 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
826 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
829 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
830 (LDLIBS-tst-chk4): This.
831 (LDFLAGS-tst-chk5): Renamed to ...
832 (LDLIBS-tst-chk5): This.
833 (LDFLAGS-tst-chk6): Renamed to ...
834 (LDLIBS-tst-chk6): This.
835 (LDFLAGS-tst-lfschk4): Renamed to ...
836 (LDLIBS-tst-lfschk4): This.
837 (LDFLAGS-tst-lfschk5): Renamed to ...
838 (LDLIBS-tst-lfschk5): This.
839 (LDFLAGS-tst-lfschk6): Renamed to ...
840 (LDLIBS-tst-lfschk6): This.
842 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
843 on $(common-objpfx)soversions.mk.
845 2012-09-07 Joseph Myers <joseph@codesourcery.com>
848 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
851 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
853 * malloc/arena.c (arena_get_retry): New function that gets
854 another arena for the caller to try its request on.
855 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
856 current arena cannot fulfill the request.
857 (__libc_memalign): Likewise.
858 (__libc_memalign): Likewise.
859 (__libc_pvalloc): Likewise.
860 (__libc_calloc): Likewise.
862 2012-09-05 John Tobey <john.tobey@gmail.com>
865 * manual/arith.texi (Operations on Complex): Fix description
868 2012-09-06 Joseph Myers <joseph@codesourcery.com>
871 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
875 * manual/memory.texi (Memory): Make order of menu items match
878 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
880 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
881 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
882 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
884 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
886 * csu/libc-tls.c (static_dtv): Renamed to ...
887 (_dl_static_dtv): This. Make it global.
888 (_dl_initial_dtv): Removed.
889 (__libc_setup_tls): Updated.
890 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
891 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
894 2012-09-06 Petr Machata <pmachata@redhat.com>
896 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
897 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
898 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
899 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
901 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
904 * csu/libc-tls.c (_dl_initial_dtv): New variable.
905 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
908 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
911 * Makeconfig (link-static-before-libc): Replace $(+prector)
913 (link-static-after-libc): Replace $(+postctor) with
915 (link-bounded): Replace $(+prector)/$(+postctor) with
916 $(+prectorT)/$(+postctorT).
917 (+prectorT): New macro.
918 (+postctorT): Likewise.
920 2012-09-06 Joseph Myers <joseph@codesourcery.com>
922 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
923 (round_str): Handle values above the maximum for IBM long double
925 * stdlib/tst-strtod-round.c (tests): Regenerated.
927 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
929 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
931 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
932 zarch_nohighgprs around the zarch optimized routines.
933 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
934 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
935 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
938 2012-09-05 David S. Miller <davem@davemloft.net>
940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
942 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
943 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
944 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
945 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
948 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
950 * malloc/arena.c: Fold copyright years.
951 * malloc/mcheck.c, malloc/memusage.c: Likewise.
953 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
955 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
957 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
959 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
961 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
963 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
964 change internal state upon failure.
966 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
968 * malloc/mcheck.c (mcheck_check_all): Fix typo.
969 * malloc/memusage.c (mmap): Likewise.
970 (mmap64, mremap): Likewise. Adjust name in comment.
972 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
974 * libio/fileops.c: Fix typos in comments.
975 * libio/oldfileops.c: Likewise.
976 * libio/wfileops.c: Likewise.
978 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
981 * malloc/Makefile (tests): Add tst-malloc-usable test case.
982 (tst-malloc-usable-ENV): Set environment for test case.
983 * malloc/hooks.c (malloc_check_get_size): New function to get
985 * malloc/malloc.c (musable): Use malloc_check_get_size.
986 * malloc/tst-malloc-usable.c: New test case.
988 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
990 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
992 2012-09-05 Allan McRae <allan@archlinux.org>
995 * configure.in (CXX_SYSINCLUDES): Use compiler output to
996 determine header location.
997 * configure: Regenerated.
999 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1001 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1003 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1004 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1008 2012-09-04 David S. Miller <davem@davemloft.net>
1010 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1011 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1014 2012-09-04 Florian Weimer <fweimer@redhat.com>
1016 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1019 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1021 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1024 * libio/iogetdelim.c: Include <limits.h>.
1025 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1026 + len + 1 would overflow.
1028 2012-09-03 Andreas Jaeger <aj@suse.de>
1030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1031 * sysdeps/i386/fpu/libm-test-ulps: Update.
1033 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1035 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1036 Add s_sinf-sse2, s_conf-sse2.
1038 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1039 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1040 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1041 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1043 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1044 for using routine as __sinf_ia32.
1045 Use macro for function declaration and weak_alias.
1046 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1047 for using routine as __cosf_ia32.
1048 Use macro for function declaration and weak_alias.
1050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1051 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1053 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1054 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1057 * math/libm-test.inc (cos_test): Add more test cases.
1058 (sin_test): Likewise.
1059 (sincos_test): Likewise.
1061 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1063 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1064 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1066 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1068 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1071 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1072 first element of the GOT.
1073 (elf_machine_load_address): Return the difference between
1074 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1076 2012-09-01 Allan McRae <allan@archlinux.org>
1079 * configure.in (AWK): Require gawk version 3.0 or later.
1080 * configure: Regenerated.
1082 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/unix/sysv/linux/kernel-features.h
1085 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1087 [__NR_clock_getres]: Make code unconditional.
1088 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1089 (clock_getcpuclockid): Remove code left unreachable by removal of
1091 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1093 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1094 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1095 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1096 Make code unconditional.
1097 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1098 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1099 * sysdeps/unix/sysv/linux/clock_settime.c
1100 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1102 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1105 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1108 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1109 scripts/test-installation.pl.
1111 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1112 and $ld_so_version if it is set.
1114 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1117 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1118 failure if reading from procfs failed.
1119 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1121 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1123 * sysdeps/unix/sysv/linux/kernel-features.h
1124 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1125 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1126 Remove conditional code.
1127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1128 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1129 Remove conditional code.
1130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1131 * sysdeps/unix/sysv/linux/i386/fxstat.c
1132 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1134 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1135 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1137 * sysdeps/unix/sysv/linux/i386/lxstat.c
1138 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1140 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1141 Remove conditional code.
1142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1143 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1144 Remove conditional code.
1145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1147 <kernel-features.h>.
1148 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1150 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1151 Remove conditional code.
1152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1153 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1156 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1159 * NEWS: Add fixed bug number.
1161 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1164 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1165 underflowing exponent in case of negative sign.
1166 * stdlib/tst-strtod-round-data: Add more tests.
1167 * stdlib/tst-strtod-round.c (tests): Regenerated.
1170 * stdlib/strtod_l.c (NDIG): Remove.
1171 (HEXNDIG): Likewise.
1172 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1173 smallest representable value.
1174 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1175 lie within an exact representation of 1/2 ulp of the result.
1176 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1178 (TENS_P9_IDX): Define unconditionally.
1179 (TENS_P9_SIZE): Likewise.
1180 (TENS_P10_IDX): Likewise.
1181 (TENS_P10_SIZE): Likewise.
1182 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1183 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1184 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1185 entries for 10^2^13 and 10^2^14.
1186 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1187 (TENS_P13_IDX): Define.
1188 (TENS_P13_SIZE): Likewise.
1189 (TENS_P14_IDX): Likewise.
1190 (TENS_P14_SIZE): Likewise.
1191 (_fpioconst_pow10): Change array size to
1192 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1194 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1195 1024]: Add entries for 10^2^13 and 10^2^14.
1196 [LAST_POW10 > _LAST_POW10]: Remove #error.
1197 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1198 (_fpioconst_pow10): Change array size to
1199 FPIOCONST_POW10_ARRAY_SIZE.
1200 * stdlib/gen-fpioconst.c: New file.
1201 * stdlib/gen-tst-strtod-round.c: Likewise.
1202 * stdlib/tst-strtod-round-data: Likewise.
1203 * stdlib/tst-strtod-round.c: Likewise.
1204 * stdlib/Makefile (tests): Add tst-strtod-round.
1207 * stdlib/strtod_l.c: Include <stdint.h>.
1208 (NDEBUG): Do not define.
1209 (round_and_return): Change EXPONENT parameter to type intmax_t.
1210 Rearrange calculations to avoid internal overflow possibilities.
1211 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1212 Rearrange calculations to avoid internal overflow possibilities.
1213 Assert that number fits inside MPNSIZE limbs.
1214 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1215 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1216 calculations and add assertions to avoid internal overflow
1217 possibilities. Add casts to avoid signed/unsigned operations.
1218 * stdlib/tst-strtod-overflow.c: New file.
1219 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1221 2012-08-25 Marek Polacek <polacek@redhat.com>
1223 * time/time.h: Fix some typos in comments.
1225 2012-08-23 Roland McGrath <roland@hack.frob.com>
1227 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1228 * posix/tst-rfc3484-2.c: Likewise.
1229 * posix/tst-rfc3484-3.c: Likewise.
1231 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1233 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1234 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1236 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1238 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1239 #include of fxstatat64.c.
1241 2012-08-22 Roland McGrath <roland@hack.frob.com>
1243 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1244 * shadow/getspent_r.c: Likewise.
1245 * shadow/getspnam.c: Likewise.
1246 * shadow/getspnam_r.c: Likewise.
1247 * gshadow/getsgent.c: Likewise.
1248 * gshadow/getsgent_r.c: Likewise.
1249 * gshadow/getsgnam.c: Likewise.
1250 * gshadow/getsgnam_r.c: Likewise.
1251 * inet/getnetbyad.c: Likewise.
1252 * inet/getnetbyad_r.c: Likewise.
1253 * inet/getnetbynm.c: Likewise.
1254 * inet/getnetbynm_r.c: Likewise.
1255 * inet/getnetent.c: Likewise.
1256 * inet/getnetent_r.c: Likewise.
1257 * inet/getproto.c: Likewise.
1258 * inet/getproto_r.c: Likewise.
1259 * inet/getprtent.c: Likewise.
1260 * inet/getprtent_r.c: Likewise.
1261 * inet/getprtname.c: Likewise.
1262 * inet/getprtname_r.c: Likewise.
1263 * inet/getrpcbyname.c: Likewise.
1264 * inet/getrpcbyname_r.c: Likewise.
1265 * inet/getrpcbynumber.c: Likewise.
1266 * inet/getrpcbynumber_r.c: Likewise.
1267 * inet/getrpcent.c: Likewise.
1268 * inet/getrpcent_r.c: Likewise.
1269 * inet/getaliasent.c: Likewise.
1270 * inet/getaliasent_r.c: Likewise.
1271 * inet/getaliasname.c: Likewise.
1272 * inet/getaliasname_r.c: Likewise.
1273 * nscd/getgrgid_r.c: Likewise.
1274 * nscd/getgrnam_r.c: Likewise.
1275 * nscd/gethstbyad_r.c: Likewise.
1276 * nscd/gethstbynm3_r.c: Likewise.
1277 * nscd/getpwnam_r.c: Likewise.
1278 * nscd/getpwuid_r.c: Likewise.
1279 * nscd/getsrvbynm_r.c: Likewise.
1280 * nscd/getsrvbypt_r.c: Likewise.
1281 * nscd/gai.c: Likewise.
1283 * configure.in (build_nscd): New substituted variable, set
1284 by --disable-build-nscd and defaults to $use_nscd.
1285 * configure: Regenerated.
1286 * config.make.in (build-nscd): New substituted variable.
1287 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1288 Change conditional to require [$(build-nscd) = yes] as well.
1289 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1292 * configure.in (use_nscd): New substituted variable, set by
1293 --disable-nscd. If enabled, define USE_NSCD.
1294 * configure: Regenerated.
1295 * config.h.in: Add USE_NSCD.
1296 * config.make.in (use-nscd): New substituted variable.
1297 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1298 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1299 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1300 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1301 (CFLAGS-getgrnam_r.c): Likewise.
1302 (CFLAGS-initgroups.c): Likewise.
1303 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1304 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1306 * inet/getnetgrent_r.c
1307 (nscd_setnetgrent): New function, broken out of ...
1308 (setnetgrent): ... here. Call it.
1309 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1310 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1311 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1312 * nscd/Makefile (routines, aux): Move definitions after include of
1313 Makeconfig. Conditionalize on [$(use-nscd) != no].
1314 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1315 Conditionalize on [USE_NSCD].
1316 (is_nscd, nscd_init_cb): Likewise.
1317 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1318 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1319 * nss/nss_db/db-init.c: Likewise.
1320 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1322 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1323 (make_request): Use it.
1324 (cache_valid_p): New function.
1325 (__check_pf): Use it.
1326 * NEWS: Add item for --disable-nscd.
1328 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1330 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1331 to support sed >= 4.2.1-20-ga9bf076.
1332 * configure: Regenerated.
1334 2012-08-22 Roland McGrath <roland@hack.frob.com>
1336 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1337 Conditionalize whole body on [IREL].
1339 2012-08-22 Jeff Law <law@redhat.com>
1342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1343 if the family is PF_UNSPEC.
1345 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1347 * Makerules (lib-version): Rename from V.
1348 (install-lib-nosubdir): Change V to lib-version.
1350 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1353 * powerpc32/power6/wcschr.c: New file.
1354 * powerpc32/power6/wcscpy.c: New file.
1355 * powerpc32/power6/wcsrchr.c: New file.
1356 * powerpc64/power6/wcschr.c: New file.
1357 * powerpc64/power6/wcscpy.c: New file.
1358 * powerpc64/power6/wcsrchr.c: New file.
1360 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1362 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1363 (two_way_short_needle): Use it.
1364 * string/strstr.c (AVAILABLE1_USES_J): Define.
1365 * string/strcasestr.c: Likewise.
1367 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1369 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1372 * NEWS: Add an entry.
1373 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1374 define their defaults.
1375 (two_way_short_needle): Detect end-of-string on-the-fly.
1376 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1377 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1378 * string/bug-strcasestr1.c: New test.
1379 * string/Makefile: Run it.
1381 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1384 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1385 the first character.
1387 2012-08-21 Roland McGrath <roland@hack.frob.com>
1389 * csu/elf-init.c (__libc_csu_irel): Function removed.
1390 * csu/libc-start.c (apply_irel): New function.
1391 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1393 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1395 * sysdeps/unix/sysv/linux/kernel-features.h
1396 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1397 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1398 <kernel-features.h>.
1399 [__NR_fadvise64_64]: Make code unconditional.
1400 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1401 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1402 !__NR_fadvise64_64)]: Likewise.
1403 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1404 !__NR_fadvise64_64))]: Likewise.
1405 [__NR_fadvise64]: Make code unconditional.
1406 [!__NR_fadvise64]: Remove conditional code.
1407 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1408 <kernel-features.h>.
1409 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1411 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1414 not include <kernel-features.h>.
1415 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1417 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1419 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1420 include <kernel-features.h>.
1421 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1423 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1426 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1429 slight instruction rearrangements per scrollpipe analysis.
1430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1432 2012-08-20 Roland McGrath <roland@hack.frob.com>
1434 * manual/syslog.texi (syslog; vsyslog, closelog):
1435 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1436 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1438 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1439 DSOCAPS to match condition on defining it.
1441 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1443 * sysdeps/unix/sysv/linux/kernel-features.h
1444 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1446 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1447 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1449 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1450 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1452 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1453 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1455 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1456 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1458 * sysdeps/unix/sysv/linux/kernel-features.h
1459 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1460 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1462 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1463 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1464 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1465 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1466 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1467 Make code unconditional.
1468 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1469 (__mmap64) [!__NR_mmap2]: Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1471 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1472 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1473 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1474 [__NR_mmap2]: Make code unconditional.
1475 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1476 (__mmap64) [!__NR_mmap2]: Likewise.
1478 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1480 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1482 2012-08-18 Andreas Jaeger <aj@suse.de>
1484 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1486 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1488 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1489 * include/unistd.h (__have_sock_cloexec): Likewise.
1490 (__have_pipe2): Likewise.
1491 (__have_dup3): Likewise.
1493 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1496 * include/unistd.h (__have_pipe2): Change define into an extern int.
1497 (__have_dup3): Likewise.
1498 * socket/have_sock_cloexec.c: Include fcntl.h.
1499 (__have_pipe2): New variable.
1500 (__have_dup3): Likewise.
1502 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1504 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1506 2012-08-17 Marek Polacek <polacek@redhat.com>
1508 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1509 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1511 2012-08-17 Roland McGrath <roland@hack.frob.com>
1513 * configure.in: Add AC_SUBST for sysheaders.
1514 * configure: Regenerated.
1515 * config.make.in (sysheaders): New substituted variable.
1517 * sysdeps/unix/mkfifo.c: Moved ...
1518 * sysdeps/posix/mkfifo.c: ... here.
1519 * sysdeps/unix/mkfifoat.c: Moved ...
1520 * sysdeps/posix/mkfifoat.c: ... here.
1522 * sysdeps/unix/utime.c: Moved ...
1523 * sysdeps/posix/utime.c: ... here.
1525 * sysdeps/unix/time.c: Moved ...
1526 * sysdeps/posix/time.c: ... here.
1527 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1528 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1530 * sysdeps/unix/nice.c: Moved ...
1531 * sysdeps/posix/nice.c: ... here.
1533 * sysdeps/unix/alarm.c: Moved ...
1534 * sysdeps/posix/alarm.c: ... here.
1536 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1538 2012-08-17 Jeff Law <law@redhat.com>
1540 * intl/Makefile (codeset_mo): New variable.
1541 ($(codeset_mo)): New target.
1542 (tst-codeset.out): Depend on that. Remove explicit rule.
1543 (tst-gettext3.out, tst-gettext5.out): Likewise.
1544 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1545 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1546 * intl/tst-codeset.sh: Remove.
1547 * intl/tst-gettext3.sh: Likewise.
1548 * intl/tst-gettext5.sh: Likewise.
1550 2012-08-17 Roland McGrath <roland@hack.frob.com>
1552 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1553 * sysdeps/unix/syscalls.list: ... here.
1555 * sysdeps/posix/getaddrinfo.c
1556 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1557 (gaiconf_init, gaiconf_reload): Use them.
1559 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1560 Define using time_t rather than struct timespec.
1562 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1563 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1565 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1567 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1568 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1571 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1572 __libc_cleanup_push argument.
1574 * bits/param.h: New file.
1575 * misc/sys/param.h: New file.
1576 * include/sys/param.h: New file.
1577 * misc/Makefile (headers): Add bits/param.h.
1578 * sysdeps/generic/sys/param.h: File removed.
1579 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1580 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1581 * sysdeps/mach/hurd/bits/param.h: New file.
1582 * sysdeps/mach/hurd/sys/param.h: New file.
1584 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1587 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1589 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1590 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1593 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1594 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1595 rather than -D_IO_MTSAFE_IO conditionally.
1596 * stdio-common/Makefile (CPPFLAGS): Likewise.
1597 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1598 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1599 Use $(libio-mtsafe).
1600 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1602 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1603 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1604 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1605 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1606 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1607 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1608 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1609 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1610 (CFLAGS-fread_u_chk.c): Likewise.
1611 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1612 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1613 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1614 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1615 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1616 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1617 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1618 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1619 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1621 * libio/Makefile: Test [$(libc-reentrant) = yes]
1622 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1625 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1626 * sysdeps/pthread/configure: File removed.
1627 * sysdeps/pthread/Makeconfig: New file.
1628 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1629 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1631 2012-08-16 Gary Benson <gbenson@redhat.com>
1633 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1634 unmapping the first object in a namespace.
1636 2012-08-16 Roland McGrath <roland@hack.frob.com>
1638 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1639 (__internal_setnetgrent): ... this. Add internal_function to
1640 definition. Add libc_hidden_def.
1641 (setnetgrent): Update caller.
1642 (internal_endnetgrent): Renamed to ...
1643 (__internal_endnetgrent): ... this. Add internal_function to
1644 definition. Add libc_hidden_def.
1645 (endnetgrent): Update caller.
1646 (internal_getnetgrent_r): Renamed to ...
1647 (__internal_getnetgrent_r): ... this. Add internal_function to
1648 definition. Add libc_hidden_def.
1649 (__getnetgrent_r): Update caller.
1650 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1652 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1654 * stdlib/longlong.h: Update from GCC.
1656 2012-08-16 Roland McGrath <roland@hack.frob.com>
1658 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1659 on _QL, which is set by umul_ppmm but never used.
1660 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1661 variables, which are set by GMP macros but never used.
1662 * stdio-common/_itowa.c (_itowa): Likewise.
1663 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1664 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1666 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1668 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1669 struct La_sh_regs is not constant.
1670 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1671 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1672 and struct La_sparc64_regs are not constant.
1674 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1676 * sysdeps/unix/sysv/linux/kernel-features.h
1677 (__ASSUME_POSIX_TIMERS): Remove.
1678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1680 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1681 Make code unconditional.
1682 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1683 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1684 Make code unconditional.
1685 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1686 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1687 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1688 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1689 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1690 Make code unconditional.
1691 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1692 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1693 (__libc_missing_posix_timers): Remove.
1695 2012-08-15 Roland McGrath <roland@hack.frob.com>
1697 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1698 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1700 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1702 * elf/dl-sym.c: Include <stdlib.h>.
1704 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1705 constants, which avoids warnings in 32-bit builds.
1707 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1708 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1710 * misc/lseek.c: File moved to ...
1711 * io/lseek.c: ... here.
1713 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1715 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1716 shifting LEN more than 31 bits at once.
1718 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1721 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1722 segmentation fault for a case of two empty input strings.
1723 * string/test-strncasecmp.c (check1): Renamed to...
1725 (bz14195): Add new testcase for two empty input strings and N > 0.
1726 (test_main): Call new testcase, adapt for renamed function.
1728 2012-08-15 Andreas Jaeger <aj@suse.de>
1731 * crypt/md5test2.c: New test, based on test supplied by Serge
1732 Belyshev <belyshev@depni.sinp.msu.ru>.
1733 * crypt/Makefile (xtests): Add md5test-giant..
1734 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1736 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1739 * crypt/md5.c (md5_process_block): Don't assume the buffer
1740 length is less than 2**32.
1741 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1742 length is less than 2**64.
1744 2012-08-15 Roland McGrath <roland@hack.frob.com>
1746 * string/str-two-way.h: Include <sys/param.h>.
1747 (MAX): Macro removed.
1749 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1750 Move #define and #undef of memmove to just before and after
1751 including <string.h>.
1753 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1754 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1755 and after including <string.h>. Move declarations of
1756 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1757 to before #include "string/memmove.c".
1759 * include/dirent.h: Declare __getdirentries.
1761 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1762 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1764 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1766 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1767 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1768 * sysdeps/i386/configure: Regenerated.
1769 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1770 STABS_CURRENT_FILE, and STABS_FUN.
1771 (END): Remove call to STABS_FUN_END.
1772 (STABS_CURRENT_FILE1): Delete.
1773 (STABS_CURRENT_FILE): Likewise.
1774 (STABS_FUN): Likewise.
1775 (STABS_FUN_END): Likewise.
1776 (STABS_FUN2): Likewise.
1777 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1778 * sysdeps/x86_64/configure: Regenerated.
1780 2012-08-14 Roland McGrath <roland@hack.frob.com>
1782 * elf/dl-open.c: Include <atomic.h>.
1783 * elf/dl-lookup.c: Likewise.
1785 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1787 * sysdeps/unix/sysv/linux/kernel-features.h
1788 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1789 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1791 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1793 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1794 condition on __ASSUME_CLONE_THREAD_FLAGS.
1796 2012-08-14 Andreas Jaeger <aj@suse.de>
1798 * sysdeps/i386/fpu/libm-test-ulps: Update.
1800 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1802 * include/atomic.h (atomic_exchange_and_add): Split into ...
1803 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1806 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1810 2012-08-13 Jeff Law <law@redhat.com>
1812 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1813 null byte in the output string.
1815 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1817 * sysdeps/unix/sysv/linux/kernel-features.h
1818 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1819 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1820 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1822 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1823 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1824 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1826 2012-08-09 Jeff Law <law@redhat.com>
1829 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1830 When avoid_arena is set, don't retry in the that arena. Pick the
1831 next one, whatever it might be.
1832 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1833 (arena_lock): Pass in new parameter to arena_get2.
1834 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1836 (__libc_malloc): Unify retrying after main arena failure with
1837 __libc_memalign version.
1838 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1840 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1843 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1844 to __redirect_strstr.
1845 (__strstr_sse42): Use typeof __redirect_strstr.
1846 (__strstr_ia32): Likewise.
1847 (__libc_strstr): New prototype.
1848 (strstr): Renamed to ...
1849 (__libc_strstr): This.
1850 (strstr): New strong alias of __libc_strstr.
1851 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1855 (__libc_time): New prototype.
1856 (time_ifunc): Replace time with __libc_time.
1857 (time): New strong alias and hidden definition of __libc_time.
1858 (__GI_time): Remove strong alias.
1859 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1861 (memmove): Redefined to __redirect_memmove.
1862 (__memmove_sse2): Use typeof __redirect_memmove.
1863 (__memmove_ssse3): Likewise.
1864 (__memmove_ssse3_back): Likewise.
1865 (__libc_memmove): New prototype.
1866 (memmove): Renamed to ...
1867 (__libc_memmove): This.
1868 (memmove): New strong alias of __libc_memmove.
1870 2012-08-08 Mark Salter <msalter@redhat.com>
1873 (R_MN10300_TLS_GD): Define.
1874 (R_MN10300_TLS_LD): Likewise.
1875 (R_MN10300_TLS_LDO): Likewise.
1876 (R_MN10300_TLS_GOTIE): Likewise.
1877 (R_MN10300_TLS_IE): Likewise.
1878 (R_MN10300_TLS_LE): Likewise.
1879 (R_MN10300_TLS_DTPMOD): Likewise.
1880 (R_MN10300_TLS_DTPOFF): Likewise.
1881 (R_MN10300_TLS_TPOFF): Likewise.
1882 (R_MN10300_SYM_DIFF): Likewise.
1883 (R_MN10300_ALIGN): Likewise.
1884 (R_MN10300_NUM): Update.
1886 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1891 2012-08-08 Roland McGrath <roland@hack.frob.com>
1893 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1895 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1896 sysdeps/unix -> sysdeps/posix move.
1897 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1899 2012-08-07 Allan McRae <allan@archlinux.org>
1902 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1903 (SUNOS_CPP): Likewise.
1904 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1906 (open_input): Call CPP using execvp.
1908 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1910 * sysdeps/unix/sysv/linux/kernel-features.h
1911 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1912 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1913 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1914 (__ASSUME_WAITID_SYSCALL): Likewise.
1915 * sysdeps/unix/sysv/linux/dl-execstack.c
1916 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1918 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1921 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1922 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1924 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1926 [__ASSUME_WAITID_SYSCALL]: Likewise.
1927 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1929 2012-08-07 Roland McGrath <roland@hack.frob.com>
1931 * sysdeps/unix/closedir.c: Renamed to ...
1932 * sysdeps/posix/closedir.c: ... here.
1933 * sysdeps/unix/dirfd.c: Renamed to ...
1934 * sysdeps/posix/dirfd.c: ... here.
1935 * sysdeps/unix/dirstream.h: Renamed to ...
1936 * sysdeps/posix/dirstream.h: ... here.
1937 * sysdeps/unix/fdopendir.c: Renamed to ...
1938 * sysdeps/posix/fdopendir.c: ... here.
1939 * sysdeps/unix/opendir.c: Renamed to ...
1940 * sysdeps/posix/opendir.c: ... here.
1941 * sysdeps/unix/readdir.c: Renamed to ...
1942 * sysdeps/posix/readdir.c: ... here.
1943 * sysdeps/unix/readdir_r.c: Renamed to ...
1944 * sysdeps/posix/readdir_r.c: ... here.
1945 * sysdeps/unix/rewinddir.c: Renamed to ...
1946 * sysdeps/posix/rewinddir.c: ... here.
1947 * sysdeps/unix/seekdir.c: Renamed to ...
1948 * sysdeps/posix/seekdir.c: ... here.
1949 * sysdeps/unix/telldir.c: Renamed to ...
1950 * sysdeps/posix/telldir.c: ... here.
1951 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1952 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1953 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1954 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1956 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1957 * bits/fcntl.h: ... here.
1959 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1961 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1962 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1963 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1964 (struct flock): Move l_start, l_len to the beginning.
1965 Use __pid_t for l_pid.
1966 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1967 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1968 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1969 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1970 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1971 [__USE_LARGEFILE64] (struct flock64): New type.
1972 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1974 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1975 * bits/dirent.h: ... here.
1977 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1978 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1980 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1983 Change from 2.6.0 to 2.6.16.
1984 * sysdeps/unix/sysv/linux/configure: Regenerated.
1985 * sysdeps/unix/sysv/linux/kernel-features.h
1986 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1987 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1989 (__ASSUME_UTIMES): Likewise.
1990 (__ASSUME_CLONE_STOPPED): Remove.
1991 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1992 architectures, not kernel version.
1993 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1994 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1995 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1996 (__ASSUME_WAITID_SYSCALL): Likewise.
1997 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1998 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1999 * README: State 2.6.16 as minimum Linux kernel version. Do not
2000 refer to older versions.
2002 2012-08-06 Roland McGrath <roland@hack.frob.com>
2004 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2005 Define alphasort64 as an alias.
2006 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2007 Define versionsort64 as an alias.
2008 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2009 Define scandir64 as an alias.
2010 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2011 Define scandirat64 as an alias.
2012 * dirent/alphasort64.c (alphasort64):
2013 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2014 * dirent/versionsort64.c: Likewise.
2015 * dirent/scandir64.c: Likewise.
2016 * dirent/scandirat64.c: Likewise.
2017 * sysdeps/wordsize-64/alphasort.c: File removed.
2018 * sysdeps/wordsize-64/alphasort64.c: File removed.
2019 * sysdeps/wordsize-64/scandir.c: File removed.
2020 * sysdeps/wordsize-64/scandir64.c: File removed.
2021 * sysdeps/wordsize-64/scandirat.c: File removed.
2022 * sysdeps/wordsize-64/scandirat64.c: File removed.
2023 * sysdeps/wordsize-64/versionsort.c: File removed.
2024 * sysdeps/wordsize-64/versionsort64.c: File removed.
2025 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2028 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2034 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2036 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2038 [defined __arch64__ || defined __sparcv9]
2039 (__INO_T_MATCHES_INO64_T): New macro.
2040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2041 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2042 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2043 * sysdeps/unix/sysv/linux/bits/dirent.h
2044 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2045 (_DIRENT_MATCHES_DIRENT64): New macro.
2047 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2048 Define lockf64 as an alias.
2049 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2050 Define fseeko64 as an alias.
2051 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2052 Define ftello64 as an alias.
2053 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2054 Define _IO_fgetpos64 and fgetpos64 as aliases.
2055 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2056 Define _IO_fsetpos64 and fsetpos64 as aliases.
2057 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2058 Conditionalize body on this.
2059 * libio/fseeko64.c: Likewise.
2060 * libio/ftello64.c: Likewise.
2061 * libio/iofgetpos64.c: Likewise.
2062 * libio/iofsetpos64.c: Likewise.
2063 * sysdeps/wordsize-64/lockf.c: File removed.
2064 * sysdeps/wordsize-64/lockf64.c: File removed.
2065 * sysdeps/wordsize-64/fseeko.c: File removed.
2066 * sysdeps/wordsize-64/fseeko64.c: File removed.
2067 * sysdeps/wordsize-64/ftello.c: File removed.
2068 * sysdeps/wordsize-64/ftello64.c: File removed.
2069 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2070 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2071 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2072 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2075 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2084 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2086 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2088 [defined __arch64__ || defined __sparcv9]
2089 (__OFF_T_MATCHES_OFF64_T): New macro.
2090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2091 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2093 (__OFF_T_MATCHES_OFF64_T): New macro.
2095 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2097 * stdlib/secure-getenv.c (__secure_getenv): Replace
2098 GLIBC_2_16 with GLIBC_2_17.
2100 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2105 2012-08-03 David S. Miller <davem@davemloft.net>
2107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2109 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2113 (__ASSUME_CORRECT_SI_PID): Likewise.
2114 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2115 (__ASSUME_TMPFS_NAME): Likewise.
2116 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2117 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2119 (HAVE_AUX_SECURE): Make definition unconditional.
2120 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2121 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2123 2012-08-03 Roland McGrath <roland@hack.frob.com>
2125 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2126 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2127 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2129 __eloop_threshold instead of SYMLOOP_MAX.
2131 * sysdeps/generic/eloop-threshold.h: New file.
2132 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2134 * elf/chroot_canon.c (chroot_canon): Likewise.
2136 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2140 Change to 2.6.0 everywhere.
2141 * sysdeps/unix/sysv/linux/configure: Regenerated.
2142 * sysdeps/unix/sysv/linux/kernel-features.h
2143 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2144 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2146 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2147 (__ASSUME_FUTEX_REQUEUE): Remove.
2148 (__ASSUME_STATFS64): Define unconditionally.
2149 (__ASSUME_AT_SECURE): Likewise.
2150 (__ASSUME_CORRECT_SI_PID): Likewise.
2151 (__ASSUME_TGKILL): Define without depending on kernel version for
2153 (__ASSUME_UTIMES): Likewise.
2154 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2156 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2157 (__ASSUME_TMPFS_NAME): Likewise.
2158 * README: Update reference to Linux kernel versions.
2160 2012-08-02 Marek Polacek <polacek@redhat.com>
2163 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2164 libc_cv_asm_type_prefix with %.
2165 * configure: Regenerated.
2166 * include/libc-symbols.h: Remove comment about
2167 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2168 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2169 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2170 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2171 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2172 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2173 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2174 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2175 * elf/tst-unique2mod1.c: Likewise.
2176 * elf/tst-unique1mod2.c: Likewise.
2177 * elf/tst-unique1mod1.c: Likewise.
2178 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2179 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2180 Replace ASM_TYPE_DIRECTIVE with .type.
2181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2182 * sysdeps/i386/sysdep.h: Likewise.
2183 * sysdeps/x86_64/sysdep.h: Likewise.
2184 * sysdeps/sh/sysdep.h: Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2186 Do not define ASM_TYPE_DIRECTIVE.
2187 * sysdeps/powerpc/sysdep.h: Likewise.
2188 * sysdeps/powerpc/powerpc32/sysdep.h:
2189 Replace ASM_TYPE_DIRECTIVE with .type.
2190 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2191 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2192 * sysdeps/i386/fpu/e_powf.S: Likewise.
2193 * sysdeps/i386/fpu/e_expl.S: Likewise.
2194 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2195 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2196 * sysdeps/i386/fpu/e_pow.S: Likewise.
2197 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2199 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2200 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2201 * sysdeps/i386/fpu/e_log2.S: Likewise.
2202 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2204 * sysdeps/i386/fpu/e_powl.S: Likewise.
2205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2206 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2207 * sysdeps/i386/fpu/e_logl.S: Likewise.
2208 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2209 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2210 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2211 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2213 * sysdeps/i386/fpu/e_log.S: Likewise.
2214 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2215 * sysdeps/i386/fpu/e_logf.S: Likewise.
2216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2217 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2218 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2219 * sysdeps/i386/fpu/e_log10.S: Likewise.
2220 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2221 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2222 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2223 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2224 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2226 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2227 * sysdeps/i386/i686/strtok.S: Likewise.
2228 * sysdeps/i386/i386-mcount.S: Likewise.
2229 * sysdeps/i386/strtok.S: Likewise.
2230 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2231 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2234 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2236 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2237 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2239 * sysdeps/x86_64/_mcount.S: Likewise.
2240 * sysdeps/x86_64/strtok.S: Likewise.
2241 * sysdeps/sh/_mcount.S: Likewise.
2243 2012-08-01 Roland McGrath <roland@hack.frob.com>
2245 * libio/iofopen.c: Include <fcntl.h>.
2246 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2247 (_IO_fopen64, fopen64): Define as aliases.
2248 * libio/iofopen64.c: Include <fcntl.h>.
2249 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2250 Conditionalize body on this.
2251 * sysdeps/wordsize-64/iofopen.c: File removed.
2252 * sysdeps/wordsize-64/iofopen64.c: File removed.
2254 2012-08-01 Marek Polacek <polacek@redhat.com>
2256 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2257 Use dlfcn directly instead of a variable.
2258 (binfmt-subdir): Do not define.
2261 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2264 Remove all definitions.
2265 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2266 <kernel-features.h>.
2267 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2268 (miss_F_GETOWN_EX): Remove all definitions.
2269 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2271 [!__ASSUME_FCNTL64]: Remove conditional code.
2272 [__ASSUME_FCNTL64]: Make code unconditional.
2273 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2274 <kernel-features.h>.
2275 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2276 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2277 (lockf64) [__NR_fcntl64]: Make code unconditional.
2278 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2280 * sysdeps/unix/sysv/linux/kernel-features.h
2281 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2282 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2283 Make code unconditional.
2284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2287 [__NR_vfork]: Make code unconditional.
2288 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2289 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2291 [__NR_vfork]: Make code unconditional.
2292 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2293 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2295 2012-08-01 Roland McGrath <roland@hack.frob.com>
2297 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2298 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2300 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2301 Define mkstemp64 as an alias.
2302 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2303 Define mkstemps64 as an alias.
2304 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2305 Define mkostemp64 as an alias.
2306 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2307 Define mkostemps64 as an alias.
2308 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2309 Conditionalize body on this.
2310 * misc/mkostemp64.c: Likewise.
2311 * misc/mkostemps64.c: Likewise.
2312 * misc/mkstemps64.c: Likewise.
2313 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2314 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2315 * sysdeps/wordsize-64/mkostemp.c: File removed.
2316 * sysdeps/wordsize-64/mkstemp.c: File removed.
2317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2320 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2323 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2324 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2325 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2326 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2328 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2329 compat_symbol macros from <shlib-compat.h> rather than the underlying
2330 default_symbol_version and symbol_version macros, so that DEFAULT
2331 lines in shlib-versions are respected.
2332 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2334 2012-08-01 Florian Weimer <fweimer@redhat.com>
2336 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2337 Declare with warn_unused_result.
2338 (setgid, setregid, setegid, setresgid): Likewise.
2339 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2341 * WUR-REPORT: Remove set*id functions.
2343 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2345 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2347 2012-07-31 Roland McGrath <roland@hack.frob.com>
2349 * include/sys/socket.h (__libc_accept, __libc_accept4):
2350 Add attribute_hidden.
2351 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2355 * inet/getnetgrent_r.c (setup): Likewise.
2357 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2359 2012-07-31 David S. Miller <davem@davemloft.net>
2361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2363 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2366 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2367 value between 1.0 and 2.0 and smaller part has absolute value less
2369 * math/s_clog10.c (__clog10): Likewise.
2370 * math/s_clog10f.c (__clog10f): Likewise.
2371 * math/s_clog10l.c (__clog10l): Likewise.
2372 * math/s_clogf.c (__clogf): Likewise.
2373 * math/s_clogl.c (__clogl): Likewise.
2374 * math/libm-test.inc (clog_test): Add more tests.
2375 (clog10_test): Likewise.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 2012-07-31 Florian Weimer <fweimer@redhat.com>
2381 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2382 Exit with zero in case no suitable GID is found, and write a
2383 message to standard error.
2385 2012-07-30 Roland McGrath <roland@hack.frob.com>
2387 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2389 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2390 (MAXPATHLEN): Removed.
2391 (NOGROUP, NODEV): New macros.
2392 (setbit, clrbit, isset, isclr): New macros.
2393 (howmany, roundup, powerof2): New macros.
2394 (DEV_BSIZE): New macro.
2396 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2397 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2399 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2400 definition on [!__NO_LONG_DOUBLE_MATH].
2402 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2403 PTR_MANGLE and PTR_DEMANGLE.
2405 * socket/accept4.c (accept4): Rename to __libc_accept4.
2406 Define accept4 as a weak alias.
2408 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2409 on [_DIRENT_HAVE_D_TYPE].
2410 * io/ftw.c (ftw_dir): Likewise.
2412 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2414 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2416 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2417 Use the BSD numbers rather than the arbitrary ones we had.
2418 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2419 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2420 (SIGXCPU, SIGXFSZ): New macros.
2423 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2424 initializer on [_LIBC_REENTRANT].
2426 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2427 definitions inside [_POSIX_MAPPED_FILES].
2429 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2431 * dirent/opendir.c: Include <fcntl.h>.
2433 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2434 (__libc_getspecific): Likewise.
2435 (__libc_key_create): Likewise.
2437 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2438 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2439 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2440 (tmpfile64): Define as alias.
2441 * sysdeps/wordsize-64/tmpfile.c: File removed.
2442 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2446 * stdio-common/vfscanf.c: Include <stdbool.h>.
2447 * nss/makedb.c: Likewise.
2448 * stdio-common/_i18n_number.h: Likewise.
2449 * argp/argp-help.c: Likewise.
2450 * posix/wordexp.c: Likewise.
2451 * sysdeps/posix/spawni.c: Likewise.
2452 * nss/nss_files/files-initgroups.c: Likewise.
2453 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2454 * nss/nss_files/files-initgroups.c: Likewise.
2455 * nss/nss_db/db-netgrp.c: Likewise.
2456 * nss/nss_db/db-initgroups.c: Likewise.
2457 * io/fchmodat.c: Include <sys/stat.h>.
2459 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2460 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2462 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2465 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2466 Add multiple inclusion protection.
2468 2012-07-27 David S. Miller <davem@davemloft.net>
2470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2472 2012-07-27 Gary Benson <gbenson@redhat.com>
2475 * elf/rtld.c: Include <stap-probe.h>.
2476 (dl_main): Added static probes "init_start" and "init_complete".
2477 * elf/dl-load.c: Include <stap-probe.h>.
2478 (lose): Take new parameter "nsid".
2479 Added static probe "map_failed".
2480 (_dl_map_object_from_fd): Pass namespace id to lose.
2481 Added static probe "map_start".
2482 (open_verify): Pass namespace id to lose.
2483 * elf/dl-open.c: Include <stap-probe.h>.
2484 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2485 and "reloc_complete".
2486 * elf/dl-close.c: Include <stap-probe.h>.
2487 (_dl_close_worker): Added static probes "unmap_start" and
2489 * elf/rtld-debugger-interface.txt: New file documenting the above.
2491 2012-07-26 Roland McGrath <roland@hack.frob.com>
2493 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2494 rather than a string variable.
2495 * sunrpc/rpc_main.c (h_output): Likewise.
2496 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2498 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2500 * inet/check_native.c: New file.
2502 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2505 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2506 if larger part has absolute value 1.0.
2507 * math/s_clog10.c (__clog10): Likewise.
2508 * math/s_clog10f.c (__clog10f): Likewise.
2509 * math/s_clog10l.c (__clog10l): Likewise.
2510 * math/s_clogf.c (__clogf): Likewise.
2511 * math/s_clogl.c (__clogl): Likewise.
2512 * math/libm-test.inc (clog_test): Add more tests.
2513 (clog10_test): Likewise.
2514 * sysdeps/i386/fpu/libm-test-ulps: Update.
2515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2518 (pltexit): Likewise.
2519 (La_regs): Likewise.
2520 (La_retval): Likewise.
2521 (int_retval): Likewise.
2522 Update #error for removed macros to refer only to definitions in
2524 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2526 (pltexit): Likewise.
2527 (La_regs): Likewise.
2528 (La_retval): Likewise.
2529 (int_retval): Likewise.
2530 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2532 (pltexit): Likewise.
2533 (La_regs): Likewise.
2534 (La_retval): Likewise.
2535 (int_retval): Likewise.
2536 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2538 (pltexit): Likewise.
2539 (La_regs): Likewise.
2540 (La_retval): Likewise.
2541 (int_retval): Likewise.
2542 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2544 (pltexit): Likewise.
2545 (La_regs): Likewise.
2546 (La_retval): Likewise.
2547 (int_retval): Likewise.
2548 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2550 (pltexit): Likewise.
2551 (La_regs): Likewise.
2552 (La_retval): Likewise.
2553 (int_retval): Likewise.
2554 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2556 (pltexit): Likewise.
2557 (La_regs): Likewise.
2558 (La_retval): Likewise.
2559 (int_retval): Likewise.
2560 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2561 macro definitions in tst-audit.h.
2562 * sysdeps/i386/tst-audit.h: New file.
2563 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2564 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2565 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2566 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2567 * sysdeps/sh/tst-audit.h: Likewise.
2568 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2569 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2570 * sysdeps/x86_64/tst-audit.h: Likewise.
2572 2012-07-26 Andreas Jaeger <aj@suse.de>
2574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2577 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2578 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2579 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2581 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2582 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2585 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2588 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2590 (si_call_addr, si_syscall, si_arch): Define new macro.
2591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2593 (si_call_addr, si_syscall, si_arch): Define new marcro.
2594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2596 (si_call_addr, si_syscall, si_arch): Define new macro.
2597 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2599 (si_call_addr, si_syscall, si_arch): Define new macro.
2601 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2605 Change to 2.4.21 where previously 2.4.1.
2606 * sysdeps/unix/sysv/linux/configure: Regenerated.
2607 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2608 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2609 Linux kernel version.
2610 (__ASSUME_STD_AUXV): Remove.
2611 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2613 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2614 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2615 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2616 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2617 (__ASSUME_NETLINK_SUPPORT): Likewise.
2618 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2619 (__no_netlink_support): Remove conditional definition.
2620 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2622 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2623 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2624 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2625 (if_nameindex_ioctl): Remove.
2626 (if_nameindex_netlink): Do not handle __no_netlink_support.
2627 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2629 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2630 Remove conditional code.
2631 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2633 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2635 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2636 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2637 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2639 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2640 [!__ASSUME_STD_AUXV]: Remove conditional code.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2642 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2643 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2645 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2646 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2648 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2650 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2651 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2653 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2655 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2658 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2661 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2663 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2665 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2667 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2670 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2672 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2675 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2677 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2679 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2681 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2684 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2686 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2688 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2690 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2693 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2695 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2696 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2697 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2698 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2699 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2703 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2704 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2705 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2706 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2707 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2708 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2710 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2712 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2713 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2715 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2716 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2719 2012-07-25 Florian Weimer <fweimer@redhat.com>
2721 * Versions.def: Add GLIBC_2.17.
2722 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2723 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2724 Introduce __libc_secure_getenv.
2725 * stdlib/Versions (2.17): Add secure_getenv
2726 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2727 * stdlib/secure-getenv.c: Rename __secure_getenv to
2728 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2729 symbol __secure_getenv for GLIBC_2.0.
2730 * stdlib/tst-secure-getenv.c: New.
2731 * stdlib/Makefile (tests): Add testcase.
2732 * manual/startup.texi (Environment Access): Document
2734 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2735 __libc_secure_getenv.
2736 * inet/ruserpass.c (ruserpass): Likewise.
2737 * malloc/mtrace.c (mtrace): Likewise.
2738 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2739 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2740 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2741 * sysdeps/posix/tempname.c: Likewise. Evaluate
2743 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2744 __secure_getenv to __libc_secure_getenv.
2745 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2758 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2760 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2761 (struct La_i86_retval): Likewise.
2762 (struct La_x86_64_regs): Likewise.
2763 (struct La_x86_64_retval): Likewise.
2764 (struct La_x32_regs): Likewise.
2765 (struct La_x32_retval): Likewise.
2766 (struct La_ppc32_regs): Likewise.
2767 (struct La_ppc32_retval): Likewise.
2768 (struct La_ppc64_regs): Likewise.
2769 (struct La_ppc64_retval): Likewise.
2770 (struct La_sh_regs): Likewise.
2771 (struct La_sh_retval): Likewise.
2772 (struct La_s390_32_regs): Likewise.
2773 (struct La_s390_32_retval): Likewise.
2774 (struct La_s390_64_regs): Likewise.
2775 (struct La_s390_64_retval): Likewise.
2776 (struct La_sparc32_regs): Likewise.
2777 (struct La_sparc32_retval): Likewise.
2778 (struct La_sparc64_regs): Likewise.
2779 (struct La_sparc64_retval): Likewise.
2780 (struct audit_ifaces): Remove architecture-specific pltenter and
2782 * sysdeps/i386/ldsodefs.h: New file.
2783 * sysdeps/powerpc/ldsodefs.h: Likewise.
2784 * sysdeps/s390/ldsodefs.h: Likewise.
2785 * sysdeps/sh/ldsodefs.h: Likewise.
2786 * sysdeps/sparc/ldsodefs.h: Likewise.
2787 * sysdeps/x86_64/ldsodefs.h: Likewise.
2789 2012-07-25 Marek Polacek <polacek@redhat.com>
2792 * math/libm-test.inc (yn_test): Add another test.
2793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2794 to ERANGE when the result is +-Inf.
2795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2796 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2797 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2798 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2800 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2802 * conform/data/time.h-data (NULL): Use macro-constant. Require
2804 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2806 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2808 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2810 * configure.in <sysdeps resolving>: Correct printing
2812 * configure: Regenerate.
2814 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2816 * math/w_ilogb.c: Include <limits.h>.
2817 * math/w_ilogbl.c: Likewise.
2819 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2821 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2822 va_copy. Document allowing for unavailable va_copy only as
2823 pre-C99 compatibility.
2824 * manual/string.texi (Copying and Concatenation): Use va_copy
2825 instead of __va_copy in concat example.
2827 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2829 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2830 (__sendto): Use create_address_port. Initialize APORT and deallocate
2833 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2834 with O_NOLINK passed to __file_name_lookup.
2836 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2837 with O_NOLINK passed to __file_name_lookup.
2839 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2840 negative N or less than NGIDS.
2842 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2843 type to string_t. Set ERANGE as errno and return it if NAME is not big
2844 enough. Use memcpy instead of strncpy.
2846 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2848 * elf/Makefile (check-data): Remove.
2849 (localplt.data): New vpath directive.
2850 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2851 instead of $(check-data).
2852 * scripts/data/localplt-generic.data: Move to ...
2853 * sysdeps/generic/localplt.data: ... here.
2854 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2855 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2856 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2859 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2862 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2865 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2868 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2871 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2875 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2877 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2878 PPC32 and PPC64 files.
2879 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2880 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2882 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2884 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2885 __makecontext_ret to ...
2886 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2887 ... here and call exit if uc_link is NULL. New file.
2888 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2889 __makecontext_ret.S.
2890 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2891 __makecontext_ret to ...
2892 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2893 ... here and call exit if uc_link is NULL. New file.
2894 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2895 __makecontext_ret.S.
2897 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2899 * elf/elf.h (R_390_IRELATIVE): New definition.
2900 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2901 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2902 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2904 (elf_machine_lazy_rel): Likewise.
2905 * sysdeps/s390/dl-irel.h: New file.
2906 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2907 * sysdeps/s390/s390-64/memset.S: New asm code.
2908 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2909 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2910 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2911 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2912 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2913 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2915 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2916 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2917 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2918 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2919 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2920 * sysdeps/s390/s390-32/memset.S: New asm code.
2921 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2923 2012-07-17 Marek Polacek <polacek@redhat.com>
2926 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2927 * sysdeps/s390/s390-64/configure.in: Likewise.
2928 * sysdeps/sparc/configure.in: Likewise.
2929 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2930 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2931 * sysdeps/i386/configure.in: Likewise.
2932 * sysdeps/x86_64/configure.in: Likewise.
2933 * sysdeps/sh/configure.in: Likewise.
2934 * sysdeps/s390/s390-32/configure: Regenerated.
2935 * sysdeps/s390/s390-64/configure: Likewise.
2936 * sysdeps/x86_64/configure: Likewise.
2937 * sysdeps/sh/configure: Likewise.
2938 * sysdeps/powerpc/powerpc64/configure: Likewise.
2939 * sysdeps/powerpc/powerpc32/configure: Likewise.
2940 * sysdeps/sparc/configure: Likwise.
2941 * sysdeps/i386/configure: Likewise.
2943 * elf/dl-open.c: Comment fixes.
2945 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2947 * Makefile [CXX] (check-data): Remove.
2948 [CXX] (c++-types.data): New vpath directive.
2949 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2950 vpath. Do not allow for C++ type data being missing.
2951 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2952 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2953 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2954 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2955 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2956 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2957 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2960 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2963 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2966 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2969 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2972 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2975 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2978 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2981 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2982 definitions to architecture-specific files.
2986 * sysdeps/i386/tls-macros.h: New file.
2987 * sysdeps/powerpc/tls-macros.h: Likewise.
2988 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2989 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2990 * sysdeps/sh/tls-macros.h: Likewise.
2991 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2992 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2993 * sysdeps/x86_64/tls-macros.h: Likewise.
2995 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2998 zero value for regular exit case.
3000 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3001 (__start_context): Preserve zero value for regular exit case.
3003 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3004 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3006 * manual/setjmp.texi (setcontext): Clarify normal process
3007 termination when uc_link is the null pointer.
3008 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3011 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3013 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3014 preprocessor. Test for each exception mask separately.
3016 2012-07-16 Andreas Jaeger <aj@suse.de>
3018 * po/ru.po: Update from translation team.
3020 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3022 * conform/data/string.h-data (NULL): Use macro-constant. Require
3024 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3025 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3026 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3027 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3030 2012-07-13 Andreas Jaeger <aj@suse.de>
3032 * po/fr.po: Update from translation team.
3034 2012-07-12 Marek Polacek <polacek@redhat.com>
3037 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3038 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3041 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3045 Change to 2.4.1 where previously 2.4.0.
3046 * sysdeps/unix/sysv/linux/configure: Regenerated.
3047 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3048 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3050 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3051 (__ASSUME_AT_CLKTCK): Remove.
3052 (__ASSUME_AT_PAGESIZE): Likewise.
3053 (__ASSUME_AT_XID): Likewise.
3054 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3055 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3056 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3058 (HAVE_AUX_PAGESIZE): Likewise.
3059 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3060 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3061 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3063 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3067 the temporary buffer used to invoke __gethostbyname2_r,
3068 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3069 host_data / struct gaih_addrtuple.
3070 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3071 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3072 header file nss/nsswitch.h.
3073 * nss/nsswitch.h (global scope): Add definition of implementation
3074 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3075 resolv/nss_dns/dns-host.c).
3077 2012-07-11 Andreas Jaeger <aj@suse.de>
3079 * po/fr.po: Update from translation team.
3081 * po/sv.po: Update from translation team
3082 * po/fr.po: Another update from translation team.
3084 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3087 for subnormals or multiply small sinh result by itself.
3088 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3091 2012-07-11 David S. Miller <davem@davemloft.net>
3093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3095 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3098 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3099 (INTERNAL_MARK): Shift it here.
3101 2012-07-10 Marek Polacek <polacek@redhat.com>
3104 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3105 libc_cv_asm_global_directive with .globl.
3106 * configure: Regenerated.
3107 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3109 * sysdeps/i386/configure: Regenerated.
3110 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3112 * sysdeps/x86_64/configure: Regenerated.
3113 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3114 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3115 * elf/tst-unique2mod2.c: Likewise.
3116 * elf/tst-unique2mod1.c: Likewise.
3117 * elf/tst-unique1mod2.c: Likewise.
3118 * elf/tst-unique1mod1.c: Likewise.
3119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3120 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3122 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3123 * sysdeps/mach/sysdep.h: Likewise.
3124 * sysdeps/i386/sysdep.h: Likewise.
3125 * sysdeps/i386/i386-mcount.S: Likewise.
3126 * sysdeps/x86_64/_mcount.S: Likewise.
3127 * sysdeps/x86_64/sysdep.h: Likewise.
3128 * sysdeps/sh/_mcount.S: Likewise.
3129 * sysdeps/sh/sysdep.h: Likewise.
3130 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3131 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3132 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3133 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3134 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3135 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3136 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3137 * locale/localeinfo.h: Likewise.
3138 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3139 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3141 2012-07-09 Roland McGrath <roland@hack.frob.com>
3144 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3146 * manual/message.texi (The Uniforum approach): Likewise.
3147 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3148 (glibc iconv Implementation): Likewise.
3150 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3153 * math/s_clog.c (__clog): Avoid scaling a value down where that
3154 could result in underflow.
3155 * math/s_clog10.c (__clog10): Likewise.
3156 * math/s_clog10f.c (__clog10f): Likewise.
3157 * math/s_clog10l.c (__clog10l): Likewise.
3158 * math/s_clogf.c (__clogf): Likewise.
3159 * math/s_clogl.c (__clogl): Likewise.
3160 * math/libm-test.inc (clog_test): Add more tests.
3161 (clog10_test): Likewise.
3162 * sysdeps/i386/fpu/libm-test-ulps: Update.
3163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3165 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3168 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3169 by 7 not 8 to examine high bit of fractional part.
3172 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3173 for call to __mcount_internal.
3174 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3175 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3176 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3178 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3181 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3182 approximation for values within 0x1p-13f of an odd multiple of
3184 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3185 exception. Add more tests.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3190 inputs and return -1 for them. Do not check for +Inf in case not
3192 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3193 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3194 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3195 and return -1 for them. Do not check for +Inf in case not
3197 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3200 and return -1 for them. Do not check for +Inf in case not
3202 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3204 * sysdeps/i386/fpu/libm-test-ulps: Update.
3205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3209 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3211 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3215 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3216 could result in spurious underflow. Scale down values above
3217 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3218 * math/s_csqrtf.c (__csqrtf): Likewise.
3219 * math/s_csqrtl.c (__csqrtl): Likewise.
3220 * math/libm-test.inc (csqrt_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-04 Andreas Schwab <schwab@linux-m68k.org>
3227 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3229 * catgets/xopen-msg.awk: New file.
3230 * catgets/xopen-msg.sed: Removed.
3232 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3234 * intl/po2test.awk: New file.
3235 * intl/po2test.sed: Removed.
3237 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3240 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3241 or multiply small sinh result by itself.
3242 * math/s_ctanf.c (__ctanf): Likewise.
3243 * math/s_ctanh.c (__ctanh): Likewise.
3244 * math/s_ctanhf.c (__ctanhf): Likewise.
3245 * math/s_ctanhl.c (__ctanhl): Likewise.
3246 * math/s_ctanl.c (__ctanl): Likewise.
3247 * math/libm-test.inc (ctan_test_tonearest): New function.
3248 (ctan_test_towardzero): Likewise.
3249 (ctan_test_downward): Likewise.
3250 (ctan_test_upward): Likewise.
3251 (ctanh_test_tonearest): Likewise.
3252 (ctanh_test_towardzero): Likewise.
3253 (ctanh_test_downward): Likewise.
3254 (ctanh_test_upward): Likewise.
3255 (main): Call these new functions.
3256 * sysdeps/i386/fpu/libm-test-ulps: Update.
3257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3261 * .gitignore: Delete /ports entry.
3263 2012-07-03 Andreas Jaeger <aj@suse.de>
3265 * po/bg.po: Update from translation team.
3266 * po/cs.po: Likewise.
3267 * po/de.po: Likewise.
3268 * po/hr.po: Likewise.
3269 * po/nl.pl: Likewise.
3270 * po/pl.po: Likewise.
3271 * po/vi.po: Likewise.
3273 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3275 * Makeconfig [!+link] (+link-before-libc): New variable.
3276 [!+link] (+link-after-libc): Likewise.
3277 [!+link] (+link-tests): Likewise.
3278 [!+link] (+link): Define in terms of $(+link-before-libc) and
3279 $(+link-after-libc).
3280 [!+link-static] (+link-static-before-libc): New variable.
3281 [!+link-static] (+link-static-after-libc): Likewise.
3282 [!+link-static] (+link-static-tests): Likewise.
3283 [!+link-static] (+link-static): Define in terms of
3284 $(+link-static-before-libc) and $(+link-static-after-libc).
3285 [build-shared] (link-libc-before-gnulib): New variable.
3286 [build-shared] (link-libc-tests): Likewise.
3287 [build-shared] (link-libc): Define in terms of
3288 $(link-libc-before-gnulib).
3289 [!build-shared] (link-libc-tests): New variable.
3290 (link-libc-static-tests): New variable.
3291 [!gnulib] (gnulib-arch): New variable.
3292 [!gnulib] (gnulib-tests): Likewise.
3293 [!gnulib] (static-gnulib-arch): Likewise.
3294 [!gnulib] (static-gnulib-tests): Likewise.
3295 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3296 Define with "=" instead of ":=".
3297 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3298 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3299 * Rules (binaries-all-notests): New variable.
3300 (binaries-all-tests): Likewise.
3301 (binaries-static-notests): Likewise.
3302 (binaries-static-tests): Likewise.
3303 (binaries-all): Define using $(binaries-all-notests) and
3304 $(binaries-all-tests).
3305 (binaries-static): Define using $(binaries-static-notests) and
3306 $(binaries-static-tests).
3307 (binaries-shared-tests): New variable.
3308 (binaries-shared-notests): Likewise.
3309 (binaries-shared): Remove variable.
3310 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3311 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3312 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3313 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3314 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3315 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3316 * elf/Makefile (sln-modules): New variable.
3317 (extra-objs): Add $(sln-modules:=.o).
3318 (ldconfig-modules): Add static-stubs.
3319 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3320 * elf/static-stubs.c: New file.
3323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3324 by 7 not 8 to examine high bit of fractional part. Use volatile
3325 variables when splitting into final array of floats if
3326 __FLT_EVAL_METHOD__ != 0.
3327 * math/libm-test.inc (cos_test): Add another test.
3328 (sin_test): Likewise.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3332 * math/libm-test.inc (cosh_test): Add more tests.
3334 * version.h (RELEASE): Set to "development".
3335 (VERSION): Set to "2.16.90".
3337 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3339 * NEWS: Update copyright. Remove last-updated date.
3340 Mention math library bug fixes and timezone data changes.
3341 * README: Mention GNU/Hurd, x32, and HPPA support status.
3343 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3345 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3347 2012-06-27 Andreas Jaeger <aj@suse.de>
3349 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3351 2012-06-25 Andreas Jaeger <aj@suse.de>
3353 * sysdeps/s390/fpu/libm-test-ulps: Update.
3355 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3356 Thomas Schwinge <thomas@codesourcery.com>
3358 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3359 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3363 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3365 * sysdeps/mach/start.c: Remove file.
3366 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3367 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3368 * sysdeps/sh/init-first.c: Likewise.
3370 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3371 registers for frame unwinding purposes, add CFI directives.
3372 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3373 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3374 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3377 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3378 __fortify_fail returning.
3379 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3381 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3382 sysdeps/sh/____longjmp_chk.S.
3383 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3384 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3385 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3386 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3388 * sysdeps/sh/abort-instr.h: New file.
3389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3390 process in case exit returns.
3392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3393 initialize the GOT register before use.
3395 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3396 calculation of ARGC > 4.
3398 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3399 meaningful names to some local labels.
3401 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3402 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3404 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3405 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3406 (__arch_compare_and_exchange_val_16_acq): Likewise.
3407 (__arch_compare_and_exchange_val_32_acq): Likewise.
3408 (atomic_exchange_and_add): Fix gUSA sequence.
3409 (atomic_add): Likewise.
3410 (atomic_add_negative): Likewise.
3411 (atomic_add_zero): Likewise.
3412 (atomic_bit_test_set): Likewise.
3414 2012-06-22 Andreas Schwab <schwab@redhat.com>
3417 * include/link.h (struct link_map): Add l_free_initfini.
3418 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3420 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3421 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3422 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3425 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3427 * configure.in: Use AC_LANG_SOURCE.
3428 * configure: Regenerate.
3430 2012-06-22 Roland McGrath <roland@hack.frob.com>
3432 * configure.in (libc_cv_localstatedir): New substituted variable.
3433 * configure: Regenerated.
3434 * config.make.in (localstatedir): New variable, substituted from
3435 libc_cv_localstatedir.
3436 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3437 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3438 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3439 * sysdeps/gnu/configure: Regenerated.
3441 2012-06-21 Jeff Law <law@redhat.com>
3444 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3445 free. Simplify list management for _LIBC case.
3447 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3450 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3451 Clear sign bit of 64-bit integer value before comparing against
3454 * sysdeps/mach/configure: Regenerated.
3456 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3459 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3461 2012-06-21 Jeff Law <law@redhat.com>
3464 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3465 uint16_t for elements in the "seen" array to avoid char overflows.
3466 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3467 * elf/dl-open.c (dl_open_worker): Likewise.
3469 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3471 * scripts/list-sources.sh: Scan PORTS for translations.
3472 * po/libc.pot: Regenerated.
3474 2012-06-21 Andreas Jaeger <aj@suse.de>
3477 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3479 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3480 * bits/byteswap-16.h (__bswap_16): Likewise.
3481 * bits/byteswap.h (__bswap_constant_16): Likewise.
3483 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3486 * sysdeps/i386/fpu_control.h: Removed.
3487 * sysdeps/x86_64/fpu_control.h: Moved to ...
3488 * sysdeps/x86/fpu_control.h: Here.
3490 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3491 (_FPU_SETCW): Likewise.
3493 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3496 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3497 * sysdeps/x86/fpu/bits/mathinline.h: This.
3498 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3502 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3503 functions if __x86_64__ is defined.
3505 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3507 * string/endian.h: Add !__ASSEMBLER__ condition for including
3508 conversion interfaces.
3510 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3514 of ABS(x) in calculating zero to negative powers other than odd
3516 * math/libm-test.inc (pow_test): Add more tests.
3518 2012-06-15 Andreas Jaeger <aj@suse.de>
3520 * manual/contrib.texi (Contributors): Update entry of Liubov
3521 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3524 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3526 * string/string.h: Add __wur to GNU version of strerror_r.
3528 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3531 * string/Makefile (tests): Add tst-strtok_r.
3532 * string/tst-strtok_r.c: New file.
3533 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3534 RAX_LP/RDX_LP on SAVE_PTR.
3536 2012-06-14 Roland McGrath <roland@hack.frob.com>
3538 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3540 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3542 * libm_test.inc (csqrt_test): Allow more spurious underflow
3544 (j0_test): Likewise.
3545 (j1_test): Likewise.
3546 (y0_test): Likewise.
3547 (y1_test): Likewise.
3549 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3551 * po/Makefile (libc.pot): Use UTF-8 charset.
3553 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3556 Suppress sign-conversion warning from FD_SET.
3557 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3558 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3559 not unsigned long int.
3560 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3562 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3566 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3567 __extern_always_inline instead of __extern_inline.
3568 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3569 (__signbit): Likewise.
3570 (__signbitl): Support C++ namespace.
3571 (lrintf): New inline function.
3573 (llrintf): Likewise.
3585 (nearbyint): Likewise.
3586 (nearbyintf): Likewise.
3588 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3590 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3591 non-default versions.
3593 2012-06-11 Roland McGrath <roland@hack.frob.com>
3596 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3598 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3600 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3601 (FE_UPWARD, FE_DOWNWARD): Don't define.
3602 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3603 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3605 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3607 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3608 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3610 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3612 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3614 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3615 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3617 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3620 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3621 * sysdeps/i386/fpu/Implies: New file.
3622 * sysdeps/x86_64/fpu/Implies: Likewise.
3623 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3624 * sysdeps/x86/fpu/bits/fenv.h: This.
3626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3629 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3632 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3633 character 0xffff that matches the last element of the
3636 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3641 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3644 values higher than 25.6283.
3646 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3649 subnormal exponent extraction and add some __builtin_expect.
3650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3651 Fix for subnormal mantissa calculation.
3653 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3655 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3656 cpu2 is -1 and errno is not ENOSYS.
3658 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3661 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3662 * sysdeps/x86/bits/string.h: This.
3663 * sysdeps/x86_64/bits/string.h: Removed.
3665 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3666 if not compiling for x86-64, but compiling for >= i486.
3668 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3669 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3671 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3672 New macro from Linux kernel 3.4.0.
3673 (FP_XSTATE_MAGIC2): Likewise.
3674 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3675 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3676 (struct _fpx_sw_bytes): New struct.
3677 (struct _xsave_hdr): Likewise.
3678 (struct _ymmh_state): Likewise.
3679 (struct _xstate): Likewise.
3681 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3682 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3684 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3685 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3686 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3688 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3690 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3691 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3692 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3693 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3695 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3698 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3699 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3700 (sysdep_headers): Include sys/platform/ppc.h.
3701 * sysdeps/powerpc/test-gettimebase.c: Test for
3702 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3703 * manual/Makefile (appendices): Include platform.texi.
3704 * manual/contrib.texi (Contributors): Update @node pointers.
3705 * manual/maint.texi (Maintenance): Likewise.
3706 (Platform): New node.
3707 * manual/platform.texi: New file. Document the new features.
3709 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3710 Jakub Jelinek <jakub@redhat.com>
3713 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3714 where __builtin_expect is unavailable.
3716 2012-06-03 David S. Miller <davem@davemloft.net>
3718 * stdlib/longlong.h: Updated from GCC.
3720 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3723 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3724 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3727 (GLIBC_2.16): Likewise.
3729 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3731 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3733 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3736 (default-abi): New variable.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3740 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3744 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3747 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3748 definition. Document in comment.
3750 2012-06-01 David S. Miller <davem@davemloft.net>
3752 * stdlib/longlong.h: Updated from GCC.
3754 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3757 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3758 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3759 sys/debugreg.h sys/io.h here.
3760 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3761 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3763 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3764 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3765 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3766 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3767 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3768 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3771 Define only if __x86_64__ is defined.
3773 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3776 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3777 Use int64_t for variable i.
3778 * math/libm-test.inc (fmod_test): Add more tests.
3780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3781 z computation is not scheduled after fetestexcept.
3782 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3783 Use math_force_eval instead of asm to ensure calculation scheduled
3784 before exception test.
3785 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3786 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3788 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3791 computation is not scheduled after fetestexcept.
3793 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3796 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3797 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3799 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3801 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3802 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3804 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3807 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3809 (__WCHAR_MIN): Support __WORDSIZE == 64.
3810 (__WCHAR_MAX): Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3817 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3820 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3823 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3824 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3826 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3827 Defined to 1 if __x86_64__ isn't defined.
3828 (_STAT_VER_LINUX_OLD): New.
3829 (st_atime): Remove duplicate.
3830 (st_mtime): Likewise.
3831 (st_ctime): Likewise.
3833 2012-05-31 David S. Miller <davem@davemloft.net>
3835 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3838 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3840 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3844 * elf/dl-reloc.c: Include <_itoa.h>.
3845 (_dl_reloc_bad_type): Remove use of INTUSE.
3846 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3847 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3848 * stdio-common/psiginfo.c (psiginfo): Likewise.
3849 * stdio-common/psignal.c (psignal): Likewise.
3850 * string/strsignal.c (strsignal): Likewise.
3851 * include/signal.h (_sys_siglist): Declare hidden proto.
3852 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3853 INTVARDEF with libc_hidden_data_def.
3854 * stdio-common/itoa-udigits.c: Likewise.
3855 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3856 (_itoa_lower_digits_internal): Remove declaration.
3857 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3858 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3859 (_sys_sigabbrev_internal): Remove aliases.
3860 (_sys_siglist): Define hidden alias.
3862 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3867 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3870 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3871 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3873 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3874 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3875 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3876 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3878 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3880 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3881 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3882 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3884 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3892 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3893 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3896 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3897 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3898 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3899 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3900 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3901 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3904 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3906 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3907 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3911 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3913 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3914 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3916 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3918 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3919 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3920 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3922 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3924 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3926 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3928 * math/math.h (M_El): Use two more decimal places.
3929 (M_LOG2El): Likewise.
3930 (M_LOG10El): Likewise.
3932 (M_LN10l): Likewise.
3934 (M_PI_2l): Likewise.
3935 (M_PI_4l): Likewise.
3936 (M_1_PIl): Likewise.
3937 (M_2_PIl): Likewise.
3938 (M_2_SQRTPIl): Likewise.
3939 (M_SQRT2l): Likewise.
3940 (M_SQRT1_2l): Likewise.
3942 2012-05-31 David S. Miller <davem@davemloft.net>
3944 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3945 values between float registers.
3946 * sysdeps/sparc/sparc64/memset.S: Likewise.
3947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3949 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3951 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3952 -D_FORTIFY_SOURCE=1.
3953 (CPPFLAGS-tst-longjmp_chk.c): Define.
3954 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3955 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3956 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3957 CFLAGS-tst-wchar-h.c.
3959 2012-05-31 Marek Polacek <polacek@redhat.com>
3962 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3963 __endmntent_internal): Remove declaration.
3964 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3965 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3966 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3968 2012-05-30 David S. Miller <davem@davemloft.net>
3970 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3971 (___Q_simulate_exceptions): Use real FP ops rather than writing
3973 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3976 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3979 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3980 * sysdeps/x86/bits/xtitypes.h: This.
3982 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3983 * sysdeps/x86/bits/wordsize.h: This.
3985 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3986 * sysdeps/x86/bits/huge_vall.h: This.
3988 * sysdeps/i386/bits/select.h: Removed.
3989 * sysdeps/x86_64/bits/select.h: Renamed to ...
3990 * sysdeps/x86/bits/select.h: This.
3992 * sysdeps/i386/bits/setjmp.h: Removed.
3993 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3994 * sysdeps/x86/bits/setjmp.h: This.
3996 * sysdeps/i386/bits/mathdef.h: Removed.
3997 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3998 * sysdeps/x86/bits/mathdef.h: This.
4000 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4003 * include/sys/socket.h (__connect_internal)
4004 (__libc_sa_len_internal): Remove declaration.
4005 (__connect, __libc_sa_len): Declare hidden_proto.
4006 (SA_LEN): Remove use of INTUSE.
4007 * socket/connect.c: Add libc_hidden_def.
4008 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4009 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4010 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4012 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4013 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4014 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4015 of adding _internal alias.
4017 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4020 * sysdeps/i386/bits/link.h: Removed.
4021 * sysdeps/i386/bits/linkmap.h: Likewise.
4022 * sysdeps/x86_64/bits/link.h: Renamed to ...
4023 * sysdeps/x86/bits/link.h: This.
4024 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4025 * sysdeps/x86/bits/linkmap.h: This.
4027 * sysdeps/i386/bits/endian.h: Removed.
4028 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4029 * sysdeps/x86/bits/endian.h: This.
4031 * sysdeps/i386/bits/byteswap.h: Removed.
4032 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4033 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4034 * sysdeps/x86/bits/byteswap.h: This.
4035 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4036 * sysdeps/x86/bits/byteswap-16.h: This.
4037 * sysdeps/i386/Implies: Add x86.
4038 * sysdeps/x86_64/Implies: Likewise.
4040 2012-05-30 David S. Miller <davem@davemloft.net>
4042 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4043 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4044 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4045 (FP_TRAPPING_EXCEPTIONS): Define.
4046 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4047 (FP_TRAPPING_EXCEPTIONS): Define.
4048 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4049 subnormals only when inexact has been signalled or underflow
4050 exceptions are enabled.
4051 (_FP_PACK_CANONICAL): Likewise.
4053 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4057 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4059 2012-05-30 Richard Henderson <rth@twiddle.net>
4061 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4062 with #ifndef NOT_IN_libc.
4064 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4065 marked to avoid plt entry.
4067 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4070 * Makeconfig (default-abi): New macro.
4071 (abi-includes): Likewise.
4072 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4073 $(abi-$(default-abi)-lib-soname) for soname if defined.
4074 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4076 * Makefile (installed-stubs): Likewise.
4077 * include/stubs-biarch.h: Removed.
4078 * scripts/lib-names.awk: Only handle one library at a time.
4079 * scripts/soversions.awk: Remove WORDSIZE support.
4080 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4082 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4084 (syscall-list-default-condition): Likewise.
4085 (syscall-list-default-condition): Likewise.
4086 (syscall-list-includes): Likewise.
4087 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4088 syscall-list-* with abi-*. Handle undefined abi-variants.
4089 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4090 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4091 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4092 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4093 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4094 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4096 (syscall-list-32-options): Likewise.
4097 (syscall-list-32-condition): Likewise.
4098 (syscall-list-64-options): Likewise.
4099 (syscall-list-64-condition): Likewise.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4102 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4105 (abi-64-ld-soname): New macro.
4106 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4110 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4111 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4113 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4115 * sysdeps/unix/sysv/linux/kernel-features.h
4116 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4117 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4118 include <kernel-features.h>.
4119 [!__NR_ftruncate64]: Remove conditional code.
4120 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4121 [__NR_ftruncate64]: Make code unconditional.
4122 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4123 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4124 include <kernel-features.h>.
4125 [!__NR_ftruncate64]: Remove conditional code.
4126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4127 [__NR_ftruncate64]: Make code unconditional.
4128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4130 include <kernel-features.h>.
4131 [!__NR_ftruncate64]: Remove conditional code.
4132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4133 [__NR_ftruncate64]: Make code unconditional.
4134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
4142 * configure.in (libc_cv_fpie): Weaken to a compile test using
4144 * configure: Regenerated.
4146 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4161 2012-05-27 David S. Miller <davem@davemloft.net>
4163 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4165 (__Q_simulate_exceptions): Return void. Change to simulate
4166 exceptions by writing into the %fsr.
4167 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4168 (__Qp_handle_exceptions): Likewise.
4170 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4171 __Qp_handle_exceptions.
4172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4173 __Qp_handle_exceptions.
4174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4175 as unused and give dummy FP_RND_NEAREST initializer.
4176 (FP_INHIBIT_RESULTS): Define.
4177 (___Q_simulate_exceptions): Update declaration.
4178 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4181 as unused and give dummy FP_RND_NEAREST initializer.
4182 (__Qp_handle_exceptions): Update declaration.
4183 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4186 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4188 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4189 the temporary FPU control word.
4190 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4191 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4193 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4194 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4196 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4198 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4199 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4200 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4202 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4207 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4209 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4210 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4211 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4212 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4214 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4215 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4218 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4220 * po/h.po: Update from translation team.
4222 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4224 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4226 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4227 handling of denormals.
4228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4229 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4230 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4231 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4237 2012-05-26 Marek Polacek <polacek@redhat.com>
4240 * math/libm-test.inc (fma_test): Don't always expect underflow
4243 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4246 * elf/tst-execstack.c: Include stackinfo.h.
4247 (do_test): Adjust test case to ensure that pthread_getattr_np
4248 behaviour remains the same after marking stack executable.
4250 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4252 * sysdeps/unix/sysv/linux/kernel-features.h
4253 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4254 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4256 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4257 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4258 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4260 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4261 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4263 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4265 * configure.in: Define the default includes to being none.
4266 * configure: Regenerated.
4268 2012-05-25 Roland McGrath <roland@hack.frob.com>
4270 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4271 * sysdeps/x86_64/setjmp.S: Likewise.
4272 * sysdeps/i386/bsd-setjmp.S: Likewise.
4273 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4274 * sysdeps/i386/setjmp.S: Likewise.
4275 * sysdeps/i386/__longjmp.S: Likewise.
4276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4277 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4279 * include/stap-probe.h: New file.
4280 * configure.in: Handle --enable-systemtap.
4281 * configure: Regenerated.
4282 * config.h.in (USE_STAP_PROBE): New #undef.
4283 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4284 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4285 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4287 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4291 to 2.4.0 where earlier.
4292 * sysdeps/unix/sysv/linux/configure: Regenerated.
4293 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4294 <kernel-features.h>.
4295 [__ASSUME_32BITUIDS]: Make code unconditional.
4296 [!__ASSUME_32BITUIDS]: Remove conditional code.
4297 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4298 <kernel-features.h>.
4299 [__ASSUME_32BITUIDS]: Make code unconditional.
4300 [!__ASSUME_32BITUIDS]: Remove conditional code.
4301 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4302 [__ASSUME_32BITUIDS]: Make code unconditional.
4303 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4304 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4305 <kernel-features.h>.
4306 [__ASSUME_32BITUIDS]: Make code unconditional.
4307 [!__ASSUME_32BITUIDS]: Remove conditional code.
4308 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4309 <kernel-features.h>.
4310 [__ASSUME_32BITUIDS]: Make code unconditional.
4311 [!__ASSUME_32BITUIDS]: Remove conditional code.
4312 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4313 <kernel-features.h>.
4314 [__ASSUME_32BITUIDS]: Make code unconditional.
4315 [!__ASSUME_32BITUIDS]: Remove conditional code.
4316 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4317 <kernel-features.h>.
4318 [__ASSUME_32BITUIDS]: Make code unconditional.
4319 [!__ASSUME_32BITUIDS]: Remove conditional code.
4320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4321 <kernel-features.h>.
4322 [__ASSUME_32BITUIDS]: Make code unconditional.
4323 [!__ASSUME_32BITUIDS]: Remove conditional code.
4324 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4325 <kernel-features.h>.
4326 [__ASSUME_32BITUIDS]: Make code unconditional.
4327 [!__ASSUME_32BITUIDS]: Remove conditional code.
4328 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4329 <kernel-features.h>.
4330 [__ASSUME_32BITUIDS]: Make code unconditional.
4331 [!__ASSUME_32BITUIDS]: Remove conditional code.
4332 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4333 <kernel-features.h>.
4334 [__ASSUME_32BITUIDS]: Make code unconditional.
4335 [!__ASSUME_32BITUIDS]: Remove conditional code.
4336 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4337 <kernel-features.h>.
4338 [__ASSUME_32BITUIDS]: Make code unconditional.
4339 [!__ASSUME_32BITUIDS]: Remove conditional code.
4340 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4341 <kernel-features.h>.
4342 [__ASSUME_32BITUIDS]: Make code unconditional.
4343 [!__ASSUME_32BITUIDS]: Remove conditional code.
4344 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4345 <kernel-features.h>.
4346 [__NR_setresgid] (__setresgid): Do not declare.
4347 [__ASSUME_32BITUIDS]: Make code unconditional.
4348 [!__ASSUME_32BITUIDS]: Remove conditional code.
4349 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4350 <kernel-features.h>.
4351 [__NR_setresuid] (__setresuid): Do not declare.
4352 [__ASSUME_32BITUIDS]: Make code unconditional.
4353 [!__ASSUME_32BITUIDS]: Remove conditional code.
4354 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
4363 <kernel-features.h>.
4364 [__ASSUME_32BITUIDS]: Make code unconditional.
4365 [!__ASSUME_32BITUIDS]: Remove conditional code.
4366 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4367 <kernel-features.h>.
4368 [__ASSUME_32BITUIDS]: Make code unconditional.
4369 [!__ASSUME_32BITUIDS]: Remove conditional code.
4370 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4371 <kernel-features.h>.
4372 [__ASSUME_32BITUIDS]: Make code unconditional.
4373 [!__ASSUME_32BITUIDS]: Remove conditional code.
4374 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4375 <kernel-features.h>.
4376 [__ASSUME_32BITUIDS]: Make code unconditional.
4377 [!__ASSUME_32BITUIDS]: Remove conditional code.
4378 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4379 <kernel-features.h>.
4380 [__ASSUME_32BITUIDS]: Make code unconditional.
4381 [!__ASSUME_32BITUIDS]: Remove conditional code.
4382 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4383 <kernel-features.h>.
4384 [__ASSUME_32BITUIDS]: Make code unconditional.
4385 [!__ASSUME_32BITUIDS]: Remove conditional code.
4386 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4387 <kernel-features.h>.
4388 [__ASSUME_32BITUIDS]: Make code unconditional.
4389 [!__ASSUME_32BITUIDS]: Remove conditional code.
4390 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4391 <kernel-features.h>.
4392 [__ASSUME_32BITUIDS]: Make code unconditional.
4393 [!__ASSUME_32BITUIDS]: Remove conditional code.
4394 * sysdeps/unix/sysv/linux/kernel-features.h
4395 (__ASSUME_SETRESUID_SYSCALL): Remove.
4396 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4397 (__ASSUME_32BITUIDS): Likewise.
4398 (__ASSUME_LDT_WORKS): Likewise.
4399 (__ASSUME_O_DIRECTORY): Likewise.
4400 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4401 architecture but not kernel version.
4402 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4403 (__ASSUME_MMAP2_SYSCALL): Likewise.
4404 (__ASSUME_STAT64_SYSCALL): Likewise.
4405 (__ASSUME_IPC64): Likewise.
4406 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4407 <kernel-features.h>.
4408 [__ASSUME_32BITUIDS]: Make code unconditional.
4409 [!__ASSUME_32BITUIDS]: Remove conditional code.
4410 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4411 <kernel-features.h>.
4412 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4413 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4414 132096]: Remove conditional code.
4415 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4417 <kernel-features.h>.
4418 [__ASSUME_32BITUIDS]: Make code unconditional.
4419 [!__ASSUME_32BITUIDS]: Remove conditional code.
4420 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4421 <kernel-features.h>.
4422 [__ASSUME_32BITUIDS]: Make code unconditional.
4423 [!__ASSUME_32BITUIDS]: Remove conditional code.
4424 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4425 <kernel-features.h>.
4426 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4428 (__setresgid): Do not declare.
4429 [__ASSUME_32BITUIDS]: Make code unconditional.
4430 [!__ASSUME_32BITUIDS]: Remove conditional code.
4431 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4432 <kernel-features.h>.
4433 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4435 (__setresuid): Do not declare.
4436 [__ASSUME_32BITUIDS]: Make code unconditional.
4437 [!__ASSUME_32BITUIDS]: Remove conditional code.
4438 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
4443 <kernel-features.h>.
4444 [__ASSUME_32BITUIDS]: Make code unconditional.
4445 [!__ASSUME_32BITUIDS]: Remove conditional code.
4447 2012-05-25 Richard Henderson <rth@twiddle.net>
4449 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4450 dl_hwcap to ifunc resolver.
4451 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4453 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4454 dl_hwcap to ifunc resolver.
4455 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4457 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4460 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4461 for |x| <= 2**-26, not 2**-57.
4462 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4465 2012-05-24 Jeff Law <law@redhat.com>
4467 * stdio-common/Makefile (tests): Add bug25.
4468 * stdio-common/bug25.c: New test.
4470 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4473 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4474 multiple of MALLOC_ALIGNMENT in size.
4475 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4477 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4479 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4481 (FILENAME_MAX): Use macro-int-constant.
4482 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4483 (_IOFBF): Use macro-int-constant.
4486 (SEEK_CUR): Likewise.
4487 (SEEK_END): Likewise.
4488 (SEEK_SET): Likewise.
4489 (TMP_MAX): Likewise.
4490 (EOF): Use macro-int-constant. Require < 0.
4491 (NULL): Use macro-constant. Require == 0.
4492 (stdin): Require type to be FILE *.
4495 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4497 (EXIT_SUCCESS): Likewise.
4498 (NULL): Use macro-constant. Require == 0.
4499 (RAND_MAX): Use macro-int-constant.
4500 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4501 [C99-based standards] (strtof): Require function.
4502 [C99-based standards] (strtold): Likewise.
4503 [C99-based standards] (strtoll): Likewise.
4504 [C99-based standards] (strtoull): Likewise.
4505 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4506 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4507 [ISO || ISO99 || ISO11] (math.h): Likewise.
4508 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4509 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4512 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4515 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4516 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4517 * intl/dgettext.c (DCGETTEXT): Likewise.
4518 * intl/gettext.c (DCGETTEXT): Likewise.
4519 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4520 * posix/regex_internal.h (gettext): Likewise.
4521 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4523 * include/argz.h (__argz_count_internal)
4524 (__argz_stringify_internal): Remove declaration.
4525 (__argz_count, __argz_stringify): Declare hidden proto.
4526 * intl/dcgettext.c: Remove use of INTDEF.
4527 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4528 * string/argz-stringify.c: Likewise.
4529 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4530 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4531 Declare hidden proto.
4532 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4533 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4534 Declare hidden proto.
4535 * include/stdio.h (__asprintf_internal): Don't declare.
4536 (__asprintf): Don't define as macro. Declare hidden proto.
4537 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4538 (__fsetlocking): Declare hidden proto.
4539 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4540 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4542 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4543 (_IO_setlinebuf): Remove use of INTUSE.
4544 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4545 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4546 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4548 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4549 (_IO_do_flush): Remove use of INTUSE.
4550 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4551 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4552 (_IO_adjust_column, _IO_least_wmarker)
4553 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4554 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4555 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4556 (_IO_default_doallocate, _IO_wdefault_doallocate)
4557 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4558 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4559 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4560 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4561 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4562 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4563 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4564 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4565 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4566 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4567 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4568 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4569 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4571 (_IO_flush_all_internal, _IO_adjust_column_internal)
4572 (_IO_default_uflow_internal, _IO_default_finish_internal)
4573 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4574 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4575 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4576 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4577 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4578 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4579 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4580 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4581 (_IO_file_close_internal, _IO_file_close_it_internal)
4582 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4583 (_IO_file_init_internal, _IO_file_attach_internal)
4584 (_IO_file_fopen_internal, _IO_file_read_internal)
4585 (_IO_file_sync_internal, _IO_file_seek_internal)
4586 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4587 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4588 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4589 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4590 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4591 (_IO_list_all_internal, _IO_link_in_internal)
4592 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4593 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4594 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4595 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4596 (_IO_do_write_internal, _IO_padn_internal)
4597 (_IO_getline_info_internal, _IO_getline_internal)
4598 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4599 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4600 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4601 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4602 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4603 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4604 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4605 with libc_hidden_ver, remove use of INTUSE.
4606 * libio/genops.c: Likewise.
4607 * libio/freopen.c: Likewise.
4608 * libio/freopen64.c: Likewise.
4609 * libio/iofclose.c: Likewise.
4610 * libio/iofdopen.c: Likewise.
4611 * libio/iofflush.c: Likewise.
4612 * libio/iofflush_u.c: Likewise.
4613 * libio/iofgets.c: Likewise.
4614 * libio/iofgets_u.c: Likewise.
4615 * libio/iofopen.c: Likewise.
4616 * libio/iofopncook.c: Likewise.
4617 * libio/iofread.c: Likewise.
4618 * libio/iofread_u.c: Likewise.
4619 * libio/ioftell.c: Likewise.
4620 * libio/iofwrite.c: Likewise.
4621 * libio/iogetline.c: Likewise.
4622 * libio/iogets.c: Likewise.
4623 * libio/iogetwline.c: Likewise.
4624 * libio/iopadn.c: Likewise.
4625 * libio/iopopen.c: Likewise.
4626 * libio/ioseekoff.c: Likewise.
4627 * libio/ioseekpos.c: Likewise.
4628 * libio/iosetbuffer.c: Likewise.
4629 * libio/iosetvbuf.c: Likewise.
4630 * libio/ioungetc.c: Likewise.
4631 * libio/ioungetwc.c: Likewise.
4632 * libio/iovdprintf.c: Likewise.
4633 * libio/iovsprintf.c: Likewise.
4634 * libio/iovsscanf.c: Likewise.
4635 * libio/memstream.c: Likewise.
4636 * libio/obprintf.c: Likewise.
4637 * libio/oldfileops.c: Likewise.
4638 * libio/oldiofclose.c: Likewise.
4639 * libio/oldiofdopen.c: Likewise.
4640 * libio/oldiofopen.c: Likewise.
4641 * libio/oldiopopen.c: Likewise.
4642 * libio/oldstdfiles.c: Likewise.
4643 * libio/putc.c: Likewise.
4644 * libio/setbuf.c: Likewise.
4645 * libio/setlinebuf.c: Likewise.
4646 * libio/stdfiles.c: Likewise.
4647 * libio/strops.c: Likewise.
4648 * libio/vasprintf.c: Likewise.
4649 * libio/vscanf.c: Likewise.
4650 * libio/vsnprintf.c: Likewise.
4651 * libio/vswprintf.c: Likewise.
4652 * libio/wfiledoalloc.c: Likewise.
4653 * libio/wfileops.c: Likewise.
4654 * libio/wgenops.c: Likewise.
4655 * libio/wmemstream.c: Likewise.
4656 * libio/wstrops.c: Likewise.
4657 * libio/__fpurge.c: Likewise.
4658 * libio/__fsetlocking.c: Likewise.
4659 * assert/assert.c: Likewise.
4660 * debug/fgets_chk.c: Likewise.
4661 * debug/fgets_u_chk.c: Likewise.
4662 * debug/fread_chk.c: Likewise.
4663 * debug/fread_u_chk.c: Likewise.
4664 * debug/gets_chk.c: Likewise.
4665 * debug/obprintf_chk.c: Likewise.
4666 * debug/vasprintf_chk.c: Likewise.
4667 * debug/vdprintf_chk.c: Likewise.
4668 * debug/vsnprintf_chk.c: Likewise.
4669 * debug/vsprintf_chk.c: Likewise.
4670 * malloc/mtrace.c: Likewise.
4671 * misc/error.c: Likewise.
4672 * misc/syslog.c: Likewise.
4673 * stdio-common/asprintf.c: Likewise.
4674 * stdio-common/fxprintf.c: Likewise.
4675 * stdio-common/getw.c: Likewise.
4676 * stdio-common/isoc99_fscanf.c: Likewise.
4677 * stdio-common/isoc99_scanf.c: Likewise.
4678 * stdio-common/isoc99_vfscanf.c: Likewise.
4679 * stdio-common/isoc99_vscanf.c: Likewise.
4680 * stdio-common/isoc99_vsscanf.c: Likewise.
4681 * stdio-common/printf-prs.c: Likewise.
4682 * stdio-common/printf_fp.c: Likewise.
4683 * stdio-common/printf_fphex.c: Likewise.
4684 * stdio-common/printf_size.c: Likewise.
4685 * stdio-common/putw.c: Likewise.
4686 * stdio-common/scanf.c: Likewise.
4687 * stdio-common/sprintf.c: Likewise.
4688 * stdio-common/tmpfile.c: Likewise.
4689 * stdio-common/vfprintf.c: Likewise.
4690 * stdio-common/vfscanf.c: Likewise.
4691 * stdlib/strfmon_l.c: Likewise.
4692 * sunrpc/openchild.c: Likewise.
4693 * sunrpc/xdr_stdio.c: Likewise.
4694 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4695 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4697 2012-05-24 Roland McGrath <roland@hack.frob.com>
4699 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4701 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4702 in the third column, to generate for the shared library an IFUNC
4703 that uses _dl_vdso_vsym.
4704 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4705 * Makeconfig (object-suffixes-noshared): New variable.
4707 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4708 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4709 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4710 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4713 * include/sys/time.h (__gettimeofday): Remove macro.
4714 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4715 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4717 (__gettimeofday): Add libc_hidden_def.
4718 (gettimeofday): Add libc_hidden_weak.
4719 * sysdeps/mach/gettimeofday.c: Likewise.
4720 * sysdeps/posix/gettimeofday.c: Likewise.
4721 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4724 (__gettimeofday_internal): Remove strong_alias.
4725 (__gettimeofday): Add libc_hidden_def.
4726 (gettimeofday): Add libc_hidden_weak.
4727 * sysdeps/unix/syscalls.list (gettimeofday):
4728 Remove __gettimeofday_internal alias.
4730 2012-05-24 Daniel Jacobowitz <drow@false.org>
4731 H.J. Lu <hongjiu.lu@intel.com>
4734 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4735 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4736 (largebin_index_32_big): New.
4737 (largebin_index): Use it for 16-byte alignment.
4738 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4739 correction with front_misalign.
4741 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4769 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4770 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4772 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4776 * math/libm-test.inc (exp_test): Add test from bug 14036.
4777 (pow_test): Add test from bug 10846.
4779 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4781 (special_function): Do not include flags in test name.
4782 (parse_args): Likewise.
4783 * sysdeps/i386/fpu/libm-test-ulps: Update.
4784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4785 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4786 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4789 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4791 * math/libm-test.inc ("Philosophy"): Update comment about
4793 (UNDERFLOW_EXCEPTION): New macro.
4794 (UNDERFLOW_EXCEPTION_OK): Likewise.
4795 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4796 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4797 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4798 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4799 (INVALID_EXCEPTION_OK): Update value.
4800 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4801 (OVERFLOW_EXCEPTION_OK): Likewise.
4802 (IGNORE_ZERO_INF_SIGN): Likewise.
4803 (test_exceptions): Handle underflow exceptions.
4804 (acos_test): Update for underflow exception expectations.
4805 (cexp_test): Likewise.
4806 (clog_test): Likewise.
4807 (clog10_test): Likewise.
4808 (csqrt_test): Likewise.
4809 (ctan_test): Likewise.
4810 (ctanh_test): Likewise.
4811 (exp_test): Likewise.
4812 (exp10_test): Likewise.
4813 (exp2_test): Likewise.
4814 (expm1_test): Likewise.
4815 (fma_test): Likewise.
4816 (j0_test): Likewise.
4817 (jn_test): Likewise.
4818 (nexttoward_test): Likewise.
4819 (pow_test): Likewise.
4820 (scalbn_test): Likewise.
4821 (scalbln_test): Likewise.
4822 (tan_test): Likewise.
4823 (y1_test): Likewise.
4824 * sysdeps/i386/fpu/libm-test-ulps: Update.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827 2012-05-23 David S. Miller <davem@davemloft.net>
4829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4830 (__libc_sigaction): Remove unused local variables.
4832 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4834 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4836 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4838 mktime: avoid signed integer overflow
4839 * time/mktime.c (__mktime_internal): Do not mishandle the case
4840 where diff == INT_MIN.
4842 mktime: simplify computation of average
4843 * time/mktime.c (ranged_convert): Use new time_t_avg function
4844 instead of rolling our own (probably-slower) code.
4846 mktime: do not assume signed right shift propagates sign bit
4847 * time/mktime.c (isdst_differ): New static function.
4848 (__mktime_internal): No need to normalize tm_isdst now.
4849 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4852 mktime: merge another wrapv change from gnulib
4853 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4854 from some compilers.
4856 mktime: remove incorrect attempt at unusual arithmetics
4857 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4858 The code didn't really work on such machines anyway.
4859 (TYPE_MINIMUM): Assume two's complement.
4860 (twos_complement_arithmetic): Verify that long_int and time_t
4861 are two's complement (or unsigned, in the latter case).
4863 mktime: check signed shifts on long_int and time_t, too
4864 * time/mktime.c (SHR): Check that shifts work as desired
4865 on the types long_int and time_t too, as SHR is used on
4868 mktime: do not assume 'long' is wide enough
4869 * time/mktime.c (verify): Move decl up.
4870 (long_int): New type.
4871 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4872 to remove assumption in the code that 'long' is wide enough to
4873 store year values. This assumption is not true on x32 and on
4874 some non-glibc platforms.
4876 mktime: merge wrapv change from gnulib
4877 * time/mktime.c (WRAPV): New macro.
4878 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4879 (guess_time_tm, __mktime_internal): Do not assume that signed
4880 integer overflow wraps around; modern compilers generate code
4881 where this assumption is no longer valid.
4883 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4886 Replace "jmp L(pseudo_end)" with "ret".
4887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4890 2012-05-23 Andreas Jaeger <aj@suse.de>
4892 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4893 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4895 2012-05-23 Andreas Jaeger <aj@suse.de>
4896 Maximilian Attems <max@stro.at>
4898 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4901 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4904 code so that pseudo_end is just ret and the stack pointer is
4905 correct also for static library in error case.
4907 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4909 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4910 move to syscalls.list.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4916 * manual/install.texi (Running make install): Do not mention Linux
4917 kernel version for which pt_chown is not needed.
4918 (Linux): Do not mention problems with nscd with 2.0 kernels.
4919 * INSTALL: Regenerated.
4921 2012-05-23 Andreas Jaeger <aj@suse.de>
4923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4924 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4926 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4928 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4930 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4936 * sysdeps/unix/sysv/linux/bits/in.h
4937 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4939 2012-05-22 Roland McGrath <roland@hack.frob.com>
4941 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4942 (PREPARE_VERSION): Just use assert instead, it will be elided
4943 under [NDEBUG] anyway.
4945 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4947 * sysdeps/unix/sysv/linux/Makefile: Include
4948 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4949 (sysdep_routines): Remove sysctl.
4950 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4951 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4954 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4956 2012-05-22 Andreas Jaeger <aj@suse.de>
4958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4959 that pseudo_end is just ret and the stack pointer is correct also
4960 for static library in error case.
4962 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4965 * nss/nsswitch.c (defconfig_entries): New variable.
4966 (__nss_database_lookup): Don't leak defconfig entries.
4967 (nss_parse_service_list): Don't leak on error paths.
4968 (free_database_entries): New function.
4969 (free_defconfig): New function.
4970 (free_mem): Move common code to free_database_entries.
4972 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4974 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4976 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4978 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4979 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4982 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4983 (INTERNAL_SYSCALL_TYPES): Likewise.
4984 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4985 (LOAD_REGS_TYPES_[1-6]): Likewise.
4986 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4987 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4989 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4992 copysignl for GLIBC_2_0.
4993 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4994 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4996 logbl for GLIBC_2_0.
4997 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4998 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5000 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5005 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5008 * time/mktime.c: Update copyright years.
5010 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5012 mktime: merge comment-quoting-style change from gnulib
5013 * time/mktime.c: Quote 'like this' in comments.
5014 The GNU coding standards suggest that we no longer quote `like this',
5015 as "`" and "'" are typically rendered asymmetrically nowadays.
5016 The typical gnulib style is to quote 'like this' when quoting
5017 code, and "like this" when quoting English.
5019 * time/mktime.c (compile-command): Add "-I.".
5021 mktime: merge mktime-internal.h change from gnulib
5022 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5024 mktime: merge time_r change from gnulib
5025 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5027 mktime: merge DEBUG change from gnulib
5028 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5029 case system <time.h> has a #define.
5031 mktime: merge <sys/types.h> change from gnulib
5032 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5033 since <time.t> is now guaranteed to define time_t.
5035 mktime: merge HAVE_CONFIG_H change from gnulib
5036 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5038 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5043 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5045 (struct rusage): Use anonymous union to pad each field to
5048 2012-05-21 David S. Miller <davem@davemloft.net>
5050 * Makefules (o-iterator): Remove .s cases.
5051 (compile-command.s): Delete.
5052 (COMPILE.s): Delete.
5053 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5055 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5057 * configure.in (libc_cv_predef_stack_protector): Only consider
5058 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5059 * configure: Regenerated.
5061 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5064 New macro. Use R*LP on int and pointer.
5065 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5066 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5067 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5068 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5070 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5071 [__WORDSIZE_TIME64_COMPAT32] instead of
5072 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5073 (struct utmp): Likewise.
5074 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5075 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5077 (__WORDSIZE_TIME64_COMPAT32): This.
5078 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5079 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5080 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5082 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5083 (__WORDSIZE_TIME64_COMPAT32): New macro.
5085 2012-05-21 Andreas Jaeger <aj@suse.de>
5087 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5088 only if [SHARED]. Add prototype for __wcschr_ia32.
5090 2012-05-21 Roland McGrath <roland@hack.frob.com>
5092 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5093 of %rbp unmolested in the jmp_buf while mangling the low bits.
5094 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5095 unmolested high bits of %rbp while demangling the low bits.
5096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5098 2012-05-21 Andreas Jaeger <aj@suse.de>
5100 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5101 * sunrpc/svc_simple.c: Use it for registerrpc.
5102 * sunrpc/xcrypt.c: Use it for passwd2des.
5104 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5106 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5108 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5109 Don't define if [__SYSCALL_WORDSIZE != 32].
5110 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5113 2012-05-21 Bruno Haible <bruno@clisp.org>
5114 Andreas Jaeger <aj@suse.de>
5116 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5117 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5118 inptr and inend for must_buffer_ch.
5119 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5120 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5121 * stdio-common/Makefile (tests): Remove bug15.
5122 (bug15-ENV): Remove macro.
5123 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5126 2012-05-19 Andreas Jaeger <aj@suse.de>
5127 Roland McGrath <roland@hack.frob.com>
5129 * manual/contrib.texi: Completely rewritten. It contains now an
5130 alphabetical list of contributors and their contributions.
5132 2012-05-21 Richard Henderson <rth@twiddle.net>
5134 * misc/getauxval.c (__getauxval): Use unsigned long int.
5135 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5136 (getauxval): Use unsigned long int.
5138 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5140 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5142 2012-05-21 Roland McGrath <roland@hack.frob.com>
5144 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5145 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5146 __alignof__ (long double).
5148 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5152 2012-05-20 Richard Henderson <rth@twiddle.net>
5154 * misc/getauxval.c: New file.
5155 * misc/sys/auxv.h: New file.
5156 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5157 (routines): Add getauxval.
5158 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5159 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5160 * elf/dl-sysdep.c (_dl_auxv): Remove.
5161 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5162 * elf/dl-support.c (_dl_auxv): New variable.
5163 (_dl_aux_init): Initialize it.
5164 * manual/startup.texi (Auxiliary Vector): New node.
5165 * sysdeps/generic/bits/hwcap.h: New file.
5166 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5167 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5168 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5169 * sysdeps/sparc/sysdep.h: ... here. Include it.
5170 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5171 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5183 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5187 2012-05-19 David S. Miller <davem@davemloft.net>
5189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5191 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5194 * math/s_ccosh.c: Include <float.h>
5195 (__ccosh): Avoid internal overflow calculating sinh and cosh
5196 values before multiplying by sin and cos values.
5197 * math/s_ccoshf.c: Likewise.
5198 * math/s_ccoshl.c: Likewise.
5199 * math/s_csin.c: Likewise.
5200 * math/s_csinf.c: Likewise.
5201 * math/s_csinl.c: Likewise.
5202 * math/s_csinh.c: Likewise.
5203 * math/s_csinhf.c: Likewise.
5204 * math/s_csinhl.c: Likewise.
5205 * math/libm-test.inc (ccos_test): Add more tests.
5206 (ccosh_test): Likewise.
5207 (csin_test): Likewise.
5208 (csinh_test): Likewise.
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5214 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5215 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5217 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5219 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5221 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5222 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5223 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5224 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5225 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5226 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5227 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5228 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5229 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5230 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5231 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5232 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5233 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5234 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5235 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5236 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5237 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5238 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5239 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5240 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5241 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5242 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5243 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5244 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5245 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5246 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5247 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5248 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5249 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5250 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5251 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5253 2012-05-18 Andreas Jaeger <aj@suse.de>
5255 * csu/.gitignore: Delete.
5257 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5259 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5260 (timex): Use __syscall_slong_t.
5262 2012-05-18 Andreas Jaeger <aj@suse.de>
5263 Carlos O'Donell <carlos_odonell@mentor.com>
5265 * manual/install.texi (Configuring and compiling): Update
5266 description about files modified in the source directory.
5267 * INSTALL: Regenerated.
5269 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5271 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5272 value. Use "or" to set return value to -1.
5273 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5274 negate return value.
5276 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5278 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5279 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5280 failure if the compiler has Graphite support disabled.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5283 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5284 CFLAGS-memmove.c): Likewise.
5285 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5288 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5290 * sysdeps/x86_64/x32/_itoa.h: New file.
5292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5293 getdents system call only if kernel and user dirents have the
5294 same d_ino and d_off.
5296 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5297 LLONG_MAX != LONG_MAX.
5298 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5299 (_fitoa_word): Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5308 include <bits/wordsize.h>. Check __x86_64__ instead of
5310 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5311 if __x86_64__ is defined. Use anonymous union on fpstate.
5313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5316 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5318 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5319 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5321 Refer to _rtld_local_ro instead of _rtld_global_ro.
5322 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5324 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5326 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5328 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5329 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5330 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5332 * sysdeps/powerpc/powerpc32/dl-machine.c
5333 (__elf_machine_runtime_setup) [PROF]: Don't reference
5336 2012-05-18 Andreas Jaeger <aj@suse.de>
5338 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5339 function only available for GCCs before 3.4 since GCC 3.4
5340 introduced a builtin.
5342 (llrintf): Likewise.
5350 (nearbyint): Likewise.
5351 (nearbyintf): Likewise.
5357 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5359 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5360 on both fields and cast pointer to __syscall_ulong_t.
5362 * bits/types.h (__fsword_t): New type.
5363 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5364 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5366 (__FSWORD_T_TYPE): Likewise.
5367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5368 (__FSWORD_T_TYPE): Likewise.
5369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5370 (__FSWORD_T_TYPE): Likewise.
5371 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5372 (__FSWORD_T_TYPE): Likewise.
5373 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5374 __SWORD_TYPE with __fsword_t.
5375 (statfs64): Likewise.
5377 2012-05-17 David S. Miller <davem@davemloft.net>
5379 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5381 2012-05-17 Andreas Jaeger <aj@suse.de>
5383 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5386 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5388 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5390 2012-05-17 Andreas Jaeger <aj@suse.de>
5392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5395 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5397 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5399 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5401 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5402 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5404 2012-05-17 Andreas Jaeger <aj@suse.de>
5405 Carlos O'Donell <carlos_odonell@mentor.com>
5408 * sysdeps/x86_64/multiarch/init-arch.h
5409 (bit_YMM_Usable): Rename to...
5410 (bit_AVX_Usable): ... this.
5411 (bit_FMA4_Usable): New macro.
5412 (bit_XMM_state): New macro.
5413 (bit_YMM_state): New macro.
5414 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5415 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5416 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5417 (CPUID_OSXSAVE): New macro.
5418 (CPUID_AVX): New macro.
5419 (CPUID_FMA4): New macro.
5420 (index_YMM_Usable): Rename to...
5421 (index_AVX_Usable): ... this.
5422 (HAS_AVX): Use HAS_ARCH_FEATURE.
5423 (HAS_FMA4): Likewise.
5424 (HAS_YMM_USABLE): Remove.
5425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5426 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5428 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5429 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5430 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5431 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5432 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5434 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5436 * math/libm-test.c: Support platforms without multiple rounding modes.
5437 * math/bug-nextafter.c: Support platforms without FP exceptions.
5438 * math/bug-nexttoward.c: Likewise.
5439 * math/test-fenv.c: Likewise.
5440 * math/test-misc.c: Likewise.
5441 * stdlib/bug-getcontext.c: Likewise.
5443 2012-05-17 Andreas Jaeger <aj@suse.de>
5445 * manual/examples/search.c (critter_cmp): Change signature to
5447 * manual/string.texi (Collation Functions): Likewise.
5449 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5451 * bits/types.h: Fold copyright years.
5452 * bits/typesizes.h: Likewise.
5453 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5457 * time/time.h: Likewise.
5459 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5462 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5463 in instead of returning them. Return void.
5464 (__libc_mallinfo): Accumulate over all arenas.
5465 (__malloc_stats): Adjust for change in int_mallinfo interface.
5467 2012-05-16 Roland McGrath <roland@hack.frob.com>
5470 * configure.in (NM): Add AC_CHECK_TOOL for it.
5471 (libc_extra_cflags): New substituted variable.
5472 Check for -fstack-protector being used implicitly.
5473 * configure: Regenerated.
5474 * config.make.in (config-extra-cflags): New variable,
5475 gets @libc_extra_cflags@.
5476 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5479 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5480 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5481 * configure: Regenerated.
5482 * config.make.in (CPPUNDEFS): New substituted variable.
5483 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5484 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5485 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5490 (mq_attr): Use __syscall_slong_t.
5492 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5494 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5495 Check __x86_64__ instead of __WORDSIZE.
5496 (_STAT_VER_LINUX): Likewise.
5497 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5498 __syscall_ulong_t and __syscall_slong_t.
5501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5509 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5511 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5514 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5515 include <bits/wordsize.h>. Check __x86_64__ instead of
5517 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5519 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5522 include <bits/wordsize.h>. Check __x86_64__ instead of
5524 (user_regs_struct): Use "__extension__ unsigned long long"
5525 instead of "unsigned long" if __x86_64__ is defined.
5526 (user): Likewise. Pad after pointer field if __ILP32__ is
5529 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5531 * configure.in (makeinfo): Require version 4.5 or later. Allow
5533 * configure: Regenerated.
5534 * manual/install.texi (texinfo): Increase version requirement to
5536 * INSTALL: Regenerated.
5538 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5540 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5542 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5544 * sysdeps/x86_64/x32/ffs.c: New file.
5546 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5548 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5549 defined. Use __syscall_ulong_t.
5550 (shminfo): Use __syscall_ulong_t.
5551 (shm_info): Likewise.
5553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5556 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5558 (msgqnum_t): Use __syscall_ulong_t.
5559 (msglen_t): Likewise.
5560 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5563 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5566 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5568 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5569 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5571 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5575 include <bits/wordsize.h>. Check __x86_64__ instead of
5578 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5579 "unsigned long long int" if __x86_64__ is defined.
5580 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5582 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5584 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5586 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5588 (GET_PC): Cast to uintptr_t first.
5589 (GET_FRAME): Likewise.
5590 (GET_STACK): Likewise.
5592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5598 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5599 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5600 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5605 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5622 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5624 * Makerules (+depfiles): Also collect depfiles from .oS in
5626 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5627 .oS, $(libnldbl-routines)).
5629 * Makerules (native-compile-mkdep-flags): Define.
5630 * sunrpc/Makefile (extra-objs): Add $(addprefix
5631 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5632 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5633 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5634 calling $(make-target-directory).
5636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5638 * bits/types.h (__snseconds_t): Removed.
5639 * time/time.h (struct timespec): Replace __snseconds_t with
5641 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5642 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5645 (__SNSECONDS_T_TYPE): Likewise.
5646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5647 (__SNSECONDS_T_TYPE): Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5649 (__SNSECONDS_T_TYPE): Likewise.
5651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5653 * sysdeps/mach/hurd/bits/typesizes.h
5654 (__SYSCALL_SLONG_TYPE): New macro.
5655 (__SYSCALL_ULONG_TYPE): Likewise.
5657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5659 * bits/types.h (__syscall_slong_t): New type.
5660 (__syscall_ulong_t): Likewise.
5662 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5663 (__SYSCALL_ULONG_TYPE): Likewise.
5664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5665 (__SYSCALL_SLONG_TYPE): Likewise.
5666 (__SYSCALL_ULONG_TYPE): Likewise.
5667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5668 (__SYSCALL_SLONG_TYPE): Likewise.
5669 (__SYSCALL_ULONG_TYPE): Likewise.
5670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5671 (__SYSCALL_SLONG_TYPE): Likewise.
5672 (__SYSCALL_ULONG_TYPE): Likewise.
5674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5676 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5677 Add sigaltstack-offsets.sym.
5678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5679 <sigaltstack-offsets.h>.
5680 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5681 longjmp_msg pointer.
5682 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5683 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5685 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5687 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5689 * elf/stackguard-macros.h: Remove file.
5690 * sysdeps/generic/stackguard-macros.h: New file.
5691 * sysdeps/i386/stackguard-macros.h: Likewise.
5692 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5693 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5694 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5695 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5696 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5697 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5698 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5699 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5700 <elf/stackguard-macros.h>.
5703 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5704 __aligned__ in attribute.
5705 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5706 (gregset_t): Likewise.
5708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5710 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5711 * sysdeps/x86_64/64/Implies-after: Here. New file.
5712 * sysdeps/x86_64/x32/Implies-after: New file.
5714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5716 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5717 and access return value for _dl_profile_fixup. Use R10_LP to
5720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5722 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5726 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5727 * sysdeps/x86_64/x32/sysdep.h: New file.
5729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5731 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5732 * sysdeps/x86_64/setjmp.S: Likewise.
5734 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5738 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5740 remove unused global constant.
5742 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5744 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5745 include of <not-cancel.h>.
5747 2012-05-15 Roland McGrath <roland@hack.frob.com>
5749 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5751 2012-05-15 Jeff Law <law@redhat.com>
5752 Andreas Jaeger <aj@suse.de>
5755 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5757 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5758 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5760 code changing __hst_map_handle.map.
5762 2012-05-15 Roland McGrath <roland@hack.frob.com>
5764 * configure.in (sysnames): Look for Implies-before and Implies-after
5766 * configure: Regenerated.
5768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5770 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5771 8-byte data alignment with LP_SIZE alignment.
5773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5775 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5780 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5784 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5785 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5792 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5793 (stackinfo_sub_sp): Likewise.
5795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5812 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5816 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5817 into R11_LP and load __x86_64_shared_cache_size_half into
5820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5825 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5834 powerpc32/power7/fpu/s_logb.c via #include.
5835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5836 powerpc32/power7/fpu/s_logbf.c via #include.
5837 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5838 powerpc32/power7/fpu/s_logbl.c via #include.
5840 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5842 * README.libm: Remove file.
5844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5846 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5847 count for x32. Use R*_LP and omit operand-size suffix.
5849 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5851 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5852 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5853 * sysdeps/x86_64/x32/shlib-versions: New file.
5855 2012-05-14 Roland McGrath <roland@hack.frob.com>
5857 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5858 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5859 Use _dl_fatal_printf instead.
5861 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5863 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5864 set if not set by the user. Do not allow for being unset.
5865 * sysdeps/unix/sysv/linux/configure: Regenerated.
5867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5869 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5870 the `q' suffix from lea and replace .quad with ASM_ADDR.
5872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5875 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5877 (PTR_DEMANGLE): Likewise.
5879 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5881 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5883 (ASM_ADDR): Likewise.
5901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5903 * sysdeps/x86_64/x32/dl-machine.h: New file.
5905 2012-05-14 Andreas Jaeger <aj@suse.de>
5907 * manual/Makefile (subdir): Remove export of subdir.
5908 (all): Remove target.
5909 (.PHONY): Remove all from list.
5910 (mkinstalldirs): Remove.
5911 (.PHONY): Remove installdirs from list.
5912 ($(inst_infodir)/libc.info): Use make-target-directory.
5913 (installdirs): Remove.
5915 (glibc-targets): Remove.
5918 ($(objpfx)stubs ../po/manual.pot): Remove.
5919 ($(objpfx)stamp%): Remove.
5920 (make-target-directory): Remove.
5921 (subdir_install): Remove.
5929 * manual/.gitignore: Remove, it's not needed anymore.
5930 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5932 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5934 (texis): Renamed to $(objpfx)texis.
5935 (texis-path): New, contains path to generated files.
5936 (chapters.%): Use texis-path for complete path, add extra argument
5938 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5939 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5940 (summary,texi, stamp-summary): Use complete path of
5941 files. Generate files in build dir.
5942 (dir-add.texi): Build in build dir.
5943 (libm-err.texi,stamp-libm-err): Likewise.
5944 (version.texi, stamp-version): Likewise.
5945 (.%c.texi): Likewise.
5946 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5947 (mostlyclean): Remove target.
5948 (realclean): Remove target.
5949 (generated): Add new variable with contents from mostlyclean and
5950 realclean, remove entries duplicated in common-mostlyclean, add
5951 stamp-libm-err and stamp-version.
5952 (generated-dirs): Add libc directory.
5953 ($(inst_infodir)/libc.info): Install files from build dir.
5955 * manual/install.texi (Configuring and compiling): Adjust since
5956 the info files are not part of the tar ball anymore.
5958 2012-05-14 Andreas Jaeger <aj@suse.de>
5960 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5963 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5967 to 2.2.0 where earlier.
5968 * sysdeps/unix/sysv/linux/configure: Regenerated.
5969 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5970 Remove conditional code.
5971 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5972 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5973 Remove conditional code.
5974 [!__NR_lchown]: Likewise.
5975 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5976 [__NR_lchown]: Likewise.
5977 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5978 comment referencing __ASSUME_LCHOWN_SYSCALL.
5979 * sysdeps/unix/sysv/linux/i386/sigaction.c
5980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5982 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5983 Remove conditional code.
5984 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5985 (__protocol_available): Remove #if 0 code.
5986 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5988 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5989 * sysdeps/unix/sysv/linux/kernel-features.h
5990 (__ASSUME_GETCWD_SYSCALL): Don't define.
5991 (__ASSUME_REALTIME_SIGNALS): Likewise.
5992 (__ASSUME_PREAD_SYSCALL): Likewise.
5993 (__ASSUME_PWRITE_SYSCALL): Likewise.
5994 (__ASSUME_POLL_SYSCALL): Likewise.
5995 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5996 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5998 (__ASSUME_SIOCGIFNAME): Don't define.
5999 (__ASSUME_MSG_NOSIGNAL): Likewise.
6000 (__ASSUME_SENDFILE): Define unconditionally.
6001 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6002 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6004 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6005 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6006 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6007 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6008 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6009 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6010 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6015 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6035 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6036 Remove conditional code.
6037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6038 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6039 Remove conditional code.
6040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6041 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6042 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6043 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6044 Remove conditional code.
6045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6046 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6047 Remove conditional code.
6048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6049 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6050 Remove conditional code.
6051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6052 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6053 Remove conditional code.
6054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6055 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6056 Remove conditional code.
6057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6058 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6061 * sysdeps/unix/sysv/linux/sigaction.c
6062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6064 * sysdeps/unix/sysv/linux/sigpending.c
6065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6067 * sysdeps/unix/sysv/linux/sigprocmask.c
6068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6070 * sysdeps/unix/sysv/linux/sigsuspend.c
6071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6073 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6074 (__libc_missing_rt_sigs): Remove.
6075 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6076 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6077 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6078 Remove conditional code.
6079 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6080 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6083 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6084 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6085 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6087 2012-05-14 Andreas Jaeger <aj@suse.de>
6089 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6090 it's not used in glibc.
6091 (__coshm1): Likewise.
6092 (__acosh1p): Likewise.
6095 * manual/string.texi (Copying and Concatenation): Add missing
6096 variable in concat example.
6097 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6103 __builtin_clzl with __builtin_clzll.
6105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6108 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6111 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6113 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6114 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6115 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6116 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6118 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6120 * NEWS: Update ia64 info.
6122 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6124 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6127 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6129 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6130 * sysdeps/unix/syscalls.list (dup3): Likewise.
6131 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6132 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6134 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6136 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6137 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6139 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6141 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6143 (TLS_IE): Use mov/add instead of movq/addq to load thread
6145 (TLS_GD_PREFIX): New.
6148 2012-05-11 David S. Miller <davem@davemloft.net>
6150 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6151 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6152 (_FPU_SETCW): Likewise.
6154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6156 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6159 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6162 * iconvdata/gb18030.c: Update tables.
6163 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6164 characters specially.
6165 (BODY for TO_LOOP): Add encoding of missing ranges.
6167 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6170 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6171 * sysdeps/mach/hurd/dup3.c: Likewise.
6172 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6173 * sysdeps/powerpc/memmove.c:: Likewise.
6175 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6178 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6180 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6182 * elf/elf.h (R_X86_64_RELATIVE64): New.
6183 (R_X86_64_NUM): Updated.
6184 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6185 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6186 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6187 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6188 tst-quad1pie tst-quad2pie
6189 (modules-names): Add tst-quadmod1 tst-quadmod2.
6190 ($(objpfx)tst-quad1): New dependency.
6191 ($(objpfx)tst-quad2): Likewise.
6192 ($(objpfx)tst-quad1pie): Likewise.
6193 ($(objpfx)tst-quad2pie): Likewise.
6194 * sysdeps/x86_64/tst-quad1.c: New file.
6195 * sysdeps/x86_64/tst-quad1pie.c: New file.
6196 * sysdeps/x86_64/tst-quad2.c: Likewise.
6197 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6198 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6199 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6200 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6201 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6205 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6206 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6207 * streams/stropts.h (t_scalar_t): Define type.
6209 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6210 (_PATH_PRESERVE): Set to "/var/lib".
6211 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6213 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6216 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6217 if __dir_mkfile succeeded.
6219 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6220 checking for _hurd_dtablesize. Unlock it right after having
6221 finished _hurd_dtable allocation.
6223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6225 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6226 * sysdeps/mach/hurd/configure: Regenerated.
6227 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6228 special-casing to...
6229 * sysdeps/gnu/configure.in: ... this new file.
6230 * sysdeps/unix/sysv/linux/configure: Regenerated.
6231 * sysdeps/gnu/configure: New generated file.
6233 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6234 for Linux: use nsec instead of usec, as well as:
6235 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6236 members of type struct timespec.
6237 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6239 (struct stat64): Likewise.
6240 (_STATBUF_ST_NSEC): New macro.
6241 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6243 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6244 __strtoul_internal rather than strtoul.
6246 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6248 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6253 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6254 which preserves existing values.
6255 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6257 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6259 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6260 TIMEOUT values. Return EINVAL for NFDS values either negative or
6261 greater than FD_SETSIZE.
6263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6265 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6266 allocated, call __vm_protect to finish enabling the existing space, and
6267 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6268 allocate the remainder.
6270 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6272 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6273 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6277 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6278 sysdeps/mach/hurd/readlink.c.
6280 * posix/tst-sysconf.c (posix_options): Only use
6281 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6282 _POSIX_SYNCHRONIZED_IO when they are defined
6283 * sysdeps/mach/hurd/bits/posix_opt.h:
6284 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6285 (_XOPEN_REALTIME): Undefine macro.
6286 (_XOPEN_REALTIME_THREADS): Undefine macro.
6287 (_XOPEN_SHM): Undefine macro.
6288 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6290 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6292 (_POSIX_ASYNC_IO): Undefine macro.
6293 (_POSIX_PRIORITIZED_IO): Undefine macro.
6294 (_POSIX_SPIN_LOCKS): Define macro to -1.
6296 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6297 SA_NODEFER, SA_RESETHAND.
6298 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6299 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6304 * elf/Makefile (pldd-modules): Define unconditionally.
6306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6308 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6312 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6313 Return ENOENT when name is empty.
6314 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6318 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6320 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6324 Fix mlock in all cases except non-readable pages.
6325 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6326 instead of VM_PROT_ALL as parameter to __vm_wire function.
6328 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6329 (__mkdir): When path is `/', just fail with EEXIST.
6330 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6334 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6335 <sys/uio.h> (for writev).
6336 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6337 and <sys/param.h> (for MIN).
6339 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6341 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6342 REQUESTED_TIME. Properly set the remaining time and return EINTR
6345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6347 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6348 Depend on against $(link-rpcuserlibs).
6350 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6352 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6353 (__libc_stack_end): Do not use attribute_relro.
6354 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6355 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6356 to libthread-provided value.
6357 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6363 * bits/libc-lock.h (__libc_once_get): New macro.
6364 * sysdeps/mach/bits/libc-lock.h: Likewise.
6365 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6367 instead of using implementation details.
6369 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6370 * libio/freopen.c: Likewise.
6371 * libio/freopen64.c: Likewise.
6372 * misc/syslog.c: Likewise.
6373 * nscd/connections.c: Likewise.
6374 * nscd/netgroupcache.c: Likewise.
6375 * sysdeps/posix/getcwd.c: Likewise.
6377 2012-05-10 Roland McGrath <roland@hack.frob.com>
6379 * math/w_ilogbf.c: Add #include <limits.h>.
6381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6383 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6384 path instead of returning without unlocking.
6386 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6387 immediate-write ioctls.
6388 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6392 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6393 __builtin_frame_address instead of making assumptions about the
6394 location of the return address relative to DATA. Force early load of
6396 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6397 __builtin_frame_address.
6400 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6401 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6402 implement dup3 and do some further code clean-ups.
6403 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6404 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6408 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6410 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6411 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6412 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6413 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6414 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6417 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6418 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6419 when handler == SIG_ERR, not when handler != SIG_ERR.
6421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6423 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6424 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6427 accept4 for GNU Hurd.
6428 * include/sys/socket.h (__libc_accept4): New prototype.
6429 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6430 to implement __libc_accept4.
6431 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6435 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6436 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6437 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6442 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6444 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6446 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6447 assertion on O_CLOEXEC flag.
6448 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6449 * hurd/intern-fd.c: Likewise.
6450 * hurd/port2fd.c: Likewise.
6452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6455 * bits/in.h (IPV6_PKTINFO): Define new macro.
6456 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6458 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6465 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6469 * math/libm-test.inc (logb_test) : Additional logb tests.
6471 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6472 Andreas Jaeger <aj@suse.de>
6474 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6475 * configure: Regenerated.
6476 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6477 * config.make.in (link-obsolete-rpc): New substituted variable.
6478 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6479 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6480 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6481 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6482 so that libc.a contains the symbols.
6483 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6484 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6485 * sunrpc/auth_none.c: Likewise.
6486 * sunrpc/auth_unix.c: Likewise.
6487 * sunrpc/authdes_prot.c: Likewise.
6488 * sunrpc/authuxprot.c: Likewise.
6489 * sunrpc/clnt_gen.c: Likewise.
6490 * sunrpc/clnt_perr.c: Likewise.
6491 * sunrpc/clnt_raw.c: Likewise.
6492 * sunrpc/clnt_simp.c: Likewise.
6493 * sunrpc/clnt_tcp.c: Likewise.
6494 * sunrpc/clnt_udp.c: Likewise.
6495 * sunrpc/clnt_unix.c: Likewise.
6496 * sunrpc/des_crypt.c: Likewise.
6497 * sunrpc/des_soft.c: Likewise.
6498 * sunrpc/get_myaddr.c: Likewise.
6499 * sunrpc/key_call.c: Likewise.
6500 * sunrpc/key_prot.c: Likewise.
6501 * sunrpc/netname.c: Likewise.
6502 * sunrpc/pm_getmaps.c: Likewise.
6503 * sunrpc/pm_getport.c: Likewise.
6504 * sunrpc/pmap_clnt.c: Likewise.
6505 * sunrpc/pmap_prot.c: Likewise.
6506 * sunrpc/pmap_prot2.c: Likewise.
6507 * sunrpc/pmap_rmt.c: Likewise.
6508 * sunrpc/publickey.c: Likewise.
6509 * sunrpc/rpc_cmsg.c: Likewise.
6510 * sunrpc/rpc_common.c: Likewise.
6511 * sunrpc/rpc_dtable.c: Likewise.
6512 * sunrpc/rpc_prot.c: Likewise.
6513 * sunrpc/rpc_thread.c: Likewise.
6514 * sunrpc/rtime.c: Likewise.
6515 * sunrpc/svc.c: Likewise.
6516 * sunrpc/svc_auth.c: Likewise.
6517 * sunrpc/svc_raw.c: Likewise.
6518 * sunrpc/svc_run.c: Likewise.
6519 * sunrpc/svc_tcp.c: Likewise.
6520 * sunrpc/svc_udp.c: Likewise.
6521 * sunrpc/svc_unix.c: Likewise.
6522 * sunrpc/svcauth_des.c: Likewise.
6523 * sunrpc/xcrypt.c: Likewise.
6524 * sunrpc/xdr.c: Likewise.
6525 * sunrpc/xdr_array.c: Likewise.
6526 * sunrpc/xdr_float.c: Likewise.
6527 * sunrpc/xdr_intXX_t.c: Likewise.
6528 * sunrpc/xdr_mem.c: Likewise.
6529 * sunrpc/xdr_rec.c: Likewise.
6530 * sunrpc/xdr_ref.c: Likewise.
6531 * sunrpc/xdr_sizeof.c: Likewise.
6532 * sunrpc/xdr_stdio.c: Likewise.
6534 2012-05-10 Roland McGrath <roland@hack.frob.com>
6536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6537 change. Update copyright years.
6539 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6541 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6543 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6544 Joseph Myers <joseph@codesourcery.com>
6545 Paul Pluzhnikov <ppluzhnikov@google.com>
6548 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6550 [cross-compiling] (extra-libs): Likewise.
6551 [cross-compiling] (extra-libs-others): Likewise.
6552 [cross-compiling] (librpcsvc-routines): Likewise.
6553 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6554 [cross-compiling] (omit-deps): Likewise.
6555 (sunrpc-CPPFLAGS): New variable.
6556 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6557 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6558 (cross-rpcgen-objs): New variable.
6559 (extra-objs): Append $(cross-rpcgen-objs).
6560 ($(cross-rpcgen-objs)): New rule.
6561 ($(objpfx)cross-rpcgen): Likewise.
6562 (rpcgen-cmd): Define to use $(built-program-file). Expand
6564 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6565 ($(objpfx)x%.stmp): Likewise.
6566 * sunrpc/proto.h [IS_IN_build] (_): Define.
6567 [IS_IN_build] (_libc_intl_domainname): Likewise.
6569 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6572 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6573 and R_X86_64_TPOFF64.
6575 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6577 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6578 sysdeps/unix/sysv/syscalls.list.
6581 * sysdeps/unix/sysv/syscalls.list: Remove file.
6583 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6586 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6587 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6588 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6589 (__LC_IDENTIFICATION): Make these macros useful in #if
6590 expressions, as required by C99.
6592 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6594 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6595 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6598 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6600 * stdlib/longlong.h: Updated from GCC.
6602 2012-05-09 Andreas Jaeger <aj@suse.de>
6604 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6605 default is first entry.
6606 (run_mode): Set type.
6607 (main): Remove informal message about syslog.
6608 (options): Fix typo.
6611 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6614 (llrintf): Likewise.
6618 (nearbyint): Likewise.
6619 (nearbyintf): Likewise.
6621 2012-05-09 Andreas Jaeger <aj@suse.de>
6622 Pedro Alves <palves@redhat.com>
6624 * nscd/nscd.c (run_mode): Use enum.
6625 (main): Cleanup coding style issue.
6627 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6628 Andreas Jaeger <aj@suse.de>
6630 * nscd/nscd.c (go_background): Replaced with...
6631 (run_mode): ... this.
6632 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6633 (options): Add -F --foreground.
6634 (main): Implement it.
6635 (parse_opt): Parse it.
6637 2012-05-09 Andreas Jaeger <aj@suse.de>
6640 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6641 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6642 -Wconversion warning.
6643 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6646 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6648 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6650 (LC_ALL): Use macro-int-constant.
6651 (LC_COLLATE): Likewise.
6652 (LC_CTYPE): Likewise.
6653 (LC_MESSAGES): Likewise.
6654 (LC_MONETARY): Likewise.
6655 (LC_NUMERIC): Likewise.
6656 (LC_TIME): Likewise.
6657 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6658 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6660 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6662 [C99-based standards] (float_t): Expect type.
6663 [C99-based standards] (double_t): Expect type.
6664 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6666 [C99-based standards] (HUGE_VALL): Likewise.
6667 [C99-based standards] (INFINITY): Likewise.
6668 [C99-based standards] (NAN): Likewise.
6669 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6670 [C99-based standards] (FP_NAN): Likewise.
6671 [C99-based standards] (FP_NORMAL): Likewise.
6672 [C99-based standards] (FP_SUBNORMAL): Likewise.
6673 [C99-based standards] (FP_ZERO): Likewise.
6674 [C99-based standards] (FP_FAST_FMA): Use
6675 optional-macro-int-constant. Specify type. Require == 1.
6676 [C99-based standards] (FP_FAST_FMAF): Likewise.
6677 [C99-based standards] (FP_FAST_FMAL): Likewise.
6678 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6679 [C99-based standards] (FP_ILOGBNAN): Likewise.
6680 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6682 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6683 [C99-based standards] (math_errhandling): Specify type.
6684 [ISO99 || ISO11] (signgam): Do not allow.
6685 [non-C99-based standards] (copysignf): Do not allow.
6686 [non-C99-based standards] (exp2f): Likewise.
6687 [non-C99-based standards] (log2f): Likewise.
6688 [non-C99-based standards] (modff): Allow.
6689 [non-C99-based standards] (erff): Do not allow.
6690 [non-C99-based standards] (erfcf): Likewise.
6691 [non-C99-based standards] (gammaf): Likewise.
6692 [non-C99-based standards] (hypotf): Likewise.
6693 [non-C99-based standards] (j0f): Likewise.
6694 [non-C99-based standards] (j1f): Likewise.
6695 [non-C99-based standards] (jnf): Likewise.
6696 [non-C99-based standards] (lgammaf): Likewise.
6697 [non-C99-based standards] (tgammaf): Likewise.
6698 [non-C99-based standards] (y0f): Likewise.
6699 [non-C99-based standards] (y1f): Likewise.
6700 [non-C99-based standards] (ynf): Likewise.
6701 [non-C99-based standards] (isnanf): Likewise.
6702 [non-C99-based standards] (acoshf): Likewise.
6703 [non-C99-based standards] (asinhf): Likewise.
6704 [non-C99-based standards] (atanhf): Likewise.
6705 [non-C99-based standards] (cbrtf): Likewise.
6706 [non-C99-based standards] (expm1f): Likewise.
6707 [non-C99-based standards] (ilogbf): Likewise.
6708 [non-C99-based standards] (log1pf): Likewise.
6709 [non-C99-based standards] (logbf): Likewise.
6710 [non-C99-based standards] (nextafterf): Likewise.
6711 [non-C99-based standards] (remainderf): Likewise.
6712 [non-C99-based standards] (rintf): Likewise.
6713 [non-C99-based standards] (scalbf): Likewise.
6714 [non-C99-based standards] (copysignl): Likewise.
6715 [non-C99-based standards] (exp2l): Likewise.
6716 [non-C99-based standards] (log2l): Likewise.
6717 [non-C99-based standards] (modfl): Allow.
6718 [non-C99-based standards] (erfl): Do not allow.
6719 [non-C99-based standards] (erfcl): Likewise.
6720 [non-C99-based standards] (gammal): Likewise.
6721 [non-C99-based standards] (hypotl): Likewise.
6722 [non-C99-based standards] (j0l): Likewise.
6723 [non-C99-based standards] (j1l): Likewise.
6724 [non-C99-based standards] (jnl): Likewise.
6725 [non-C99-based standards] (lgammal): Likewise.
6726 [non-C99-based standards] (tgammal): Likewise.
6727 [non-C99-based standards] (y0l): Likewise.
6728 [non-C99-based standards] (y1l): Likewise.
6729 [non-C99-based standards] (ynl): Likewise.
6730 [non-C99-based standards] (isnanl): Likewise.
6731 [non-C99-based standards] (acoshl): Likewise.
6732 [non-C99-based standards] (asinhl): Likewise.
6733 [non-C99-based standards] (atanhl): Likewise.
6734 [non-C99-based standards] (cbrtl): Likewise.
6735 [non-C99-based standards] (expm1l): Likewise.
6736 [non-C99-based standards] (ilogbl): Likewise.
6737 [non-C99-based standards] (log1pl): Likewise.
6738 [non-C99-based standards] (logbl): Likewise.
6739 [non-C99-based standards] (nextafterl): Likewise.
6740 [non-C99-based standards] (remainderl): Likewise.
6741 [non-C99-based standards] (rintl): Likewise.
6742 [non-C99-based standards] (scalbl): Likewise.
6743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6744 [non-C99-based standards] (FP_*): Do not allow.
6745 [C99-based standards] (FP_*): Change to
6746 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6747 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6749 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6750 (SIG_ERR): Likewise.
6751 [X/Open-based standards] (SIG_HOLD): Likewise.
6752 (SIG_IGN): Likewise.
6753 (SIGABRT): Use macro-int-constant. Specify type. Require
6758 (SIGSEGV): Likewise.
6760 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6761 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6762 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6763 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6764 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6765 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6766 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6767 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6768 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6769 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6770 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6771 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6772 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6773 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6774 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6775 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6776 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6777 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6778 [X/Open-based standards] (SIGTRAP): Likewise.
6779 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6780 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6781 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6782 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6783 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6786 2012-05-08 Ian Wienand <ianw@vmware.com>
6789 * time/tzset.c (__tzset_parse_tz): Update default rules for
6790 daylight time changes in the Energy Policy Act of 2005.
6792 2012-05-09 Andreas Jaeger <aj@suse.de>
6795 * elf/ldconfig.c (parse_conf): Change string to make clear that
6796 ldconfig only issued a warning if ld.so.conf does not exist.
6798 2012-05-08 David S. Miller <davem@davemloft.net>
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6801 movxtod instead of popping the value on the stack.
6803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6805 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6807 * config.h.in: Add HAVE_ARM_PCS_VFP.
6809 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6812 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6813 checking but the checks are disabled for any reason.
6815 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6817 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6818 and ELF64_R_TYPE with ELFW(R_TYPE).
6820 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6822 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6825 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6826 (settimeofday): Likewise.
6828 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6830 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6831 a struct th_u2 inside the union, and move tu_block/tu_code into
6832 a new th_u3 union of tu_block/tu_code inside of that. Move
6833 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6834 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6835 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6836 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6837 (th_stuff): Change to th_u1.tu_stuff.
6839 (th_msg): Change to th_u1.th_u2.tu_data.
6841 2012-05-07 David S. Miller <davem@davemloft.net>
6843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6847 (SETUP_PIC_REG): Use it.
6848 (SETUP_PIC_REG_LEAF): Use it.
6850 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6856 (EXPL_FINITE): Likewise.
6858 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6859 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6863 (EXPL_FINITE): Likewise.
6865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6866 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6868 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6869 test of -max_value argument for long double.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6873 2012-05-06 David S. Miller <davem@davemloft.net>
6875 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6876 quad soft-float symbols whose references which are compiler
6878 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6880 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6884 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6886 (EXPL_FINITE): Likewise.
6890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6891 Adjust comments for base varying.
6892 (__expl_finite): Change alias to EXPL_FINITE.
6893 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6895 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6896 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6898 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6899 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6901 (EXPL_FINITE): Likewise.
6905 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6906 Adjust comments for base varying.
6907 (__expl_finite): Change alias to EXPL_FINITE.
6908 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6913 * math/libm-test.inc (check_float_internal): Correct ulp
6914 calculation for subnormal expected results.
6916 2012-05-06 Andreas Jaeger <aj@suse.de>
6918 * Makeconfig (+math-flags): New, set to -frounding-math.
6919 (+cflags): Add +math-flags so that all of glibc gets compiled with
6922 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6924 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6926 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6932 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6933 (__ieee754_expl): Allow for and saturate large arguments.
6934 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6935 (u_threshold): Likewise.
6936 (__exp): Call __ieee754_exp before checking for overflow and
6938 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6939 (u_threshold): Likewise.
6940 (__expf): Call __ieee754_expf before checking for overflow and
6942 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6943 (u_threshold): Likewise.
6944 (__expl): Call __ieee754_expl before checking for overflow and
6946 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6947 (__ieee754_expl): Allow for and saturate large arguments.
6948 * math/libm-test.inc (exp_test): Add another test. Do not allow
6949 missing overflow exception on overflow.
6950 (expm1_test): Do not allow missing overflow exception on overflow.
6952 * sysdeps/i386/fpu/e_expl.c: Move to ...
6953 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6954 rather than using inline asm.
6955 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6956 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6957 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6959 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6966 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6968 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6969 sysdeps/unix/common/syscalls.list.
6972 (ftruncate): Likewise.
6973 (getrusage): Likewise.
6974 (gettimeofday): Likewise.
6975 (setpgid): Likewise.
6976 (setregid): Likewise.
6977 (setreuid): Likewise.
6978 (sigaction): Likewise.
6979 (truncate): Likewise.
6980 (vhangup): Likewise.
6981 * sysdeps/unix/common/syscalls.list: Remove file.
6982 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6983 * sysdeps/unix/sysv/linux/Implies: Likewise.
6985 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6987 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6989 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6993 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6996 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6999 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7002 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7005 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7008 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7011 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7015 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7019 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7026 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7030 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7032 * sysdeps/unix/common/bits/dirent.h: Remove file.
7033 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7035 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7036 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7037 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7038 * sysdeps/unix/bsd/isatty.c: Likewise.
7039 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7040 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7041 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7043 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7047 long double comparison inaccuracies.
7048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7051 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7053 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7056 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7060 nonzero digits before rounding a hex value.
7061 * stdlib/tst-strtod.c (tests): Add another test.
7063 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7065 * sysdeps/s390/fpu/libm-test-ulps: Update.
7067 2012-05-03 Andreas Jaeger <aj@suse.de>
7069 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7070 does not get optimized out.
7071 (malloc_opt_barrier): New.
7073 2012-05-03 Andreas Jaeger <aj@suse.de>
7074 Roland McGrath <roland@hack.frob.com>
7076 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7077 intermediate file deletion.
7078 (generated): Add .symlist files.
7080 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7083 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7084 Redirect under this condition.
7085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7086 [__USE_GNU] (__dprintf_chk): Not under this condition.
7087 [__USE_GNU] (__vdprintf_chk): Likewise.
7088 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7089 under this condition.
7090 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7091 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7092 [__USE_XOPEN2K8] (vdprintf): Likewise.
7093 [__USE_GNU] (__dprintf_chk): Not under this condition.
7094 [__USE_GNU] (__vdprintf_chk): Likewise.
7095 [__USE_GNU] (dprintf): Likewise.
7096 [__USE_GNU] (vdprintf): Likewise.
7098 2012-05-03 Roland McGrath <roland@hack.frob.com>
7100 * elf/Makefile (common-generated): Set this instead of generated for
7101 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7102 $(all-built-dso)-derived lists.
7104 2012-05-03 Andreas Jaeger <aj@suse.de>
7106 * sysdeps/i386/fpu/libm-test-ulps: Update.
7110 * scripts/gen-FAQ.pl: Likewise.
7111 * manual/install.texi (Installation): Point to online location of
7113 * Makefile (files-for-dist): Remove FAQ.
7116 2012-05-02 Allan McRae <allan@archlinux.org>
7118 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7119 (LDFLAGS-reldepmod5.so): Likewise.
7120 (LDFLAGS-reldep6mod1.so): Likewise.
7121 (LDFLAGS-reldep6mod4.so): Likewise.
7122 (LDFLAGS-reldep8mod3.so): Likewise.
7123 (LDFLAGS-unload4mod1.so): Likewise.
7124 (LDFLAGS-unload4mod2.so): Likewise.
7125 (LDFLAGS-tst-initorder): Likewise.
7126 (LDFLAGS-tst-initordera2.so): Likewise.
7127 (LDFLAGS-tst-initordera3.so): Likewise.
7128 (LDFLAGS-tst-initordera4.so): Likewise.
7129 (LDFLAGS-tst-initorderb2.so): Likewise.
7130 (LDFLAGS-noload): Likewise.
7131 (LDFLAGS-next): Likewise.
7132 (LDFLAGS-order2mod1.so): Likewise.
7133 (LDFLAGS-order2mod2.so): Likewise.
7134 (LDFLAGS-tst-initorder2): Likewise.
7135 (LDFLAGS-tst-initorder2a.so): Likewise.
7136 (LDFLAGS-tst-initorder2b.so): Likewise.
7137 (LDFLAGS-tst-initorder2c.so): Likewise.
7138 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7140 2012-05-02 David S. Miller <davem@davemloft.net>
7142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7144 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7147 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7149 2012-05-02 Andreas Jaeger <aj@suse.de>
7151 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7152 since we manipulate rounding mode.
7153 (CPPFLAGS-test-idouble.c): Likewise.
7154 (CPPFLAGS-test-ifloat.c): Likewise.
7155 (CFLAGS-test-ldouble.c): Likewise.
7156 (CFLAGS-test-double.c): Likewise.
7157 (CFLAGS-test-float.c): Likewise.
7158 (CFLAGS-test-misc.c): Likewise.
7159 (CFLAGS-test-test-fenv.c): Likewise.
7161 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7166 comparisons to determine direction to adjust input.
7168 2012-05-01 Roland McGrath <roland@hack.frob.com>
7170 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7171 output to the target.
7173 * scripts/localplt.awk: New file.
7174 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7175 (check-localplt-CFLAGS): Variable removed.
7176 ($(all-built-dso:=.jmprel)): New static pattern rule.
7177 (generated): Add those targets.
7178 (localplt-built-dso): New variable.
7179 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7181 * elf/check-localplt.c: File removed.
7183 * scripts/check-execstack.awk: New file.
7184 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7185 (check-execstack-CFLAGS): Variable removed.
7186 ($(objpfx)check-execstack.h): Target removed.
7187 ($(objpfx)execstack-default): New target.
7188 (generated): Add that instead of check-execstack.h.
7189 ($(all-built-dso:=.phdr)): New static pattern rule.
7190 (generated): Add those targets.
7191 * elf/check-execstack.c: File removed.
7193 * scripts/check-textrel.awk: New file.
7194 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7195 (check-textrel-CFLAGS): Variable removed.
7196 (all-built-dso): Use := to define.o
7197 ($(all-built-dso:=.dyn)): New static pattern rule.
7198 (generated): Add those targets.
7199 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7200 * config.make.in (READELF): New substituted variable.
7201 * elf/check-textrel.c: File removed.
7203 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7205 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7207 * conform/data/ctype.h-data [C99-based standards] (isblank):
7209 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7210 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7212 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7213 Specify type. Require positive value.
7216 [ISO || POSIX] (EILSEQ): Do not expect.
7217 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7218 Specify type. Require positive value.
7219 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7220 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7221 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7222 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7223 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7224 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7225 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7226 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7227 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7228 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7229 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7230 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7231 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7232 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7233 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7234 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7235 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7236 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7237 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7238 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7239 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7241 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7242 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7243 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7244 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7245 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7246 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7247 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7248 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7249 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7251 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7252 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7253 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7254 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7256 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7258 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7259 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7281 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7288 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7293 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7294 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7295 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7297 (FLT_ROUNDS): Expect as macro, not constant.
7298 (FLT_MANT_DIG): Use macro-int-constant.
7299 (DBL_MANT_DIG): Likewise.
7300 (LDBL_MANT_DIG): Likewise.
7301 (FLT_DIG): Likewise.
7302 (DBL_DIG): Likewise.
7303 (LDBL_DIG): Likewise.
7304 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7305 (DBL_MIN_EXP): Likewise.
7306 (LDBL_MIN_EXP): Likewise.
7307 (FLT_MAX_EXP): Use macro-int-constant.
7308 (DBL_MAX_EXP): Likewise.
7309 (LDBL_MAX_EXP): Likewise.
7310 (FLT_MAX_10_EXP): Likewise.
7311 (DBL_MAX_10_EXP): Likewise.
7312 (LDBL_MAX_10_EXP): Likewise.
7313 (FLT_MAX): Use macro-constant.
7314 (DBL_MAX): Likewise.
7315 (LDBL_MAX): Likewise.
7316 (FLT_EPSILON): Use macro-constant. Give upper bound.
7317 (DBL_EPSILON): Likewise.
7318 (LDBL_EPSILON): Likewise.
7319 (FLT_MIN): Likewise.
7320 (DBL_MIN): Likewise.
7321 (LDBL_MIN): Likewise.
7322 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7323 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7324 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7325 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7326 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7327 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7328 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7329 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7330 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7331 [ISO11] (FLT_TRUE_MIN): Likewise.
7332 [ISO11] (LDBL_TRUE_MIN): Likewise.
7333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7334 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7335 (SCHAR_MIN): Use macro-int-constant. Specify type.
7336 (SCHAR_MAX): Likewise.
7337 (UCHAR_MAX): Likewise.
7338 (CHAR_MIN): Likewise.
7339 (CHAR_MAX): Likewise.
7340 (MB_LEN_MAX): Use macro-int-constant.
7341 (SHRT_MIN): Use macro-int-constant. Specify type.
7342 (SHRT_MAX): Likewise.
7343 (USHRT_MAX): Likewise.
7344 (INT_MAX): Likewise.
7345 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7347 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7349 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7351 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7352 bound negative. Suffix upper bound with "L".
7353 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7355 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7357 [C99-based standards] (LLONG_MAX): Likewise.
7358 [C99-based standards] (ULLONG_MAX): Likewise.
7359 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7361 [ISO11] (max_align_t): Require type.
7362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7364 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7365 from $CFLAGS, without defining away __attribute__ calls.
7366 (checknamespace): Use $CFLAGS_namespace.
7368 * conform/conformtest.pl (@keywords): Only include C99 keywords
7369 for standards based on C99 or C11.
7371 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7373 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7376 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7377 usability of symbols in #if.
7379 * conform/conformtest.pl: If macro or constant types start
7380 "promoted:", expect the symbol to be of the following type
7381 promoted by the integer promotions.
7383 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7384 in one place. Also handle "macro-constant".
7386 * conform/conformtest.pl: Only accept expected macro values with
7387 "==". Parse all "macro" lines in one place.
7388 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7390 * conform/conformtest.pl: Handle braced types on "constant" lines
7391 instead of handling "typed-constant".
7392 * conform/data/signal.h-data: Use "constant" instead of
7395 * conform/conformtest.pl: Handle "optional-" at start of lines in
7396 one place rather than duplicating several cases. Handle each
7397 format of "macro" line with initial "optional-".
7399 * conform/conformtest.pl: Only accept expected constant or
7400 optional-constant values with "==". Parse all "constant" lines in
7401 one place. Parse all "optional-constant" lines in one place.
7402 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7403 * conform/data/fmtmsg.h-data: Likewise.
7404 * conform/data/netinet/in.h-data: Likewise.
7405 * conform/data/tar.h-data: Likewise.
7406 * conform/data/limits.h-data: Use "==" form on "constant" and
7407 "optional-constant" lines.
7409 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7410 Use -std=c99 for XOPEN2K.
7411 (@knownproblems): Remove.
7412 (newtoken): Don't check %isknown.
7414 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7415 Do not expect macro.
7416 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7428 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7429 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7446 [XPG3] (acosh): Likewise.
7447 [XPG3] (asinh): Likewise.
7448 [XPG3] (atanh): Likewise.
7449 [XPG3] (cbrt): Likewise.
7450 [XPG3] (expm1): Likewise.
7451 [XPG3] (ilogb): Likewise.
7452 [XPG3] (log1p): Likewise.
7453 [XPG3] (logb): Likewise.
7454 [XPG3] (nextafter): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7457 [XPG3] (remainder): Likewise.
7458 [XPG3] (rint): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7466 [UNIX98 || XOPEN2K] (scalb): Expect.
7467 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7468 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7530 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7554 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7555 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7556 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7559 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7560 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7568 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7569 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7570 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7605 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7606 _XOPEN_SOURCE_EXTENDED for XPG4.
7608 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7610 * Makeconfig (localtime): Remove variable.
7611 (inst_localtime-file): Likewise.
7613 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7634 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7638 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7639 comparisons to determine direction to adjust input.
7640 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7641 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7651 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7653 * math/libm-test.inc (nexttoward_test): Add more tests.
7655 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7659 in version GLIBC_2.1, not GLIBC_2.0.
7660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7663 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7666 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7668 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7669 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7670 * math/libm-test.inc (acos_test): Add more tests.
7671 (asin_test): Likewise.
7672 * sysdeps/i386/fpu/libm-test-ulps: Update.
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7676 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7678 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7679 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7680 * math/libm-test.inc (acos_test_tonearest): New function.
7681 (acos_test_towardzero): Likewise.
7682 (acos_test_downward): Likewise.
7683 (acos_test_upward): Likewise.
7684 (asin_test_tonearest): Likewise.
7685 (asin_test_towardzero): Likewise.
7686 (asin_test_downward): Likewise.
7687 (asin_test_upward): Likewise.
7688 (main): Call the new functions.
7689 * sysdeps/i386/fpu/libm-test-ulps: Update.
7690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7694 * math/e_exp10.c: Include <float.h>.
7695 (__ieee754_exp10): Handle underflow here rather than multiplying
7696 large negative argument by M_LN10.
7697 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7699 * math/e_exp10l.c: Include <float.h>.
7700 (__ieee754_exp10l): Handle underflow here rather than multiplying
7701 large negative argument by M_LN10l.
7702 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7703 spurious overflow exception on underflow.
7705 2012-04-29 Marek Polacek <polacek@redhat.com>
7707 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7708 (__fortify_function): New macro.
7709 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7710 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7711 __extern_always_inline.
7712 * libio/bits/stdio2.h: Likewise.
7713 * libio/bits/stdio.h: Likewise.
7714 * string/string.h: Likewise.
7715 * string/bits/string3.h: Likewise.
7716 * include/stdio.h: Likewise.
7717 * stdlib/bits/stdlib.h: Likewise.
7718 * stdlib/stdlib.h: Likewise.
7719 * rt/bits/mqueue2.h: Likewise.
7720 * rt/mqueue.h: Likewise.
7721 * posix/bits/unistd.h: Likewise.
7722 * posix/unistd.h: Likewise.
7723 * io/bits/poll2.h: Likewise.
7724 * io/bits/fcntl2.h: Likewise.
7725 * io/fcntl.h: Likewise.
7726 * io/sys/poll.h: Likewise.
7727 * misc/bits/syslog.h: Likewise.
7728 * misc/bits/syslog-ldbl.h: Likewise.
7729 * misc/sys/syslog.h: Likewise.
7730 * socket/bits/socket2.h: Likewise.
7731 * socket/sys/socket.h: Likewise.
7732 * debug/tst-chk1.c: Likewise.
7733 * wcsmbs/bits/wchar2.h: Likewise.
7734 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7735 * wcsmbs/wchar.h: Likewise.
7737 2012-04-29 Andreas Jaeger <aj@suse.de>
7739 * Makerules (tests): Remove enable-check-abi protection.
7740 (check-abi-warn): Remove.
7741 (check-abi-%): Remove check-abi-warn usage.
7743 * configure.in: Remove check-abi configure option.
7744 * configure: Regenerated.
7745 * config.make.in (enable-check-abi): Remove.
7747 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7750 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7751 double functions to double *_finite functions.
7754 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7755 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7757 * stdio-common/Makefile (tests): Add tst-sprintf3.
7758 * stdio-common/tst-sprintf3.c: New file.
7760 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7761 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7763 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7765 * conform/conformtest.pl: Remove duplicate typed-constant
7768 2012-04-28 David S. Miller <davem@davemloft.net>
7770 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7771 (check-abi-%): Remove AWK script prerequisite and explicit
7773 (check-abi): Rewrite to just diff the symlist with the abilist.
7774 (config-tls, config-abi-config): Delete, no longer used.
7775 (update-abi-%): Remove AWK script and explicit abilist directory.
7776 (update-abi): Rewrite to simply compare and conditionally copy the
7777 symlist and the sysdep abilist file. Remove update-abi-config
7779 * abilist/ld.abilist: Remove.
7780 * abilist/libBrokenLocale.abilist: Remove.
7781 * abilist/libanl.abilist: Remove.
7782 * abilist/libcrypt.abilist: Remove.
7783 * abilist/libdl.abilist: Remove.
7784 * abilist/librt.abilist: Remove.
7785 * abilist/libthread_db.abilist: Remove.
7786 * abilist/libutil.abilist: Remove.
7787 * scripts/extract-abilist.awk: Remove.
7788 * scripts/merge-abilist.awk: Remove.
7789 * sysdeps/generic/libcidn.abilist: New file.
7790 * sysdeps/generic/libnss_compat.abilist: New file.
7791 * sysdeps/generic/libnss_db.abilist: New file.
7792 * sysdeps/generic/libnss_dns.abilist: New file.
7793 * sysdeps/generic/libnss_files.abilist: New file.
7794 * sysdeps/generic/libnss_hesiod.abilist: New file.
7795 * sysdeps/generic/libnss_nis.abilist: New file.
7796 * sysdeps/generic/libnss_nisplus.abilist: New file.
7797 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7798 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7799 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7802 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7803 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7804 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7805 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7807 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7808 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7809 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7811 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7812 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7814 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7817 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7818 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7820 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7821 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7823 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7824 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7825 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7827 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7930 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7931 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7932 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7935 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7936 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7937 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7938 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7939 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7940 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7941 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7942 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7943 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7995 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7997 * conform/conformtest.pl: Fix typo in handling typed-constant from
8000 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8002 * README: Cut down references to pre-2.6 Linux kernels and
8003 Linuxthreads. Update lists of configurations in libc and ports
8004 and sort alphabetically. Say "or newer" with Linux kernel version
8007 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8009 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8012 * math/libm-test.inc (logb_test_downward): New test to expose
8013 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8016 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8019 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8021 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8022 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8024 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8026 * sysdeps/unix/i386/brk.S: Remove file.
8027 * sysdeps/unix/i386/dl-brk.S: Likewise.
8028 * sysdeps/unix/i386/pipe.S: Likewise.
8029 * sysdeps/unix/i386/sigreturn.S: Likewise.
8030 * sysdeps/unix/i386/syscall.S: Likewise.
8031 * sysdeps/unix/i386/vfork.S: Likewise.
8032 * sysdeps/unix/i386/wait.S: Likewise.
8034 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8035 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8037 * configure.in (arm*-none*): Do not allow without
8038 --enable-hacker-mode.
8039 (netbsd*): Remove case setting base_os.
8040 (386bsd*): Likewise.
8041 (freebsd*): Likewise.
8045 (ultrix*): Likewise.
8046 (newsos*): Likewise.
8056 (solaris[2-9]*): Likewise.
8058 * configure: Regenerated.
8060 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8064 overflow or cancellation in calculating denominator.
8065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8067 down expression to avoid unexpected rounding in newer GCCs.
8068 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8070 2012-04-26 David S. Miller <davem@davemloft.net>
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8073 long-double compat symbols.
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8088 2012-04-25 David S. Miller <davem@davemloft.net>
8090 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8091 HWCAP_* values only after the memory barriers have been defined.
8092 (atomic_full_barrier): Define.
8093 (atomic_read_barrier): Define.
8094 (atomic_write_barrier): Define.
8096 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8098 * shlib-versions: Add libgcc_s version information.
8099 * sysdeps/generic/libgcc_s.h: Remove.
8100 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8102 * sysdeps/gnu/unwind-resume.c: Likewise.
8103 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8105 2012-04-25 David S. Miller <davem@davemloft.net>
8107 * sysdeps/unix/sparc/brk.S: Delete.
8108 * sysdeps/unix/sparc/dl-brk.S: Delete.
8109 * sysdeps/unix/sparc/pipe.S: Delete.
8110 * sysdeps/unix/sparc/sysdep.S: Delete.
8111 * sysdeps/unix/sparc/sysdep.h: Delete.
8112 * sysdeps/unix/sparc/vfork.S: Delete.
8113 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8114 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8116 ret_ERRVAL, r0, r1, MOVE): Define.
8117 (JUMPTARGET): Remove.
8118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8119 sysdeps/unix/sparc/sysdep.h
8120 (ENTRY, END): Remove.
8121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8123 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8125 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8126 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8129 * timezone/README: Update upstream location and email address for
8131 * timezone/zdump.c: Update from tzcode 2012b.
8132 * timezone/zic.c: Likewise.
8134 * configure.in (libc_cv_as_needed): Remove test.
8135 * configure: Regenerated.
8136 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8137 conditional definition.
8138 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8139 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8140 * config.make.in (have-as-needed): Remove variable.
8142 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8143 Paul Pluzhnikov <ppluzhnikov@google.com>
8145 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8148 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8150 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8151 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8152 * sysdeps/sh/strlen.S: Likewise.
8154 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8156 * sysdeps/unix/fork.S: Remove file.
8157 * sysdeps/unix/i386/fork.S: Likewise.
8158 * sysdeps/unix/sparc/fork.S: Likewise.
8160 * sysdeps/unix/system.c: Remove file.
8161 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8163 * sysdeps/unix/getegid.S: Remove file.
8164 * sysdeps/unix/geteuid.S: Likewise.
8166 2012-04-24 Roland McGrath <roland@hack.frob.com>
8168 * scripts/check-localplt.awk: New file.
8169 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8171 * scripts/data/localplt-generic.data: Add a comment.
8173 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8174 NODE when __dir_mkfile failed.
8175 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8176 Reported by Ludovic Courtès <ludo@gnu.org>.
8178 2012-04-24 Andreas Jaeger <aj@suse.de>
8180 * Makerules (common-clean): Also remove gen-as-const-headers
8183 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8185 * Makerules (native-compile): Do not change working directory for
8186 build. Use $(OUTPUT_OPTION) in command.
8187 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8189 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8192 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8193 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8194 * math/libm-test.inc (floor_test): Add more tests.
8195 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8197 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8199 * sysdeps/unix/getdents.c: Remove file.
8200 * sysdeps/unix/sysv/getdents.c: Likewise.
8201 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8203 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8204 sysdeps/unix/mman/syscalls.list.
8206 (mprotect): Likewise.
8209 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8210 * sysdeps/unix/mman/syscalls.list: Remove.
8211 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8213 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8214 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8215 * configure: Regenerated.
8216 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8218 * config.make.in (libgcc_s_suffix): Remove variable.
8220 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8222 * sysdeps/unix/sysv/gethostname.c: Move to ...
8223 * sysdeps/posix/gethostname.c: ... here.
8225 * sysdeps/unix/execve.S: Remove file.
8227 * sysdeps/unix/_exit.S: Remove file.
8229 2012-04-23 Andreas Jaeger <aj@suse.de>
8232 * manual/Makefile: Remove make dist support, there's no
8233 need for a stand-alone documentation tar ball.
8234 (TEXI2DVI): Define always, it's not in Makeconfig.
8238 (glibc-doc-$(edition).tar): Removed
8242 (ETAGS): Remove, it's in Makeconfig.
8243 (move-if-change): Remove, it's in Makeconfig.
8245 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8248 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8249 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8250 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8251 (strtod_l, strtof_l, strtold_l): Remove __wur.
8252 It is not necessarily an error to ignore strtol's return value.
8253 One can reliably look at the stored endptr to decide whether
8254 the number had valid syntax.
8256 2012-04-21 Andreas Jaeger <aj@suse.de>
8259 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8261 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8263 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8264 * sysdeps/unix/sysv/Versions: Remove file.
8266 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8271 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8275 version from __vm86.
8277 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8279 * sysdeps/unix/common/lxstat.c: Remove file.
8280 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8282 * sysdeps/unix/sysv/Makefile: Remove file.
8284 * sysdeps/unix/sysv/direct.h: Remove file.
8286 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8287 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8288 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8289 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8290 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8291 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8292 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8294 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8296 * sysdeps/unix/xmknod.c: Remove file.
8297 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8299 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8301 * sysdeps/unix/sysv/i386/time.S: Remove file.
8303 * sysdeps/unix/fxstat.c: Remove file.
8304 * sysdeps/unix/xstat.c: Likewise.
8305 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8307 * sysdeps/unix/sysv/sigaction.c: Remove file.
8309 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8310 (sysdep_headers): Remove variable.
8311 [termio.h not in sysdep_headers] (generated): Likewise.
8312 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8313 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8314 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8315 * sysdeps/unix/sysv/tcflow.c: Likewise.
8316 * sysdeps/unix/sysv/tcflush.c: Likewise.
8317 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8318 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8319 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8320 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8321 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8323 * sysdeps/unix/siglist.c: Remove file.
8325 * sysdeps/unix/getppid.S: Remove file.
8327 * sysdeps/unix/mkdir.c: Remove file.
8328 * sysdeps/unix/rmdir.c: Likewise.
8330 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8332 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8334 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8335 errlist-compat value.
8337 2012-04-18 David S. Miller <davem@davemloft.net>
8339 * sysdeps/generic/memcopy.h (reg_char): Delete.
8340 * debug/strcat_chk.c: Use char, not reg_char.
8341 * debug/strcpy_chk.c: Likewise.
8342 * debug/strncat_chk.c: Likewise.
8343 * debug/strncpy_chk.c: Likewise.
8344 * string/memchr.c: Likewise.
8345 * string/memrchr.c: Likewise.
8346 * string/rawmemchr.c: Likewise.
8347 * string/strcat.c: Likewise.
8348 * string/strchr.c: Likewise.
8349 * string/strchrnul.c: Likewise.
8350 * string/strcmp.c: Likewise.
8351 * string/strcpy.c: Likewise.
8352 * string/strncat.c: Likewise.
8353 * string/strncmp.c: Likewise.
8354 * string/strncpy.c: Likewise.
8356 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8358 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8359 __builtin_memcopy is called when src and dest ranges are known to not
8362 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8365 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8366 fwd_align_merge macro call.
8367 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8368 bwd_align_merge macro call.
8369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8371 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8373 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8374 bwd_align_merge macros.
8375 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8376 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8377 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8379 2012-04-18 David S. Miller <davem@davemloft.net>
8381 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8383 2012-04-18 Andreas Jaeger <aj@suse.de>
8386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8387 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8388 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8390 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8391 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8392 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8394 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8395 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8396 Adjust for changed ldbl-128 files.
8398 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8399 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8400 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8402 2012-04-17 David S. Miller <davem@davemloft.net>
8404 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8406 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8408 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8409 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8410 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8411 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8412 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8413 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8415 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8419 * math/libm-test.inc: Add ilogb errno and exception tests.
8420 * math/w_ilogb.c: New file: ilogb wrapper.
8421 * math/w_ilogbf.c: New file: ilogbf wrapper.
8422 * math/w_ilogbl.c: New file: ilogbl wrapper.
8423 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8424 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8425 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8426 exception being thrown with 0.0 as argument.
8427 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8428 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8429 exception being thrown with 0.0 as argument.
8430 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8431 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8432 exception being thrown with 0.0 as argument.
8433 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8434 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8435 exception being thrown with 0.0 as argument.
8436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8437 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8439 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8441 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8442 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8443 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8444 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8446 2012-04-17 Petr Baudis <pasky@ucw.cz>
8448 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8451 2012-04-16 Marek Polacek <polacek@redhat.com>
8453 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8455 2012-04-16 Marek Polacek <polacek@redhat.com>
8457 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8458 operands of fdivp instruction.
8460 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8462 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8463 * elf/tst-auditmod3b.c: Likewise.
8464 * elf/tst-auditmod4b.c: Likewise.
8465 * elf/tst-auditmod5b.c: Likewise.
8466 * elf/tst-auditmod6b.c: Likewise.
8467 * elf/tst-auditmod6c.c: Likewise.
8468 * elf/tst-auditmod7b.c: Likewise.
8469 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8470 * sysdeps/x86_64/preconfigure.in: Likewise.
8471 * sysdeps/x86_64/preconfigure: Regenerated.
8473 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8475 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8478 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8481 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8483 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8486 * locale/iso-639.def: Fix gl language name. Spotted by
8489 2012-04-12 Roland McGrath <roland@hack.frob.com>
8492 * libio/libio.h (__io_write_fn): Update comment.
8494 2012-04-12 Petr Baudis <pasky@ucw.cz>
8497 * stdio.texi (Hook Functions): The user provided writer function
8498 is not allowed to return -1.
8500 2012-04-11 David S. Miller <davem@davemloft.net>
8502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8504 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8506 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8507 Add a leading slash to rtkaio.
8509 2012-04-11 Jim Meyering <meyering@redhat.com>
8512 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8513 It is not necessarily an error to ignore fwrite's return
8514 value. One can reliably use ferror to test for errors after
8517 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8519 * bits/types.h (__snseconds_t): New type.
8520 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8522 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8524 (__SNSECONDS_T_TYPE): Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8526 (__SNSECONDS_T_TYPE): Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8528 (__SNSECONDS_T_TYPE): Likewise.
8530 2012-04-10 Andreas Jaeger <aj@suse.de>
8533 * manual/time.texi (Processor Time): Return type of times is
8534 elapsed real time since an arbitrary point in the past.
8535 (CPU Time): Move CLK_TCK from here...
8536 (Processor Time): ...to here. Correct description.
8537 * manual/conf.texi (Constants for Sysconf): Correct description of
8540 2012-04-10 David S. Miller <davem@davemloft.net>
8543 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8544 where the is a gap between DT_REL(A) and DT_JMPREL.
8546 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8548 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8549 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8550 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8552 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8554 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8555 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8556 (dl_main): Handle --inhibit-cache.
8557 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8559 * elf/dl-load.c (_dl_map_object): Use it.
8560 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8562 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8565 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8566 (__ieee754_powl): Saturate large exponents rather than testing for
8567 overflow of y*log2(x).
8568 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8569 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8573 * math/s_ctan.c: Include <float.h>.
8574 (__ctan): Avoid internal overflow or cancellation in calculating
8576 * math/s_ctanf.c: Likewise.
8577 * math/s_ctanl.c: Likewise.
8578 * math/s_ctanh.c: Likewise.
8579 * math/s_ctanhf.c: Likewise.
8580 * math/s_ctanhl.c: Likewise.
8581 * math/libm-test.inc (ctan_test): Add more tests.
8582 (ctanh_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8586 2012-04-09 Andreas Jaeger <aj@suse.de>
8589 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8590 is an optional BSD extension.
8593 * manual/stdio.texi (Opening Streams): Document additional fopen
8596 2012-04-09 Roland McGrath <roland@hack.frob.com>
8598 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8599 %eax without telling the compiler.
8601 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8604 * manual/install.texi: Use sourceware.org.
8606 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8609 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8610 (__ieee754_pow): Generate overflow and underflow using huge*huge
8611 and tiny*tiny rather than just returning constant infinity or zero
8612 for large exponents.
8613 * math/libm-test.inc (pow_test): Require overflow exceptions for
8614 applicable cases of large exponents.
8617 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8618 (__ieee754_pow): Use iterative multiplication algorithm only for
8619 integer exponents with absolute value below 1024. Check for odd
8620 integer exponents when using algorithm for real exponents.
8621 * math/libm-test.inc (pow_test): Add more tests.
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8624 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8627 * math/libm-test.inc (exp_test): Do not allow overflow exception
8630 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8633 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8634 instead of __kernel_standard_f.
8636 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8638 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8639 * sysdeps/x86_64/memset_chk.S: Likewise.
8641 2012-04-08 Andreas Jaeger <aj@suse.de>
8644 * manual/startup.texi (Environment Access): Describe return value
8645 for putenv and setenv.
8648 * manual/filesys.texi (Directory Entries): Add description for
8652 * manual/filesys.texi (Directory Entries): Clarify that it's file
8653 system not operating system in the description of DT_UNKNOWN.
8656 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8658 2012-04-08 Stephen Compall <s11@member.fsf.org>
8661 * manual/llio.texi (Opening and Closing Files): Add cross
8662 reference to explain mode argument.
8664 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8666 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8667 * sysdeps/x86_64/memset_chk.S: Likewise.
8669 2012-04-07 David S. Miller <davem@davemloft.net>
8671 * elf/elf.h (R_SPARC_WDISP10): Define.
8672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8675 R_SPARC_SIZE64 and R_SPARC_H34.
8677 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8680 conditions and remove no longer applicable assertion.
8682 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8684 * bits/byteswap.h: Include <features.h>.
8685 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8686 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8688 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8690 * bits/byteswap.h (__bswap_16): Removed.
8691 Include <bits/byteswap-16.h> to get __bswap_16.
8692 * sysdeps/i386/bits/byteswap.h: Likewise.
8693 * sysdeps/s390/bits/byteswap.h: Likewise.
8694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8695 * bits/byteswap-16.h: New file.
8696 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8697 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8698 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8699 * string/Makefile (headers): Add bits/byteswap-16.h.
8701 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8704 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8706 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8707 * nss/tst-nss-static.c: New.
8709 2012-04-06 Robert Millan <rmh@gnu.org>
8712 * manual/llio.texi (File Position Primitive): lseek
8713 refers to WHENCE when it really means OFFSET.
8715 2012-04-06 Andreas Jaeger <aj@suse.de>
8717 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8718 strncmp declarations.
8720 * abilist/libc.abilist: Add __poll and __ppoll.
8722 2012-04-05 David S. Miller <davem@davemloft.net>
8724 * scripts/check-local-headers.sh: Accept a host triplet in the
8725 path matched by the exclude regexp.
8727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8729 * sysdeps/powerpc/powerpc32/dl-machine.h
8730 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8731 * sysdeps/s390/s390-32/dl-machine.h
8732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8733 * sysdeps/sparc/sparc32/dl-machine.h
8734 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8735 * sysdeps/sparc/sparc64/dl-machine.h
8736 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8738 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8740 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8741 undefined symbol errors.
8743 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8746 2012-04-05 Michael Matz <matz@suse.de>
8749 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8751 2012-04-05 Andreas Jaeger <aj@suse.de>
8754 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8759 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8760 which ROUND is no valid rounding mode.
8762 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8766 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8770 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8771 an exception using FPU order intentionally.
8773 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8775 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8776 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8777 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8778 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8780 2012-04-05 Simon Josefsson <simon@josefsson.org>
8783 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8784 EINVAL when BUFLEN is too smal.
8786 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8789 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8790 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8792 2012-04-03 Andreas Jaeger <aj@suse.de>
8795 * manual/setjmp.texi (System V contexts): Fix sentence.
8798 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8799 New macro for this case.
8800 [!__GNUC__] (__bswap_64): New inline function for this case.
8801 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8802 * bits/byteswap.h: Likewise.
8803 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8804 ull, guard with __GLIBC_HAVE_LONG_LONG.
8806 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8807 __GLIBC_HAVE_LONG_LONG.
8809 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8810 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8812 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8815 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8816 inptr and inend, rather than using last_ch.
8818 2012-04-02 David S. Miller <davem@davemloft.net>
8820 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8821 * stdio-common/printf-parse.h (read_int): Change return type to
8822 'int', return -1 on INT_MAX overflow.
8823 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8824 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8825 overflows INT_MAX. Check for overflow of in-format-string precision
8826 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8827 SIZE_MAX not INT_MAX for integer overflow test.
8828 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8829 skip the construct in the format string but do not record anything.
8830 * stdio-common/bug22.c: Adjust to test both width/prevision
8831 INT_MAX overflow as well as total length INT_MAX overflow. Check
8832 explicitly for proper errno values.
8834 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8836 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8838 * string/test-strcmp.c [! WIDE]: Likewise.
8839 * time/tst-mktime2.c: Likewise for INT_MAX.
8840 * string/test-string.h: #include <sys/param.h> for MIN.
8842 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8843 * sysdeps/i386/init-first.c (init): Likewise.
8844 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8845 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8846 * sysdeps/sh/init-first.c (init): Likewise.
8848 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8850 * po/ru.po: Update from translation team.
8851 * po/vi.po: Likewise.
8853 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8855 * resolv/nss_dns/dns-host.c: Merge copyright years.
8857 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8860 Optimize memcpy with prefetch if
8861 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8862 src, dst pointers have unequal 16 byte alignments.
8864 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8867 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8868 from a CNAME entry and return the minimum ttl for the query.
8869 (gaih_getanswer_slice): Likewise.
8871 2012-03-30 Jeff Law <law@redhat.com>
8873 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8875 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8876 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8878 * resolv/nss_dns/dns-host.c: Update copyright year.
8880 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8882 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8883 requests to save a system call. Fix check that all bytes are sent.
8885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8886 comments for sendmmsg.
8888 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8891 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8892 with only 1 character between 0x0041 and 0x01b0.
8893 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8894 * wcsmbs/tst-mbsnrtowcs.c: New file.
8896 2012-03-29 David S. Miller <davem@davemloft.net>
8898 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8899 small copies by hand.
8901 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8904 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8905 _nss_compat_initgroups_dyn): Fall back to malloc/free
8906 for large group memberships.
8908 2012-03-28 David S. Miller <davem@davemloft.net>
8910 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8911 that branches into memcpy.
8912 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8915 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8918 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8920 * sysdeps/sparc/mempcpy.S: New file.
8922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8923 the IFUNC routine in the libc case.
8924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8926 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8927 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8928 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8929 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8930 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8931 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8932 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8933 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8935 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8936 loop to 256 bytes instead of 64 bytes and fix test signedness.
8938 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8939 * sysdeps/sparc/sparc32/Makefile: rather than here...
8940 * sysdeps/sparc/sparc64/Makefile: and here.
8942 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8944 * malloc/mallocbug.c: Avoid warnings about unused variables.
8946 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8949 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8950 in the right place. Discard and retry query if response is
8951 larger than input buffer size.
8953 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8958 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8959 x for large integer exponent.
8960 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8961 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8962 sign of result as needed afterwards.
8963 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8964 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8965 result for underflowing pow the same as for overflow.
8966 (__kernel_standard_l): Handle powl overflow and underflow here
8967 rather than calling __kernel_standard.
8968 * math/libm-test.inc (pow_test): Add more tests.
8983 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8984 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8985 (__kernel_standard_l): New function.
8986 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8988 * math/w_acosl.c (__acosl): Likewise.
8989 * math/w_asinl.c (__asinl): Likewise.
8990 * math/w_atan2l.c (__atan2l): Likewise.
8991 * math/w_atanhl.c (__atanhl): Likewise.
8992 * math/w_coshl.c (__coshl): Likewise.
8993 * math/w_exp10l.c (__exp10l): Likewise.
8994 * math/w_exp2l.c (__exp2l): Likewise.
8995 * math/w_fmodl.c (__fmodl): Likewise.
8996 * math/w_hypotl.c (__hypotl): Likewise.
8997 * math/w_j0l.c (__j0l, __y0l): Likewise.
8998 * math/w_j1l.c (__j1l, __y1l): Likewise.
8999 * math/w_jnl.c (__jnl, __ynl): Likewise.
9000 * math/w_lgammal.c (__lgammal): Likewise.
9001 * math/w_log10l.c (__log10l): Likewise.
9002 * math/w_log2l.c (__log2l): Likewise.
9003 * math/w_logl.c (__logl): Likewise.
9004 * math/w_powl.c (__powl): Likewise.
9005 * math/w_remainderl.c (__remainderl): Likewise.
9006 * math/w_scalbl.c (sysv_scalbl): Likewise.
9007 * math/w_sinhl.c (__sinhl): Likewise.
9008 * math/w_sqrtl.c (__sqrtl): Likewise.
9009 * math/w_tgammal.c (__tgammal): Likewise.
9010 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9011 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9012 * math/libm-test.inc (acos_test): Add more tests.
9013 (acosh_test): Likewise.
9014 (asin_test): Likewise.
9015 (atanh_test): Likewise.
9016 (exp_test): Likewise.
9017 (exp10_test): Likewise.
9018 (exp2_test): Likewise.
9019 (expm1_test): Likewise.
9020 (lgamma_test): Likewise.
9021 (log_test): Likewise.
9022 (log10_test): Likewise.
9023 (log1p_test): Likewise.
9024 (log2_test): Likewise.
9025 (pow_test): Do not allow some spurious overflow exceptions.
9026 (sqrt_test): Add more tests.
9027 (tgamma_test): Likewise.
9028 (y0_test): Likewise.
9029 (y1_test): Likewise.
9030 (yn_test): Likewise.
9032 2012-03-27 Anton Blanchard <anton@samba.org>
9034 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9036 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9037 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9040 2012-03-27 David S. Miller <davem@davemloft.net>
9042 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9044 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9047 2012-03-27 Andreas Jaeger <aj@suse.de>
9049 * sysdeps/x86_64/elf/configure.in: Moved to ...
9050 * sysdeps/x86_64/configure.in: ... here.
9051 * sysdeps/x86_64/elf/start.S: Moved to ...
9052 * sysdeps/x86_64/start.S: ... here.
9053 * sysdeps/x86_64/elf/configure: Delete.
9055 * sysdeps/x86_64/configure.in: Merge contents from
9056 sysdeps/i386/configure.in (without i686 check).
9058 * sysdeps/i386/elf/Versions: Merge into ...
9059 * sysdeps/i386/Versions: ... this.
9060 * sysdeps/i386/elf/Versions: Delete file.
9061 * sysdeps/i386/elf/start.S: Moved to ...
9062 * sysdeps/i386/start.S: ...here.
9063 * sysdeps/i386/elf/configure.in: Merge into...
9064 * sysdeps/i386/configure.in: ...here.
9065 * sysdeps/i386/elf/configure.in: Delete file.
9066 * sysdeps/i386/elf/configure: Delete file.
9068 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9069 * debug/backtracesyms.c: ... here.
9070 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9071 * debug/backtracesymsfd.c: ... here.
9072 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9073 * sysdeps/generic/ifunc-sel.h: ... here.
9075 * sysdeps/unix/i386/start.c: Delete file.
9076 * sysdeps/unix/sparc/start.c: Delete file.
9077 * sysdeps/unix/start.c: Delete file.
9079 * sysdeps/sh/elf/configure.in: Moved to ...
9080 * sysdeps/sh/configure.in: ... here.
9081 * sysdeps/sh/elf/start.S: Moved to ...
9082 * sysdeps/sh/start.S: ... here.
9083 * sysdeps/sh/elf/configure: Delete file.
9085 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9086 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9087 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9088 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9089 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9090 * sysdeps/powerpc/powerpc64/start.S: here.
9091 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9092 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9093 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9094 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9095 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9097 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9098 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9099 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9100 * sysdeps/powerpc/powerpc32/start.S: ... here.
9101 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9102 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9103 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9105 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9106 * sysdeps/powerpc/ifunc-sel.h: ... here.
9107 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9108 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9110 * sysdeps/sparc/elf/configure.in: Moved to ...
9111 * sysdeps/sparc/configure.in: ... here.
9112 * sysdeps/sparc/elf/configure: Delete file.
9113 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9114 * sysdeps/sparc/sparc32/start.S: ... here.
9115 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9116 * sysdeps/sparc/sparc64/start.S: ... here.
9117 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9118 * sysdeps/sparc/sparc32/Makefile: ... this.
9119 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9120 * sysdeps/sparc/sparc64/Makefile: ... this.
9122 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9123 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9124 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9125 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9126 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9127 * sysdeps/s390/s390-32/setjmp.S: ... here.
9128 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9129 * sysdeps/s390/s390-32/configure.in: ... here.
9130 * sysdeps/s390/s390-32/elf/configure: Delete file.
9131 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9132 * sysdeps/s390/s390-32/start.S: ... here.
9134 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9135 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9136 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9137 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9138 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9139 * sysdeps/s390/s390-64/setjmp.S: ... here.
9140 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9141 * sysdeps/s390/s390-64/configure.in: ... here
9142 * sysdeps/s390/s390-64/elf/configure: Delete file.
9143 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9144 * sysdeps/s390/s390-64/start.S: ... here.
9145 * sysdeps/s390/s390-64/elf/configure: Delete.
9147 * configure.in: Remove support for elf directories in sysdeps.
9149 * configure: Regenerated.
9150 * sysdeps/i386/configure: Regenerated.
9151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9153 * sysdeps/s390/s390-32/configure: Regenerated.
9154 * sysdeps/s390/s390-64/configure: Regenerated.
9155 * sysdeps/sh/configure: Regenerated.
9156 * sysdeps/sparc/configure: Regenerated.
9157 * sysdeps/x86_64/configure: Regenerated.
9159 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9164 denormal result into account.
9166 2012-03-25 Roland McGrath <roland@hack.frob.com>
9168 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9169 Reported by Allan McRae <allan@archlinux.org>.
9171 2012-03-23 Jeff Law <law@redhat.com>
9173 * nss/getnssent.c (__nss_getent): Fix typo.
9175 2012-03-23 David S. Miller <davem@davemloft.net>
9177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9179 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9181 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9182 to pad to uint64_t for each field.
9183 (dl_tls_index): Replace unsigned long with uint64_t.
9185 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9186 Paul Pluzhnikov <ppluzhnikov@google.com>
9189 * grp/Makefile (otherlibs): Don't set it.
9190 * inet/Makefile (otherlibs): Likewise.
9191 * login/Makefile (otherlibs): Likewise.
9192 * nscd/Makefile (otherlibs): Likewise.
9193 * posix/Makefile (otherlibs): Likewise.
9194 * pwd/Makefile (otherlibs): Likewise.
9195 * rt/Makefile (otherlibs): Likewise.
9196 * sunrpc/Makefile (otherlibs): Likewise.
9197 * nss/Makefile (otherlibs): Likewise.
9198 Add libnss_files to routines and static-only-routines.
9199 ($(objpfx)getent): Remove rule.
9200 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9201 static-only-routines.
9203 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9206 * math/s_cexp.c: Include <float.h>.
9207 (__cexp): Handle exp result overflowing not necessarily
9208 overflowing both real and imaginary parts of result.
9209 * math/s_cexpf.c: Likewise.
9210 * math/s_cexpl.c: Likewise.
9211 * math/libm-test.inc (cexp_test): Add more tests.
9212 * sysdeps/i386/fpu/libm-test-ulps: Update.
9213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9215 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9217 * include/link.h (ELFW): New macro.
9218 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9219 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9223 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9226 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9228 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9230 (struct La_x32_retval): Likewise.
9232 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9234 * sysdeps/x86_64/preconfigure.in: New file.
9235 * sysdeps/x86_64/preconfigure: New generated file.
9237 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9240 * math/e_exp2l.c: Include <float.h>.
9241 (__ieee754_exp2l): Handle overflow and underflow cases
9242 separately. Only pass fractional part of argument to
9244 * math/libm-test.inc (exp2_test): Add more tests.
9246 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9247 negating x to take absolute value.
9248 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9253 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9254 computing low part if x was negated.
9255 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9257 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9259 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9261 (pltexit): Cast int_retval to ptrdiff_t.
9262 * elf/tst-auditmod3b.c: Likewise.
9263 * elf/tst-auditmod4b.c: Likewise.
9264 * elf/tst-auditmod5b.c: Likewise.
9265 * elf/tst-auditmod6b.c: Likewise.
9266 * elf/tst-auditmod6c.c: Likewise.
9267 * elf/tst-auditmod7b.c: Likewise.
9269 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9270 and x32_gnu_pltexit.
9272 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9274 (La_x32_regs): New macro.
9275 (La_x32_retval): Likewise.
9276 (la_x32_gnu_pltenter): New function prototype.
9277 (la_x32_gnu_pltexit): Likewise.
9279 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9286 * configure.in (libc_cv_cc_nofma): Check for option to disable
9287 generation of FMA instructions.
9288 * configure: Regenerate.
9289 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9290 * sysdeps/ieee754/dbl-64/Makefile: New file.
9291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9292 Remove brandred-fma4.
9293 (CFLAGS-brandred-fma4.c): Remove.
9294 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9295 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9297 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9300 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9302 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9303 LLONG_MAX != LONG_MAX.
9304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9305 (_fitoa_word): Likewise.
9306 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9307 LLONG_MAX != LONG_MAX.
9308 * stdio-common/_itowa.h: Include <_itoa.h>.
9309 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9310 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9311 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9312 only if not defined.
9313 (_ITOA_WORD_TYPE): Likewise.
9314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9315 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9317 2012-03-21 David S. Miller <davem@davemloft.net>
9319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9321 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9323 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9324 of x86_64 when setting libc_cv_slibdir, libdir and
9326 * sysdeps/unix/sysv/linux/configure: Regenerated.
9328 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9330 * manual/lang.texi (Old Varargs): Remove section.
9331 (How Variadic): Update menu.
9332 (va_start): Do not mention varargs.h.
9334 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9335 Joseph Myers <joseph@codesourcery.com>
9337 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9339 * configure: Regenerated.
9341 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9343 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9344 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9347 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9350 * Makefile (files-for-dist): Remove NOTES.
9351 (NOTES): Remove rule.
9352 * README: Don't refer to NOTES.
9353 * manual/creature.texi: Don't include macros.texi.
9354 * manual/intro.texi (creature.texi): Remove comment referring to
9357 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9358 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9359 * configure: Regenerated.
9360 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9362 (libc_cv_as_i686): Likewise.
9363 (libc_cv_cc_avx): Likewise.
9364 (libc_cv_cc_sse2avx): Likewise.
9365 (libc_cv_cc_fma4): Likewise.
9366 (libc_cv_cc_novzeroupper): Likewise.
9367 * sysdeps/i386/configure: Regenerated.
9370 * sysdeps/i386/fpu/s_cexp.S: Remove.
9371 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9372 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9373 * math/libm-test.inc (cexp_test): Add more tests.
9374 * sysdeps/i386/fpu/libm-test-ulps: Update.
9375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9377 2012-03-21 Allan McRae <allan@archlinux.org>
9379 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9381 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9384 * math/w_exp2.c: Do not include <float.h>.
9385 (o_threshold, u_threshold): Remove.
9386 (__exp2): Calculate result before checking finiteness and calling
9388 * math/w_exp2f.c: Likewise.
9389 * math/w_exp2l.c: Likewise.
9390 * math/libm-test.inc (exp2_test): Require overflow exception for
9394 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9395 range of signed 64-bit integers before using fistpll. Remove
9396 checks for whether integers fit in mantissa bits.
9397 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9398 the range of signed 32-bit integers before using fistpl. Remove
9399 checks for whether integers fit in mantissa bits.
9400 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9401 (__ieee754_powl): Test for y outside the range of signed 64-bit
9402 integers before using fistpll. Reduce 64-bit values to 63-bit
9404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9405 divide-by-zero is raised for zero to large negative powers.
9406 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9407 (__ieee754_powl): Test for y outside the range of signed 64-bit
9408 integers before using fistpll. Reduce 64-bit values to 63-bit
9410 * math/libm-test.inc (pow_test): Add more tests.
9412 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9414 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9415 <stdio-common/_itoa.h>.
9416 * debug/segfault.c: Likewise.
9417 * elf/dl-cache.c: Likewise.
9418 * elf/dl-minimal.c: Likewise.
9419 * elf/dl-misc.c: Likewise.
9420 * elf/dl-sysdep.c: Likewise.
9421 * elf/dl-version.c: Likewise.
9422 * elf/rtld.c: Likewise.
9423 * hurd/hurdsock.c: Likewise.
9424 * hurd/lookup-retry.c: Likewise.
9425 * malloc/malloc.c: Likewise.
9426 * malloc/mtrace.c: Likewise.
9427 * nscd/nscd_getgr_r.c: Likewise.
9428 * nscd/nscd_getpw_r.c: Likewise.
9429 * nscd/nscd_getserv_r.c: Likewise.
9430 * posix/getopt_init.c: Likewise.
9431 * posix/wordexp.c: Likewise.
9432 * stdio-common/_itoa.c: Likewise.
9433 * stdio-common/printf_fphex.c: Likewise.
9434 * stdio-common/vfprintf.c: Likewise.
9435 * string/_strerror.c: Likewise.
9436 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9437 * sysdeps/i386/i686/hp-timing.h: Likewise.
9438 * sysdeps/mach/_strerror.c: Likewise.
9439 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9440 * sysdeps/mach/hurd/sethostid.c: Likewise.
9441 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9442 * sysdeps/mach/xpg-strerror.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9444 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9445 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9446 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9447 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9448 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9449 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9450 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9451 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9452 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9453 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9454 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9456 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9457 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9458 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9459 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9461 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9462 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9463 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9465 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9467 * stdio-common/_itoa.h: Moved to ...
9468 * sysdeps/generic/_itoa.h: Here.
9470 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9472 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9473 instead of "_itoa.h" and "_itowa.h".
9474 * stdio-common/vfprintf.: Likewise.
9476 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9480 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9481 (__signbit): Likwise.
9485 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9487 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9490 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9492 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9493 OVERFLOW_EXCEPTION_OK.
9494 * math/libm-test.inc ("Philosophy"): Update comment about
9496 (OVERFLOW_EXCEPTION): Define.
9497 (OVERFLOW_EXCEPTION_OK): Likewise.
9498 (INVALID_EXCEPTION_OK): Renumber.
9499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9500 (IGNORE_ZERO_INF_SIGN): Likewise.
9501 (test_exceptions): Handle FE_OVERFLOW.
9502 (exp10_test): Expect overflow exceptions.
9503 (exp2_test): Likewise.
9504 (expm1_test): Likewise.
9505 (nextafter_test): Likewise.
9506 (pow_test): Likewise.
9507 (scalbn_test): Likewise.
9508 (scalbln_test): Likewise.
9510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9512 * sysdeps/x86_64/bits/atomic.h
9513 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9515 (atomic_exchange_acq): Likewise.
9516 (__arch_exchange_and_add_body): Likewise.
9517 (__arch_add_body): Likewise.
9518 (atomic_add_negative): Likewise.
9519 (atomic_add_zero): Likewise.
9521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9523 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9524 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9528 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9529 Check __x86_64__ instead of __WORDSIZE.
9531 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9533 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9535 2012-03-19 David S. Miller <davem@davemloft.net>
9537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9539 * sysdeps/sparc/fpu/fenv_private.h: New file.
9540 * sysdeps/sparc/fpu/math_private.h: Use it.
9541 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9543 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9544 (libc_feholdexcept_setroundl): Remove.
9545 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9547 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9548 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9550 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9552 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9553 int64_t instead of long int.
9554 (INSERT_WORDS64): Likwise.
9556 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9558 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9559 _Unwind_GetCFA return to _Unwind_Ptr first.
9561 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9564 * math/s_clog.c: Include <float.h>.
9565 (__clog): Scale large or subnormal inputs.
9566 * math/s_clogf.c: Likewise.
9567 * math/s_clogl.c: Likewise.
9568 * math/s_clog10.c: Include <float.h>.
9569 (M_LOG10_2): Define.
9570 (__clog10): Scale large or subnormal inputs.
9571 * math/s_clog10f.c: Likewise.
9572 * math/s_clog10l.c: Likewise.
9573 * math/libm-test.inc (clog_test): Add more tests.
9574 (clog10_test): Likewise.
9575 * sysdeps/i386/fpu/libm-test-ulps: Update.
9576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9581 * math/libm-test.inc (atan2_test): Add another test.
9583 * Makerules (common-objdir-compile): Remove.
9584 * sysdeps/unix/Makefile (config-generated): Do not add
9585 $(unix-generated) to variable.
9586 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9587 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9589 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9591 [generic bits/local_lim.h] (before-compile): Do not append to
9593 [generic bits/local_lim.h] (common-generated): Likewise.
9594 [generic sys/param.h] (before-compile): Do not append to variable.
9595 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9596 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9597 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9598 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9600 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9601 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9602 [generic sys/param.h] ($(addprefix
9603 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9604 [generic sys/param.h] (common-generated): Do not append to
9606 [generic sys/param.h] (sysdep_headers): Likewise.
9607 [generic bits/errno.h] (before-compile): Do not append to
9609 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9611 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9612 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9613 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9614 [generic bits/errno.h] (common-generated): Do not append to
9616 [generic bits/ioctls.h] (before-compile): Do not append to
9618 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9620 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9621 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9622 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9624 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9625 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9626 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9627 [generic bits/ioctls.h] (common-generated): Do not append to
9629 [generic sys/syscall.h] (syscall.h): Remove variable.
9630 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9632 [generic sys/syscall.h] (before-compile): Do not append to
9634 [generic sys/syscall.h] (common-generated): Likewise.
9635 * sysdeps/unix/errnos-tmpl.c: Remove file.
9636 * sysdeps/unix/errnos.awk: Likewise.
9637 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9638 * sysdeps/unix/ioctls.awk: Likewise.
9639 * sysdeps/unix/mk-local_lim.c: Likewise.
9640 * sysdeps/unix/snarf-ioctls: Likewise.
9642 2012-03-19 Richard Henderson <rth@twiddle.net>
9644 * sysdeps/i386/fpu/fenv_private.h: New file.
9645 * sysdeps/i386/fpu/math_private.h: Use it.
9646 (math_opt_barrier, math_force_eval): Remove.
9647 (libc_feholdexcept_setround_53bit): Remove.
9648 (libc_feupdateenv_53bit): Remove.
9649 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9650 (math_opt_barrier, math_force_eval): Remove.
9651 (libc_feholdexcept): Remove.
9652 (libc_feholdexcept_setround): Remove.
9653 (libc_fetestexcept, libc_fesetenv): Remove.
9654 (libc_feupdateenv_test): Remove.
9655 (libc_feupdateenv, libc_feholdsetround): Remove.
9656 (libc_feresetround): Remove.
9658 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9659 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9661 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9662 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9663 (libc_feupdateenv_testl): New.
9664 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9665 (libc_feupdateenv_testf): New.
9666 (libc_feupdateenv): Use libc_feupdateenv_test.
9667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9670 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9671 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9672 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9673 (libc_feresetround_noex): New.
9674 (libc_feresetround_noexf): New.
9675 (libc_feresetround_noexl): New.
9676 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9677 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9678 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9679 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9684 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9686 SET_RESTORE_ROUND_NOEX.
9687 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9688 SET_RESTORE_ROUND_NOEXF.
9689 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9690 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9691 (libc_feholdsetroundf): New.
9692 (libc_feresetround, libc_feresetroundf): New.
9694 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9695 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9696 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9698 * sysdeps/generic/math_private.h: Include <fenv.h>.
9699 (default_libc_feholdexcept): New.
9700 (default_libc_feholdexcept_setround): New.
9701 (default_libc_fesetenv, default_libc_feupdateenv): New.
9702 (libc_feholdexcept): Only define if undefined.
9703 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9705 (libc_feholdexcept_setroundl): Likewise.
9706 (libc_feholdexcept_setround_53bit): Likewise.
9707 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9710 (libc_feupdateenv_53bit): Likewise.
9711 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9712 (libc_feholdexcept): Convert from macro to inline function.
9713 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9714 (libc_fesetenv, libc_feupdateenv): Likewise.
9716 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9717 not previously defined.
9718 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9719 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9720 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9721 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9722 * sysdeps/ieee754/flt-32/math_private.h: New file.
9723 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9724 math_private.h below SET_FLOAT_WORD.
9725 (__isnan, __isinf_ns, __finite): Remove.
9726 (__isnanf, __isinf_nsf, __finitef): Remove.
9728 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9732 2012-03-17 David S. Miller <davem@davemloft.net>
9735 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9738 2012-03-16 David S. Miller <davem@davemloft.net>
9740 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9744 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9746 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9747 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9748 sysdep_routines when subdir is sysvipc.
9749 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9752 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9756 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9759 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9762 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9763 (__lround): Renamed to ...
9764 (__llround): This. Replace long int with long long int.
9765 Define lround functions as aliases of llround functions.
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9768 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9770 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9771 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9772 adresses to uintptr_t. Replace "long int" and "unsigned long
9773 int" with "greg_t" on va_arg.
9775 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9777 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9778 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9780 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9781 Move e_machine check before EI_CLASS check. Handle x32
9782 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9783 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9784 SKIP_EM_IA_64 and include
9785 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9787 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9788 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9789 (add_system_dir): New macro.
9791 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9792 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9794 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9805 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9807 * math/w_j0f.c (j0f): Likewise.
9809 * math/w_j0l.c (__j0l): Likewise.
9811 * math/w_j1.c (j1): Likewise.
9813 * math/w_j1f.c (j1f): Likewise.
9815 * math/w_j1l.c (__j1l): Likewise.
9817 * math/w_jn.c (jn): Likewise.
9819 * math/w_jnf.c (jnf): Likewise.
9821 * math/w_jnl.c (__jnl): Likewise.
9823 * math/libm-test.inc (j0_test): Add more tests.
9824 (j1_test): Likewise.
9825 (jn_test): Likewise. Add trailing semicolon to existing test.
9826 (y0_test): Likewise.
9827 (y1_test): Likewise.
9828 * sysdeps/i386/fpu/libm-test-ulps: Update.
9829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9834 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9835 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9836 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9837 (__tanl): Set errno for infinite argument.
9838 * sysdeps/i386/fpu/mptan.c: Remove.
9839 * sysdeps/i386/fpu/s_tan.S: Likewise.
9840 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9841 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9842 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9843 * math/libm-test.inc (tan_test): Add more tests and enable more
9844 tests for double and long double.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9848 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9850 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9851 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9853 2012-03-16 Roland McGrath <roland@hack.frob.com>
9855 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9856 * configure.in: Use it for both main tree and add-ons.
9857 * configure: Regenerated.
9859 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9861 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9863 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9869 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9870 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9875 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9878 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9879 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9880 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9881 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9882 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9883 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9884 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9885 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9886 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9887 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9888 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9889 * math/libm-test.inc (cos_test): Add more tests and enable more
9890 tests for long double.
9891 (sin_test): Likewise.
9892 (sincos_test): Likewise.
9893 * sysdeps/i386/fpu/libm-test-ulps: Update.
9894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9896 2012-03-16 David S. Miller <davem@davemloft.net>
9898 * sysdeps/sparc/fpu/math_private.h: New file.
9900 2012-03-15 David S. Miller <davem@davemloft.net>
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9916 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9917 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9919 * sysdeps/sparc/sparc-ifunc.h: New file.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9965 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9967 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9971 2012-03-15 Andreas Jaeger <aj@suse.de>
9974 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9975 ieee754/flt-32 implementation for sin, cos and sincos.
9976 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9977 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9978 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9979 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9980 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9981 ieee754/flt-32 implementation for tan.
9983 * math/libm-test.inc (cos_test): Enable some large input tests for
9985 (sin_test): Likewise.
9986 (sincos_test): Likewise.
9987 (tan_test): Add tests for large input.
9989 * sysdeps/i386/fpu/libm-test-ulps: Update.
9991 2012-03-15 Andreas Jaeger <aj@suse.de>
9994 * math/libm-test.inc (cos_test): Add more test cases.
9995 (sin_test): Likewise.
9996 (sincos_test): Likewise.
9998 2012-03-15 Andreas Jaeger <aj@suse.de>
10001 * math/libm-test.inc (cos_test): Add a test case for large input
10003 (sin_test): Likewise.
10004 (sincos_test): Likewise.
10006 2012-03-15 Andreas Jaeger <aj@suse.de>,
10007 Joseph Myers <joseph@codesourcery.com>
10010 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10011 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10012 * sysdeps/i386/fpu/branred.c: Likewise.
10013 * sysdeps/i386/fpu/dosincos.c: Likewise.
10014 * sysdeps/i386/fpu/mpa.c: Likewise.
10015 * sysdeps/i386/fpu/s_cos.S: Likewise.
10016 * sysdeps/i386/fpu/s_sin.S: Likewise.
10017 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10018 * sysdeps/i386/fpu/sincos32.c: Likewise.
10020 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10022 (libc_feupdateenv_53bit): Define.
10023 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10025 (libc_feupdateenv_53bit): Define.
10027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10028 53 bit (without extend i386 double precision).
10030 * math/libm-test.inc (sincos_test): Add tests for large input.
10034 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10036 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10040 2012-03-15 David S. Miller <davem@davemloft.net>
10042 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10043 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10044 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10045 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10070 fmin/fmax sysdep routines.
10071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10073 2012-03-14 David S. Miller <davem@davemloft.net>
10075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10147 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10152 * sysdeps/sparc/configure.in: New file.
10153 * sysdeps/sparc/configure: Generate.
10154 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10155 * configure: Regenerate.
10156 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10157 * config.make.in (have-as-vis3): New.
10158 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10159 available use -Av9d instead of -Av9a.
10160 * sysdeps/sparc/sparc64/Makefile: Likewise.
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10176 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10177 fzeros/fnegs to load 0x80000000 into a float register instead of
10179 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10181 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10185 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10186 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10187 ($(inst_includedir)/bits/syscall.h): Remove rule.
10188 ($(objpfx)bits/syscall.d): Include instead of
10189 $(objpfx)syscall-list.d.
10190 (generated): Change syscall-list.h and syscall-list.d to
10191 bits/syscall.h and bits/syscall.d.
10193 2012-03-14 Roland McGrath <roland@hack.frob.com>
10196 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10198 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10201 * math/s_csqrt.c: Include <float.h>.
10202 (__csqrt): Scale large or subnormal inputs.
10203 * math/s_csqrtf.c: Likewise.
10204 * math/s_csqrtl.c: Likewise.
10205 * math/libm-test.inc (csqrt_test): Add more tests.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10210 * math/libm-test.inc (hypot_test): Add more tests.
10212 2012-03-13 David S. Miller <davem@davemloft.net>
10215 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10216 double-precision for the calculation instead of scaling.
10218 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10221 manipulate bits before adding and subtracting TWO52[sx].
10222 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10225 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10227 2012-03-13 David S. Miller <davem@davemloft.net>
10229 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10230 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10232 rtld-global-offsets.h
10233 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10238 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10240 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10241 'err' in the ifdef scope in which it is actually used.
10243 * nss/nss_db/db-init.c: Include string.h
10245 2012-03-12 David S. Miller <davem@davemloft.net>
10247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10248 masking out of the most significant byte of random value used.
10249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10250 Fix coding style in previous change.
10252 * sysdeps/unix/sysv/linux/kernel-features.h
10253 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10254 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10256 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10259 2012-03-11 David S. Miller <davem@davemloft.net>
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10262 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10264 for 'resultvar' otherwise things get truncated on 64-bit.
10266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10267 Fix masking out of the most significant byte of random value used.
10269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10271 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10275 2012-03-09 David S. Miller <davem@davemloft.net>
10277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10278 variables with appropriate CPP guards.
10279 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10280 frame pointer, not the stack pointer. Correct layout comments. Fix test
10281 on resulting framesize and the management of the outregs buffer for pltexit.
10282 Preserve floating point return values across _dl_call_pltexit call.
10283 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10284 framesize and the management of the outregs buffer for pltexit.
10285 Preserve floating point return values across _dl_call_pltexit
10287 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10288 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10289 (print_exit): Fix format string for return register value.
10291 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10293 * sunrpc/Makefile (others): Add rpcgen.
10294 ($(objpfx)rpcgen): Remove special build rule and dependency on
10296 * sunrpc/rpcgen.c: New file.
10298 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10301 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10302 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10303 * sysdeps/i386/crti.S: Likewise.
10304 * sysdeps/i386/crtn.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10306 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10307 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10308 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10309 * sysdeps/sh/crti.S: Likewise.
10310 * sysdeps/sh/crtn.S: Likewise.
10311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10314 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10316 * locale/programs/locfile-kw.gperf: Likewise.
10317 * locale/programs/charmap-kw.h: Regenerated.
10318 * locale/programs/locfile-kw.h: Likewise.
10321 * intl/plural.y: Replace FSF snail mail address with URL.
10322 * intl/plural.c: Regenerated.
10324 2012-03-09 Richard Henderson <rth@twiddle.net>
10326 * include/math_private.h: Remove file.
10327 * math/math_private.h: Move file ...
10328 * sysdeps/generic/math_private.h: ... here.
10330 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10331 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10334 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10335 and <math_private.h>.
10336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10424 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10425 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10426 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10427 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10430 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10432 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10436 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10437 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10438 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10441 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10443 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10446 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10447 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10450 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10453 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10457 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10458 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10459 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10460 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10463 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10464 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10465 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10466 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10468 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10469 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10470 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10471 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10473 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10474 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10475 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10477 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10479 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10480 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10484 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10485 * sysdeps/ieee754/k_standard.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10605 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10608 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10618 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10625 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10646 * sysdeps/ieee754/s_lib_version.c: Likewise.
10647 * sysdeps/ieee754/s_matherr.c: Likewise.
10648 * sysdeps/ieee754/s_signgam.c: Likewise.
10649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10652 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10653 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10654 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10655 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10656 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10657 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10658 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10659 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10660 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10663 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10665 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10666 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10667 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10671 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10673 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10674 * sunrpc/rpc_main.c: Likewise.
10675 * sunrpc/rpc_svcout.c: Likewise.
10677 2012-03-09 David S. Miller <davem@davemloft.net>
10679 * include/math_private.h: New file.
10681 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10683 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10684 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10685 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10686 from <bits/socket_type.h>.
10687 (enum __socket_type): Don't define here.
10688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10690 bits/socket_type.h.
10693 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10694 checking __USE_GNU.
10696 * Makerules ($(inst_includedir)/%.h): New rule.
10697 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10698 (install-others): Remove variable setting.
10699 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10701 2012-03-08 Richard Henderson <rth@twiddle.net>
10703 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10704 from macro to inline function; merge with the
10705 !__LIBC_INTERNAL_MATH_INLINES version.
10706 (__ieee754_sqrtf): Likewise.
10708 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10709 to inline function.
10710 (__rintf, __floor, __floorf): Likewise.
10712 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10713 macro to inline function.
10714 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10717 not <math/math_private.h>.
10719 2012-03-08 David S. Miller <davem@davemloft.net>
10721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10723 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10725 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10727 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10729 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10730 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10732 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10734 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10735 be defined individually, they must be defined as a block. Define
10736 S for printing a string instead of hidint the different by using a
10737 macro for adding the 'l'.
10738 * stdio-common/tst-fphex-wide.c: Adjust.
10740 2012-03-07 Marek Polacek <polacek@redhat.com>
10742 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10744 2012-03-08 Marek Polacek <polacek@redhat.com>
10747 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10748 * stdio-common/tst-fphex.c: Define a few macros to make the
10749 test reusable. Use them.
10750 * stdio-common/tst-fphex-wide.c: New file.
10752 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10755 * manual/macros.texi (gnusystems): New macro.
10756 (nongnusystems): Likewise.
10757 (gnulinuxhurdsystems): Likewise.
10758 (gnuhurdsystems): Likewise..
10759 (gnulinuxsystems): Likewise.
10760 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10761 variants of the GNU system, not "GNU system".
10762 * manual/conf.texi: Likewise.
10763 * manual/errno.texi: Likewise. Update example of errno macro
10765 * manual/filesys.texi: Likewise.
10766 (getumask): Document as specific to GNU/Hurd.
10767 * manual/install.texi: Likewise. Reword some references to
10769 * manual/intro.texi: Likewise.
10770 * manual/io.texi: Likewise.
10771 (File Name Portability): Detail which constraints are inapplicable
10772 to all GNU systems and which are only inapplicable to GNU/Hurd.
10773 * manual/job.texi: Likewise.
10774 * manual/llio.texi: Likewise.
10775 (O_NOCTTY): Document as present on GNU/Linux.
10776 * manual/maint.texi: Likewise.
10777 * manual/memory.texi: Likewise.
10778 * manual/pattern.texi: Likewise.
10779 * manual/pipe.texi: Likewise.
10780 * manual/process.texi: Likewise.
10781 * manual/resource.texi: Likewise.
10782 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10784 * manual/setjmp.texi: Likewise.
10785 * manual/signal.texi: Likewise.
10786 * manual/startup.texi: Likewise.
10787 * manual/stdio.texi: Likewise.
10788 * manual/terminal.texi: Likewise.
10789 (ONLCR): Document as POSIX.
10790 (OXTABS): Document availability on GNU/Linux as XTABS.
10791 (ONOEOT): Document availability separately from other bits.
10792 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10793 * manual/time.texi: Likewise.
10794 * manual/users.texi: Likewise.
10795 * INSTALL: Regenerated.
10796 * sysdeps/gnu/errlist.c: Regenerated.
10798 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10799 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10800 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10802 * configure: Regenerated.
10804 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10806 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10807 default includes instead of AC_HEADER_CHECK.
10808 * sysdeps/i386/configure: Regenerated.
10811 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10812 * math/s_cacoshf.c (__cacoshf): Likewise.
10813 * math/s_cacoshl.c (__cacoshl): Likewise.
10814 * math/s_casinh.c (__casinh): Set signs of result from argument.
10815 * math/s_casinhf.c (__casinhf): Likewise.
10816 * math/s_casinhl.c (__casinhl): Likewise.
10817 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10818 (casinh_test): Add more tests.
10819 * sysdeps/i386/fpu/libm-test-ulps: Update.
10820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10822 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10824 * po/zh_TW.po: Update from translation team.
10826 * login/Makefile (distribute): Remove variable.
10827 * catgets/Makefile: Likewise.
10828 * mach/Makefile: Likewise.
10829 * malloc/Makefile: Likewise.
10830 * misc/Makefile: Likewise.
10831 * iconv/Makefile: Likewise.
10832 * nscd/Makefile: Likewise.
10833 * hurd/Makefile: Likewise.
10834 * manual/Makefile: Likewise.
10835 * locale/Makefile: Likewise.
10836 * intl/Makefile: Likewise.
10837 * conform/Makefile: Likewise.
10838 * nss/Makefile: Likewise.
10839 * time/Makefile: Likewise.
10840 * soft-fp/Makefile: Likewise.
10841 * dirent/Makefile: Likewise.
10842 * gmon/Makefile: Likewise.
10843 * po/Makefile: Likewise.
10844 * rt/Makefile: Likewise.
10845 * socket/Makefile: Likewise.
10846 * math/Makefile: Likewise.
10847 * signal/Makefile: Likewise.
10848 * debug/Makefile: Likewise.
10849 * elf/Makefile: Likewise.
10850 * timezone/Makefile: Likewise.
10851 * stdlib/Makefile: Likewise.
10852 * iconvdata/Makefile: Likewise.
10853 * sunrpc/Makefile: Likewise.
10854 * io/Makefile: Likewise.
10855 * argp/Makefile: Likewise.
10856 * inet/Makefile: Likewise.
10857 * hesiod/Makefile: Likewise.
10858 * grp/Makefile: Likewise.
10859 * csu/Makefile: Likewise.
10860 * wctype/Makefile: Likewise.
10861 * crypt/Makefile: Likewise.
10862 * libio/Makefile: Likewise.
10863 * string/Makefile: Likewise.
10864 * nis/Makefile: Likewise.
10865 * resolv/Makefile: Likewise.
10866 * stdio-common/Makefile: Likewise.
10867 * wcsmbs/Makefile: Likewise.
10868 * dlfcn/Makefile: Likewise.
10869 * posix/Makefile: Likewise.
10872 * timezone/Makefile: Don't install timezone files, just the programs
10875 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10877 * nss/databases.def: Add missing gshadow entry.
10879 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10881 2012-03-06 Marek Polacek <polacek@redhat.com>
10884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10886 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10887 * stdio-common/tst-long-dbl-fphex.c: New file.
10889 2012-03-06 David S. Miller <davem@davemloft.net>
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10892 (set_obp_int): New function.
10893 (get_obp_int): New function.
10894 (__get_clockfreq_via_dev_openprom): Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10896 Avoid unused variable warnings on 'val' and use builtin_expect.
10897 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10899 (INLINE_CLONE_SYSCALL): Likewise.
10901 2012-03-05 David S. Miller <davem@davemloft.net>
10903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10905 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10910 only for |x| >= 40.
10911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10913 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10916 Replace gettimeofday with __vdso_gettimeofday.
10918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10919 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10920 __vdso_clock_gettime and __vdso_getcpu.
10922 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10923 time with __vdso_time.
10925 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10927 * manual/lang.texi (size_t): Note types to which size_t may be
10928 equivalent with the GNU C Library, but do not describe when
10929 differences between them are significant.
10931 2012-03-05 Andreas Jaeger <aj@suse.de>
10933 * sysdeps/i386/fpu/libm-test-ulps: Update.
10935 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10938 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10939 (__ieee754_pow): Save and restore rounding mode and use
10940 round-to-nearest for main computations.
10941 * math/libm-test.inc (pow_test_tonearest): New function.
10942 (pow_test_towardzero): Likewise.
10943 (pow_test_downward): Likewise.
10944 (pow_test_upward): Likewise.
10945 (main): Call the new functions.
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950 * math/libm-test.inc (cosh_test_tonearest): New function.
10951 (cosh_test_towardzero): Likewise.
10952 (cosh_test_downward): Likewise.
10953 (cosh_test_upward): Likewise.
10954 (sinh_test_tonearest): Likewise.
10955 (sinh_test_towardzero): Likewise.
10956 (sinh_test_downward): Likewise.
10957 (sinh_test_upward): Likewise.
10958 (main): Call the new functions.
10959 * sysdeps/i386/fpu/libm-test-ulps: Update.
10960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10962 2012-03-05 Tom de Vries <tom@codesourcery.com>
10964 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10965 default stack guard is set in last bytes.
10966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10968 2012-03-05 Kees Cook <keescook@chromium.org>
10970 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10973 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10974 possibly allocate from heap instead of stack.
10975 * stdio-common/bug-vfprintf-nargs.c: New file.
10976 * stdio-common/Makefile (tests): Add nargs overflow test.
10978 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10982 2012-03-03 Marek Polacek <polacek@redhat.com>
10984 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10985 * math/math_private.h: Likewise.
10986 * stdlib/tst-strtod.c: Likewise.
10987 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10988 * sysdeps/x86_64/bits/atomic.h: Likewise.
10990 2012-03-02 David S. Miller <davem@davemloft.net>
10992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10996 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10997 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10998 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10999 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11001 2012-03-02 Roland McGrath <roland@hack.frob.com>
11004 * manual/examples/README: New file, says the example source files
11005 can be used under GPL>=2.
11006 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11007 line containing just "*/".
11008 * manual/examples/add.c: Add copyright header (GPL>=2).
11009 * manual/examples/argp-ex1.c: Likewise.
11010 * manual/examples/argp-ex2.c: Likewise.
11011 * manual/examples/argp-ex3.c: Likewise.
11012 * manual/examples/argp-ex4.c: Likewise.
11013 * manual/examples/atexit.c: Likewise.
11014 * manual/examples/db.c: Likewise.
11015 * manual/examples/dir.c: Likewise.
11016 * manual/examples/dir2.c: Likewise.
11017 * manual/examples/execinfo.c: Likewise.
11018 * manual/examples/filecli.c: Likewise.
11019 * manual/examples/filesrv.c: Likewise.
11020 * manual/examples/fmtmsgexpl.c: Likewise.
11021 * manual/examples/genpass.c: Likewise.
11022 * manual/examples/inetcli.c: Likewise.
11023 * manual/examples/inetsrv.c: Likewise.
11024 * manual/examples/isockad.c: Likewise.
11025 * manual/examples/longopt.c: Likewise.
11026 * manual/examples/memopen.c: Likewise.
11027 * manual/examples/memstrm.c: Likewise.
11028 * manual/examples/mkfsock.c: Likewise.
11029 * manual/examples/mkisock.c: Likewise.
11030 * manual/examples/mygetpass.c: Likewise.
11031 * manual/examples/pipe.c: Likewise.
11032 * manual/examples/popen.c: Likewise.
11033 * manual/examples/rprintf.c: Likewise.
11034 * manual/examples/search.c: Likewise.
11035 * manual/examples/select.c: Likewise.
11036 * manual/examples/setjmp.c: Likewise.
11037 * manual/examples/sigh1.c: Likewise.
11038 * manual/examples/sigusr.c: Likewise.
11039 * manual/examples/stpcpy.c: Likewise.
11040 * manual/examples/strdupa.c: Likewise.
11041 * manual/examples/strftim.c: Likewise.
11042 * manual/examples/strncat.c: Likewise.
11043 * manual/examples/subopt.c: Likewise.
11044 * manual/examples/swapcontext.c: Likewise.
11045 * manual/examples/termios.c: Likewise.
11046 * manual/examples/testopt.c: Likewise.
11047 * manual/examples/testpass.c: Likewise.
11048 * manual/examples/timeval_subtract.c: Likewise.
11051 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11053 * manual/timeval_subtract.c.texi: ... here, new file.
11055 2012-03-02 David S. Miller <davem@davemloft.net>
11057 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11059 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11062 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11063 (__sin): Save and restore rounding mode and use round-to-nearest
11064 for all computations.
11065 (__cos): Save and restore rounding mode and use round-to-nearest
11066 for all computations.
11067 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11069 (tan): Save and restore rounding mode and use round-to-nearest for
11071 * math/libm-test.inc (cos_test_tonearest): New function.
11072 (cos_test_towardzero): Likewise.
11073 (cos_test_downward): Likewise.
11074 (cos_test_upward): Likewise.
11075 (sin_test_tonearest): Likewise.
11076 (sin_test_towardzero): Likewise.
11077 (sin_test_downward): Likewise.
11078 (sin_test_upward): Likewise.
11079 (tan_test_tonearest): Likewise.
11080 (tan_test_towardzero): Likewise.
11081 (tan_test_downward): Likewise.
11082 (tan_test_upward): Likewise.
11083 (main): Call the new functions.
11084 * sysdeps/i386/fpu/libm-test-ulps: Update.
11085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11089 small n, then large n, before computing and testing k+n.
11090 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11095 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11096 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11103 * math/libm-test.inc (scalbn_test): Add more tests.
11104 (scalbln_test): Likewise.
11106 * manual/filesys.texi (mode_t): Describe constraints on size and
11107 signedness, not exact equivalence to a particular type.
11109 (ino64_t): Likewise.
11111 (nlink_t): Likewise.
11112 (blkcnt_t): Likewise.
11113 (blkcnt64_t): Likewise.
11114 * manual/llio.texi (off_t): Likewise.
11117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11118 (__ieee754_exp): Save and restore rounding mode and use
11119 round-to-nearest for all computations.
11120 * math/libm-test.inc (exp_test_tonearest): New function.
11121 (exp_test_towardzero): Likewise.
11122 (exp_test_downward): Likewise.
11123 (exp_test_upward): Likewise.
11124 (main): Call the new functions.
11125 * sysdeps/i386/fpu/libm-test-ulps: Update.
11126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11128 2012-03-01 Chris Demetriou <cgd@google.com>
11130 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11131 have predictable order.
11133 2012-03-01 David S. Miller <davem@davemloft.net>
11135 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11137 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11138 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11139 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11140 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11142 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11143 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11144 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11146 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11147 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11148 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11149 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11150 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11155 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11158 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11160 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11165 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11174 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11175 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11176 * sysdeps/sparc/elf/configure: Regenerated.
11178 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11180 * configure.in (AS, LD): Require binutils 2.20 or later.
11181 * configure: Regenerated.
11182 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11183 as required minimum version.
11184 * INSTALL: Regenerated.
11188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11189 before squaring exponent.
11190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11191 bottom long double and 27 bits of top long double before squaring
11193 * math/libm-test.inc (erfc_test): Add more tests.
11194 * sysdeps/i386/fpu/libm-test-ulps: Update.
11195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11198 2012-03-01 Kai Tietz <ktietz@redhat.com>
11200 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11201 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11202 containing bit-fields.
11203 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11204 * soft-fp/single.h (_FP_UNION_S): Likewise.
11205 * soft-fp/double.h (_FP_UNION_D): Likewise.
11207 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11210 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11211 not include ../strcmp.S.
11212 [USE_AS_STRNCASECMP_L]: Likewise.
11213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11214 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11215 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11216 (__strncasecmp_l_ia32): Define as alias to
11217 __strncasecmp_l_nonascii.
11220 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11221 * sysdeps/i386/fpu/libm-test-ulps: Update.
11222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11224 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11227 2012-02-29 Jeff Law <law@redhat.com>
11229 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11230 out of bounds read.
11232 2012-02-29 Marek Polacek <polacek@redhat.com>
11235 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11236 * elf/Makefile: Add rules to run tst-unused-dep.out.
11238 2012-02-28 David S. Miller <davem@davemloft.net>
11240 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11241 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11247 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11249 * math/libm-test.inc (llround_test): Move one test from
11250 lround_test. Use TEST_f_L in moved test.
11251 (lround_test): Move misplaced test to llround_test. Add testcase
11254 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11256 * sysdeps/x86_64/fpu/e_expf.S: New file.
11257 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11259 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11262 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11263 of remain_len that may cause incomplete multi-byte character and
11265 * posix/bug-regex33.c: New file.
11266 * posix/Makefile (tests): Add bug-regex33.
11268 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11270 * manual/macros.texi: New file.
11271 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11272 * manual/libc.texinfo: Include macros.texi.
11273 * manual/creatute.texi: Likewise.
11274 * manual/install.texi: Likewise.
11275 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11276 @glibcadj{} in references to the GNU C Library.
11277 * manual/charset.texi: Likewise.
11278 * manual/conf.texi: Likewise.
11279 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11280 when not using those macros.
11281 * manual/creature.texi: Likewise.
11282 * manual/crypt.texi: Likewise.
11283 * manual/errno.texi: Likewise.
11284 * manual/filesys.texi: Likewise.
11285 * manual/header.texi: Likewise.
11286 * manual/install.texi: Likewise.
11287 * manual/intro.texi: Likewise.
11288 * manual/io.texi: Likewise.
11289 * manual/job.texi: Likewise.
11290 * manual/lang.texi: Likewise.
11291 * manual/libc.texiinfo: Likewise.
11292 * manual/llio.texi: Likewise.
11293 * manual/locale.texi: Likewise.
11294 * manual/maint.texi: Likewise.
11295 * manual/math.texi: Likewise.
11296 * manual/memory.texi: Likewise.
11297 * manual/message.texi: Likewise.
11298 * manual/nss.texi: Likewise.
11299 * manual/pattern.texi: Likewise.
11300 * manual/process.texi: Likewise.
11301 * manual/resource.texi: Likewise.
11302 * manual/search.texi: Likewise.
11303 * manual/setjmp.texi: Likewise.
11304 * manual/signal.texi: Likewise.
11305 * manual/socket.texi: Likewise.
11306 * manual/startup.texi: Likewise.
11307 * manual/stdio.texi: Likewise.
11308 * manual/string.texi: Likewise.
11309 * manual/sysinfo.texi: Likewise.
11310 * manual/syslog.texi: Likewise.
11311 * manual/terminal.texi: Likewise.
11312 * manual/time.texi: Likewise.
11313 * manual/users.texi: Likewise.
11314 * INSTALL: Regenerated.
11315 * NOTES: Regenerated.
11316 * sysdeps/gnu/errlist.c: Regenerated.
11318 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11320 * include/dirent.h: Include <dirstream.h> before
11323 2012-02-28 David S. Miller <davem@davemloft.net>
11325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11326 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11327 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11330 2012-02-27 David S. Miller <davem@davemloft.net>
11332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11334 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11335 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11338 frame pointer instead of stack pointer relative arg slot.
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11343 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11346 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11348 2012-02-27 David S. Miller <davem@davemloft.net>
11350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11356 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11359 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11361 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11362 later. Allow versions 5-9.
11363 * configure: Regenerated.
11364 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11365 required minimum version and 4.6 as recommended version. Do not
11366 mention bugs in GCC 2.7 and 2.8.
11367 * INSTALL: Regenerated.
11369 2012-02-27 David S. Miller <davem@davemloft.net>
11371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11377 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11381 manipulate bits before adding and subtracting TWO112[sx].
11382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11384 2012-02-27 Roland McGrath <roland@hack.frob.com>
11387 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11388 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11389 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11390 being in POSIX, because they are in 1003.1-2008.
11392 * rt/tst-aio.c: Include <fcntl.h>.
11393 * rt/tst-aio7.c: Likewise.
11394 * rt/tst-aio64.c: Likewise.
11396 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11398 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11400 * manual/install.texi (--with-headers): Describe headers as
11401 interface headers, not private headers.
11402 (Specific advice for GNU/Linux systems): Describe use of headers
11403 from "make headers_install", not private headers from older
11405 * INSTALL: Regenerated.
11406 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11408 * sysdeps/unix/sysv/linux/configure: Regenerated.
11410 * manual/llio.texi (fclean): Remove documentation.
11412 * manual/Makefile (libc-texi-generated): New variable. Include
11414 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11415 $(libc-texi-generated), not duplicated list of files.
11416 (version.texi, stamp-version): New rules.
11417 (realclean): Remove $(libc-texi-generated), not individual files
11418 from that list. Do not remove dir-add.texinfo.
11419 * manual/libc.texinfo: Comment out uses of edition numbers and
11420 references to printed manual. Remove last-updated dates.
11421 (EDITION): Comment out.
11423 (VERSION, UPDATED): Remove.
11424 (version.texi): Include.
11426 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11428 * sysdeps/posix/spawni.c: Include <signal.h>.
11429 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11430 * sysdeps/pthread/aio_fsync.c: Likewise.
11432 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11434 * conform/Makefile (tests): Run only when not cross-compiling and
11435 when fast-check is not defined.
11437 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11438 * conform/data/limits.h-data: Fixes for POSIX2008.
11439 * conform/run-conformtest.sh: Run all tests.
11440 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11442 * include/bits/dlfcn.h: Likewise.
11443 * include/langinfo.h: Likewise.
11444 * include/monetary.h: Likewise.
11445 * include/sys/poll.h: Likewise.
11447 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11449 * posix/spawn.h: Define __need_sigset_t.
11450 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11451 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11452 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11453 to get sigevent_t only.
11454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11455 only for __USE_GNU.
11456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11458 process_vm_writev only for __USE_GNU.
11459 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11461 * conform/Makefile: For now ignore errors from run-conformtest.
11462 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11463 POSIX to avoid namespace pollution. Don't prepend headers.
11464 * conform/data/aio.h-data: Fixes for POSIX testing.
11465 * conform/data/fcntl.h-data: Likewise.
11466 * conform/data/glob.h-data: Likewise.
11467 * conform/data/grp.h-data: Likewise.
11468 * conform/data/pthread.h-data: Likewise.
11469 * conform/data/pwd.h-data: Likewise.
11470 * conform/data/signal.h-data: Likewise.
11471 * conform/data/spawn.h-data: Likewise.
11472 * conform/data/stdio.h-data: Likewise.
11473 * conform/data/stdlib.h-data: Likewise.
11474 * conform/data/stropts.h-data: Likewise.
11475 * conform/data/sys/mman.h-data: Likewise.
11476 * conform/data/sys/stat.h-data: Likewise.
11477 * conform/data/sys/types.h-data: Likewise.
11478 * conform/data/sys/wait.h-data: Likewise.
11479 * conform/data/time.h-data: Likewise.
11480 * conform/data/unistd.h-data: Likewise.
11481 * conform/data/utime.h-data: Likewise.
11483 * io/sys/stat.h: fchmod was always in POSIX.
11484 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11485 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11486 * rt/aio.h: Define __need_timespec before including <time.h>.
11487 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11488 struct. Add forward declaration of pthread_attr_t and use it in
11490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11492 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11493 always remove CLK_TCK definition.
11495 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11497 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11499 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11501 * conform/run-conformtest.sh: New file.
11502 * conform/Makefile: Run run-conformtest for tests.
11503 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11506 * conform/data/uchar.h-data: New file.
11507 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11508 * conform/data/arpa/inet.h-data: Likewise.
11509 * conform/data/assert.h-data: Likewise.
11510 * conform/data/complex.h-data: Likewise.
11511 * conform/data/cpio.h-data: Likewise.
11512 * conform/data/ctype.h-data: Likewise.
11513 * conform/data/dirent.h-data: Likewise.
11514 * conform/data/dlfcn.h-data: Likewise.
11515 * conform/data/errno.h-data: Likewise.
11516 * conform/data/fcntl.h-data: Likewise.
11517 * conform/data/float.h-data: Likewise.
11518 * conform/data/fmtmsg.h-data: Likewise.
11519 * conform/data/fnmatch.h-data: Likewise.
11520 * conform/data/ftw.h-data: Likewise.
11521 * conform/data/glob.h-data: Likewise.
11522 * conform/data/grp.h-data: Likewise.
11523 * conform/data/iconv.h-data: Likewise.
11524 * conform/data/inttypes.h-data: Likewise.
11525 * conform/data/langinfo.h-data: Likewise.
11526 * conform/data/libgen.h-data: Likewise.
11527 * conform/data/limits.h-data: Likewise.
11528 * conform/data/locale.h-data: Likewise.
11529 * conform/data/math.h-data: Likewise.
11530 * conform/data/monetary.h-data: Likewise.
11531 * conform/data/mqueue.h-data: Likewise.
11532 * conform/data/ndbm.h-data: Likewise.
11533 * conform/data/net/if.h-data: Likewise.
11534 * conform/data/netdb.h-data: Likewise.
11535 * conform/data/netinet/in.h-data: Likewise.
11536 * conform/data/nl_types.h-data: Likewise.
11537 * conform/data/poll.h-data: Likewise.
11538 * conform/data/pthread.h-data: Likewise.
11539 * conform/data/pwd.h-data: Likewise.
11540 * conform/data/regex.h-data: Likewise.
11541 * conform/data/sched.h-data: Likewise.
11542 * conform/data/search.h-data: Likewise.
11543 * conform/data/semaphore.h-data: Likewise.
11544 * conform/data/setjmp.h-data: Likewise.
11545 * conform/data/signal.h-data: Likewise.
11546 * conform/data/spawn.h-data: Likewise.
11547 * conform/data/stdarg.h-data: Likewise.
11548 * conform/data/stdio.h-data: Likewise.
11549 * conform/data/stdlib.h-data: Likewise.
11550 * conform/data/string.h-data: Likewise.
11551 * conform/data/strings.h-data: Likewise.
11552 * conform/data/stropts.h-data: Likewise.
11553 * conform/data/sys/ipc.h-data: Likewise.
11554 * conform/data/sys/mman.h-data: Likewise.
11555 * conform/data/sys/msg.h-data: Likewise.
11556 * conform/data/sys/resource.h-data: Likewise.
11557 * conform/data/sys/select.h-data: Likewise.
11558 * conform/data/sys/sem.h-data: Likewise.
11559 * conform/data/sys/shm.h-data: Likewise.
11560 * conform/data/sys/socket.h-data: Likewise.
11561 * conform/data/sys/stat.h-data: Likewise.
11562 * conform/data/sys/statvfs.h-data: Likewise.
11563 * conform/data/sys/time.h-data: Likewise.
11564 * conform/data/sys/timeb.h-data: Likewise.
11565 * conform/data/sys/times.h-data: Likewise.
11566 * conform/data/sys/types.h-data: Likewise.
11567 * conform/data/sys/uio.h-data: Likewise.
11568 * conform/data/sys/un.h-data: Likewise.
11569 * conform/data/sys/utsname.h-data: Likewise.
11570 * conform/data/sys/wait.h-data: Likewise.
11571 * conform/data/syslog.h-data: Likewise.
11572 * conform/data/tar.h-data: Likewise.
11573 * conform/data/termios.h-data: Likewise.
11574 * conform/data/utime.h-data: Likewise.
11575 * conform/data/utmpx.h-data: Likewise.
11576 * conform/data/varargs.h-data: Likewise.
11577 * conform/data/wchar.h-data: Likewise.
11578 * conform/data/wctype.h-data: Likewise.
11579 * conform/data/wordexp.h-data: Likewise.
11581 * include/stropts.h: New file.
11582 * include/uchar.h: New file.
11583 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11584 * include/assert.h: Likewise.
11585 * include/ctype.h: Likewise.
11586 * include/dirent.h: Likewise.
11587 * include/dlfcn.h: Likewise.
11588 * include/fcntl.h: Likewise.
11589 * include/fnmatch.h: Likewise.
11590 * include/glob.h: Likewise.
11591 * include/grp.h: Likewise.
11592 * include/libio.h: Likewise.
11593 * include/locale.h: Likewise.
11594 * include/math.h: Likewise.
11595 * include/net/if.h: Likewise.
11596 * include/netdb.h: Likewise.
11597 * include/netinet/in.h: Likewise.
11598 * include/pthread.h: Likewise.
11599 * include/pwd.h: Likewise.
11600 * include/regex.h: Likewise.
11601 * include/sched.h: Likewise.
11602 * include/search.h: Likewise.
11603 * include/setjmp.h: Likewise.
11604 * include/signal.h: Likewise.
11605 * include/stdio.h: Likewise.
11606 * include/stdlib.h: Likewise.
11607 * include/string.h: Likewise.
11608 * include/sys/cdefs.h: Likewise.
11609 * include/sys/mman.h: Likewise.
11610 * include/sys/msg.h: Likewise.
11611 * include/sys/resource.h: Likewise.
11612 * include/sys/select.h: Likewise.
11613 * include/sys/socket.h: Likewise.
11614 * include/sys/stat.h: Likewise.
11615 * include/sys/statvfs.h: Likewise.
11616 * include/sys/time.h: Likewise.
11617 * include/sys/times.h: Likewise.
11618 * include/sys/uio.h: Likewise.
11619 * include/sys/utsname.h: Likewise.
11620 * include/sys/wait.h: Likewise.
11621 * include/termios.h: Likewise.
11622 * include/time.h: Likewise.
11623 * include/ulimit.h: Likewise.
11624 * include/unistd.h: Likewise.
11625 * include/utime.h: Likewise.
11626 * include/wchar.h: Likewise.
11627 * include/wctype.h: Likewise.
11628 * include/wordexp.h: Likewise.
11630 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11632 * time/time.h: TIME_UTC must be a macro.
11633 Make timespec_get available for ISO C11 only as well.
11635 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11637 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11638 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11640 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11642 * configure.in: Use -o not -a in test for unsupported multi-arch.
11644 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11646 * manual/texinfo.tex: Update to version 2012-01-19.16.
11648 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11650 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11652 2012-02-24 Roland McGrath <roland@hack.frob.com>
11655 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11656 * manual/fdl-1.3.texi: New file.
11657 * manual/fdl-1.1.texi: File removed.
11660 * manual/libc.texinfo (FDL_VERSION): New @set.
11661 Use it for mention of FDL in cover text.
11662 (Documentation License): Use it in @include file name.
11664 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11665 Roland McGrath <roland@hack.frob.com>
11668 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11669 not LONG_LONG_MAX and LONG_LONG_MIN.
11670 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11671 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11673 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11675 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11679 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11680 manipulate bits before adding and subtracting TWO23[sx].
11681 * math/libm-test.inc (nearbyint_test): Add more tests.
11683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11686 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11687 bits before adding and subtracting TWO23[sx].
11688 * math/libm-test.inc (rint_test): Add more tests.
11689 (rint_test_tonearest): Likewise.
11690 (rint_test_towardzero): Likewise.
11691 (rint_test_downward): Likewise.
11692 (rint_test_upward: Likewise.
11694 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11697 * include/stdc-predef.h: New file. Extracted from features.h.
11698 * include/features.h: Include stdc-predef.h.
11699 * Makefile (headers): Add stdc-predef.h.
11700 * CONFORMANCE (Compiler limitations): Update.
11702 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11704 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11706 2012-02-21 David S. Miller <davem@davemloft.net>
11708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11709 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11711 2012-02-20 David S. Miller <davem@davemloft.net>
11713 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11714 using a normal save/restore sequence, rather than allocating a
11715 dummy stack frame just to store a frame pointer and restore.
11716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11718 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11720 * manual/install.texi: Fix stray word in line-wrapped comment.
11722 2012-02-20 David S. Miller <davem@davemloft.net>
11724 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11725 both binutils and gcc support GOTDATA.
11727 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11728 "rd %pc" in the PIC register setup sequences.
11730 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11731 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11732 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11739 (SYSCALL_ERROR_HANDLER): Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11743 (SYSCALL_ERROR_HANDLER): Likewise.
11745 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11746 (HAVE_GCC_GOTDATA): New.
11747 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11748 relocation support in both binutils and gcc.
11749 * sysdeps/sparc/elf/configure: Regenerate.
11751 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11752 * sysdeps/sparc/sparc32/elf/configure: Delete.
11753 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11754 * sysdeps/sparc/sparc64/elf/configure: Delete.
11755 * sysdeps/sparc/elf/configure.in: New file.
11756 * sysdeps/sparc/elf/configure: Generate.
11758 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11759 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11760 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11761 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11762 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11764 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11766 * manual/install.texi: Do not mention specific glibc version
11768 * manual/libc.texinfo (VERSION, UPDATED): Update.
11769 (@copying): Use @copyright{} and range of years.
11771 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11774 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11775 [crti.S not in sysdirs] (generated): Do not append.
11776 [crti.S not in sysdirs] (omit-deps): Likewise.
11777 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11778 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11779 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11780 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11781 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11783 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11784 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11785 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11786 * csu/defs.awk: Remove file.
11787 * sysdeps/generic/initfini.c: Likewise.
11788 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11790 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11793 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11795 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11800 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11802 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11803 (__EPOLL_PACKED): Define to empty if not defined by
11805 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11809 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11811 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11812 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11814 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11816 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11820 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11822 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11829 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11834 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11836 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11837 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11839 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11841 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11844 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11846 * math/w_acos.c: Use non-signaling floating-point comparisons.
11847 * math/w_acosf.c: Likewise.
11848 * math/w_acosh.c: Likewise.
11849 * math/w_acoshf.c: Likewise.
11850 * math/w_acoshl.c: Likewise.
11851 * math/w_acosl.c: Likewise.
11852 * math/w_asin.c: Likewise.
11853 * math/w_asinf.c: Likewise.
11854 * math/w_asinl.c: Likewise.
11855 * math/w_atanh.c: Likewise.
11856 * math/w_atanhf.c: Likewise.
11857 * math/w_atanhl.c: Likewise.
11858 * math/w_exp2.c: Likewise.
11859 * math/w_exp2f.c: Likewise.
11860 * math/w_exp2l.c: Likewise.
11861 * math/w_j0.c: Likewise.
11862 * math/w_j0f.c: Likewise.
11863 * math/w_j0l.c: Likewise.
11864 * math/w_j1.c: Likewise.
11865 * math/w_j1f.c: Likewise.
11866 * math/w_j1l.c: Likewise.
11867 * math/w_jn.c: Likewise.
11868 * math/w_jnf.c: Likewise.
11869 * math/w_log.c: Likewise.
11870 * math/w_log10.c: Likewise.
11871 * math/w_log10f.c: Likewise.
11872 * math/w_log10l.c: Likewise.
11873 * math/w_log2.c: Likewise.
11874 * math/w_log2f.c: Likewise.
11875 * math/w_log2l.c: Likewise.
11876 * math/w_logf.c: Likewise.
11877 * math/w_logl.c: Likewise.
11878 * math/w_sqrt.c: Likewise.
11879 * math/w_sqrtf.c: Likewise.
11880 * math/w_sqrtl.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11887 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11890 * manual/string.texi (strnlen): Use correct parameter name in
11891 equivalent expression.
11893 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11896 * manual/users.texi (seteuid): Consistently use neweuid for
11899 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11902 * manual/nss.texi (Services in the NSS configuration): Correct
11903 list of services in example configuration file.
11905 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11908 * manual/arith.texi: Remove statements about negative zero
11909 behaving identically to zero.
11911 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11914 * manual/install.texi: Do not document upgrading from libc5.
11916 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11919 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11921 2012-02-18 David S. Miller <davem@davemloft.net>
11923 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11924 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11925 %o7 across the call.
11926 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11929 SETUP_PIC_REG_LEAF.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11931 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11932 * sysdeps/sparc/crtn.S: Likewise.
11934 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11936 * aout/Makefile: Remove.
11938 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11941 * manual/examples/argp-ex1.c (main): Format definition in GNU
11943 * manual/examples/argp-ex2.c (main): Likewise.
11944 * manual/examples/argp-ex3.c (main): Likewise.
11945 * manual/examples/argp-ex4.c (main): Likewise.
11946 * manual/examples/longopt.c (main): Use new-style prototype
11948 * manual/examples/strncat.c (main): Specify return type and use
11949 (void) for arguments.
11950 * manual/examples/subopt.c (main): Use char **argv argument.
11952 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11955 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11958 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11961 * manual/string.texi (strchr): Change when strchrnul is
11964 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11967 * manual/locale.texi (setlocale): Document LOCPATH.
11969 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11972 * manual/process.texi (execle): Move @dots{} before last argument.
11974 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11977 * manual/charset.texi (Generic Charset Conversion): Fix typo
11978 (LC_TYPE -> LC_CTYPE).
11980 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11983 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11984 (scalbnf): Likewise.
11985 (scalbnl): Likewise.
11986 (scalbln): Likewise.
11987 (scalblnf): Likewise.
11988 (scalblnl): Likewise.
11989 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11990 (vwarnx): Likewise.
11993 * manual/filesys.texi (telldir): Use braces around return type.
11994 * manual/llio.texi (mmap): Add space after comma.
11995 (mmap64): Likewise.
11996 * manual/math.texi (jn): Use @var{} on parameter names.
12002 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12004 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12006 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12007 (sched_get_priority_max): Likewise.
12008 * manual/signal.texi (sigvec): Add space after comma.
12009 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12011 (if_indextoname): Likewise.
12012 (if_freenameindex): Likewise.
12013 (sendto): Use ',' instead of '.' in prototype.
12014 * manual/startup.texi (syscall): Use @dots{} instead of literal
12016 * manual/stdio.texi (__fpending): Separate initial words of
12017 paragraph from @deftypefun line.
12018 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12020 (vsyslog): Use @var{} on parameter names.
12021 * manual/terminal.texi (stty): Use @var{} on parameter names.
12022 * manual/users.texi (getutmp): Use @var{} on parameter names.
12023 (getutmpx): Likewise.
12025 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12028 * manual/stdio.texi (fopen): Fix typos in description of
12031 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12034 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12035 get clock_id definition.
12037 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12040 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12041 (madvise): Cast every argument to void on its own.
12043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12046 * manual/startup.texi (Exit Status): Fix typo.
12048 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12051 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12052 * manual/examples/argp-ex2.c: Likewise.
12053 * manual/examples/argp-ex3.c: Likewise.
12055 2012-02-16 Richard Henderson <rth@redhat.com>
12057 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12058 * sysdeps/s390/s390-32/initfini.c: Remove.
12059 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12060 * sysdeps/s390/s390-64/initfini.c: Remove.
12062 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12064 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12065 compiler output for sysdeps/generic/initfini.c.
12066 * sysdeps/sh/elf/initfini.c: Remove file.
12068 2012-02-16 David S. Miller <davem@davemloft.net>
12071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12073 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12074 * sysdeps/sparc/crti.S: New file.
12075 * sysdeps/sparc/crtn.S: New file.
12076 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12077 * sysdeps/sparc/sparc64/Makefile: Likewise.
12079 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12082 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12084 2012-02-15 Roland McGrath <roland@hack.frob.com>
12087 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12089 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12090 (write, read, close): Likewise.
12091 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12093 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12095 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12096 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12098 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12100 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12104 2012-02-14 Marek Polacek <polacek@redhat.com>
12106 * sysdeps/x86_64/crti.S: New file.
12107 * sysdeps/x86_64/crtn.S: New file.
12108 * sysdeps/x86_64/elf/initfini.c: Remove file.
12110 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12112 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12113 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12114 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12115 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12117 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12121 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12123 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12124 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12126 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12128 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12132 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12135 __feraiseexcept instead of feraiseexcept.
12137 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12138 nanosleep invocations.
12139 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12140 strings, and add error checking for a nanosleep invocations.
12142 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12144 Replace FSF snail mail address with URLs, as per GNU coding standards.
12145 Most of the snail mail addresses were wrong anyway, and omitting
12146 them makes the source code easier to maintain. Almost all of the
12147 changes are to license notices and to locale LC_IDENTIFICATION
12148 addresses, except for this one:
12149 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12150 not its snail mail address.
12152 2012-02-09 Richard Henderson <rth@twiddle.net>
12154 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12155 of kernel-features.h.
12157 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12159 2012-02-08 Marek Polacek <polacek@redhat.com>
12161 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12162 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12163 * sysdeps/gnu/_G_config.h: Likewise.
12164 * sysdeps/generic/_G_config.h: Likewise.
12166 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12168 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12172 * sysdeps/powerpc/powerpc32/crti.S: New file.
12173 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12174 * sysdeps/powerpc/powerpc64/crti.S: New file.
12175 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12177 * Makeconfig (have-initfini): Don't set.
12178 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12179 * configure.in (nopic_initfini): Don't substitute.
12180 * config.h.in (HAVE_INITFINI): Don't #undef.
12181 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12182 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12184 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12186 Support crti.S and crtn.S provided directly by architectures.
12187 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12188 [crti.S in sysdirs] (omit-deps): Likewise.
12189 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12190 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12191 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12192 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12193 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12194 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12195 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12196 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12197 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12198 compiler output for sysdeps/generic/initfini.c.
12199 * sysdeps/i386/elf/Makefile: Remove file.
12200 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12202 2012-02-07 Marek Polacek <polacek@redhat.com>
12204 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12205 * sysdeps/gnu/_G_config.h: Likewise.
12206 * sysdeps/mach/hurd/_G_config.h: Likewise.
12208 2012-02-07 Marek Polacek <polacek@redhat.com>
12210 * math/Makefile (tests): Add tst-CMPLX2.
12211 * math/tst-CMPLX2.c: New file.
12213 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12215 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12217 * math/libm-test.inc (jn_test): Add missing L suffix.
12219 2012-02-06 Marek Polacek <polacek@redhat.com>
12221 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12222 * sysdeps/i386/fpu/e_powf.S: Likewise.
12223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12226 * sysdeps/i386/fpu/e_pow.S: Likewise.
12227 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12229 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12230 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12231 * sysdeps/i386/fpu/e_log2.S: Likewise.
12232 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12234 * sysdeps/i386/fpu/e_powl.S: Likewise.
12235 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12238 * sysdeps/i386/fpu/e_logl.S: Likewise.
12239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12240 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12245 * sysdeps/i386/fpu/e_log.S: Likewise.
12246 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12248 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12249 * sysdeps/i386/fpu/e_logf.S: Likewise.
12250 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12252 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12255 * sysdeps/i386/fpu/e_log10.S: Likewise.
12256 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12257 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12258 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12259 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12262 * sysdeps/i386/asm-syntax.h: Likewise.
12263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12266 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12267 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12272 * sysdeps/powerpc/sysdep.h: Likewise.
12273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12276 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12279 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12281 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12283 * sysdeps/i386/sysdep.h: Include <features.h>.
12284 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12287 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12291 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12294 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12296 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12297 (SETUP_PIC_REG): Use GET_PC_THUNK.
12298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12301 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12304 for non-PIC compilation.
12305 (SETUP_PIC_REG): Add .p2align directive.
12306 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12307 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12348 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12350 * math/tst-CMPLX.c: Include <stdio.h>.
12352 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12354 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12356 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12357 * sysdeps/sparc/bits/mathdef.h: Likewise.
12359 2012-01-31 Marek Polacek <polacek@redhat.com>
12361 * libio/libio.h: Don't define _PARAMS.
12362 * locale/programs/config.h: Don't define PARAMS.
12363 * stdlib/strtol_l.c: Likewise.
12364 (__strtol_l): Remove PARAMS from the prototype.
12366 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12368 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12369 names. Just use the correct names. Remove unnecessary wrapper
12371 * malloc/arena.c: Likewise.
12372 * malloc/hooks.c: Likewise.
12374 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12375 ARENA_TEST says not to. Simplify test for creation of a new arena.
12376 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12378 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12380 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12382 (update_get_addr): New function.
12383 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12384 GET_ADDR_MODULE parameter.
12386 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12388 * crypt/cert.c: Remove __STDC__ conditionals.
12389 * crypt/crypt-entry.c: Likewise.
12390 * crypt/crypt_util.c: Likewise.
12391 * libio/filedoalloc.c: Likewise.
12392 * libio/fileops.c: Likewise.
12393 * libio/genops.c: Likewise.
12394 * libio/iofclose.c: Likewise.
12395 * libio/iofdopen.c: Likewise.
12396 * libio/iofopen.c: Likewise.
12397 * libio/iofopen64.c: Likewise.
12398 * libio/iogetdelim.c: Likewise.
12399 * libio/iopopen.c: Likewise.
12400 * libio/obprintf.c: Likewise.
12401 * libio/oldfileops.c: Likewise.
12402 * libio/oldiofclose.c: Likewise.
12403 * libio/oldiofdopen.c: Likewise.
12404 * libio/oldiofopen.c: Likewise.
12405 * libio/oldiopopen.c: Likewise.
12406 * libio/wfiledoalloc.c: Likewise.
12407 * libio/wgenops.c: Likewise.
12408 * locale/programs/xmalloc.c: Likewise.
12409 * misc/syslog.c: Likewise.
12410 * stdio-common/xbug.c: Likewise.
12411 * string/memchr.c: Likewise.
12412 * string/memcmp.c: Likewise.
12413 * string/memrchr.c: Likewise.
12414 * string/rawmemchr.c: Likewise.
12415 * sysdeps/posix/getcwd.c: Likewise.
12416 * time/strftime_l.c: Likewise.
12418 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12420 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12421 * config.make.in (config-cflags-sse2avx): Define.
12422 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12425 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12427 * scripts/config.guess: Update from upstream config git repository.
12428 * scripts/config.sub: Likewise.
12430 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12432 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12434 (R_TILEPRO_*, R_TILEGX_*): New macros.
12436 * scripts/firstversions.awk: Fix bug in version range handling.
12438 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12440 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12442 * include/sys/epoll.h: New file.
12443 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12446 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12448 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12449 Avoid unnecessary __WORDSIZE == 64 test.
12450 (fmaxf): Use VEX format if possible.
12455 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12456 * math/math_private.h: Remove libc_fegetround* and
12458 * sysdeps/i386/configure.in: Check for -msse2avx.
12459 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12460 also if SSE2AVX is defined.
12461 Remove libc_fegetround* and libc_fesetround*.
12462 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12463 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12472 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12474 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12480 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12483 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12485 * Makeconfig (libm): Define.
12486 * elf/Makefile: Add rules to build and run tst-relsort1.
12487 * elf/tst-relsort1.c: New file.
12488 * elf/tst-relsort1mod1.c: New file.
12489 * elf/tst-relsort1mod2.c: New file.
12491 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12493 * math/s_ldexp.c: Remove __STDC__ conditionals.
12494 * math/s_ldexpf.c: Likewise.
12495 * math/s_ldexpl.c: Likewise.
12496 * math/s_nextafter.c: Likewise.
12497 * math/s_nexttowardf.c: Likewise.
12498 * math/s_significand.c: Likewise.
12499 * math/s_significandf.c: Likewise.
12500 * math/s_significandl.c: Likewise.
12501 * math/w_jnl.c: Likewise.
12502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12542 * sysdeps/ieee754/k_standard.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12622 * sysdeps/ieee754/s_matherr.c: Likewise.
12623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12628 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12630 * crypt/md5.h: Remove __STDC__ conditionals.
12631 * libio/libioP.h: Likewise.
12632 * locale/programs/config.h: Likewise.
12633 * sysdeps/generic/sysdep.h: Likewise.
12634 * sysdeps/i386/asm-syntax.h: Likewise.
12635 * sysdeps/s390/asm-syntax.h: Likewise.
12636 * sysdeps/unix/sysdep.h: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12640 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12642 * libio/libio.h: Remove __STDC__ conditionals.
12643 * malloc/obstack.h: Likewise.
12644 * math/complex.h: Likewise.
12645 * math/math.h: Likewise.
12646 * sysdeps/generic/_G_config.h: Likewise.
12647 * sysdeps/gnu/_G_config.h: Likewise.
12648 * sysdeps/mach/hurd/_G_config.h: Likewise.
12649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12651 * sysdeps/sparc/bits/mathdef.h: Likewise.
12653 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12657 Clean up HAS_* macros.
12658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12659 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12669 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12671 * elf/tst-unique3.cc (gets): Remove declaration.
12672 * elf/tst-unique3lib.cc (gets): Likewise.
12673 * elf/tst-unique3lib2.cc (gets): Likewise.
12674 * elf/tst-unique4.cc (gets): Likewise.
12676 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12678 * include/stdio.h: Add C++ protection. Add gets declarations and
12680 * debug/tst-chk1.c: Don't declare gets here.
12681 * stdio-common/tst-gets.c: Likewise.
12683 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12685 * posix/glob: Remove directory.
12687 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12689 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12691 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12693 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12694 of the non-standard EPFNOSUPPORT.
12696 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12698 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12699 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12700 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12702 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12704 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12706 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12708 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12710 * nscd/grpcache.c (cache_addgr): Likewise.
12711 * nscd/hstcache.c (cache_addhst): Likewise.
12712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12713 * nscd/pwdcache.c (cache_addpw): Likewise.
12714 * nscd/servicescache.c (cache_addserv): Likewise.
12716 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12718 * malloc/malloc.c: Various cleanups.
12719 * malloc/hooks.c: Likewise.
12721 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12722 * stdlib/bug-fmtmsg1.c: New file.
12724 * stdlib/fmtmsg.c (init): Add missing unlock.
12725 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12727 2012-01-12 Marek Polacek <polacek@redhat.com>
12729 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12732 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12734 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12735 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12736 macro to ensure uniqueness of label name.
12737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12740 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12749 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12753 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12757 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12764 * math/bits/math-finite.h: Add ldexp support.
12766 2012-01-10 Marek Polacek <polacek@redhat.com>
12768 * locale/programs/localedef.h (show_archive_content): Add noreturn
12771 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12775 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12777 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12779 * io/Makefile (headers): Add bits/poll2.h.
12781 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12784 typo #include statement.
12786 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12788 * include/sys/cdefs.h: Define __attribute_alloc_size.
12789 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12790 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12791 * elf/pldd.c: Likewise.
12792 * iconv/iconv_charmap.c: Likewise.
12793 * iconv/iconvconfig.c: Likewise.
12794 * iconv/strtab.c: Likewise.
12795 * locale/programs/locale.c: Likewise.
12796 * locale/programs/localedef.h: Likewise.
12797 * locale/programs/simple-hash.c: Likewise.
12798 * nscd/nscd.h: Likewise.
12799 * nss/makedb.c: Likewise.
12800 * sysdeps/generic/ldconfig.h: Likewise.
12801 * locale/programs/localedef.c: Remove xmalloc prototype.
12802 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12804 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12809 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12811 * math/Makefile (tests): Add tst-CMPLX.
12812 * math/tst-CMPLX.c: New file.
12814 * math/complex.h (CMPLXL): Fix typo.
12816 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12817 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12819 * debug/tst-chk1.c: Add poll and ppoll tests.
12820 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12821 * include/sys/poll.h: Add hidden proto for ppoll.
12822 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12823 * sysdeps/mach/hurd/ppoll.c: Likewise.
12824 * io/ppoll.c: Likewise.
12825 * debug/poll_chk.c: New file.
12826 * debug/ppoll_chk.c: New file.
12827 * include/bits/poll2.h: New file.
12828 * io/bits/poll2.h: New file.
12831 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12833 * configure.in: static is always set to yes. Remove.
12834 * config.make.in: Don't set build-static.
12835 * Makeconfig: Remove use of build-static.
12836 * dlfcn/Makefile: Likewise.
12837 * elf/Makefile: Likewise.
12838 * math/Makefile: Likewise.
12839 * misc/Makefile: Likewise.
12840 * nptl/Makefile: Likewise.
12841 * sysdeps/mach/hurd/Makefile: Likewise.
12843 * configure.in: PWD_P is not used anymore.
12844 * config.make.in: Remove PWD_P entry.
12846 * configure.in: Remove last remnants of RANLIB.
12847 No need to check for signed size_t anymore.
12848 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12850 Remove __builtin_expect test because we require at least gcc 3.4.
12851 * aclocal.m4: Likewise.
12853 * wcsmbs/mbrtoc16.c: Implement using towc function.
12854 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12855 * wcsmbs/wcsmbsload.c: Likewise.
12856 * iconv/gconv_simple.c: Likewise.
12857 * iconv/gconv_int.h: Likewise.
12858 * iconv/gconv_builtin.h: Likewise.
12859 * iconv/iconv_prog.c: Remove CHAR16 handling.
12861 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12863 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12865 * configure.in: Remove --with-elf and --enable-bounded options.
12866 Dont set base_machine for ia64. More non-ELF conditions removed.
12867 Remove testing and setting of leading underscore information.
12868 * config.make.in (build-bounded): Set to no.
12869 * config.h.in: Remove NO_UNDERSCORES entry.
12870 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12872 * csu/start.c: Remove !NO_UNDERSCORE code.
12873 * locale/localeinfo.h: Likewise.
12874 * sysdeps/generic/machine-gmon.h: Likewise.
12875 * sysdeps/generic/sysdep.h: Likewise.
12876 * sysdeps/i386/sysdep.h: Likewise.
12877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12878 * sysdeps/mach/sysdep.h: Likewise.
12879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12881 * sysdeps/sh/sysdep.h: Likewise.
12882 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12883 * sysdeps/unix/i386/sysdep.S: Likewise.
12884 * sysdeps/unix/sparc/start.c: Likewise.
12885 * sysdeps/unix/sparc/sysdep.S: Likewise.
12886 * sysdeps/unix/sparc/sysdep.h: Likewise.
12887 * sysdeps/unix/start.c: Likewise.
12888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12889 * sysdeps/x86_64/sysdep.h: Likewise.
12891 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12894 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12896 * argp/argp-fmtstream.h: Use const instead __const.
12897 * argp/argp.h: Likewise.
12898 * assert/assert.h: Likewise.
12899 * bits/fenv.h: Likewise.
12900 * bits/sched.h: Likewise.
12901 * bits/sigset.h: Likewise.
12902 * bits/sigthread.h: Likewise.
12903 * catgets/nl_types.h: Likewise.
12904 * conform/data/pthread.h-data: Likewise.
12905 * crypt/crypt-private.h: Likewise.
12906 * crypt/crypt.h: Likewise.
12907 * crypt/crypt_util.c: Likewise.
12908 * ctype/ctype.h: Likewise.
12909 * debug/execinfo.h: Likewise.
12910 * debug/mbsnrtowcs_chk.c: Likewise.
12911 * debug/mbsrtowcs_chk.c: Likewise.
12912 * debug/wcsnrtombs_chk.c: Likewise.
12913 * debug/wcsrtombs_chk.c: Likewise.
12914 * debug/wcstombs_chk.c: Likewise.
12915 * dirent/dirent.h: Likewise.
12916 * dlfcn/dlfcn.h: Likewise.
12917 * elf/neededtest4.c: Likewise.
12918 * grp/grp.h: Likewise.
12919 * gshadow/gshadow.h: Likewise.
12920 * iconv/gconv.h: Likewise.
12921 * iconv/gconv_int.h: Likewise.
12922 * iconv/gconv_simple.c: Likewise.
12923 * iconv/iconv.h: Likewise.
12924 * iconv/loop.c: Likewise.
12925 * iconv/skeleton.c: Likewise.
12926 * include/aio.h: Likewise.
12927 * include/aliases.h: Likewise.
12928 * include/argz.h: Likewise.
12929 * include/arpa/inet.h: Likewise.
12930 * include/assert.h: Likewise.
12931 * include/dirent.h: Likewise.
12932 * include/dlfcn.h: Likewise.
12933 * include/execinfo.h: Likewise.
12934 * include/fcntl.h: Likewise.
12935 * include/fenv.h: Likewise.
12936 * include/glob.h: Likewise.
12937 * include/grp.h: Likewise.
12938 * include/libintl.h: Likewise.
12939 * include/mntent.h: Likewise.
12940 * include/netdb.h: Likewise.
12941 * include/pwd.h: Likewise.
12942 * include/rpc/netdb.h: Likewise.
12943 * include/sched.h: Likewise.
12944 * include/search.h: Likewise.
12945 * include/shadow.h: Likewise.
12946 * include/signal.h: Likewise.
12947 * include/stdio.h: Likewise.
12948 * include/stdlib.h: Likewise.
12949 * include/string.h: Likewise.
12950 * include/sys/socket.h: Likewise.
12951 * include/sys/stat.h: Likewise.
12952 * include/sys/statfs.h: Likewise.
12953 * include/sys/statvfs.h: Likewise.
12954 * include/sys/syslog.h: Likewise.
12955 * include/sys/time.h: Likewise.
12956 * include/sys/uio.h: Likewise.
12957 * include/time.h: Likewise.
12958 * include/unistd.h: Likewise.
12959 * include/utmp.h: Likewise.
12960 * include/wchar.h: Likewise.
12961 * include/wctype.h: Likewise.
12962 * inet/aliases.h: Likewise.
12963 * inet/arpa/inet.h: Likewise.
12964 * inet/netinet/ether.h: Likewise.
12965 * inet/netinet/in.h: Likewise.
12966 * intl/libintl.h: Likewise.
12967 * io/bits/fcntl2.h: Likewise.
12968 * io/fcntl.h: Likewise.
12969 * io/ftw.h: Likewise.
12970 * io/sys/poll.h: Likewise.
12971 * io/sys/stat.h: Likewise.
12972 * io/sys/statfs.h: Likewise.
12973 * io/sys/statvfs.h: Likewise.
12974 * io/utime.h: Likewise.
12975 * libio/bits/stdio.h: Likewise.
12976 * libio/bits/stdio2.h: Likewise.
12977 * libio/libio.h: Likewise.
12978 * libio/libioP.h: Likewise.
12979 * libio/stdio.h: Likewise.
12980 * locale/lc-ctype.c: Likewise.
12981 * locale/locale.h: Likewise.
12982 * login/utmp.h: Likewise.
12983 * malloc/arena.c: Likewise.
12984 * malloc/malloc.c: Likewise.
12985 * malloc/malloc.h: Likewise.
12986 * malloc/mcheck.c: Likewise.
12987 * malloc/mtrace.c: Likewise.
12988 * math/bits/mathcalls.h: Likewise.
12989 * math/fenv.h: Likewise.
12990 * math/math_private.h: Likewise.
12991 * misc/bits/error.h: Likewise.
12992 * misc/bits/syslog.h: Likewise.
12993 * misc/err.h: Likewise.
12994 * misc/error.h: Likewise.
12995 * misc/fstab.h: Likewise.
12996 * misc/mntent.h: Likewise.
12997 * misc/regexp.h: Likewise.
12998 * misc/search.h: Likewise.
12999 * misc/sgtty.h: Likewise.
13000 * misc/sys/mman.h: Likewise.
13001 * misc/sys/syslog.h: Likewise.
13002 * misc/sys/uio.h: Likewise.
13003 * misc/sys/xattr.h: Likewise.
13004 * misc/ttyent.h: Likewise.
13005 * nis/rpcsvc/ypclnt.h: Likewise.
13006 * nss/nss.h: Likewise.
13007 * posix/bits/unistd.h: Likewise.
13008 * posix/fnmatch.h: Likewise.
13009 * posix/glob.h: Likewise.
13010 * posix/sched.h: Likewise.
13011 * posix/spawn.h: Likewise.
13012 * posix/sys/wait.h: Likewise.
13013 * posix/unistd.h: Likewise.
13014 * posix/wordexp.h: Likewise.
13015 * pwd/pwd.h: Likewise.
13016 * resolv/netdb.h: Likewise.
13017 * resource/sys/resource.h: Likewise.
13018 * rt/aio.h: Likewise.
13019 * rt/bits/mqueue2.h: Likewise.
13020 * rt/mqueue.h: Likewise.
13021 * shadow/shadow.h: Likewise.
13022 * signal/signal.h: Likewise.
13023 * socket/send.c: Likewise.
13024 * socket/sendto.c: Likewise.
13025 * socket/sys/socket.h: Likewise.
13026 * stdio-common/printf.h: Likewise.
13027 * stdlib/bits/stdlib.h: Likewise.
13028 * stdlib/fmtmsg.h: Likewise.
13029 * stdlib/monetary.h: Likewise.
13030 * stdlib/stdlib.h: Likewise.
13031 * stdlib/ucontext.h: Likewise.
13032 * streams/stropts.h: Likewise.
13033 * string/argz.h: Likewise.
13034 * string/bits/string2.h: Likewise.
13035 * string/string.h: Likewise.
13036 * string/strings.h: Likewise.
13037 * sunrpc/rpc/auth.h: Likewise.
13038 * sunrpc/rpc/auth_des.h: Likewise.
13039 * sunrpc/rpc/clnt.h: Likewise.
13040 * sunrpc/rpc/netdb.h: Likewise.
13041 * sunrpc/rpc/pmap_clnt.h: Likewise.
13042 * sunrpc/rpc/xdr.h: Likewise.
13043 * sysdeps/generic/inttypes.h: Likewise.
13044 * sysdeps/generic/net/if.h: Likewise.
13045 * sysdeps/generic/sys/swap.h: Likewise.
13046 * sysdeps/gnu/net/if.h: Likewise.
13047 * sysdeps/gnu/utmpx.h: Likewise.
13048 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13049 * sysdeps/i386/i486/bits/string.h: Likewise.
13050 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13051 * sysdeps/s390/bits/string.h: Likewise.
13052 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13053 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13054 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13055 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13056 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13057 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13058 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13060 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13062 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13063 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13064 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13066 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13074 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13075 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13076 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13077 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13080 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13082 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13083 * sysvipc/sys/ipc.h: Likewise.
13084 * sysvipc/sys/msg.h: Likewise.
13085 * sysvipc/sys/sem.h: Likewise.
13086 * sysvipc/sys/shm.h: Likewise.
13087 * termios/termios.h: Likewise.
13088 * time/sys/time.h: Likewise.
13089 * time/time.h: Likewise.
13090 * wcsmbs/bits/wchar2.h: Likewise.
13091 * wcsmbs/uchar.h: Likewise.
13092 * wcsmbs/wchar.h: Likewise.
13093 * wctype/wctype.h: Likewise.
13096 * Makeconfig: Remove all but ELF support including AIX support.
13097 * Makerules: Likewise.
13098 * config.h.in: Likewise.
13099 * config.make.in: Likewise.
13100 * configure: Likewise.
13101 * configure.in: Likewise.
13102 * csu/Makefile: Likewise.
13103 * csu/version.c: Likewise.
13104 * debug/Makefile: Likewise.
13105 * dlfcn/Makefile: Likewise.
13106 * elf/Makefile: Likewise.
13107 * extra-lib.mk: Likewise.
13108 * iconv/Makefile: Likewise.
13109 * include/libc-symbols.h: Likewise.
13110 * include/shlib-compat.h: Likewise.
13111 * resolv/Makefile: Likewise.
13112 * resolv/res_libc.c: Likewise.
13113 * rt/Makefile: Likewise.
13114 * sysdeps/i386/asm-syntax.h: Likewise.
13115 * sysdeps/i386/sysdep.h: Likewise.
13116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13117 * sysdeps/mach/sysdep.h: Likewise.
13118 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13119 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13120 * sysdeps/s390/asm-syntax.h: Likewise.
13121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13123 * sysdeps/sh/sysdep.h: Likewise.
13124 * sysdeps/unix/sparc/sysdep.h: Likewise.
13125 * sysdeps/wordsize-32/divdi3.c: Likewise.
13126 * sysdeps/x86_64/sysdep.h: Likewise.
13128 * argp/Versions: Remove _argp_unlock_xxx.
13131 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13132 * abilist/libBrokenLocale.abilist: Likewise.
13133 * abilist/libanl.abilist: Likewise.
13134 * abilist/libc.abilist: Likewise.
13135 * abilist/libcrypt.abilist: Likewise.
13136 * abilist/libdl.abilist: Likewise.
13137 * abilist/libm.abilist: Likewise.
13138 * abilist/libnsl.abilist: Likewise.
13139 * abilist/libpthread.abilist: Likewise.
13140 * abilist/libresolv.abilist: Likewise.
13141 * abilist/librt.abilist: Likewise.
13142 * abilist/libthread_db.abilist: Likewise.
13143 * abilist/libutil.abilist: Likewise.
13144 * abilist/libnss_db.abilist: New file.
13146 * scripts/abilist.awk: Add support for indirect functions.
13148 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13150 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13152 * shlib-versions: Remove entries for ports architectures.
13154 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13156 * elf/stackguard-macros.h: Remove support for IA-64.
13157 * elf/tst-auditmod1.c: Likewise.
13158 * sysdeps/generic/ldsodefs.h: Likewise.
13160 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13161 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13165 * configure.in: Remove --enable-omitfp support.
13167 * config.make.in: Likewise.
13168 * Makeconfig: Likewise.
13169 * manual/install.texi: Likewise.
13171 In case anyone cares, the IA-64 architecture could move to ports.
13172 * sysdeps/ia64/*: Removed.
13173 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13174 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13177 * configure.in: Remove entries for unsupported architectures.
13180 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13181 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13183 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13184 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13185 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13186 fall back to using wcrtomb.
13187 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13188 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13190 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13191 * wcsmbs/tst-c16c32-1.c: New file.
13193 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13196 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13198 * elf/tst-unique3.cc: Add explicit declaration of gets.
13199 * elf/tst-unique3lib.cc: Likewise.
13200 * elf/tst-unique3lib2.cc: Likewise.
13201 * elf/tst-unique4.cc: Likewise.
13203 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13205 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13208 * assert/assert.h (static_assert): Don't define for C++.
13209 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13210 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13212 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13214 * iconv/loop.c (single loop): Fix assertion in storing of
13217 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13219 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13221 * posix/getconf.c: Update copyright year.
13222 * nss/getent.c: Likewise.
13223 * nss/makedb.c: Likewise.
13224 * iconv/iconvconfig.c: Likewise.
13225 * iconv/iconv_prog.c: Likewise.
13226 * elf/ldconfig.c: Likewise.
13227 * elf/pldd.c: Likewise.
13228 * elf/sotruss.ksh: Likewise.
13229 * catgets/gencat.c: Likewise.
13230 * csu/version.c: Likewise.
13231 * elf/ldd.bash.in: Likewise.
13232 * elf/sprof.c (print_version): Likewise.
13233 * locale/programs/locale.c: Likewise.
13234 * locale/programs/localedef.c: Likewise.
13235 * login/programs/pt_chown.c: Likewise.
13236 * nscd/nscd.c (print_version): Likewise.
13237 * debug/xtrace.sh: Likewise.
13238 * malloc/memusage.sh: Likewise.
13239 * malloc/mtrace.pl: Likewise.
13240 * debug/catchsegv.sh: Likewise.
13242 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13244 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13247 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13250 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13251 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13253 * iconv/gconv_int.h: Likewise.
13254 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13255 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13256 from libc for GLIBC_2.16.
13257 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13258 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13259 * wcsmbs/uchar.h: Really define mbstate_t.
13260 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13261 * wcsmbs/c16rtomb.c: New file.
13262 * wcsmbs/mbrtoc16.c: New file.
13263 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13264 for C/POSIX locale.
13265 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13266 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13268 * wcsmbs/wchar.h: Add missing __restrict.
13270 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13273 * time/Makefile (routines): Add timespec_get.
13274 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13275 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13276 timespec for ISO C11.
13277 * time/timespec_get.c: New file.
13278 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13279 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13282 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13283 * stdlib/stdlib.h: Declare aligned_alloc.
13284 * Versions.def: Add GLIBC_2.16 for libc.
13285 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13288 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13291 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13295 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13298 * assert/assert.h (static_assert): Define.
13300 * version.h: Update for 2.16 development version.
13303 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13306 * version.h (RELEASE): Bump for 2.15 release.
13307 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13309 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13310 Patch by Marek Polacek <mpolacek@redhat.com>.
13312 * bits/byteswap.h: Protect long long constants with __extension__.
13313 * sysdeps/i386/bits/byteswap.h: Likewise.
13314 * sysdeps/ia64/bits/byteswap.h: Likewise.
13315 * sysdeps/s390/bits/byteswap.h: Likewise.
13316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13318 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13322 destination buffer.
13323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13325 2011-12-23 Marek Polacek <polacek@redhat.com>
13327 * elf/dl-addr.c (determine_info): Add inline keyword.
13328 * elf/tst-auditmod4b.c (check_avx): Likewise.
13329 * elf/tst-auditmod6b.c (check_avx): Likewise.
13330 * elf/tst-auditmod6c.c (check_avx): Likewise.
13331 * elf/tst-auditmod7b.c (check_avx): Likewise.
13333 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13338 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13342 processing for last bytes.
13344 2011-08-06 Bruno Haible <bruno@clisp.org>
13347 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13348 U+0385, not to U+1FEE.
13351 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13352 entry for U+00A5 U+0301.
13354 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13357 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13358 buffer for the output is too small.
13360 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13364 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13365 SSE flags if possible.
13367 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13371 processing for last bytes.
13373 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13376 (syscall-list-default-options, syscall-list-default-condition)
13377 (syscall-list-includes): Define.
13378 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13379 list of ABIs and options and #if conditions for each ABI. Do not
13380 handle common syscalls between ABIs specially.
13381 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13383 (syscall-list-variants, syscall-list-32bit-options)
13384 (syscall-list-32bit-condition, syscall-list-64bit-options)
13385 (syscall-list-64bit-condition): Define.
13386 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13387 (syscall-list-variants, syscall-list-32bit-options)
13388 (syscall-list-32bit-condition, syscall-list-64bit-options)
13389 (syscall-list-64bit-condition): Define.
13390 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13392 (syscall-list-variants, syscall-list-32bit-options)
13393 (syscall-list-32bit-condition, syscall-list-64bit-options)
13394 (syscall-list-64bit-condition): Define.
13395 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13397 (syscall-list-variants, syscall-list-32bit-options)
13398 (syscall-list-32bit-condition, syscall-list-64bit-options)
13399 (syscall-list-64bit-condition): Define.
13401 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13403 * locale/iso-639.def: Add brx entry.
13406 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13407 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13409 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13410 __feraiseexcept_renamed.
13412 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13415 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13416 EPOLLET with unsigned values.
13417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13420 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13421 to large cancellation.
13422 * math/s_cacoshf.c: Likewise.
13423 * math/s_cacoshl.c: Likewise.
13425 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13429 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13430 * math/s_cacoshf.c: Likewise.
13431 * math/s_cacoshl.c: Likewise.
13433 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13436 * iconv/gconv.h: Define __GCONV_SWAP.
13437 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13438 * iconvdata/utf-16.c: Likewise.
13439 * iconvdata/utf-32.c: Likewise.
13441 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13445 numerator after shifting it by one limb.
13447 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13450 under [__USE_EXTERN_INLINES].
13452 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13455 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13457 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13459 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13460 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13462 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13464 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13465 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13466 for strncasecmp/strncasecmp_l compilation.
13467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13468 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13470 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13473 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13476 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13479 * time/tzfile.c (__tzfile_read): Check values from file header.
13481 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13483 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13484 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13485 * powerpc/powerpc32/dl-start.S: Likewise.
13486 * powerpc/powerpc32/elf/start.S: Likewise.
13487 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13488 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13489 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13490 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13491 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13492 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13493 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13494 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13495 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13496 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13497 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13498 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13499 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13500 * powerpc/powerpc32/memset.S: Likewise.
13501 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13502 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13503 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13504 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13505 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13506 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13507 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13508 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13509 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13510 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13515 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13517 * math/libm-test.inc: Added more nearbyint tests.
13518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13523 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13525 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13528 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13530 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13531 Add wcscpy-ssse3 wcscpy-c.
13532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13533 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13534 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13535 * sysdeps/x86_64/wcschr.S: New file.
13536 * sysdeps/x86_64/wcsrchr.S: New file.
13537 * string/test-strcmp.c: Remove checking of wcscmp function for
13539 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13540 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13541 wcsrchr-sse2 wcsrchr-c.
13542 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13543 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13544 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13545 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13548 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13549 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13551 * wcsmbc/wcschr.c (WCSCHR): New macro.
13553 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13555 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13556 * wcsmbs/test-wcsrchr.c: New file.
13557 * string/test-strrchr.c: Add wcsrchr support.
13559 * wcsmbs/test-wcscpy.c: New file.
13560 * string/test-strcpy.c: Add wcscpy support.
13563 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13568 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13571 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13573 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13576 Minor optimizations.
13578 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13579 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13582 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13584 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13585 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13586 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13587 for gcc to avoid warnings.
13588 * inet/Makefile (tests): Add tst-checks.
13589 * inet/tst-checks.c: New file.
13591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13594 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13597 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13598 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13600 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13602 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13604 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13607 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13609 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13612 conditional on GCC version.
13613 (__arch_compare_and_exchange_val_8_acq)
13614 (__arch_compare_and_exchange_val_16_acq)
13615 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13616 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13617 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13619 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13621 * sysdeps/sh/backtrace.c: New file.
13623 2011-12-02 Andreas Schwab <schwab@redhat.com>
13625 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13628 2011-12-01 Andreas Schwab <schwab@redhat.com>
13630 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13631 falling back to utime.
13633 2011-11-30 Andreas Schwab <schwab@redhat.com>
13635 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13636 expectations for float.
13638 2011-11-29 Andreas Schwab <schwab@redhat.com>
13640 * locale/weight.h (findidx): Add parameter len.
13641 * locale/weightwc.h (findidx): Likewise.
13642 * posix/fnmatch_loop.c (FCT): Adjust caller.
13643 * posix/regcomp.c (build_equiv_class): Likewise.
13644 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13645 * posix/regexec.c (check_node_accept_bytes): Likewise.
13646 * string/strcoll_l.c (STRCOLL): Likewise.
13647 * string/strxfrm_l.c (STRXFRM): Likewise.
13649 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13651 * Makefile.in: Remove CVSOPT handling.
13652 * configure.in: Remove use of AC_REVISION.
13653 * iconvdata/Makefile (distribute): No need to filter out CVS.
13654 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13657 2011-11-16 Andreas Schwab <schwab@redhat.com>
13659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13660 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13661 [USE_AS_STRNCASECMP_L]: Likewise.
13662 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13663 NO_TLS_DIRECT_SEG_REFS.
13664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13665 Fix argument offsets for non-PIC.
13666 [USE_AS_STRNCASECMP_L]: Likewise.
13667 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13668 NO_TLS_DIRECT_SEG_REFS.
13670 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13672 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13674 * locale/loadlocale.c (_nl_load_locale): Likewise.
13676 2011-11-15 Andreas Schwab <schwab@redhat.com>
13678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13679 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13681 (SYSCALL_GETTIME): Set errno on error.
13683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13684 count references to noai6ai_cached.
13686 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13688 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13690 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13691 FD_CLOEXEC for /proc/self/maps.
13693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13694 FD_CLOEXEC for /proc/meminfo.
13696 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13699 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13700 FD_CLOEXEC for given file.
13702 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13704 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13705 FD_CLOEXEC for /etc/hosts.
13706 (_gethtent): Likewise.
13708 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13711 cancellation and set FD_CLOEXEC for /etc/netgroup.
13713 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13714 reading /etc/publickey.
13716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13717 allow cancellation when reading /etc/group.
13719 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13721 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13723 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13724 when using data file.
13726 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13728 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13729 (write_nis_obj): Use "c" and "e" in fopen.
13731 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13733 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13735 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13737 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13739 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13742 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13744 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13746 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13748 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13749 file parsing and set FD_CLOEXEC.
13751 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13753 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13755 2011-11-14 Andreas Schwab <schwab@redhat.com>
13757 * malloc/arena.c (arena_get2): Don't call reused_arena when
13758 _int_new_arena failed.
13760 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13763 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13768 to compile strcasecmp and strncasecmp.
13769 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13770 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13774 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13777 locale-defines.sym to gen-as-const-headers.
13778 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13779 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13781 to compile strcasecmp and strncasecmp.
13782 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13783 strcasecmp_l and strncasecmp_l.
13784 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13785 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13786 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13788 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13789 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13790 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13791 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13792 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13793 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13794 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13796 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13798 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13799 result of SYSDEP_GETTIME_CPU to retval.
13800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13801 parameter list to macro. Remove trailing semicolon. Adjust users.
13803 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13811 from unused variable.
13813 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13815 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13818 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13821 * sunrpc/rpc_prot.c (rejected): Fix case value.
13823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13824 unsigned long long int to avoid warnings in shift.
13826 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13828 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13832 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13835 * nis/nis_table.c (nis_list): Use variable of correct type for
13836 result of __follow_path call.
13838 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13840 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13841 of math functions ceil, trunc, floor, round, and sqrt, when
13842 avaliable on the platform.
13843 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13846 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13847 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13849 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13851 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13854 2011-11-11 Roland McGrath <roland@hack.frob.com>
13856 * include/unistd.h: Fix __readlink return type.
13857 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13859 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13861 * stdlib/ucontext.h: Undo last change for makecontext.
13863 2011-11-11 Andreas Schwab <schwab@redhat.com>
13865 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13867 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13868 * setjmp/setjmp.h: Mark functions as non-leaf.
13869 * setjmp/bits/setjmp2.h: Likewise.
13870 * stdlib/ucontext.h: Likewise.
13872 2011-11-10 Andreas Schwab <schwab@redhat.com>
13874 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13875 (reused_arena): Don't check arena limit.
13876 (arena_get2): Atomically check arena limit.
13878 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13880 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13881 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13886 2011-11-07 Andreas Schwab <schwab@redhat.com>
13888 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13889 handler when locking.
13891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13892 Fix size of allocated buffer.
13894 2011-11-04 Andreas Schwab <schwab@redhat.com>
13897 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13898 declarations for long double functions.
13899 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13901 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13903 2011-11-03 Andreas Schwab <schwab@redhat.com>
13905 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13908 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13911 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13913 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13915 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13917 * include/alloca.h (stackinfo_alloca_round): Define.
13918 (extend_alloca): Use it.
13919 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13920 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13923 * scripts/check-local-headers.sh: Ignore libaudit.h.
13925 * nscd/Makefile (extra-objs): Make recursively expanded.
13927 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13929 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13930 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13932 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13933 * posix/tst-rfc3484-2.c: Likewise.
13934 * posix/tst-rfc3484-3.c: Likewise.
13936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13938 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13940 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13941 process_vm_writev from libc using GLIBC_2.15 version.
13943 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13945 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13947 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13950 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13953 * nss/getent.c (initgroups_keys): Show error message in case no group
13956 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13957 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13958 __bump_nl_timestamp.
13959 * nscd/connections (nscd_init): When host database is served open
13960 netlink socket and request notification about configuration changes.
13961 (main_loop_poll): Track netlink file descriptor and bump timestamp
13962 in case data becomes available.
13963 (main_loop_epoll): Likewise.
13964 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13965 (database_pers_head): Add extra_data fileds.
13966 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13968 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13971 in6ai data, call __free_in6ai.
13972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13973 Add -DHAVE_NETLINK.
13974 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13975 interface information. Reuse previous data if netlink timestamp
13977 (__bump_nl_timestamp): New function.
13978 (__free_in6ai): New function.
13980 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13983 close_not_cancel_no_status here.
13984 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13986 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13989 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13992 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13993 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13994 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13996 2011-07-03 Andreas Jaeger <aj@suse.de>
13999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14000 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14001 * math/libm-test.inc (sin_test): Add test case.
14003 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14006 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14009 * elf/chroot_canon.c (chroot_canon): Cleanups.
14011 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14014 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14017 * string/test-strchr.c: Make usable for strchrnul testing.
14018 * string/test-strchrnul.c: New file.
14019 * string/Makefile (strop-tests): Add strchrnul.
14021 * po/it.po: Update from translation team.
14022 * po/es.po: Likewise.
14024 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14027 the three constants needed as parameters. Drop the others.
14028 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14029 __m128i_strloadu_tolower.
14030 Create and initialize variable zero and use it in all the places
14031 where _mm_setzero_si128 was used.
14033 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14034 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14035 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14036 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14041 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14043 __mpranred, __mptan.
14044 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14045 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14046 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14047 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14054 2011-10-28 Andreas Schwab <schwab@redhat.com>
14056 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14057 redefine if SHARED.
14058 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14061 wide char related routines to wcsmbs subdir.
14063 2011-10-27 Andreas Schwab <schwab@redhat.com>
14066 * misc/sys/cdefs.h (__THROWNL): Define.
14067 * posix/unistd.h: Use __THREADNL instead of __THREAD
14068 for memory synchronization functions.
14070 2011-10-26 Roland McGrath <roland@hack.frob.com>
14073 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14075 * manual/stdio.texi (Obstack Streams): Node removed.
14077 2011-10-26 Andreas Schwab <schwab@redhat.com>
14079 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14083 * math/math_private.h (math_force_eval): Allow non-addressable
14085 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14087 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14090 file is not needed.
14092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14099 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14106 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14107 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14111 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14112 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14119 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14121 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14122 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14125 place. Use VEX encoding when compiling for AVX.
14127 2011-10-25 Andreas Schwab <schwab@redhat.com>
14129 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14132 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14134 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14136 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14137 useless if() expression.
14138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14156 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14158 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14160 2011-10-25 Andreas Schwab <schwab@redhat.com>
14162 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14166 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14168 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14169 .text section. Avoid duplicate constants.
14170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14193 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14194 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14195 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14197 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14216 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14218 * sysdeps/x86_64/dla.h: Move to ...
14219 * sysdeps/x86_64/fpu/dla.h: ...here.
14220 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14221 situations. Use __builtin_fma only for gcc 4.6 and up.
14223 * config.make.in: Add have-mfma4 entry.
14224 * configure.in: Substitute libc_cv_cc_fma4.
14225 * math/Makefile (dbl-only-routines): Add sincostab.
14226 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14227 Use __sincostab not sincos.
14228 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14235 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14236 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14237 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14238 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14241 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14243 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14244 define aliases when function name is a macro.
14245 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14246 sysdeps/ieee754/dbl-64/sincos.tbl.
14247 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14248 fma4-enabled routines.
14249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14259 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14280 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14291 2011-10-24 Andreas Schwab <schwab@redhat.com>
14293 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14295 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14303 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14304 Remove unused variable magic_bits.
14305 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14307 * string/strnlen.c: Define and use STRNLEN macro.
14308 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14309 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14311 * wcsmbs/wcslen.c: Define and use WCSLEN.
14312 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14313 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14314 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14315 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14316 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14317 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14320 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14323 strnlen-sse2-no-bsf.
14324 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14326 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14327 Add strnlen support.
14328 (USE_AS_STRNLEN): New macro.
14329 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14331 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14332 * sysdeps/x86_64/wcslen.S: New file.
14334 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14337 XMM-moves are used for copying on small sizes.
14339 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14341 * wcsmbs/Makefile (strop-tests): Add wcschr.
14342 * wcsmbs/test-wcschr.c: New file.
14343 * string/test-strchr.c: Update.
14344 Add wcschr support.
14347 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14349 * wcsmbs/Makefile (strop-tests): Add wcslen.
14350 * wcsmbs/test-wcslen.c: New file.
14351 * string/test-strlen.c: Update.
14352 Add wcslen support.
14355 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14357 * po/it.po: Update from translation team.
14359 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14361 * sysdeps/x86_64/wcscmp.S: Update.
14362 Fix wrong comparison semantics.
14363 wcscmp shall use signed comparison not unsigned.
14364 Don't use substraction to avoid overflow bug.
14365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14366 * wcsmbc/wcscmp.c: Likewise.
14367 * string/test-strcmp.c: Likewise.
14368 Add new tests to check cases with negative values.
14370 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14372 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14373 * sysdeps/x86_64/dla.h: ...here. New file.
14374 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14384 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14387 __ynl_finite aliases.
14389 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14393 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14395 [DLA_FMA] (EMULV): Use DLA_FMA.
14396 [DLA_FMA] (MUL12): Use EMULV.
14397 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14398 that are not needed.
14399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14407 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14409 * math/s_nan.c: Undef __nan.
14410 * math/s_nanf.c: Undef __nanf.
14411 * math/s_nanl.c: Undef __nanl.
14412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14415 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14417 * math/s_catan.c: Add branch predictions.
14418 * math/s_catanf.c: Likewise.
14419 * math/s_catanh.c: Likewise.
14420 * math/s_catanhf.c: Likewise.
14421 * math/s_catanhl.c: Likewise.
14422 * math/s_catanl.c: Likewise.
14423 * math/s_cexp.c: Likewise.
14424 * math/s_cexpf.c: Likewise.
14425 * math/s_cexpl.c: Likewise.
14426 * math/s_clog.c: Likewise.
14427 * math/s_clog10.c: Likewise.
14428 * math/s_clog10f.c: Likewise.
14429 * math/s_clog10l.c: Likewise.
14430 * math/s_clogf.c: Likewise.
14431 * math/s_clogl.c: Likewise.
14432 * math/s_csqrt.c: Likewise.
14433 * math/s_csqrtf.c: Likewise.
14434 * math/s_csqrtl.c: Likewise.
14435 * math/s_ctanf.c: Likewise.
14436 * math/s_ctanh.c: Likewise.
14437 * math/s_ctanhf.c: Likewise.
14438 * math/s_ctanhl.c: Likewise.
14439 * math/s_ctanl.c: Likewise.
14441 * math/math_private.h: Define __nan, __nanf, __nanl.
14442 * math/s_cacosh.c: Include <math_private.h>.
14443 * math/s_cacoshl.c: Likewise.
14444 * math/s_casinh.c: Likewise.
14445 * math/s_casinhf.c: Likewise.
14446 * math/s_casinhl.c: Likewise.
14447 * math/s_ccos.c: Rely entire on ccosh.
14448 * math/s_ccosf.c: Rely entire on ccoshf.
14449 * math/s_ccosl.c: Rely entirely on ccoshl.
14450 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14451 Remove tests for FE_INVALID.
14452 * math/s_ccoshf.c: Likewise.
14453 * math/s_ccoshl.c: Likewise.
14454 * math/s_csin.c: Likewise.
14455 * math/s_csinf.c: Likewise.
14456 * math/s_csinh.c Likewise.
14457 * math/s_csinhf.c: Likewise.
14458 * math/s_csinhl.c: Likewise.
14459 * math/s_csinl.c: Likewise.
14460 * math/s_ctan.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14462 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14465 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14468 compilation problems.
14470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14473 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14475 * sysdeps/i386/configure.in: Test for -mfma4 option.
14476 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14477 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14478 COMMON_CPUID_INDEX_80000001.
14479 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14480 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14481 use it if FMA3 is not supported.
14482 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14484 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14487 2011-10-20 Andreas Schwab <schwab@redhat.com>
14490 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14491 it would create a cycle with a link time dependency.
14493 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14495 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14497 * string/Makefile (strop-tests): Add rawmemchr.
14498 * string/test-rawmemchr.c: New file.
14500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14502 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14503 when compiling str{,n}casecmp and when AVX is available. Hook up
14504 new optimized code in initializers.
14506 2011-10-19 Andreas Schwab <schwab@redhat.com>
14508 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14509 __feraiseexcept instead of feraiseexcept.
14511 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14513 * math/math_private.h: Define defaults for libc_fetestexcept and
14515 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14519 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14521 libc_fetestexcept and libc_feupdateenv.
14523 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14524 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14525 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14526 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14527 libc_feholdexcept_setround.
14529 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14530 Add s_nearbyint-c and s_nearbyintf-c.
14531 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14532 nearbyintf inlines.
14533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14538 * math/math_private.h: Define defaults for libc_fegetround,
14539 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14540 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14541 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14543 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14544 standard functions.
14545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14546 Remove comments and hacks for old compiler versions.
14547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14548 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14549 libc_feholdexceptl.
14551 2011-10-18 Andreas Schwab <schwab@redhat.com>
14553 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14554 (__feraiseexcept_renamed): Add __NTH.
14555 (feraiseexcept): Add __NTH. Rename local variables to fix
14556 namespace violations.
14558 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14564 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14565 recently added interfaces.
14566 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14568 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14569 about macro parameter expansion.
14571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14572 __NO_MATH_INLINES is defined. Cleanups.
14574 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14575 and __floorf is target has SSE4.1.
14576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14581 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14583 (floorf): Likewise.
14585 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14587 2011-10-17 Andreas Schwab <schwab@redhat.com>
14589 * misc/sys/cdefs.h: Fix last change.
14591 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14594 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14596 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14598 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14607 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14608 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14609 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14610 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14611 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14613 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14614 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14615 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14617 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14618 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14619 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14622 ceil, ceilf, floor, floorf.
14624 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14625 Perform IRELATIVE relocations last.
14627 * elf/do-rel.h: Add another parameter nrelative, replacing the
14628 local variable with the same name. Change name of the function
14629 to end in Rel or Rela (uppercase).
14630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14631 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14632 elf_dynamic_do_##reloc function.
14634 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14636 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14637 is sufficient, at least on modern CPUs.
14639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14641 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14644 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14646 * math/bits/math-finite.h: Add entries for exp.
14647 * math/e_expl.c: Add __*_finite alias.
14648 * sysdeps/i386/fpu/e_exp.S: Likewise.
14649 * sysdeps/i386/fpu/e_expf.S: Likewise.
14650 * sysdeps/i386/fpu/e_expl.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14656 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14659 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14660 is sufficient, at least on modern CPUs.
14662 * ctype/ctype-info.c (__ctype_init): Define.
14663 * include/ctype.h (__ctype_init): Declare.
14664 (__ctype_b_loc): The variable is always initialized.
14665 (__ctype_toupper_loc): Likewise.
14666 (__ctype_tolower_loc): Likewise.
14667 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14668 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14670 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14672 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14674 * configure.in: Also look in $cxxmachine/include for C++ system
14677 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14679 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14680 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14681 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14682 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14684 (USE_AS_WMEMCMP): New macro.
14686 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14687 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14688 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14689 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14691 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14692 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14694 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14695 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14697 (USE_AS_WMEMCMP): New macro.
14698 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14699 * sysdeps/string/test-memcmp.c: Update.
14700 Fix simple_wmemcmp.
14702 * wcsmbs/wmemcmp.c: Update.
14703 (WMEMCMP): New macro.
14706 2011-10-12 Andreas Jaeger <aj@suse.de>
14709 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14711 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14713 * libio/iofwide.c (do_length): Avoid warning.
14715 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14717 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14719 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14721 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14722 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14723 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14724 * sysdeps/i386/i686/fpu/e_log.S: New file.
14725 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14726 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14728 * ctype/ctype.h: Add support for inlined isXXX functions when
14729 compiling C++ code.
14731 2011-10-14 Andreas Schwab <schwab@redhat.com>
14733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14737 2011-10-13 Roland McGrath <roland@hack.frob.com>
14740 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14742 2011-10-13 Andreas Schwab <schwab@redhat.com>
14744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14745 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14748 * sysdeps/x86_64/memrchr.S: Check for zero size.
14750 * string/stratcliff.c: Add memrchr tests.
14752 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14755 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14756 rawmemchr-sse2 rawmemchr-sse2-bsf.
14757 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14759 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14760 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14761 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14762 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14763 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14764 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14767 * string/memrchr.c (MEMRCHR): New macro.
14769 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14771 Add integration with gcc's -ffinite-math-only and optimize wrapper
14773 * Versions.def: Define GLIBC_2.15 version for libm.
14774 * math/Makefile (headers): Add bits/math-finite.h.
14775 * math/bits/math-finite.h: New file.
14776 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14777 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14778 * math/e_acoshl.c: Add __*_finite alias.
14779 * math/e_acosl.c: Likewise.
14780 * math/e_asinl.c: Likewise.
14781 * math/e_atan2l.c: Likewise.
14782 * math/e_atanhl.c: Likewise.
14783 * math/e_coshl.c: Likewise.
14784 * math/e_exp10.c: Likewise.
14785 * math/e_exp10f.c: Likewise.
14786 * math/e_exp10l.c: Likewise.
14787 * math/e_exp2l.c: Likewise.
14788 * math/e_fmodl.c: Likewise.
14789 * math/e_gammal_r.c: Likewise.
14790 * math/e_hypotl.c: Likewise.
14791 * math/e_j0l.c: Likewise.
14792 * math/e_j1l.c: Likewise.
14793 * math/e_jnl.c: Likewise.
14794 * math/e_lgammal_r.c: Likewise.
14795 * math/e_log10l.c: Likewise.
14796 * math/e_log2l.c: Likewise.
14797 * math/e_logl.c: Likewise.
14798 * math/e_powl.c: Likewise.
14799 * math/e_sinhl.c: Likewise.
14800 * math/e_sqrtl.c: Likewise.
14801 * math/e_scalb.c: Completely rewritten and optimized.
14802 * math/e_scalbf.c: Likewise.
14803 * math/e_scalbl.c: Likewise.
14804 * math/w_acos.c: Likewise.
14805 * math/w_acosf.c: Likewise.
14806 * math/w_acosl.c: Likewise.
14807 * math/w_acosh.c: Likewise.
14808 * math/w_acoshf.c: Likewise.
14809 * math/w_acoshl.c: Likewise.
14810 * math/w_asin.c: Likewise.
14811 * math/w_asinf.c: Likewise.
14812 * math/w_asinl.c: Likewise.
14813 * math/w_atan2.c: Likewise.
14814 * math/w_atan2f.c: Likewise.
14815 * math/w_atan2l.c: Likewise.
14816 * math/w_atanh.c: Likewise.
14817 * math/w_atanhf.c: Likewise.
14818 * math/w_atanhl.c: Likewise.
14819 * math/w_exp10.c: Likewise.
14820 * math/w_exp10f.c: Likewise.
14821 * math/w_exp10l.c: Likewise.
14822 * math/w_fmod.c: Likewise.
14823 * math/w_fmodf.c: Likewise.
14824 * math/w_fmodl.c: Likewise.
14825 * math/w_j0.c: Likewise.
14826 * math/w_j0f.c: Likewise.
14827 * math/w_j0l.c: Likewise.
14828 * math/w_j1.c: Likewise.
14829 * math/w_j1f.c: Likewise.
14830 * math/w_j1l.c: Likewise.
14831 * math/w_jn.c: Likewise.
14832 * math/w_jnf.c: Likewise.
14833 * math/w_log.c: Likewise.
14834 * math/w_logf.c: Likewise.
14835 * math/w_logl.c: Likewise.
14836 * math/w_log10.c: Likewise.
14837 * math/w_log10f.c: Likewise.
14838 * math/w_log10l.c: Likewise.
14839 * math/w_log2.c: Likewise.
14840 * math/w_log2f.c: Likewise.
14841 * math/w_log2l.c: Likewise.
14842 * math/w_pow.c: Likewise.
14843 * math/w_powf.c: Likewise.
14844 * math/w_powl.c: Likewise.
14845 * math/w_remainder.c: Likewise.
14846 * math/w_remainderf.c: Likewise.
14847 * math/w_remainderl.c: Likewise.
14848 * math/w_scalb.c: Likewise.
14849 * math/w_scalbf.c: Likewise.
14850 * math/w_scalbl.c: Likewise.
14851 * math/w_sqrt.c: Likewise.
14852 * math/w_sqrtf.c: Likewise.
14853 * math/w_sqrtl.c: Likewise.
14854 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14855 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14857 * math/math_private.h: Declare __kernel_standard_f.
14858 * math/w_cosh.c: Remove cruft and optimize a bit.
14859 * math/w_coshf.c: Likewise.
14860 * math/w_coshl.c: Likewise.
14861 * math/w_exp2.c: Likewise.
14862 * math/w_exp2f.c: Likewise.
14863 * math/w_exp2l.c: Likewise.
14864 * math/w_hypot.c: Likewise.
14865 * math/w_hypotf.c: Likewise.
14866 * math/w_hypotl.c: Likewise.
14867 * math/w_lgamma.c: Likewise.
14868 * math/w_lgamma_r.c: Likewise.
14869 * math/w_lgammaf.c: Likewise.
14870 * math/w_lgammaf_r.c: Likewise.
14871 * math/w_lgammal.c: Likewise.
14872 * math/w_lgammal_r.c: Likewise.
14873 * math/w_sinh.c: Likewise.
14874 * math/w_sinhf.c: Likewise.
14875 * math/w_sinhl.c: Likewise.
14876 * math/w_tgamma.c: Likewise.
14877 * math/w_tgammaf.c: Likewise.
14878 * math/w_tgammal.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14881 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14882 Minor optimizations. Pretty printing. Remove cruft.
14883 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14887 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14888 * sysdeps/i386/fpu/e_asin.S: Likewise.
14889 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14890 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14891 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14892 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14896 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14897 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14898 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14899 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14900 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14901 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14902 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14903 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14904 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14905 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14906 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14907 * sysdeps/i386/fpu/e_log.S: Likewise.
14908 * sysdeps/i386/fpu/e_log10.S: Likewise.
14909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14911 * sysdeps/i386/fpu/e_log2.S: Likewise.
14912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14914 * sysdeps/i386/fpu/e_logf.S: Likewise.
14915 * sysdeps/i386/fpu/e_logl.S: Likewise.
14916 * sysdeps/i386/fpu/e_pow.S: Likewise.
14917 * sysdeps/i386/fpu/e_powf.S: Likewise.
14918 * sysdeps/i386/fpu/e_powl.S: Likewise.
14919 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14920 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14921 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14925 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14926 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14927 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15021 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15025 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15026 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15027 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15028 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15029 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15030 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15031 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15036 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15037 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15038 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15039 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15040 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15041 (__isnanf): Likewise.
15042 (__isinf_ns): Likewise.
15043 (__isinf_nsf): Likewise.
15044 (__finite): Likewise.
15045 (__finitef): Likewise.
15046 (__ieee754_sqrt): Define as macro.
15047 (__ieee754_sqrtf): Define as macro.
15048 (__ieee754_sqrtl): Define as macro.
15049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15051 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15052 __FINITE_MATH_ONLY__ consistent.
15053 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15055 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15057 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15060 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15062 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15064 * po/ja.po: Update from translation team.
15066 2011-10-08 Roland McGrath <roland@hack.frob.com>
15068 * locale/programs/locarchive.c (prepare_address_space): New function.
15069 (create_archive, enlarge_archive, open_archive): Use it.
15071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15072 inside [SHARED], where it is used.
15074 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15076 * nss/getent.c (netgroup_keys): Remove unused variable.
15077 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15079 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15081 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15086 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15087 * math/Makefile (libm-calls): Add s_isinf_ns.
15088 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15089 * math/multc3.c: Likewise.
15090 * math/s_casin.c: Likewise.
15091 * math/s_casinf.c: Likewise.
15092 * math/s_casinl.c: Likewise.
15093 * math/s_ccos.c: Likewise.
15094 * math/s_ccosf.c: Likewise.
15095 * math/s_ccosl.c: Likewise.
15096 * math/s_ctan.c: Likewise.
15097 * math/s_ctanf.c: Likewise.
15098 * math/s_ctanh.c: Likewise.
15099 * math/s_ctanhf.c: Likewise.
15100 * math/s_ctanhl.c: Likewise.
15101 * math/s_ctanl.c: Likewise.
15102 * math/w_fmod.c: Likewise.
15103 * math/w_fmodf.c: Likewise.
15104 * math/w_fmodl.c: Likewise.
15105 * math/w_remainder.c: Likewise.
15106 * math/w_remainderf.c: Likewise.
15107 * math/w_remainderl.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15109 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15112 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15113 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15114 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15115 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15117 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15119 * stdio-common/printf_fphex.c: Likewise.
15120 * stdio-common/printf_size.c: Likewise.
15122 * math/e_exp10.c: Include math_private.h using <...> not "...".
15123 * math/e_exp10f.c: Likewise.
15124 * math/e_exp10l.c: Likewise.
15125 * math/e_exp2l.c: Likewise.
15126 * math/e_j0l.c: Likewise.
15127 * math/e_j1l.c: Likewise.
15128 * math/e_jnl.c: Likewise.
15129 * math/e_lgammal_r.c: Likewise.
15130 * math/e_rem_pio2l.c: Likewise.
15131 * math/e_scalb.c: Likewise.
15132 * math/e_scalbf.c: Likewise.
15133 * math/e_scalbl.c: Likewise.
15134 * math/k_cosl.c: Likewise.
15135 * math/k_sinl.c: Likewise.
15136 * math/k_tanl.c: Likewise.
15137 * math/s_cacoshf.c: Likewise.
15138 * math/s_catan.c: Likewise.
15139 * math/s_catanf.c: Likewise.
15140 * math/s_catanh.c: Likewise.
15141 * math/s_catanhf.c: Likewise.
15142 * math/s_catanhl.c: Likewise.
15143 * math/s_catanl.c: Likewise.
15144 * math/s_ccosh.c: Likewise.
15145 * math/s_ccoshf.c: Likewise.
15146 * math/s_ccoshl.c: Likewise.
15147 * math/s_cexp.c: Likewise.
15148 * math/s_cexpf.c: Likewise.
15149 * math/s_cexpl.c: Likewise.
15150 * math/s_clog.c: Likewise.
15151 * math/s_clog10.c: Likewise.
15152 * math/s_clog10f.c: Likewise.
15153 * math/s_clog10l.c: Likewise.
15154 * math/s_clogf.c: Likewise.
15155 * math/s_clogl.c: Likewise.
15156 * math/s_csin.c: Likewise.
15157 * math/s_csinf.c: Likewise.
15158 * math/s_csinh.c: Likewise.
15159 * math/s_csinhf.c: Likewise.
15160 * math/s_csinhl.c: Likewise.
15161 * math/s_csinl.c: Likewise.
15162 * math/s_csqrt.c: Likewise.
15163 * math/s_csqrtf.c: Likewise.
15164 * math/s_csqrtl.c: Likewise.
15165 * math/s_ctan.c: Likewise.
15166 * math/s_ctanf.c: Likewise.
15167 * math/s_ctanh.c: Likewise.
15168 * math/s_ctanhf.c: Likewise.
15169 * math/s_ctanhl.c: Likewise.
15170 * math/s_ctanl.c: Likewise.
15171 * math/s_ldexp.c: Likewise.
15172 * math/s_ldexpf.c: Likewise.
15173 * math/s_ldexpl.c: Likewise.
15174 * math/s_significand.c: Likewise.
15175 * math/s_significandf.c: Likewise.
15176 * math/s_significandl.c: Likewise.
15177 * math/w_acos.c: Likewise.
15178 * math/w_acosf.c: Likewise.
15179 * math/w_acosh.c: Likewise.
15180 * math/w_acoshf.c: Likewise.
15181 * math/w_acoshl.c: Likewise.
15182 * math/w_acosl.c: Likewise.
15183 * math/w_asin.c: Likewise.
15184 * math/w_asinf.c: Likewise.
15185 * math/w_asinl.c: Likewise.
15186 * math/w_atan2.c: Likewise.
15187 * math/w_atan2f.c: Likewise.
15188 * math/w_atan2l.c: Likewise.
15189 * math/w_atanh.c: Likewise.
15190 * math/w_atanhf.c: Likewise.
15191 * math/w_atanhl.c: Likewise.
15192 * math/w_cosh.c: Likewise.
15193 * math/w_coshf.c: Likewise.
15194 * math/w_coshl.c: Likewise.
15195 * math/w_dremf.c: Likewise.
15196 * math/w_exp10.c: Likewise.
15197 * math/w_exp10f.c: Likewise.
15198 * math/w_exp10l.c: Likewise.
15199 * math/w_exp2.c: Likewise.
15200 * math/w_exp2f.c: Likewise.
15201 * math/w_fmod.c: Likewise.
15202 * math/w_fmodf.c: Likewise.
15203 * math/w_fmodl.c: Likewise.
15204 * math/w_hypot.c: Likewise.
15205 * math/w_hypotf.c: Likewise.
15206 * math/w_hypotl.c: Likewise.
15207 * math/w_j0.c: Likewise.
15208 * math/w_j0f.c: Likewise.
15209 * math/w_j0l.c: Likewise.
15210 * math/w_j1.c: Likewise.
15211 * math/w_j1f.c: Likewise.
15212 * math/w_j1l.c: Likewise.
15213 * math/w_jn.c: Likewise.
15214 * math/w_jnf.c: Likewise.
15215 * math/w_jnl.c: Likewise.
15216 * math/w_lgamma.c: Likewise.
15217 * math/w_lgamma_r.c: Likewise.
15218 * math/w_lgammaf.c: Likewise.
15219 * math/w_lgammaf_r.c: Likewise.
15220 * math/w_lgammal.c: Likewise.
15221 * math/w_lgammal_r.c: Likewise.
15222 * math/w_log.c: Likewise.
15223 * math/w_log10.c: Likewise.
15224 * math/w_log10f.c: Likewise.
15225 * math/w_log10l.c: Likewise.
15226 * math/w_log2.c: Likewise.
15227 * math/w_log2f.c: Likewise.
15228 * math/w_log2l.c: Likewise.
15229 * math/w_logf.c: Likewise.
15230 * math/w_logl.c: Likewise.
15231 * math/w_pow.c: Likewise.
15232 * math/w_powf.c: Likewise.
15233 * math/w_powl.c: Likewise.
15234 * math/w_remainder.c: Likewise.
15235 * math/w_remainderf.c: Likewise.
15236 * math/w_remainderl.c: Likewise.
15237 * math/w_scalb.c: Likewise.
15238 * math/w_scalbf.c: Likewise.
15239 * math/w_scalbl.c: Likewise.
15240 * math/w_sinh.c: Likewise.
15241 * math/w_sinhf.c: Likewise.
15242 * math/w_sinhl.c: Likewise.
15243 * math/w_sqrt.c: Likewise.
15244 * math/w_sqrtf.c: Likewise.
15245 * math/w_sqrtl.c: Likewise.
15246 * math/w_tgamma.c: Likewise.
15247 * math/w_tgammaf.c: Likewise.
15248 * math/w_tgammal.c: Likewise.
15250 * po/ja.po: Update from translation team.
15252 2011-09-29 Andreas Jaeger <aj@suse.de>
15255 * sunrpc/netname.c (netname2host): Fix logic.
15259 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15261 * math/w_remainder.c (__remainder): Likewise.
15262 * math/w_remainderf.c (__remainderf): Likewise.
15263 * math/libm-test.inc (remainder_test): Add test cases.
15265 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15267 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15270 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15272 * string/test-memcmp.c: Avoid unncessary #defines.
15273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15275 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15277 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15278 Use new sse2 version for core i3 - i7 as it's faster
15279 than sse42 version.
15280 (bit_Prefer_PMINUB_for_stringop): New.
15281 * sysdeps/x86_64/rawmemchr.S: Update.
15282 Replace with faster SSE2 version.
15283 * sysdeps/x86_64/memrchr.S: New file.
15284 * sysdeps/x86_64/memchr.S: Update.
15285 Replace with faster SSE2 version.
15287 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15289 * elf/dl-load.c (lose): Add cast to avoid warning.
15291 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15293 * po/ca.po: Update from translation team.
15295 * inet/getnetgrent_r.c: Hook up nscd.
15296 * nscd/Makefile (routines): Add nscd_netgroup.
15297 (nscd-modules): Add netgroupcache.
15298 (CFLAGS-netgroupcache.c): Define.
15299 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15300 (cache_search): Add const to second parameter.
15301 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15303 (dbs): Add netgrdb entry.
15304 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15305 (verify_persistent_db): Handle netgrdb.
15306 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15307 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15309 (netgroup_response_header): Define.
15310 (innetgroup_response_header): Define.
15311 (datahead): Add netgroup_response_header and innetgroup_response_header
15313 * nscd/nscd.conf: Add entries for netgroup cache.
15314 * nscd/nscd.h (dbtype): Add netgrdb.
15315 (_PATH_NSCD_NETGROUP_DB): Define.
15316 (netgroup_iov_disabled): Declare.
15317 (xmalloc, xcalloc, xrealloc): Move declarations here.
15318 (cache_search): Adjust prototype.
15319 Add netgroup-related prototypes.
15320 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15321 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15322 (__nscd_innetgr): Declare.
15323 * nscd/selinux.c (perms): Use access_vector_t as element type and
15324 add netgroup-related initializers.
15325 * nscd/netgroupcache.c: New file.
15326 * nscd/nscd_netgroup.c: New file.
15327 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15328 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15329 For four parameters use innetgr.
15330 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15331 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15332 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15333 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15335 * nscd/connections.c (register_traced_file): Don't register file
15336 for disabled databases.
15338 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15340 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15342 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15343 from tree and freeing node.
15345 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15347 * nss/nsswitch.c (__nss_database_lookup): Handle
15348 nss_parse_service_list out of memory case.
15350 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15352 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15353 out of memory case.
15355 2011-10-04 Andreas Schwab <schwab@redhat.com>
15357 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15358 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15360 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15361 elf_machine_rela, elf_machine_lazy_rel.
15362 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15363 (ELF_DYNAMIC_DO_REL): Likewise.
15364 (ELF_DYNAMIC_DO_RELA): Likewise.
15365 (ELF_DYNAMIC_RELOCATE): Likewise.
15366 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15367 to ELF_DYNAMIC_DO_REL.
15368 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15369 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15370 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15373 skip_ifunc, don't call ifunc function if non-zero.
15374 (elf_machine_rela): Likewise.
15375 (elf_machine_lazy_rel): Likewise.
15376 (elf_machine_lazy_rela): Likewise.
15377 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15378 (elf_machine_lazy_rel): Likewise.
15379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15381 (elf_machine_lazy_rel): Likewise.
15382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15384 (elf_machine_lazy_rel): Likewise.
15385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15386 (elf_machine_lazy_rel): Likewise.
15387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15388 (elf_machine_lazy_rel): Likewise.
15389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15390 (elf_machine_lazy_rel): Likewise.
15391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15392 (elf_machine_lazy_rel): Likewise.
15393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15394 (elf_machine_lazy_rel): Likewise.
15395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15396 (elf_machine_lazy_rel): Likewise.
15398 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15400 * nss/nss_files/files-init.c (_nss_files_init): Use static
15401 initialization for all the *_traced_file variables.
15403 2011-09-28 Andreas Schwab <schwab@redhat.com>
15405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15407 2011-09-27 Roland McGrath <roland@hack.frob.com>
15410 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15412 2011-09-27 Andreas Schwab <schwab@redhat.com>
15414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15415 Reread the line before reparsing it.
15417 2011-09-26 Andreas Schwab <schwab@redhat.com>
15419 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15421 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15422 Maxim Kuvyrkov <maxim@codesourcery.com>
15423 Joseph Myers <joseph@codesourcery.com>
15425 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15426 if needed for __stack_chk_guard.
15428 2011-09-19 Roland McGrath <roland@hack.frob.com>
15430 * sysdeps/posix/spawni.c (script_execute): Always define it.
15431 It will be optimized away if unused.
15432 (maybe_script_execute): New function.
15433 (__spawni): Call it.
15435 * Makerules: Don't include tls.make.
15436 (config-tls): Always set to thread.
15437 * tls.make.c: File removed.
15439 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15441 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15442 * config.make.in (CPPFLAGS-config): New substituted variable.
15444 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15449 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15450 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15452 2011-09-15 Roland McGrath <roland@hack.frob.com>
15454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15455 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15457 (CALL_FAIL): Likewise.
15458 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15459 (CALL_FAIL): Macro removed.
15460 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15462 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15465 for __FINITE_MATH_ONLY__ == 1.
15467 2011-09-15 Andreas Schwab <schwab@redhat.com>
15469 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15470 __ieee754_sqrt instead of sqrt.
15471 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15472 __ieee754_sqrtf instead of sqrtf.
15473 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15474 __floorf instead of floorf.
15475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15476 __floorf, __truncf instead of floorf, truncf.
15478 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15480 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15482 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15483 __extern_always_inline.
15484 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15487 2011-09-14 Andreas Schwab <schwab@redhat.com>
15489 * elf/rtld.c (dl_main): Also relocate in dependency order when
15490 doing symbol dependency testing.
15492 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15495 Always define `refsym'.
15497 2011-09-13 Andreas Schwab <schwab@redhat.com>
15499 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15500 (__FD_ELT): Renamed from __FDELT.
15501 * misc/bits/select2.h (__FD_ELT): Likewise.
15502 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15503 __FD_MASK instead of __FDELT, __FDMASK.
15504 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15506 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15509 * elf/Makefile (gen-ldd): Fix pattern.
15511 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15512 (init_tls): Likewise.
15514 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15518 2011-09-12 Andreas Schwab <schwab@redhat.com>
15520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15521 `struct cmsghdr *' instead of `void *'.
15522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15525 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15527 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15529 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15530 ldd_rewrite_script.
15532 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15534 * configure.in: Remove --with-tls option.
15535 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15536 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15537 out in case it is missing.
15538 * sysdeps/ia64/elf/configure.in: Likewise.
15539 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15540 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15541 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15542 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15543 * sysdeps/sh/elf/configure.in: Likewise.
15544 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15546 * sysdeps/x86_64/elf/configure.in: Likewise.
15547 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15548 * sysdeps/mach/hurd/tls.h: Likewise.
15551 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15554 * configure.in: Fix use of AC_INIT.
15556 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15558 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15560 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15562 * malloc/hooks.c: Likewise.
15565 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15566 variables statically.
15567 (narenas): Initialize.
15568 (list_lock): Initialize.
15569 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15570 initializtion of main_arena and list_lock. Small cleanups.
15571 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15572 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15573 Add initializers to main_arena and mp_.
15574 (malloc_state): Remove pagesize member. Change all users to use
15577 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15578 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15579 is always initialized.
15581 * malloc/malloc.c: Removed unused configurations and dead code.
15582 * malloc/arena.c: Likewise.
15583 * malloc/hooks.c: Likewise.
15584 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15586 * include/tls.h: Removed. USE___THREAD must always be defined.
15587 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15588 * elf/dl-libc.c: Likewise.
15589 * elf/dl-tsd.c: Likewise.
15590 * include/errno.h: Likewise.
15591 * include/netdb.h: Likewise.
15592 * include/resolv.h: Likewise.
15593 * inet/herrno-loc.c: Likewise.
15594 * inet/herrno.c: Likewise.
15595 * malloc/arena.c: Likewise.
15596 * malloc/hooks.c: Likewise.
15597 * malloc/malloc.c: Likewise.
15598 * resolv/res-state.c: Likewise.
15599 * resolv/res_libc.c: Likewise.
15600 * sysdeps/i386/dl-machine.h: Likewise.
15601 * sysdeps/ia64/dl-machine.h: Likewise.
15602 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15604 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15606 * sysdeps/sh/dl-machine.h: Likewise.
15607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15609 * sysdeps/unix/i386/sysdep.S: Likewise.
15610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15611 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15620 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15621 * sysdeps/x86_64/dl-machine.h: Likewise.
15622 * tls.make.c: Likewise.
15624 * configure.in: Remove --with-__thread option. Make tests for
15625 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15626 tls_model attribute fail if no support is available. Remove
15628 * Makeconfig: Adjust for dropped configure option. All features are
15630 * Makerules: Likewise.
15631 * Versions.def: Likewise.
15632 * argp/argp-fmtstream.c: Likewise.
15633 * argp/argp-fmtstream.h: Likewise.
15634 * argp/argp-help.c: Likewise.
15635 * assert/assert.c: Likewise.
15636 * config.h.in: Likewise.
15637 * config.make.in: Likewise.
15638 * configure: Likewise.
15639 * configure.in: Likewise.
15640 * csu/Versions: Likewise.
15641 * csu/init.c: Likewise.
15642 * elf/tst-audit2.c: Likewise.
15643 * elf/tst-tls10.c: Likewise.
15644 * elf/tst-tls10.h: Likewise.
15645 * elf/tst-tls11.c: Likewise.
15646 * elf/tst-tls12.c: Likewise.
15647 * elf/tst-tls14.c: Likewise.
15648 * elf/tst-tlsmod11.c: Likewise.
15649 * elf/tst-tlsmod12.c: Likewise.
15650 * elf/tst-tlsmod13.c: Likewise.
15651 * elf/tst-tlsmod13a.c: Likewise.
15652 * elf/tst-tlsmod14a.c: Likewise.
15653 * elf/tst-tlsmod15b.c: Likewise.
15654 * elf/tst-tlsmod16a.c: Likewise.
15655 * elf/tst-tlsmod16b.c: Likewise.
15656 * elf/tst-tlsmod7.c: Likewise.
15657 * elf/tst-tlsmod8.c: Likewise.
15658 * elf/tst-tlsmod9.c: Likewise.
15659 * gmon/gmon.c: Likewise.
15660 * grp/fgetgrent_r.c: Likewise.
15661 * grp/putgrent.c: Likewise.
15662 * hurd/fopenport.c: Likewise.
15663 * include/libc-symbols.h: Likewise.
15664 * include/tls.h: Likewise.
15665 * intl/gettextP.h: Likewise.
15666 * intl/loadinfo.h: Likewise.
15667 * locale/global-locale.c: Likewise.
15668 * locale/localeinfo.h: Likewise.
15669 * mach/devstream.c: Likewise.
15670 * malloc/arena.c: Likewise.
15671 * malloc/set-freeres.c: Likewise.
15672 * misc/err.c: Likewise.
15673 * misc/getttyent.c: Likewise.
15674 * misc/mntent_r.c: Likewise.
15675 * posix/getopt.c: Likewise.
15676 * posix/wordexp.c: Likewise.
15677 * pwd/fgetpwent_r.c: Likewise.
15678 * resolv/Versions: Likewise.
15679 * resolv/res_hconf.c: Likewise.
15680 * shadow/fgetspent_r.c: Likewise.
15681 * shadow/putspent.c: Likewise.
15682 * stdio-common/printf_fphex.c: Likewise.
15683 * stdio-common/tmpfile.c: Likewise.
15684 * stdlib/abort.c: Likewise.
15685 * stdlib/fmtmsg.c: Likewise.
15686 * sunrpc/auth_unix.c: Likewise.
15687 * sunrpc/clnt_perr.c: Likewise.
15688 * sunrpc/clnt_tcp.c: Likewise.
15689 * sunrpc/clnt_udp.c: Likewise.
15690 * sunrpc/clnt_unix.c: Likewise.
15691 * sunrpc/openchild.c: Likewise.
15692 * sunrpc/svc_simple.c: Likewise.
15693 * sunrpc/svc_tcp.c: Likewise.
15694 * sunrpc/svc_udp.c: Likewise.
15695 * sunrpc/svc_unix.c: Likewise.
15696 * sunrpc/xdr.c: Likewise.
15697 * sunrpc/xdr_array.c: Likewise.
15698 * sunrpc/xdr_rec.c: Likewise.
15699 * sunrpc/xdr_ref.c: Likewise.
15700 * sunrpc/xdr_stdio.c: Likewise.
15702 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15704 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15706 2011-07-03 Andreas Jaeger <aj@suse.de>
15708 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15709 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15710 regenerate with gen-libm-tests.pl.
15712 2010-05-12 Petr Baudis <pasky@suse.cz>
15715 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15716 around j0() zero points by switching to j1().
15717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15722 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15729 Patch in part by Pavel Roskin <proski@gnu.org>.
15732 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15734 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15735 Free memory block if necessary.
15738 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15739 be NULL. Don't lock in this case.
15741 2011-09-09 Roland McGrath <roland@hack.frob.com>
15743 * elf/elf.h (ELFOSABI_GNU): New macro.
15744 (ELFOSABI_LINUX): Define to that.
15746 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15748 * string/strncat.c (strncat): Undef the symbol in case it has been
15749 defined in bits/string.h.
15751 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15753 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15755 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15758 2011-08-17 Andreas Jaeger <aj@suse.de>
15760 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15762 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15763 Ian Lance Taylor <iant@google.com>
15765 * math/libm-test.inc (lround_test): New testcase.
15766 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15768 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15770 * Makefile: Remove support for automatic cvs check-ins.
15771 * Makerules: Likewise.
15772 * config.make.in: Likewise.
15773 * configure.in: Likewise.
15774 * intl/Makefile: Likewise.
15775 * locale/Makefile: Likewise.
15776 * po/Makefile: Likewise.
15777 * posix/Makefile: Likewise.
15778 * sysdeps/gnu/Makefile: Likewise.
15779 * sysdeps/mach/hurd/Makefile: Likewise.
15780 * sysdeps/sparc/sparc32/Makefile: Likewise.
15783 * posix/Makefile (bug-regex32-ENV): Define.
15784 Patch by John Stanley <jpsinthemix@verizon.net>.
15786 * misc/Makefile (headers): Add bits/select2.h.
15787 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15788 * misc/bits/select2.h: New file.
15789 * include/bits/select2.h: New file.
15790 * debug/Makefile (routines): Add fdelt_chk.
15791 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15792 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15794 * debug/fdelt_chk.c: New file.
15796 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15797 * wcsmbs/test-wmemcmp.c: Likewise.
15798 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15799 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15801 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15803 * string/Makefile (strop-tests): Add memcmp.
15804 * string/test-wmemcmp.c: New file.
15805 * string/test-memcmp.c: Add wmemcmp support.
15807 2011-09-08 Roland McGrath <roland@hack.frob.com>
15810 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15813 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15814 garbage value in a __mach_port_mod_refs call in the cases of the
15815 task-self and thread-self ports.
15817 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15819 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15821 2011-09-08 Andreas Schwab <schwab@redhat.com>
15823 * elf/dl-load.c (lose): Check for non-null L.
15825 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15827 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15829 * elf/dl-libc.c (dlerror_run): Pass back error code from
15833 * elf/dl-load.c (lose): Free l_origin if it is valid.
15835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15842 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15844 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15846 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15847 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15850 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15851 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15852 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15853 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15854 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15855 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15857 2011-08-15 Alan Modra <amodra@gmail.com>
15860 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15861 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15862 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15863 ppc_mcount to static-only-routines.
15864 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15866 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15867 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15869 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15872 for finite and infinity parameters.
15874 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15877 and add nop instructions for throughput optimization.
15878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15880 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15883 aligned copy for power7 with vector-scalar instructions.
15884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15886 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15891 2011-09-07 Andreas Schwab <schwab@redhat.com>
15894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15897 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15900 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15901 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15905 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15908 Forgot to demangle the pointer.
15910 * sysdeps/i386/sysdep.h: Define atom_text_section.
15911 * sysdeps/x86_64/sysdep.h: Likewise.
15912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15913 section with atom_text_section.
15914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15922 already be defined. Change to take two parameters and don't assign
15923 result to variable. Adjust all users.
15924 Define INTERNAL_GETTIME if not already defined.
15925 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15928 HAVE_CLOCK_GETTIME_VSYSCALL.
15929 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15932 gettimeofday vsyscall, just use time.
15934 2011-09-06 Andreas Schwab <schwab@redhat.com>
15936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15939 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15941 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15945 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15947 syscall if possible.
15949 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15951 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15952 e_ident. Don't pass to find_mapsXX.
15953 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15955 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15958 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15959 * sysdeps/x86_64/multiarch/strchr.S: Update.
15960 Check bit_slow_BSF bit.
15961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15965 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15968 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15970 (tryshell): Define.
15971 (__spawni): Change last parameter to be flag. Test
15972 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15973 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15974 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15975 * posix/spawni.c: Likewise.
15976 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15977 * posix/spawnp.c: Likewise. Change normal version to use
15978 SPAWN_XFLAGS_USE_PATH.
15979 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15980 SPAWN_XFLAGS_TRY_SHELL.
15983 * posix/glob.h: Remove gcc 1.x support.
15986 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15988 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15991 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15993 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15994 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16000 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16002 * sysdeps/x86_64/wcscmp.S: New file.
16004 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16005 wcscmp-c wcscmp-sse2
16006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16007 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16008 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16009 * wcsmbs/wcscmp.c: Allow renaming.
16011 2011-09-05 David S. Miller <davem@davemloft.net>
16013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16014 stack slot, rather than the struct return pointer slot.
16015 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16016 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16020 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16022 * po/ja.po: Update from translation team.
16025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16026 kernel in 64-bit binaries.
16028 2011-09-01 David S. Miller <davem@davemloft.net>
16030 * elf/elf.h (HWCAP_SPARC_*): Move to..
16031 * sysdeps/sparc/sysdep.h: this new file and add new values.
16032 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16033 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16034 _DL_HWCAP_COUNT to 24.
16035 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16037 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16038 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16039 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16041 instead of magic constants.
16042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16044 2011-08-31 David S. Miller <davem@davemloft.net>
16046 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16048 Reimplement to do errno handling inline.
16049 (SYSCALL_ERROR_HANDLER): New macro.
16050 (__SYSCALL_STRING): Do not do errno handling in asm.
16051 (__CLONE_SYSCALL_STRING): Delete.
16052 (__INTERNAL_SYSCALL_STRING): Delete.
16053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16054 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16055 (PSEUDO): Reimplement to do errno handling inline.
16056 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16057 (SYSCALL_ERROR_HANDLER): New macro.
16058 (__SYSCALL_STRING): Do not do errno handling in asm.
16059 (__CLONE_SYSCALL_STRING): Delete.
16060 (__INTERNAL_SYSCALL_STRING): Delete.
16061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16062 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16064 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16065 (inline_syscall*): Add 'err' argument.
16066 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16067 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16068 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16069 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16071 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16072 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16074 2011-08-30 Andreas Schwab <schwab@redhat.com>
16076 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16078 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16080 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16083 2011-08-24 David S. Miller <davem@davemloft.net>
16085 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16087 2011-08-24 Andreas Schwab <schwab@redhat.com>
16089 * elf/Makefile: Add rules to build and run unload8 test.
16090 * elf/unload8.c: New file.
16091 * elf/unload8mod1.c: New file.
16092 * elf/unload8mod1x.c: New file.
16093 * elf/unload8mod2.c: New file.
16094 * elf/unload8mod3.c: New file.
16096 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16099 2011-08-23 David S. Miller <davem@davemloft.net>
16101 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16102 subtract stack bias.
16103 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16104 %sp not %fp in calculations.
16105 (_JMPBUF_UNWINDS_ADJ): Likewise.
16107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16108 (aio_suspend): Call it to force an exception region around the
16109 AIO_MISC_WAIT() invocation.
16111 2011-08-23 Andreas Schwab <schwab@redhat.com>
16113 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16116 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16118 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16120 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16121 and <dl-machine.h>.
16122 (Elf64_FuncDesc): Remove.
16124 2011-08-22 David S. Miller <davem@davemloft.net>
16126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16127 sigaltstack check, add missing cfi directives.
16128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16129 missing cfi directives, and sigaltstack handling.
16131 2011-08-16 Andreas Schwab <schwab@redhat.com>
16134 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16135 object is seen twice.
16136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16138 * elf/Makefile (distribute): Add tst-initorder2.c.
16139 (tests): Add tst-initorder2.
16140 (modules-names): Add tst-initorder2a tst-initorder2b
16141 tst-initorder2c tst-initorder2d. Add rules to build them.
16142 ($(objpfx)tst-initorder2.out): New rule.
16143 * elf/tst-initorder2.c: New file.
16144 * elf/tst-initorder2.exp: New file.
16146 2011-08-22 Andreas Schwab <schwab@redhat.com>
16148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16150 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16151 dependencies back to end of function.
16153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16154 $(elfobjdir)/ld.so.
16156 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16159 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16161 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16163 of __vdso_gettimeofday.
16164 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16165 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16167 (_libc_vdso_platform_setup): Remove initialization of
16168 __vdso_gettimeofday and __vdso_time.
16170 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16172 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16173 and fgetc_unlocked.
16174 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16177 * elf/dl-open.c (add_to_global): Report additions to the global scope
16178 for LD_DEBUG=scopes.
16179 (dl_open_worker): Also print scope of newly loaded dependencies.
16180 (_dl_show_scope): Indicate if there is no scope.
16183 * stdio-common/Makefile (tests): Add bug24.
16184 * stdio-common/bug24.c: New file.
16186 2011-08-19 Andreas Jaeger <aj@suse.de>
16189 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16190 non-existant file when using close-on-exec mode.
16192 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16195 the very first instruction.
16197 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16198 the CFI state in the end.
16199 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16200 inclusion of dl-trampoline.h.
16201 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16203 2011-08-19 Andreas Schwab <schwab@redhat.com>
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16206 expectations for long double.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16209 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16211 2011-08-14 David S. Miller <davem@davemloft.net>
16213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16214 artificual limit depends upon the system page size.
16216 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16218 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16219 * resolv/Makefile: Define CFLAGS-libresolv.
16221 2011-08-17 Andreas Schwab <schwab@redhat.com>
16223 * nss/makedb.c (compute_tables): Make variables used in nested
16226 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16228 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16229 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16230 if buffer was too small.
16232 * elf/pldd.c (main): Attach to all threads in the process.
16233 Rewrite /proc handling to use *at functions.
16235 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16237 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16238 specifies first scope to show.
16239 (dl_open_worker): Update callers. Move printing scope of new
16240 object to before the relocation.
16241 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16242 * sysdeps/generic/ldsodefs.h: Update declaration.
16244 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16245 string for the scope number.
16247 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16249 * nscd/servicescache.c (cache_addserv): Make sure written is always
16252 2011-08-14 Roland McGrath <roland@hack.frob.com>
16254 * sysdeps/i386/i486/bits/atomic.h
16255 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16256 statement expression, so as to suppress "set but not used" warning.
16257 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16259 * string/strncat.c (STRNCAT): Use prototype definition.
16261 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16262 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16264 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16265 (localedef-modules): Add localedef.
16266 (locale-modules): Add locale.
16268 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16269 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16270 to avoid a warning.
16272 2011-08-14 David S. Miller <davem@davemloft.net>
16274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16275 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16277 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16279 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16280 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16281 * elf/rtld.c (dl_main): Set l_name of vDSO.
16282 Call _dl_show_scope when DL_DEBUG_SCOPES.
16283 (process_dl_debug): Recognize scopes flag and also set it for all.
16284 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16285 Declare _dl_show_scope.
16287 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16288 (do_dlopen): Pass caller_dlopen to dl_open.
16289 (__libc_dlopen_mode): Initialize caller_dlopen.
16291 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16292 of libc. Make tolower call locale-independent. Optimize a bit by
16293 using isdigit instead of isalnum.
16294 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16296 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16298 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16299 was a dependency or dynamically loaded.
16301 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16303 * intl/l10nflist.c: Allow architecture-specific pop function.
16304 * sysdeps/x86_64/l10nflist.c: New file.
16306 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16309 2011-08-10 Andreas Schwab <schwab@redhat.com>
16311 * include/dirent.h: Add libc_hidden_proto for scandirat and
16312 scandirat64. Don't declare __scandirat64.
16313 * dirent/scandirat.c: Add libc_hidden_def.
16314 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16315 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16317 2011-08-10 David S. Miller <davem@davemloft.net>
16319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16325 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16327 * Versions.def [libc]: Add GLIBC_2.15.
16328 * dirent/Makefile (routines): Add scandirat and scandirat64.
16329 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16331 * dirent/dirent.h: Declare scandirat and scandirat64.
16332 * dirent/scandirat.c: New file.
16333 * dirent/scandirat64.c: New file.
16334 * sysdeps/wordsize-64/scandirat.c: New file.
16335 * sysdeps/wordsize-64/scandirat64.c: New file.
16336 * dirent/opendir.c: Define opendirat.
16337 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16339 * dirent/scandir64.c: Adjust for scandir.c change.
16340 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16341 __scandirat64, and __scandir_cancel_handler.
16342 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16343 additional parameter and use openat instead of open (outside of ld.so).
16344 Add new __opendir as wrapper around __opendirat.
16345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16346 here without requiring old scandirat implementation.
16348 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16350 * dirent/scandir.c (cancel_handler): Renamed to
16351 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16352 defined. Adjust users.
16353 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16356 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16358 * string/test-string.h (IMPL): Use __STRING to expand name and then
16361 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16364 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16366 * string/Makefile: Update.
16367 (strop-tests): Append strncat.
16368 * string/test-wcscmp.c: New file.
16369 New comprehensive test for wcscmp.
16370 * string/test-strcmp.c: Update.
16371 (WIDE): New define.
16373 2011-07-22 Andreas Schwab <schwab@redhat.com>
16375 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16378 2011-07-26 Andreas Schwab <schwab@redhat.com>
16380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16381 encoding to ACE if AI_IDN.
16383 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16386 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16388 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16391 Fix overflow bug in strncat.
16392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16394 * string/test-strncat.c: Update.
16395 Add new tests for checking overflow bugs.
16397 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16400 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16401 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16402 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16404 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16405 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16406 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16407 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16410 (USE_AS_STRCAT): Define.
16411 Add strcat and strncat support.
16412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16414 2011-07-25 Andreas Schwab <schwab@redhat.com>
16416 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16417 __n bigger than INT_MAX+1.
16418 (__strncmp_g): Likewise.
16420 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16422 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16423 * libio/stido.h: Likewise.
16425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16430 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16437 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16442 (_dl_x86_64_save_sse): Likewise.
16444 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16448 (_dl_x86_64_save_sse): Likewise.
16450 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16452 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16454 2011-07-21 Andreas Schwab <schwab@redhat.com>
16456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16458 (_dl_x86_64_save_sse): Use correct AVX check.
16460 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16463 bug in strncpy/strncat.
16464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16466 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16468 * string/tester.c (test_strcat): Add tests for different alignments
16469 of source and destination.
16470 (test_strncat): Likewise.
16472 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16475 * posix/glob.c (glob): Check passed in values before using them in
16476 expressions to avoid some overflows.
16477 (glob_in_dir): Likewise.
16480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16481 check for AVX enablement so that we don't crash with old kernels and
16483 * elf/tst-audit4.c: Add same checks here.
16484 * elf/tst-audit6.c: Likewise.
16486 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16488 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16490 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16492 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16494 * po/cs.po: Update from translation team.
16495 * po/bg.po: Likewise.
16497 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16499 * misc/sys/cdefs.h: Add support for const attribute.
16500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16501 to gnu_dev_{major,minor,makedev} functions.
16503 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16505 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16507 2011-07-20 Andreas Schwab <schwab@redhat.com>
16509 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16512 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16515 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16516 register in order to avoid conflicts with the soft frame pointer
16517 being held in r11 when necessary.
16518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16519 (INTERNAL_VSYSCALL_NCS): Likewise.
16521 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16523 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16524 * elf/dl-fini.c (_dl_fini): Adjust caller.
16525 * elf/dl-close.c (_dl_close_worker): Likewise.
16526 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16528 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16530 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16531 "aux_cache->nlibs < 0".
16533 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16534 in the reload-count case.
16536 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16539 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16540 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16541 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16542 * sysdeps/x86_64/multiarch/strcat.S: New file.
16543 * sysdeps/x86_64/multiarch/strncat.S: New file.
16544 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16546 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16547 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16549 (USE_AS_STRCAT): Define.
16550 Add strcat and strncat support.
16551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16553 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16554 * string/strncat.c: Update.
16555 (USE_AS_STRNCAT): Define.
16556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16557 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16559 * sysdeps/x86_64/multiarch/init-arch.h
16560 (bit_Prefer_PMINUB_for_stringop): New.
16561 (index_Prefer_PMINUB_for_stringop): Likewise.
16562 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16563 bit_Prefer_PMINUB_for_stringop.
16565 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16567 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16569 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16570 of casting of buffer.
16571 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16572 buffer32 and buffer64.
16573 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16574 writes instead of casting of buffer.
16575 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16577 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16580 2011-07-19 Andreas Schwab <schwab@redhat.com>
16582 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16584 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16586 * nscd/nscd.c (termination_handler): Don't do anything for a database
16587 if it has not yet been initialized.
16589 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16593 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16595 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16597 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16599 * po/nl.po: Update from translation team.
16600 * po/sv.po: Likewise.
16602 2011-07-16 Roland McGrath <roland@hack.frob.com>
16604 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16605 now disallowed by GCC.
16607 * configure.in (use-default-link): Default to yes if a test -shared
16608 link meets our qualifications.
16609 * configure: Regenerated.
16611 * config.make.in (output-format): New variable.
16612 * configure.in: Check for ld --print-output-format support.
16613 * configure: Regenerated.
16614 * Makerules ($(common-objpfx)format.lds)
16615 [$(output-format) != unknown]: Just use $(output-format),
16616 instead of the linker-script munging.
16618 2011-07-14 Roland McGrath <roland@hack.frob.com>
16620 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16621 of $(common-objpfx)shlib.lds.
16622 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16624 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16625 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16627 * configure.in (-z relro check): Adjust test code to add a large
16628 writable data section after it.
16629 * configure: Regenerated.
16631 2011-07-11 Roland McGrath <roland@hack.frob.com>
16633 * configure.in (-z relro check): Fix test code to make the variable
16635 * configure: Regenerated.
16637 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16639 * nscd/nscd.h (struct traced_file): Define.
16640 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16641 elements. Add traced_files.
16642 (inotify_fd): Declare.
16643 (register_traced_file): Declare.
16644 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16645 (inotify_fd): Export.
16646 (resolv_conf_descr): Remove.
16647 (nscd_init): Move inotify descriptor creation to main.
16648 Don't register files for notification here.
16649 (register_traced_file): New function.
16650 (invalidate_cache): Don't use reset_res to determine whether to call
16651 res_init, go through the list of registered files.
16652 (main_loop_poll): The inotify descriptors are now stored in the
16653 structures for the traced files.
16654 (main_loop_epoll): Likewise
16655 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16656 to __nss_disable_nscd.
16657 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16658 for a database anymore. Check the records for all the registered
16660 * nss/Makefile (libnss_files-routines): Add files-init.
16661 (libnss_db-routines): Add db-init.
16662 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16663 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16664 * nss/nss_db/db-init.c: New file.
16665 * nss/nss_files/files-init.c: New file.
16666 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16667 __nss_lookup_function.
16668 (__nss_lookup_function): Call nss_load_library.
16669 (nss_load_all_libraries): New function.
16670 (__nss_disable_nscd): Take parameter with callback function for files
16671 to register. Set is_nscd. Load all the DSOs for the NSS modules
16672 used for the cached services.
16673 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16675 options for features to all the files in nscd.
16677 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16679 2011-07-10 Roland McGrath <roland@hack.frob.com>
16681 * csu/elf-init.c (__libc_csu_init): Comment typo.
16683 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16685 * po/pl.po: Update from translation team.
16686 * po/ja.po: Likewise.
16687 * po/ru.po: Likewise.
16688 * po/ko.po: Likewise.
16689 * po/fr.po: Likewise.
16691 2011-07-09 Roland McGrath <roland@hack.frob.com>
16693 * configure.in (.ctors/.dtors header and trailer check):
16694 Use an empirical test on a built program.
16695 * configure: Regenerated.
16697 * configure.in (-z relro check): Use an empirical test on a built DSO.
16698 Detect, but do not require, on ia64.
16699 * configure: Regenerated.
16701 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16702 Update tests that use readelf to use $READELF instead.
16703 * configure: Regenerated.
16705 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16707 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16708 if the result is not used.
16710 2011-07-05 Andreas Jaeger <aj@suse.de>
16713 * stdlib/tst-strtod.c: Add testcase.
16715 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16717 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16718 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16719 The latter has a higher limit. Take additional parameter to pass to
16721 (__pathconf): Pass file to __statfs_link_max.
16722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16724 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16728 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16732 (__statfs_filesize_max): Likewise.
16733 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16735 2011-07-05 Andreas Jaeger <aj@suse.de>
16737 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16739 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16741 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16746 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16748 * Makefile (strop-tests): Add strncat.
16749 * string/test-strncat.c: New file.
16751 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16753 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16755 2011-06-21 Andreas Jaeger <aj@suse.de>
16757 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16758 Copy rule from iconvdata/Makefile.
16760 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16763 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16764 but no long options are defined, just return 'W'.
16766 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16769 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16771 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16773 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16775 (innetgr): Likewise.
16777 2011-07-05 Roland McGrath <roland@hack.frob.com>
16779 * config.make.in (install_root): Default to $(DESTDIR).
16781 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16785 2011-07-02 Roland McGrath <roland@hack.frob.com>
16787 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16789 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16790 containing directory rather than embedding absolute directory names.
16792 * scripts/check-local-headers.sh: Rewritten using awk.
16793 Match by word, not by line. Print error messages for matches.
16794 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16796 * Makerules [shlib-lds-flags empty]:
16797 ($(common-objpfx)libc_pic.opts): New target.
16798 ($(common-objpfx)libc_pic.os.clean): New target.
16799 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16801 * config.make.in (OBJCOPY): New variable.
16802 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16803 * configure: Regenerated.
16805 * config.make.in (use-default-link): New variable.
16806 * configure.in (use_default_link): Grok --with-default-link to set it.
16807 * configure: Regenerated.
16808 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16809 (shlib-lds, shlib-lds-flags): Define to empty.
16811 * Makerules (shlib-lds): New variable.
16812 (shlib-lds-flags): New variable.
16813 (build-shlib, build-moduile, build-module-asneeded): Use it.
16814 ($(common-objpfx)libc.so): Use $(shlib-lds).
16815 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16818 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16819 DT_FLAGS/DT_FLAGS_1 with zero flags.
16821 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16822 linker script munging.
16824 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16826 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16828 * crypt/sha512.c (sha512_process_block): Perform total addition using
16829 128-bit if possible.
16830 (__sha512_finish_ctx): Likewise.
16831 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16833 * crypt/sha256.c (SWAP64): Define.
16834 (sha256_process_block): Perform total addition using 64-bit if
16836 (__sha256_finish_ctx): Likewise.
16838 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16840 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16842 * nscd/hstcache.c (cache_addhst): Likewise.
16843 * nscd/grpcache.c (cache_addgr): Likewise.
16844 * nscd/aicache.c (addhstaiX): Likewise
16845 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16847 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16849 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16851 * nscd/hstcache.c (cache_addhst): Likewise.
16852 * nscd/grpcache.c (cache_addgr): Likewise.
16853 * nscd/aicache.c (addhstaiX): Likewise
16855 2011-07-01 Andreas Schwab <schwab@redhat.com>
16857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16858 domain only when needed.
16860 2011-06-30 Andreas Schwab <schwab@redhat.com>
16862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16863 is always restored.
16865 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16867 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16868 are re-adding the entry.
16869 * nscd/servicescache.c (cache_addserv): Likewise.
16871 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16873 * sysdeps/generic/dl-irel.h: fix protection against multiple
16875 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16877 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16880 * malloc/memusage.sh: Fix quoting in message.
16881 * debug/xtrace.sh: Likewise.
16883 * configure.in: Remove support for --experimental-malloc option, make
16885 * config.make.in: Likewise.
16886 * malloc/Makefile: Likewise.
16888 2011-06-27 Andreas Schwab <schwab@redhat.com>
16890 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16891 two-byte characters.
16893 2011-06-27 Roland McGrath <roland@hack.frob.com>
16895 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16896 AC_CACHE_CHECK invocation.
16897 * configure: Regenerated.
16899 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16901 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16904 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16905 bit from old_res_options.
16907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16909 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16910 value type for setfct.
16912 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16915 __gettimeofday instead of gettimeofday.
16917 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16919 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16921 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16928 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16931 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16932 strcpy-sse2-unaligned strncpy-sse2-unaligned
16933 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16934 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16935 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16936 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16937 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16940 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16941 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16942 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16943 (STRCPY): Support SSE2 and SSSE3 versions.
16945 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16949 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16950 kernels which artificially limit size of requests.
16952 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16955 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16956 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16957 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16958 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16959 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16960 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16961 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16964 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16965 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16966 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16967 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16968 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16970 Enable unaligned load optimization for Intel Core i3, i5 and i7
16972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16974 (index_Fast_Unaligned_Load): Define.
16975 (HAS_FAST_UNALIGNED_LOAD): Define.
16977 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16979 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16981 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16985 until it is clear that the information is realy needed.
16986 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16988 2011-06-22 Andreas Schwab <schwab@redhat.com>
16990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16992 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16995 /sys/devices/system/cpu/online if it is usable.
16997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16998 reading the information from the /proc filesystem to once a second.
17000 2011-06-21 Andreas Jaeger <aj@suse.de>
17002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17003 NULL after inclusion of kernel headers.
17005 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17007 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17008 calls to internal_setent.
17011 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17012 addresses using gethostbyname4_r ignore IPv4 addresses.
17014 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17015 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17017 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17019 2011-06-20 David S. Miller <davem@davemloft.net>
17021 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17023 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17025 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17026 (elf_irel): Use it.
17027 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17028 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17029 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17030 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17031 * sysdeps/x86_64/dl-irel.h: Likewise.
17033 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17034 * elf/dl-sym.c: Likewise.
17036 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17038 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17039 need to dereference resplen2.
17041 2011-06-14 Andreas Schwab <schwab@redhat.com>
17043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17045 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17047 * Makeconfig: Define vardbdir and inst_vardbdir.
17048 * nss/Makefile: Add rules to install db-Makefile.
17050 * nss/nss_db/db-XXX.c: Cleanup.
17052 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17053 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17055 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17056 * nss/makedb.c: Implement -g option to specify that value strings
17057 are generated and should not be added to table iterated over for
17059 * nss/nss_db/db-initgroups.c: New file.
17061 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17064 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17065 (internal_getgrouplist): Adjust to name change.
17066 Update use_initgroups_entry if this is not the first call.
17067 * nss/databases.def: Add initgroups entry.
17069 * nss/makedb.c (compute_tables): Check result of multiple hash table
17070 sizes to minimize maximum chain length.
17072 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17074 * Versions.def: Add entry for libnss_db.
17075 * shlib-versions: Likewise.
17076 * nss/Makefile: Add rules to build libnss_db.
17077 * nss/Versions: Add libnss_db information. Organize libnss_files
17079 * nss/db-Makefile: Add gshadow support. Change rules for the new
17080 makedb progra. Some minor improvements to generate smaller files.
17081 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17083 * nss/makedb.c: ...here.
17084 Improve database format to be smaller and require less memory at
17086 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17088 * nss/nss_db/db-netgrp.c: Likewise.
17089 * nss/nss_db/db-open.c: Likewise.
17090 * nss/nss_files/flies-XXX.x: Adjust comments.
17091 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17092 * nss/nss_files/files-grp.c: Likewise.
17093 * nss/nss_files/files-hosts.c: Likewise.
17094 * nss/nss_files/files-network.c: Likewise.
17095 * nss/nss_files/files-proto.c: Likewise.
17096 * nss/nss_files/files-pwd.c: Likewise.
17097 * nss/nss_files/files-rpc.c: Likewise.
17098 * nss/nss_files/files-service.c: Likewise.
17099 * nss/nss_files/files-sgrp.c: Likewise.
17100 * nss/nss_files/files-spwd.c: Likewise.
17101 * nss/nss_db/db-alias.c: Removed.
17102 * nss/nss_db/dummy-db.h: Removed.
17104 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17106 * nss/makedb.c: Rewritten to not use database library.
17107 * nss/Makefile: Update to build new makedb program.
17109 2011-06-14 Andreas Jaeger <aj@suse.de>
17111 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17112 memset declaration.
17114 2011-06-10 Andreas Schwab <schwab@redhat.com>
17116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17119 2011-06-10 Roland McGrath <roland@hack.frob.com>
17121 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17122 * elf/Makefile ($(objpfx)ld.so): Likewise.
17124 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17125 Don't list ld.so twice in dependencies.
17127 * posix/bug-regex31.c: Include <stdlib.h>.
17129 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17131 * nis/nss_compat/compat-spwd.c
17132 (getspent_next_nss_netgr): Remove unused variable.
17133 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17135 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17136 nonmembers" output to use the right array.
17138 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17140 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17142 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17143 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17144 * catgets/gencat.c (read_input_file): Likewise.
17145 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17148 variable definition inside #if's controlling its use.
17150 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17154 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17156 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17159 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17161 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17162 * configure: Regenerated.
17164 * Makerules: Revert last change.
17165 * elf/Makefile: Likewise.
17167 2011-06-09 Roland McGrath <roland@hack.frob.com>
17169 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17170 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17171 (reloc-link): Likewise.
17173 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17175 * elf/Makefile: Add rules to build pldd.
17176 * elf/pldd.c: New file.
17177 * elf/pldd-xx.c: New file.
17179 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17181 * version.h: Update for 2.15 development version.
17183 2011-06-07 David S. Miller <davem@davemloft.net>
17185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17188 elf_machine_lazy_rel): Likewise.
17189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17191 elf_machine_lazy_rel): Likewise.
17192 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17193 dl_hwcap via passed in argument.
17194 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17197 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17199 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17201 2011-06-06 Roland McGrath <roland@hack.frob.com>
17204 * manual/fdl-1.1.texi: New file, verbatim from:
17205 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17206 * manual/lgpl-2.1.texi: New file, verbatim from:
17207 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17208 * manual/Makefile (licenses): New variable, list those new file names.
17210 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17212 * manual/fdl.texi: File removed.
17213 * manual/lesser.texi: File removed.
17214 * manual/libc.texinfo (Copying, Documentation License):
17215 Use new @include file names, put @appendix directive before @include.
17217 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17220 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17221 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17222 (mq_open): Add __NTH.
17224 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17227 Assume Intel Core i3/i5/i7 processor if AVX is available.
17229 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17234 2011-05-31 Andreas Schwab <schwab@redhat.com>
17236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17237 memory. Use alloca_account. Fix memory leak when retrying.
17239 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17241 * version.h (RELEASE): Bump for 2.14 release.
17242 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17244 * config.make.in (RANLIB): Remove entry.
17246 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17248 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17249 (libc.pot): Work around missing support for .ksh extension in xgettext.
17252 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17253 if both request failed.
17254 (send_dg): In case of server errors clear resplen or *resplen2.
17257 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17258 when there are multiple maps.
17259 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17260 (_dl_fini): Remove test here.
17262 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17264 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17267 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17268 bit from old_res_options.
17269 (gaih_inet): Likewise.
17272 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17275 * resolv/res_init.c (res_setoptions): Make the code more compact.
17278 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17282 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17284 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17287 * malloc/malloc.h: Declare malloc hook variables as volatile.
17289 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17293 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17294 raise in the comment.
17295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17299 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17302 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17303 grow the buffers more if it already has to be sufficient.
17304 (build_wcs_upper_buffer): Likewise.
17305 * posix/regexec.c (check_matching): Likewise.
17306 (clean_state_log_if_needed): Likewise.
17307 (extend_buffers): Don't enlarge buffers beyond size of the input
17309 Patches mostly by Emil Wojak <emil@wojak.eu>.
17310 * posix/bug-regex32.c: New file.
17311 * posix/Makefile (tests): Add bug-regex32.
17313 * locale/findlocale.c (_nl_find_locale): Return right away if
17314 _nl_explode_name failed.
17315 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17319 * debug/xtrace.sh: Unify messages.
17320 * malloc/memusage.sh: Likewise.
17323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17324 time symbol from vDSO. Substitute with vsyscall if not available.
17325 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17329 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17331 Add sendmmsg and internal_sendmmsg.
17332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17336 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17337 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17340 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17344 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17350 * iconvdata/Makefile (tests): Add bug-iconv9.
17351 * iconvdata/bug-iconv9.c: New file.
17353 2011-05-27 Andreas Schwab <schwab@redhat.com>
17356 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17358 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17361 (struct user_regs_struct): Change intcs field back to cs.
17363 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17365 * po/ja.po: Update from translation team.
17367 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17373 2011-05-20 Andreas Schwab <schwab@redhat.com>
17375 * stdlib/longlong.h: Update from GCC.
17377 2011-05-23 Andreas Schwab <schwab@redhat.com>
17379 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17381 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17382 Add parameter name.
17383 (__sysconf): Pass it down.
17385 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17388 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17391 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17392 add in in __libc_use_alloca calls. Adjust callers.
17393 (glob): Use malloc in some situations.
17395 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17396 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17399 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17401 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17402 and CLOCK_BOOTTIME_ALARM.
17405 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17408 * string/_strerror.c (__strerror_r): Print negative errors as signed
17412 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17413 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17414 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17416 * configure.in: Fix typo in redirection and correct removal of test
17417 files in two cases.
17420 * locale/setlocale.c (new_composite_name): Fix test to check for
17421 identical name of all categories.
17424 * libio/filedoalloc.c (local_isatty): New function.
17425 (_IO_file_doallocate): Use local_isatty.
17426 * stdio-common/perror.c (perror): In case a new stream is used
17427 forward the stream error.
17428 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17431 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17436 * include/alloca.h (extend_alloca_account): Define.
17439 * posix/regex.h: Fix comments with documentation of user-accessible
17440 fields after compilation and describe correct free'ing of pattern
17441 after re_compile_pattern.
17442 Patch by Reuben Thomas <rrt@sc3d.org>.
17444 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17446 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17447 and -mno-altivec to prevent the compiler from using Altivec and/or
17448 VSX instructions when the corresponding registers are not available.
17450 2011-05-19 Andreas Schwab <schwab@redhat.com>
17452 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17454 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17456 * libio/freopen.c (freopen): Use __dup2, not dup2.
17457 * libio/freopen64.c (freopen64): Likewise.
17459 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17462 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17463 * math/Makefile (tests): Add test-powl.
17464 (CFLAGS-test-powl.c): Define.
17465 * math/test-powl.c: New file.
17467 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17469 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17471 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17474 * iconvdata/gb18030.c: Update to GB18020-2005.
17476 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17478 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17479 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17480 Patch by Aharon Robbins <arnold@skeeve.com>.
17483 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17487 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17488 through underflows.
17491 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17492 point to strings before performing equality test for error_one_per_line
17496 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17500 (struct user_fpregs_struct): Avoid __uint*_t types.
17503 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17504 symbol info. Use it instead of calling _dl_addr locally.
17505 (lock_and_info): New function.
17506 (tr_freehook): Call lock_and_info and pass symbol info as additional
17507 parameter to tr_where.
17508 (tr_mallochook): Likewise.
17509 (tr_reallochook): Likewise.
17510 (tr_memalignhook): Likewise.
17512 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17513 used and couldn't be at all thread-safe.
17515 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17517 * libio/freopen.c (freopen): Don't close old file descriptor
17518 before the new one is opened. Instead dup the new file descriptor
17519 to the old one after the new stream is created.
17520 * libio/freopen64.c (freopen64): Likewise.
17521 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17522 * libio/fileops.c (_IO_new_file_close_it): Handle new
17523 _IO_FLAGS2_NOCLOSE flag.
17524 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17525 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17526 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17527 _IO_FLAGS2_NOCLOSE flag.
17528 * include/unistd.h: Add hidden_proto for dup3.
17529 Define __have_dup3.
17530 * io/dup3.c: Define hidden symbol.
17531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17534 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17535 when an incomplete long option is used.
17536 * posix/tst-getopt_long1.c: New file.
17537 * posix/Makefile (tests): Add tst-getopt_long1.
17540 * scripts/config.guess: Update from autoconf-2.68.
17541 * scripts/config.sub: Likewise.
17544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17546 (has_cpuclock): ...this. New function.
17547 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17548 macro here based on has_cpuclock code.
17551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17552 First byte (not low byte) is now always NUL.
17553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17556 Use non-cancelable interfaces.
17559 * locale/iso-639.def: Add entry for Sorani.
17562 * include/stdlib.h: Move include protection to the right place.
17563 Define abort_msg_s. Declare __abort_msg with it.
17564 * stdlib/abort.c (__abort_msg): Adjust type.
17565 * assert/assert.c (__assert_fail_base): New function. Majority
17566 of code from __assert_fail. Allocate memory for __abort_msg with
17568 (__assert_fail): Now call __assert_fail_base.
17569 * assert/assert-perr.c: Remove bulk of implementation. Use
17570 __assert_fail_base.
17571 * include/assert.hL Declare __assert_fail_base.
17572 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17574 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17576 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17580 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17581 until all modules are registered in the DTV.
17582 * elf/Makefile: Add rules to build and run tst-tls19.
17583 * elf/tst-tls19.c: New file.
17584 * elf/tst-tls19mod1.c: New file.
17585 * elf/tst-tls19mod2.c: New file.
17586 * elf/tst-tls19mod3.c: New file.
17587 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17590 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17594 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17595 two-byte sequence errors.
17596 * iconvdata/Makefile (tests): Add bug-iconv8.
17597 * iconvdata/bug-iconv8.c: New file.
17600 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17603 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17606 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17607 (dummy_getcfa): New function.
17608 (init): Get _Unwind_GetCFA address, use dummy if not found.
17609 (backtrace_helper): In recursion check, also check whether CFA changes.
17610 (__backtrace): Completely initialize arg.
17612 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17613 storing incomplete byte sequence in state object. Avoid testing for
17614 guaranteed too small input if we know there is enough data available.
17616 2011-05-11 Andreas Schwab <schwab@redhat.com>
17618 * Makeconfig (+link-pie): Indent.
17619 * Rules (binaries-pie): Define if $(have-fpie) and
17621 (binaries-shared): Also filter out $(binaries-pie).
17622 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17623 * nscd/Makefile (others-pie): Add nscd.
17624 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17625 ($(objpfx)nscd): Remove command override.
17626 * login/Makefile (others-pie): Add pt_chown.
17627 ($(objpfx)pt_chown): Remove command override.
17628 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17629 remove command overrides.
17631 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17633 * libio/tst_putwc.c: Fix error messages.
17636 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17637 currently writing and seek to current position when not.
17638 * libio/Makefile (tests): Add bug-fclose1.
17639 * libio/bug-fclose1.c: New file.
17641 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17644 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17645 don't set DF_1_NODELETE here.
17646 (do_lookup_x): When entering new entry test for copy relocation
17647 and if necessary set DF_1_NODELETE flag.
17648 * elf/tst-unique4.cc: New file.
17649 * elf/tst-unique4.h: New file.
17650 * elf/tst-unique4lib.cc: New file.
17651 * elf/Makefile: Add rules to build and run tst-unique4.
17652 Patch by Piotr Bury <pbury@goahead.com>.
17654 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17657 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17660 * misc/mntent_r.c (addmntent): Flush the stream after the output
17663 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17664 (is_trusted_path_normalize): Skip initial colon. Append slash
17665 to empty buffer. Duplicate is_trusted_path code but allow
17666 constructed patch to be prefix.
17667 (is_dst): Allow $ORIGIN followed by /.
17668 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17669 Correct testing of result of is_trusted_path_normalize
17670 (decompose_rpath): Fix warning.
17672 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17675 * grp/initgroups.c (internal_getgrouplist): When we found the service
17676 list through the initgroups entry in nsswitch.conf do not always
17677 continue on a successful lookup. Don't always use the
17678 __nss_group_database value if it is set.
17679 * nss/nsswitch.conf (initgroups): Change action for successful db
17680 lookup to continue for compatibility.
17682 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17685 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17687 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17689 * iconvdata/tst-tables.sh: Likewise.
17690 * iconvdata/cp770.c: New file.
17691 * iconvdata/cp771.c: New file.
17692 * iconvdata/cp772.c: New file.
17693 * iconvdata/cp773.c: New file.
17694 * iconvdata/cp774.c: New file.
17695 * iconvdata/testdata/CP770: New file.
17696 * iconvdata/testdata/CP770..UTF8: New file.
17697 * iconvdata/testdata/CP771: New file.
17698 * iconvdata/testdata/CP771..UTF8: New file.
17699 * iconvdata/testdata/CP772: New file.
17700 * iconvdata/testdata/CP772..UTF8: New file.
17701 * iconvdata/testdata/CP773: New file.
17702 * iconvdata/testdata/CP773..UTF8: New file.
17703 * iconvdata/testdata/CP774: New file.
17704 * iconvdata/testdata/CP774..UTF8: New file.
17706 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17708 * iconvdata/gen-8bit-gap.sh: Likewise.
17709 * iconvdata/gen-8bit.sh: Likewise.
17711 * locale/iso-639.def: Add ary entry.
17714 * locale/C-translit.h.in: Add U20A1 transliteration.
17717 * locale/iso-639.def: Add wae entry.
17718 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17721 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17725 * locale/C-translit.h.in: Add entry for U20B9.
17726 Patch by pravin.d.s@gmail.com.
17728 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17731 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17732 ENAMETOOLONG use generic getcwd.
17733 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17734 in rtld. Use *stat64.
17735 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17736 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17737 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17738 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17739 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17740 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17741 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17742 __fstatat64 macros.
17743 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17744 * dirent/rewinddir.c: Add libc_hidden_def.
17745 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17746 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17748 * include/dirent.h (__alloc_dir): Add flags parameter.
17749 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17750 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17752 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17753 from fdopendir if O_CLOEXEC is already set.
17755 2011-03-15 Alan Modra <amodra@gmail.com>
17757 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17758 l_tls_firstbyte_offset non-zero. Save padding offset in
17759 l_tls_firstbyte_offset for later use.
17760 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17761 freeing static tls block.
17763 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17765 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17766 where #ifdef was intended. The intent is to prevent ARG_MAX from
17767 being defined by the kernel headers.
17769 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17772 * resolv/resolv.h: Define RES_NOTLDQUERY.
17773 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17774 no-tld-query and set RES_NOTLDQUERY.
17775 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17776 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17777 modern BIND to search name as TLD unless forbidden.
17779 2011-05-07 Petr Baudis <pasky@suse.cz>
17780 Ulrich Drepper <drepper@gmail.com>
17783 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17784 (is_trusted_path): ...to here.
17785 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17786 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17787 using is_trusted_path_normalize() in setuid scripts.
17789 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17792 __BEGIN/__END_DECLS.
17794 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17797 NSS_STATUS_NOTFOUND if no record was found.
17799 2011-05-05 Andreas Schwab <schwab@redhat.com>
17801 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17802 (headers-not-in-tirpc): Remove rpc/netdb.h
17803 * resolv/netdb.h: Revert last change.
17805 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17807 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17808 circular dependency between libgcc.a and libc.a.
17810 2011-05-05 Andreas Schwab <schwab@redhat.com>
17812 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17813 * nis/Makefile: Don't install rpcsvc/*.
17814 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17815 instead of <rpc/types.h>.
17816 (MAXHOSTNAMELEN): Define.
17818 2011-05-03 Andreas Schwab <schwab@redhat.com>
17820 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17822 2011-04-28 Maciej Babinski <mbabinski@google.com>
17825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17826 gethostbyname4_r when IPv6 results are possible.
17828 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17832 _PC_PIPE_BUF handling.
17834 2011-04-30 Bruno Haible <bruno@clisp.org>
17837 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17838 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17840 * inet/getnameinfo.c (getnameinfo): Likewise.
17842 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17844 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17845 to groups setting in database lookup.
17846 * nss/nsswitch.conf: Add initgroups entry.
17848 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17851 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17853 Patch by Eric Blake <eblake@redhat.com>.
17855 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17857 * sunrpc/Makefile (need-export-routines): Add svc_run.
17858 (routines): Remove svc_run.
17859 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17860 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17861 * sunrpc/svc_run.c (svc_run): Likewise.
17862 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17864 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17867 problem in reallocation in last patch.
17869 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17871 * sunrpc/Makefile: Move inclusion of Rules.
17873 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17875 * nss/nss_files/files-initgroups.c: New file.
17876 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17877 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17878 _nss_files_initgroups_dyn.
17880 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17882 * elf/elf.h (R_ARM_IRELATIVE): Define.
17884 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17886 * po/ru.po: Update from translation team.
17888 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17890 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17893 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17897 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17902 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17910 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17915 * stdlib/bug-getcontext.c: New file.
17916 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17918 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17920 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17921 instructions into .machine "z9-109".
17922 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17923 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17925 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17927 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17928 between environment variables and auxiliary vector.
17930 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17932 * Makefile: Add rules to build linkobj/libc.so.
17933 * include/libc-symbols.h: Define libc_hidden_nolink.
17934 * include/rpc/auth.h: Mark functions which are to be hidden.
17935 * include/rpc/auth_des.h: Likewise.
17936 * include/rpc/auth_unix.h: Likewise.
17937 * include/rpc/clnt.h: Likewise.
17938 * include/rpc/des_crypt.h: Likewise.
17939 * include/rpc/key_prot.h: Likewise.
17940 * include/rpc/pmap_clnt.h: Likewise.
17941 * include/rpc/pmap_prot.h: Likewise.
17942 * include/rpc/pmap_rmt.h: Likewise.
17943 * include/rpc/rpc_msg.h: Likewise.
17944 * include/rpc/svc.h: Likewise.
17945 * include/rpc/svc_auth.h: Likewise.
17946 * include/rpc/xdr.h: Likewise.
17947 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17948 * nss/Makefile: Likewise.
17949 * sunrpc/Makefile: Don't install headers. Build library with normal
17950 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17951 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17952 for the compat linking library. Remove use of INTDEF/INTUSE.
17953 * sunrpc/auth_none.c: Likewise.
17954 * sunrpc/auth_unix.c: Likewise.
17955 * sunrpc/authdes_prot.c: Likewise.
17956 * sunrpc/authuxprot.c: Likewise.
17957 * sunrpc/clnt_gen.c: Likewise.
17958 * sunrpc/clnt_perr.c: Likewise.
17959 * sunrpc/clnt_raw.c: Likewise.
17960 * sunrpc/clnt_simp.c: Likewise.
17961 * sunrpc/clnt_tcp.c: Likewise.
17962 * sunrpc/clnt_udp.c: Likewise.
17963 * sunrpc/clnt_unix.c: Likewise.
17964 * sunrpc/des_crypt.c: Likewise.
17965 * sunrpc/des_soft.c: Likewise.
17966 * sunrpc/get_myaddr.c: Likewise.
17967 * sunrpc/key_call.c: Likewise.
17968 * sunrpc/key_prot.c: Likewise.
17969 * sunrpc/netname.c: Likewise.
17970 * sunrpc/pm_getmaps.c: Likewise.
17971 * sunrpc/pm_getport.c: Likewise.
17972 * sunrpc/pmap_clnt.c: Likewise.
17973 * sunrpc/pmap_prot.c: Likewise.
17974 * sunrpc/pmap_prot2.c: Likewise.
17975 * sunrpc/pmap_rmt.c: Likewise.
17976 * sunrpc/publickey.c: Likewise.
17977 * sunrpc/rpc_cmsg.c: Likewise.
17978 * sunrpc/rpc_common.c: Likewise.
17979 * sunrpc/rpc_dtable.c: Likewise.
17980 * sunrpc/rpc_prot.c: Likewise.
17981 * sunrpc/rpc_thread.c: Likewise.
17982 * sunrpc/rtime.c: Likewise.
17983 * sunrpc/svc.c: Likewise.
17984 * sunrpc/svc_auth.c: Likewise.
17985 * sunrpc/svc_authux.c: Likewise.
17986 * sunrpc/svc_raw.c: Likewise.
17987 * sunrpc/svc_run.c: Likewise.
17988 * sunrpc/svc_simple.c: Likewise.
17989 * sunrpc/svc_tcp.c: Likewise.
17990 * sunrpc/svc_udp.c: Likewise.
17991 * sunrpc/svc_unix.c: Likewise.
17992 * sunrpc/svcauth_des.c: Likewise.
17993 * sunrpc/xcrypt.c: Likewise.
17994 * sunrpc/xdr.c: Likewise.
17995 * sunrpc/xdr_array.c: Likewise.
17996 * sunrpc/xdr_float.c: Likewise.
17997 * sunrpc/xdr_intXX_t.c: Likewise.
17998 * sunrpc/xdr_mem.c: Likewise.
17999 * sunrpc/xdr_rec.c: Likewise.
18000 * sunrpc/xdr_ref.c: Likewise.
18001 * sunrpc/xdr_sizeof.c: Likewise.
18002 * sunrpc/xdr_stdio.c: Likewise.
18004 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18007 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18008 * sysdeps/ia64/dl-tls.h: Likewise.
18009 * sysdeps/powerpc/dl-tls.h: Likewise.
18010 * sysdeps/s390/dl-tls.h: Likewise.
18011 * sysdeps/sh/dl-tls.h: Likewise.
18012 * sysdeps/sparc/dl-tls.h: Likewise.
18013 * sysdeps/x86_64/dl-tls.h: Likewise.
18014 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18016 2011-03-14 Andreas Schwab <schwab@redhat.com>
18018 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18019 rpath element also skip the following colon.
18020 (expand_dynamic_string_token): Add is_path parameter and pass
18021 down to DL_DST_REQUIRED and _dl_dst_substitute.
18022 (decompose_rpath): Call expand_dynamic_string_token with
18023 non-zero is_path. Ignore empty rpaths.
18024 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18027 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18032 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18035 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18036 Patch by Filipe David Manana <fdmanana@apache.org>.
18038 2011-04-07 Andreas Schwab <schwab@redhat.com>
18040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18041 Maintain aligned stack.
18042 (CHECK_RSP): Remove unused macro.
18044 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18046 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18049 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18051 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18053 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18055 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18058 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18059 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18060 * sysdeps/x86_64/memmove.c: New file.
18061 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18062 (memcpy): Renamed to ...
18063 (__new_memcpy): This.
18064 (memcpy): Provide GLIBC_2_14 memcpy.
18065 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18066 (memcpy): Provide GLIBC_2_2_5 memcpy.
18068 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18071 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18073 2011-03-30 Andreas Schwab <schwab@redhat.com>
18075 * misc/syncfs.c: New file.
18076 * misc/Makefile (routines): Add syncfs.
18077 * posix/unistd.h: Declare syncfs.
18078 * sysdeps/unix/syscalls.list: Add syncfs.
18080 2011-04-01 Andreas Schwab <schwab@redhat.com>
18082 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18085 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18089 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18092 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18102 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18103 sync_file_range.c with -fexceptions.
18104 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18105 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18106 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18107 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18108 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18111 sync_file_range as cancellation point
18112 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18113 now a wrapper around __call_sync_file_range with cancellation handling.
18114 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18116 function name to __call_sync_file_range.
18117 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18118 Add call_sync_file_range.
18120 2011-04-01 Andreas Schwab <schwab@redhat.com>
18122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18125 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18127 * iconv/iconv.h: Fix typo in comment.
18128 * io/fcntl.h: Likewise.
18129 * libio/stdio.h: Likewise.
18130 * posix/spawn.h: Likewise.
18131 * posix/unistd.h: Likewise.
18132 * stdlib/stdlib.h: Likewise.
18133 * time/time.h: Likewise.
18134 * wcsmbs/wchar.h: Likewise.
18136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18137 open_by_handle): Add.
18138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18139 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18140 Augment a few comments.
18141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18146 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18149 * io/fcntl.h (AT_EMPTY_PATH): Define.
18151 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18153 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18154 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18155 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18157 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18158 * Versions.def: Add GLIBC_2.14.
18159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18162 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18168 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18171 * string/test-strncmp.c (do_page_test): New function.
18172 (check2): Likewise.
18173 (test_main): Call check2.
18174 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18176 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18180 Handle cache information in CPU leaf 4.
18181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18183 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18186 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18187 character representation.
18188 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18190 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18192 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18193 END(__isnan) to END(__isnanf) to match function entry point/label
18194 EALIGN(__isnanf,...).
18196 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18198 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18200 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18203 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18204 copy from the symbol referenced in the relocation to initialize the
18206 Patch by Piotr Bury <pbury@goahead.com>.
18207 * elf/Makefile: Add rules to build and tst-unique3.
18208 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18209 * elf/tst-unique3.cc: New file.
18210 * elf/tst-unique3.h: New file.
18211 * elf/tst-unique3lib.cc: New file.
18212 * elf/tst-unique3lib2.cc: New file.
18214 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18216 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18218 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18219 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18222 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18224 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18225 to-be-loaded object along a path to loader is ld.so.
18227 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18228 Ulrich Drepper <drepper@gmail.com>
18230 * sysdeps/x86_64/memset.S: After aligning destination, code
18231 branches to different locations depending on the value of
18232 misalignment, when multiarch is enabled. Fix this.
18234 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18236 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18237 Set _x86_64_preferred_memory_instruction for AMD processsors.
18238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18239 Set bit_Prefer_SSE_for_memop for AMD processors.
18241 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18243 * libio/fmemopen.c (fmemopen): Optimize a bit.
18245 2011-03-03 Andreas Schwab <schwab@redhat.com>
18247 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18249 2011-03-03 Roland McGrath <roland@redhat.com>
18251 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18253 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18255 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18256 __bzero_ultra1 instead of __memset_ultra1.
18258 2011-02-23 Andreas Schwab <schwab@redhat.com>
18259 Ulrich Drepper <drepper@gmail.com>
18262 * include/link.h (struct link_map): Add l_orig_initfini.
18263 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18264 returning unsuccessfully.
18265 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18266 close of a file loaded at startup, restore the original l_initfini
18268 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18269 list, store the pointer.
18270 * elf/Makefile ($(objpfx)noload-mem): New rule.
18271 (noload-ENV): Define.
18272 (tests): Add $(objpfx)noload-mem.
18273 * elf/noload.c: Include <memcheck.h>.
18274 (main): Call mtrace. Close all opened handles.
18276 2011-02-17 Andreas Schwab <schwab@redhat.com>
18279 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18280 dependencies are missing.
18282 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18284 Fix __if_freereq crash: Unlike the generic version which uses free,
18286 * sysdeps/mach/hurd/ifreq.h: New file.
18288 2011-01-27 Petr Baudis <pasky@suse.cz>
18289 Ulrich Drepper <drepper@gmail.com>
18292 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18293 to extend_alloca().
18294 * stdio-common/bug23.c: New file.
18295 * stdio-common/Makefile (tests): Add bug23.
18297 2010-09-28 Andreas Schwab <schwab@redhat.com>
18298 Ulrich Drepper <drepper@gmail.com>
18301 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18302 before performing relro protection. At old place add assertion
18303 to make sure nothing changed.
18305 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18306 Glauber de Oliveira Costa <glommer@gmail.com>
18308 * elf/elf.h: Add new ARM TLS relocs.
18310 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18313 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18315 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18317 * sysdeps/wordsize-64/tst-writev.c: New file.
18319 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18321 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18322 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18323 insns in _dl_start to prevent a TOC reference before relocs are
18326 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18329 * Makeconfig: Remove RANLIB definition.
18330 * Makerules: Don't use RANLIB.
18331 * aclocal.m4: Remove ranlib test.
18332 * configure.in: No need to check for ranlib.
18333 * elf/rtld-Rules: Don't use RANLIB.
18335 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18337 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18339 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18340 inclusion protection macro.
18342 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18343 SIGRTMIN and SIGRTMAX and print information in that case only when
18344 SIGRTMIN is defined.
18346 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18348 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18349 arginfo fn returning -1.
18351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18352 and thousands string is zero terminated.
18354 2011-02-03 Andreas Schwab <schwab@redhat.com>
18356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18357 sysdeps/unix/sysv/linux/bits/socket.h.
18359 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18361 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18362 (__CPU_COUNT): Remove old macros.
18363 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18364 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18365 (__CPU_ALLOC, __CPU_FREE): Add macros.
18366 (__sched_cpualloc, __sched_cpufree): Add declarations.
18368 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18370 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18371 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18372 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18373 (readdhstai): Return value of addhstaiX call.
18374 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18375 (addgrbyX): Return value returned by cache_addgr.
18376 (readdgrbyname): Return value returned by addgrbyX.
18377 (readdgrbygid): Likewise.
18378 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18379 (addpwbyX): Return value returned by cache_addpw.
18380 (readdpwbyname): Return value returned by addhstbyX.
18381 (readdpwbyuid): Likewise.
18382 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18383 (addservbyX): Return value returned by cache_addserv.
18384 (readdservbyname): Return value returned by addservbyX:
18385 (readdservbyport): Likewise.
18386 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18387 (addhstbyX): Return value returned by cache_addhst.
18388 (readdhstbyname): Return value returned by addhstbyX.
18389 (readdhstbyaddr): Likewise.
18390 (readdhstbynamev6): Likewise.
18391 (readdhstbyaddrv6): Likewise.
18392 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18393 (readdinitgroups): Return value returned by addinitgroupsX.
18394 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18395 (prune_cache): Keep track of timeout value of re-added entries.
18396 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18397 * nscd/nscd.h: Adjust prototypes of readd* functions.
18399 2011-02-04 Roland McGrath <roland@redhat.com>
18401 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18402 (nis_stats): Likewise.
18403 * nis/nis_modify.c (nis_modify): Likewise.
18404 * nis/nis_remove.c (nis_remove): Likewise.
18405 * nis/nis_add.c (nis_add): Likewise.
18407 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18409 * posix/fnmatch_loop.c: Add some consts.
18411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18413 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18416 * config.make.in (config-cflags-novzeroupper): Define.
18417 * configure.in: Substitute libc_cv_cc_novzeroupper.
18418 * elf/Makefile (AVX-CFLAGS): Define.
18419 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18420 (CFLAGS-tst-auditmod4a.c): Likewise.
18421 (CFLAGS-tst-auditmod4b.c): Likewise.
18422 (CFLAGS-tst-auditmod6b.c): Likewise.
18423 (CFLAGS-tst-auditmod6c.c): Likewise.
18424 (CFLAGS-tst-auditmod7b.c): Likewise.
18425 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18427 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18429 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18430 function to the callback.
18431 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18433 2011-02-02 Andreas Schwab <schwab@redhat.com>
18435 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18438 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18441 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18443 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18445 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18448 * elf/Makefile: Add rules to build and run new test.
18449 * elf/tst-initorder.c: New file.
18450 * elf/tst-initorder.exp: New file.
18451 * elf/tst-initordera1.c: New file.
18452 * elf/tst-initordera2.c: New file.
18453 * elf/tst-initordera3.c: New file.
18454 * elf/tst-initordera4.c: New file.
18455 * elf/tst-initorderb1.c: New file.
18456 * elf/tst-initorderb2.c: New file.
18457 * elf/tst-order-a1.c: New file.
18458 * elf/tst-order-a2.c: New file.
18459 * elf/tst-order-a3.c: New file.
18460 * elf/tst-order-a4.c: New file.
18461 * elf/tst-order-b1.c: New file.
18462 * elf/tst-order-b2.c: New file.
18463 * elf/tst-order-main.c: New file.
18464 New test case by George Gensure <werkt0@gmail.com>.
18466 2010-10-01 Andreas Schwab <schwab@redhat.com>
18468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18469 decoding ACE if AI_CANONIDN.
18471 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18473 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18475 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18477 * version.h (RELEASE): Bump for 2.13 release.
18478 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18480 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18482 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18484 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18491 * posix/getconf.c: Update copyright year.
18492 * catgets/gencat.c: Likewise.
18493 * csu/version.c: Likewise.
18494 * debug/catchsegv.sh: Likewise.
18495 * debug/xtrace.sh: Likewise.
18496 * elf/ldconfig.c: Likewise.
18497 * elf/ldd.bash.in: Likewise.
18498 * elf/sprof.c (print_version): Likewise.
18499 * iconv/iconv_prog.c: Likewise.
18500 * iconv/iconvconfig.c: Likewise.
18501 * locale/programs/locale.c: Likewise.
18502 * locale/programs/localedef.c: Likewise.
18503 * malloc/memusage.sh: Likewise.
18504 * malloc/mtrace.pl: Likewise.
18505 * nscd/nscd.c (print_version): Likewise.
18506 * nss/getent.c: Likewise.
18508 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18509 PF_CAIF, and PF_ALG.
18510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18512 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18514 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18515 (modules-names): Use them.
18516 (ifunc-test-modules, ifunc-pie-tests): Define.
18517 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18518 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18519 (test-extras): Likewise.
18520 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18521 $(compile-command.c).
18522 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18523 (all-built-dso): Define.
18524 (check-textrel.out, check-execstack.out): Depend on it.
18526 * configure.in: Don't override --enable-multi-arch.
18528 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18531 * nscd/hstcache.c (tryagain): Define.
18532 (cache_addhst): Return tryagain not notfound for temporary errors.
18533 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18536 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18540 to make the syscall.
18541 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18544 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18545 and fall back to matching as normal character if the string ends before
18546 the matching ']' is found. This is what POSIX requires.
18547 * posix/testfnm.c: Adjust test result.
18548 * posix/globtest.sh: Adjust test result. Add new test.
18549 * posix/tst-fnmatch.input: Likewise.
18550 * posix/tst-fnmatch2.c: Add new test.
18552 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18554 * elf/Makefile (check-execstack): Revert last change. Depend on
18556 (check-execstack.h): New target.
18557 (generated): Add check-execstack.h.
18558 * elf/check-execstack.c: Include "check-execstack.h".
18559 (main): Revert last change.
18560 (handle_file): Return zero if GNU_STACK is absent and
18561 DEFAULT_STACK_PERMS doesn't include PF_X.
18563 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18565 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18566 in child fails because the descriptor is already closed.
18567 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18568 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18572 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18576 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18577 temporary buffer used to handle multi lookups locally.
18578 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18580 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18582 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18585 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18587 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18588 alignment for SSE2.
18590 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18593 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18594 characters. When rounding increased number of integer digits recompute
18596 * stdio-common/tst-grouping.c: New file.
18597 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18599 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18601 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18602 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18604 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18606 * bits/select.h: Likewise.
18608 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18610 * po/ja.po: Update from translation team.
18612 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18615 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18616 implementation just like for lxstat, fxstatat, et al.
18618 2010-12-27 Jim Meyering <meyering@redhat.com>
18621 * posix/regexec.c (build_trtable): Return failure indication upon
18622 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18624 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18627 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18628 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18629 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18633 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18636 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18637 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18639 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18641 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18642 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18643 script has SORT_BY_INIT_PRIORITY.
18644 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18645 NO_CTORS_DTORS_SECTIONS is defined.
18646 * elf/soinit.c: Likewise.
18647 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18648 NO_CTORS_DTORS_SECTIONS is defined.
18649 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18650 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18651 * sysdeps/sh/init-first.c: Likewise.
18652 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18654 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18656 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18657 always use the slow path.
18659 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18661 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18662 similar rule which adds the sysdep directories to the header search in
18663 order to pick up the correct platform stackinfo.h.
18664 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18665 perform test if it is, otherwise return successfully without testing.
18666 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18667 DEFAULT_STACK_PERMS define in stackinfo.h.
18668 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18669 defined in stackinfo.h.
18670 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18671 DEFAULT_STACK_PERMS defined in stackinfo.h.
18672 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18673 * sysdeps/ia64/stackinfo.h: Likewise.
18674 * sysdeps/s390/stackinfo.h: Likewise.
18675 * sysdeps/sh/stackinfo.h: Likewise.
18676 * sysdeps/sparc/stackinfo.h: Likewise.
18677 * sysdeps/x86_64/stackinfo.h: Likewise.
18678 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18679 PF_X for powerpc64. Retain PF_X for powerpc32.
18681 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18683 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18686 GETDENTS_64BIT_ALIGNED.
18688 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18690 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18692 2010-12-10 Andreas Schwab <schwab@redhat.com>
18694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18697 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18698 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18700 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18701 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18703 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18706 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18709 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18711 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18713 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18715 * po/it.po: Update from translation team.
18717 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18722 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18724 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18726 2010-11-24 Andreas Schwab <schwab@redhat.com>
18728 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18730 (gaih_getanswer_slice): Likewise.
18732 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18736 2010-05-31 Petr Baudis <pasky@suse.cz>
18739 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18740 silently even in the chroot mode.
18742 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18744 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18745 last patch a bit. Pretty printing
18747 2010-05-31 Petr Baudis <pasky@suse.cz>
18750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18751 initialization of skip_initgroups_dyn.
18753 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18758 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18760 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18762 2010-11-11 Andreas Schwab <schwab@redhat.com>
18764 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18765 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18766 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18767 ($(objpfx)tst-fnmatch-mem): New rule.
18768 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18769 * posix/tst-fnmatch.c (main): Call mtrace.
18771 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18774 Support Intel processor model 6 and model 0x2c.
18776 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18781 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18784 * string/test-strncasecmp.c (check_result): New function.
18785 (do_one_test): Use it.
18786 (check1): New function.
18787 (test_main): Use it.
18788 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18789 Support strcasecmp and strncasecmp.
18791 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18794 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18797 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18799 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18803 * sysdeps/x86_64/multiarch/bzero.S: New file.
18804 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18805 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18806 * sysdeps/x86_64/multiarch/memset.S: New file.
18807 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18809 Set bit_Prefer_SSE_for_memop for Intel processors.
18810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18812 (index_Prefer_SSE_for_memop): Define.
18813 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18815 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18820 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18824 (__x86_64_raw_data_cache_size_half): Likewise.
18825 (__x86_64_raw_shared_cache_size): Likewise.
18826 (__x86_64_raw_shared_cache_size_half): Likewise.
18828 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18829 (__x86_64_raw_data_cache_size_half): Likewise.
18830 (__x86_64_raw_shared_cache_size): Likewise.
18831 (__x86_64_raw_shared_cache_size_half): Likewise.
18832 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18833 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18834 and __x86_64_raw_shared_cache_size_half. Round
18835 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18836 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18837 to multiple of 256 bytes.
18839 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18843 of inacessible symlinks. Verify result of symlink before returning it.
18844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18845 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18847 2010-10-28 Erich Ritz <erichritz@gmail.com>
18849 * math/math.h (isinf): Fix typo in comment.
18851 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18853 * po/da.po: Update from translation team.
18855 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18857 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18858 is added to the list.
18860 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18861 Ulrich Drepper <drepper@gmail.com>
18863 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18864 the global list here. Move code to...
18865 (_dl_add_to_namespace_list): ...here. New function.
18866 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18867 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18868 * elf/dl-load.c (lose): Don't remove the element from the list.
18869 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18870 (_dl_map_object): Likewise.
18872 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18875 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18876 into all bytes of SSE register.
18877 Patch by Richard Li <richardpku@gmail.com>.
18879 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18882 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18885 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18887 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18888 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18895 2010-10-22 Andreas Schwab <schwab@redhat.com>
18897 * include/dlfcn.h (__RTLD_SECURE): Define.
18898 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18899 mode & __RTLD_SECURE instead.
18900 (open_path): Rename preloaded parameter to secure.
18901 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18902 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18903 * elf/dl-deps.c (openaux): Likewise.
18904 * elf/rtld.c (struct map_args): Remove is_preloaded.
18905 (map_doit): Don't use it.
18906 (dl_main): Likewise.
18907 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18908 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18910 2010-09-09 Andreas Schwab <schwab@redhat.com>
18912 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18913 (sysd-rules-targets): Remove duplicates.
18914 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18915 rtld-%.$o dependency.
18917 2010-10-18 Andreas Schwab <schwab@redhat.com>
18919 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18920 _dl_map_object do it.
18922 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18924 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18925 fast fma builtins, define the macros in the C99 standard.
18926 (FP_FAST_FMAF): Likewise.
18927 (FP_FAST_FMAL): Likewise.
18928 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18930 * bits/mathdef.h: Update copyright year.
18931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18933 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18935 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18936 builtins, define the macros in the C99 standard.
18937 (FP_FAST_FMAF): Likewise.
18938 (FP_FAST_FMAL): Likewise.
18939 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18941 (FP_FAST_FMAF): Likewise.
18943 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18946 * math/libm-test.inc (fma_test): Some new testcases.
18947 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18949 y and infinite z. Do multiplication by C already in long double.
18950 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18952 y and infinite z. Do bitwise or of inexact bit into u.d.
18953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18954 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18955 * sysdeps/i386/fpu/s_fma.S: Removed.
18956 * sysdeps/i386/fpu/s_fmal.S: Removed.
18958 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18961 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18963 computation is not scheduled after fetestexcept. Fix value
18964 of minimum denormal long double.
18966 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18969 * math/libm-test.inc (fma_test): Add some more tests.
18970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18973 2010-10-15 Andreas Schwab <schwab@redhat.com>
18975 * scripts/data/localplt-s390-linux-gnu.data: New file.
18976 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18978 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18981 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18982 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18984 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18986 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18988 if one of x and y is very large and the other is subnormal.
18989 * sysdeps/s390/fpu/s_fmaf.c: New file.
18990 * sysdeps/s390/fpu/s_fma.c: New file.
18991 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18992 * sysdeps/powerpc/fpu/s_fma.S: New file.
18993 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18995 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18997 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19000 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19003 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19004 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19005 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19006 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19007 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19010 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19013 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19014 * posix/bug-regex31.input: Add test case.
19016 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19018 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19019 * posix/bug-regex31.input: New file.
19022 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19023 (parse_sub_exp): Fix last change, use postorder.
19025 * posix/bug-regex31.c: New file.
19026 * posix/Makefile: Add rules to build and run bug-regex31.
19028 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19031 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19034 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19035 to have entries in sys_siglist.
19038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19041 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19044 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19045 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19046 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19047 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19049 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19050 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19051 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19052 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19053 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19054 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19056 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19057 * math/ftestexcept.c (fetestexcept): Likewise.
19058 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19059 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19060 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19062 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19063 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19064 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19066 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19069 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19072 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19074 * string/bug-strstr1.c: New file.
19075 * string/Makefile: Add rules to build and run bug-strstr1.
19077 2010-10-05 Eric Blake <eblake@redhat.com>
19080 * string/str-two-way.h (two_way_long_needle): Always clear memory
19081 when skipping input due to the shift table.
19083 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19086 * malloc/mcheck.c: Handle large requests.
19089 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19090 for strncmp and strncasecmp.
19091 * string/stratcliff.c: Add tests for strcmp and strncmp.
19092 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19094 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19096 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19099 2010-09-30 Andreas Jaeger <aj@suse.de>
19101 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19102 (CGROUP_SUPER_MAGIC): Define.
19103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19104 Handle btrfs and cgroup file systems.
19105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19108 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19110 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19111 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19113 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19116 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19117 trying to locate the ELF header.
19119 2010-09-27 Andreas Schwab <schwab@redhat.com>
19122 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19123 Mask out sign-bit copies when constructing f_fsid.
19125 2010-09-24 Petr Baudis <pasky@suse.cz>
19127 * debug/stack_chk_fail_local.c: Add missing licence exception.
19128 * debug/warning-nop.c: Likewise.
19130 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19133 implementing getdents64 using getdents syscall, set d_type if
19134 __ASSUME_GETDENTS32_D_TYPE.
19136 2010-09-16 Andreas Schwab <schwab@redhat.com>
19138 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19139 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19141 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19144 * posix/unistd.h: Undo change of feature selection for ftruncate from
19147 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19149 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19152 2010-09-20 Andreas Schwab <schwab@redhat.com>
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19158 2010-09-14 Andreas Schwab <schwab@redhat.com>
19160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19161 variables after CHECK_SP call.
19162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19164 2010-09-13 Andreas Schwab <schwab@redhat.com>
19165 Ulrich Drepper <drepper@redhat.com>
19167 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19168 re-relocationg ld.so.
19169 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19170 _dl_init_paths call.
19171 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19174 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19176 * resolv/res_init.c (__res_vinit): Count the default server we added.
19178 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19179 Ulrich Drepper <drepper@redhat.com>
19182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19183 (____longjmp_chk): Use %ebx for saving value across system call.
19186 2010-09-06 Andreas Schwab <schwab@redhat.com>
19188 * manual/Makefile: Don't mix pattern rules with normal rules.
19190 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19192 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19194 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19195 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19196 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19197 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19201 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19204 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19205 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19207 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19209 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19210 * sysdeps/x86_64/addmul_1.S: Likewise.
19211 * sysdeps/x86_64/lshift.S: Likewise.
19212 * sysdeps/x86_64/mul_1.S: Likewise.
19213 * sysdeps/x86_64/rshift.S: Likewise.
19214 * sysdeps/x86_64/sub_n.S: Likewise.
19215 * sysdeps/x86_64/submul_1.S: Likewise.
19217 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19219 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19220 Define __sched_param instead of SCHED_* and sched_param when
19221 <bits/sched.h> is included with __need_schedparam defined.
19222 * bits/sched.h [__need_schedparam]
19223 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19224 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19225 (__defined_schedparam): Define to 1.
19226 (__sched_param): New structure, identical to sched_param.
19227 (__need_schedparam): Undefine.
19229 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19232 (epoll_create1): Declare.
19234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19236 2010-08-31 Andreas Schwab <schwab@redhat.com>
19239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19240 shifting retval into place.
19242 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19244 * nis/rpcsvc/nis.h: Update copyright notice.
19245 * nis/rpcsvc/nis.x: Likewise.
19246 * nis/rpcsvc/nis_callback.h: Likewise.
19247 * nis/rpcsvc/nis_callback.x: Likewise.
19248 * nis/rpcsvc/nis_object.x: Likewise.
19249 * nis/rpcsvc/nis_tags.h: Likewise.
19250 * nis/rpcsvc/yp.h: Likewise.
19251 * nis/rpcsvc/yp.x: Likewise.
19252 * nis/rpcsvc/ypupd.h: Likewise.
19253 * nis/yp_xdr.c: Likewise.
19254 * nis/ypupdate_xdr.c: Likewise.
19256 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19257 mainly the body of pmap_getport. Add parameters to specify timeouts.
19258 (pmap_getport): Use __libc_rpc_getport.
19259 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19260 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19261 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19263 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19268 2010-08-27 Roland McGrath <roland@redhat.com>
19270 * sysdeps/i386/i686/multiarch/Makefile
19271 (CFLAGS-varshift.c): New variable.
19273 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19275 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19276 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19280 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19282 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19284 * sysdeps/x86_64/strlen.S: Unroll the loop.
19285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19286 strlen-sse2 strlen-sse2-bsf.
19287 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19288 __strlen_no_bsf if bit_Slow_BSF is set.
19289 (__strlen_sse42): Removed.
19290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19291 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19293 2010-08-25 Roland McGrath <roland@redhat.com>
19295 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19296 * sysdeps/x86_64/multiarch/varshift.c: New file.
19297 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19298 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19299 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19302 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19305 strlen-sse2 strlen-sse2-bsf.
19306 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19307 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19308 (__strlen_sse2): Removed.
19309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19312 bit_Slow_BSF for Atom.
19313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19314 (index_Slow_BSF): Define.
19315 (HAS_SLOW_BSF): Define.
19317 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19320 * resolv/res_init.c (__res_vinit): When no server address at all
19321 is given default to loopback.
19323 2010-08-24 Roland McGrath <roland@redhat.com>
19325 * configure.in: Remove config-name.h generation.
19326 * configure: Regenerated.
19327 * config-name.in: File removed.
19328 * scripts/config-uname.sh: New file.
19329 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19330 ($(objdir)config-name.h): New target.
19332 * sunrpc/rpc_parse.h: Avoid nested comment.
19334 2010-08-24 Richard Henderson <rth@redhat.com>
19335 Ulrich Drepper <drepper@redhat.com>
19336 H.J. Lu <hongjiu.lu@intel.com>
19338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19340 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19341 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19342 _mm_alignr_epi8 with _mm_loadu_si128.
19343 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19344 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19345 (__m128i_shift_right): Removed.
19346 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19347 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19348 * sysdeps/x86_64/multiarch/varshift.h: New file.
19349 * sysdeps/x86_64/multiarch/varshift.S: New file.
19351 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19353 * configure.in: Move assembler checks to before sysdep dir checking.
19355 2010-08-20 Petr Baudis <pasky@suse.cz>
19357 * LICENSES: Sync the sunrpc license.
19359 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19361 * sunrpc/auth_des.c: Update copyright notice once again.
19362 * sunrpc/auth_none.c: Likewise.
19363 * sunrpc/auth_unix.c: Likewise.
19364 * sunrpc/authdes_prot.c: Likewise.
19365 * sunrpc/authuxprot.c: Likewise.
19366 * sunrpc/bindrsvprt.c: Likewise.
19367 * sunrpc/clnt_gen.c: Likewise.
19368 * sunrpc/clnt_perr.c: Likewise.
19369 * sunrpc/clnt_raw.c: Likewise.
19370 * sunrpc/clnt_simp.c: Likewise.
19371 * sunrpc/clnt_tcp.c: Likewise.
19372 * sunrpc/clnt_udp.c: Likewise.
19373 * sunrpc/clnt_unix.c: Likewise.
19374 * sunrpc/des_crypt.c: Likewise.
19375 * sunrpc/des_soft.c: Likewise.
19376 * sunrpc/get_myaddr.c: Likewise.
19377 * sunrpc/getrpcport.c: Likewise.
19378 * sunrpc/key_call.c: Likewise.
19379 * sunrpc/key_prot.c: Likewise.
19380 * sunrpc/openchild.c: Likewise.
19381 * sunrpc/pm_getmaps.c: Likewise.
19382 * sunrpc/pm_getport.c: Likewise.
19383 * sunrpc/pmap_clnt.c: Likewise.
19384 * sunrpc/pmap_prot.c: Likewise.
19385 * sunrpc/pmap_prot2.c: Likewise.
19386 * sunrpc/pmap_rmt.c: Likewise.
19387 * sunrpc/rpc/auth.h: Likewise.
19388 * sunrpc/rpc/auth_unix.h: Likewise.
19389 * sunrpc/rpc/clnt.h: Likewise.
19390 * sunrpc/rpc/des_crypt.h: Likewise.
19391 * sunrpc/rpc/key_prot.h: Likewise.
19392 * sunrpc/rpc/netdb.h: Likewise.
19393 * sunrpc/rpc/pmap_clnt.h: Likewise.
19394 * sunrpc/rpc/pmap_prot.h: Likewise.
19395 * sunrpc/rpc/pmap_rmt.h: Likewise.
19396 * sunrpc/rpc/rpc.h: Likewise.
19397 * sunrpc/rpc/rpc_des.h: Likewise.
19398 * sunrpc/rpc/rpc_msg.h: Likewise.
19399 * sunrpc/rpc/svc.h: Likewise.
19400 * sunrpc/rpc/svc_auth.h: Likewise.
19401 * sunrpc/rpc/types.h: Likewise.
19402 * sunrpc/rpc/xdr.h: Likewise.
19403 * sunrpc/rpc_clntout.c: Likewise.
19404 * sunrpc/rpc_cmsg.c: Likewise.
19405 * sunrpc/rpc_common.c: Likewise.
19406 * sunrpc/rpc_cout.c: Likewise.
19407 * sunrpc/rpc_dtable.c: Likewise.
19408 * sunrpc/rpc_hout.c: Likewise.
19409 * sunrpc/rpc_main.c: Likewise.
19410 * sunrpc/rpc_parse.c: Likewise.
19411 * sunrpc/rpc_parse.h: Likewise.
19412 * sunrpc/rpc_prot.c: Likewise.
19413 * sunrpc/rpc_sample.c: Likewise.
19414 * sunrpc/rpc_scan.c: Likewise.
19415 * sunrpc/rpc_scan.h: Likewise.
19416 * sunrpc/rpc_svcout.c: Likewise.
19417 * sunrpc/rpc_tblout.c: Likewise.
19418 * sunrpc/rpc_util.c: Likewise.
19419 * sunrpc/rpc_util.h: Likewise.
19420 * sunrpc/rpcinfo.c: Likewise.
19421 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19422 * sunrpc/rpcsvc/key_prot.x: Likewise.
19423 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19424 * sunrpc/rpcsvc/mount.x: Likewise.
19425 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19426 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19427 * sunrpc/rpcsvc/rex.x: Likewise.
19428 * sunrpc/rpcsvc/rstat.x: Likewise.
19429 * sunrpc/rpcsvc/rusers.x: Likewise.
19430 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19431 * sunrpc/rpcsvc/spray.x: Likewise.
19432 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19433 * sunrpc/rtime.c: Likewise.
19434 * sunrpc/svc.c: Likewise.
19435 * sunrpc/svc_auth.c: Likewise.
19436 * sunrpc/svc_authux.c: Likewise.
19437 * sunrpc/svc_raw.c: Likewise.
19438 * sunrpc/svc_run.c: Likewise.
19439 * sunrpc/svc_simple.c: Likewise.
19440 * sunrpc/svc_tcp.c: Likewise.
19441 * sunrpc/svc_udp.c: Likewise.
19442 * sunrpc/svc_unix.c: Likewise.
19443 * sunrpc/svcauth_des.c: Likewise.
19444 * sunrpc/xcrypt.c: Likewise.
19445 * sunrpc/xdr.c: Likewise.
19446 * sunrpc/xdr_array.c: Likewise.
19447 * sunrpc/xdr_float.c: Likewise.
19448 * sunrpc/xdr_mem.c: Likewise.
19449 * sunrpc/xdr_rec.c: Likewise.
19450 * sunrpc/xdr_ref.c: Likewise.
19451 * sunrpc/xdr_sizeof.c: Likewise.
19452 * sunrpc/xdr_stdio.c: Likewise.
19454 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19457 2010-08-19 Andreas Schwab <schwab@redhat.com>
19459 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19461 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19463 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19466 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19468 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19470 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19473 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19475 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19476 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19478 2010-07-26 Anton Blanchard <anton@samba.org>
19480 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19481 * malloc/arena.c (heap_trim): Likewise.
19483 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19485 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19488 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19490 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19492 * sysdeps/i386/elf/Makefile: New file.
19494 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19496 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19497 from fanotify_init.
19498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19501 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19503 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19505 * sysdeps/multiarch/strcmp.S: Likewise.
19507 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19510 strncase_l-nonascii.
19511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19512 Add strncase_l-ssse3.
19513 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19514 * sysdeps/x86_64/strcmp.S: Likewise.
19515 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19516 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19517 * sysdeps/x86_64/strncase.S: New file.
19518 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19519 * sysdeps/x86_64/strncase_l.S: New file.
19520 * string/Makefile (strop-tests): Add strncasecmp.
19521 * string/test-strncasecmp.c: New file.
19523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19526 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19529 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19531 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19533 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19535 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19536 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19539 2010-05-01 Alan Modra <amodra@gmail.com>
19541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19542 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19543 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19544 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19545 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19546 tidying. Don't tail-call __sigjmp_save for static lib.
19547 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19549 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19550 (CALL_MCOUNT): Add eh info, and nop after bl.
19551 (TAIL_CALL_SYSCALL_ERROR): New macro.
19552 (PSEUDO_RET): Use it.
19553 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19554 Correct save location of integer regs and cr.
19555 (_dl_profile_resolve): Correct cr save location. Delete nops
19556 after bl when SHARED. Reduce cfi size a little by better
19557 placement of cfi directives.
19558 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19559 make a stack frame. Instead use parm save area as a temp.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19561 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19563 Don't make a stack frame for parent, use parm save area.
19564 Increase child stack frame to 112 bytes. Don't save unused reg,
19565 and adjust reg usage. Set up cfi on error recovery and
19566 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19568 (__makecontext): Add dummy nop after jump to exit.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19570 Use correct parm save area and cr save, reduce stack frame.
19571 Correct cfi for possible PSEUDO_RET frame setup.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19573 Branch to local label emitted by PSEUDO_RET rather than
19576 2010-08-12 Andreas Schwab <schwab@redhat.com>
19579 * locale/programs/locale.c (print_assignment): New function.
19580 (show_locale_vars): Use it.
19582 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19584 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19586 (struct statfs64): Likewise.
19587 (_STATFS_F_FLAGS): Define.
19588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19590 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19591 (ST_VALID): Define locally.
19592 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19593 __statvfs_getflags, use the provided value.
19594 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19595 __ASSUME_STATFS_F_FLAGS.
19597 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19600 Add sys/fanotify.h.
19601 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19602 fanotify_mask for GLIBC_2.13.
19603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19604 fanotify_init and fanotify_mark.
19605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19606 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19610 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19611 prlimit64 for GLIBC_2.13.
19612 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19622 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19625 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19626 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19628 * nss/Makefile: Add rules to build and run tst-nss-test1.
19629 * shlib-versions: Add entry for libnss_test1.
19630 * nss/nss_test1.c: New file.
19631 * nss/tst-nss-test1.c: New file.
19633 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19634 (__nss_configure_lookup): Set appropriate entry in
19635 __nss_configure_lookup to true.
19636 * nss/nsswitch.h: Define enum with indeces of databases in
19637 databases and __nss_database_custom arrays. Declare
19638 __nss_database_custom.
19639 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19640 to avoid using nscd when custom rules are installed.
19641 * nss/getXXbyYY_r.c: Likewise.
19642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19644 * nss/nss_files/files-parse.c: Whitespace fixes.
19646 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19649 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19650 * posix/fnmatch_loop.c: Likewise.
19652 2010-07-17 Andi Kleen <ak@linux.intel.com>
19654 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19655 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19656 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19657 * Versions.def [GLIBC_2.13]: Add.
19659 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19662 Also fail if tpwd after pwuid call is NULL.
19664 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19666 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19667 when converting to ms.
19669 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19671 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19672 EOPNOTSUPP errors with ENOTTY.
19673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19674 EOPNOTSUPP errors with ENOTTY.
19676 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19679 Add strcasecmp_l-ssse3.
19680 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19682 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19683 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19686 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19688 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19690 * string/Makefile (strop-tests): Add strcasecmp.
19691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19692 strcasecmp_l-nonascii.
19693 (gen-as-const-headers): Add locale-defines.sym.
19694 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19695 * sysdeps/x86_64/strcasecmp.S: New file.
19696 * sysdeps/x86_64/strcasecmp_l.S: New file.
19697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19698 * sysdeps/x86_64/locale-defines.sym: New file.
19699 * string/test-strcasecmp.c: New file.
19701 * string/test-strcasestr.c: Test both ends of the range of characters.
19702 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19704 2010-07-29 Roland McGrath <roland@redhat.com>
19707 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19709 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19711 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19714 2010-07-27 Andreas Schwab <schwab@redhat.com>
19716 * manual/memory.texi (Malloc Tunable Parameters): Document
19719 2010-07-26 Roland McGrath <roland@redhat.com>
19722 * configure.in (-fgnu89-inline check): Set and substitute
19723 gnu89_inline, not libc_cv_gnu89_inline.
19724 * configure: Regenerated.
19725 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19727 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19729 * string/test-strnlen.c: New file.
19730 * string/Makefile (strop-tests): Add strnlen.
19731 * string/tester.c (test_strnlen): Add a few more test cases.
19732 * string/tst-strlen.c: Better error reporting.
19734 * sysdeps/x86_64/strnlen.S: New file.
19736 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19739 lower-latency instructions.
19741 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19743 * string/test-strcasestr.c: New file.
19744 * string/test-strstr.c: New file.
19745 * string/Makefile (strop-tests): Add strstr and strcasestr.
19746 * string/str-two-way.h: Don't undefine MAX.
19747 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19749 2010-07-21 Andreas Schwab <schwab@redhat.com>
19751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19752 strcasestr-nonascii.
19753 (CFLAGS-strcasestr-nonascii.c): Define.
19754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19756 Remove unused attribute.
19758 2010-07-20 Roland McGrath <roland@redhat.com>
19760 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19761 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19762 ld.so.cache was broken. With it, there is no way to disable dsocaps
19763 like LD_HWCAP_MASK can disable hwcaps.
19765 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19767 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19769 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19771 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19772 call in strcasestr.
19773 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19774 __strcasestr_sse42_nonascii.
19775 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19776 strcasestr-nonascii.c.
19777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19779 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19786 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19791 2010-07-06 Andreas Schwab <schwab@redhat.com>
19794 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19797 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19800 _PC_PIPE_BUF using F_GETPIPE_SZ.
19802 2010-07-05 Roland McGrath <roland@redhat.com>
19804 * manual/arith.texi (Rounding Functions): Fix rint description
19805 implicit in round description.
19807 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19809 * elf/Makefile: Fix linking for a few tests to make recent linker
19812 2010-06-30 Andreas Schwab <schwab@redhat.com>
19814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19815 $(common-objpfx)libc_nonshared.a.
19817 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19819 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19820 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19821 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19823 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19841 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19842 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19843 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19844 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19845 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19846 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19847 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19848 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19849 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19850 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19851 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19852 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19868 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19870 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19871 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19872 * string/memmove.c (memmove): Renamed to ...
19873 (MEMMOVE): ...this. Default to memmove.
19874 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19875 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19878 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19879 mempcpy-ssse3-back memmove-ssse3-back.
19880 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19883 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19884 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19885 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19886 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19887 * sysdeps/x86_64/multiarch/memmove.c: New file.
19888 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19889 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19890 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19891 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19895 (index_Fast_Copy_Backward): Define.
19896 (HAS_ARCH_FEATURE): Define.
19897 (HAS_FAST_REP_STRING): Define.
19898 (HAS_FAST_COPY_BACKWARD): Define.
19900 2010-06-21 Andreas Schwab <schwab@redhat.com>
19902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19903 Restore proper fallback handling.
19905 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19908 * posix/group_member.c (__group_member): Correct checking loop.
19910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19911 OOM in getpwuid_r correctly. Return error number when the caller
19912 should return, otherwise -1.
19913 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19914 call returning > 0 value.
19915 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19917 2010-06-07 Andreas Schwab <schwab@redhat.com>
19919 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19920 libc_nonshared.a from targets in modules-names.
19922 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19924 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19927 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19934 2010-06-02 Andreas Schwab <schwab@redhat.com>
19936 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19938 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19949 2010-06-14 Roland McGrath <roland@redhat.com>
19951 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19953 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19955 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19956 __REDIRECT followed by __THROW.
19957 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19958 * posix/getopt.h (getopt): Likewise.
19960 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19962 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19963 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19964 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19966 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19967 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19969 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19973 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19977 Properly check family and model.
19979 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19983 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19985 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19987 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19989 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19992 2010-05-19 Andreas Schwab <schwab@redhat.com>
19994 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19997 2010-05-21 Andreas Schwab <schwab@redhat.com>
19999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20000 and internal_recvmmsg.
20001 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20003 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20004 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20006 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20010 2010-05-20 Andreas Schwab <schwab@redhat.com>
20012 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20014 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20016 POWER7 optimizations.
20017 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20018 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20020 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20022 * version.h: Update for 2.13 development version.
20024 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20027 exceptions. Return 0.
20029 2010-05-07 Roland McGrath <roland@redhat.com>
20031 * elf/ldconfig.c (main): Add a const.
20033 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20035 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20036 (args_options): Add no-idn option.
20037 (ahosts_keys_int): Add idn_flags to ai_flags.
20038 (parse_option): Handle 'i' option to clear idn_flags.
20040 * malloc/malloc.c (_int_free): Possible race in the most recently
20041 added check. Only act on the data if no current modification
20044 See ChangeLog.17 for earlier changes.