1 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9 wrap blocks consisting of several statements.
11 * sysdeps/generic/math-tests.h: New file.
12 * sysdeps/i386/fpu/math-tests.h: Likewise.
13 * math/test-snan.c: Include it.
14 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20 (__ieee754_j0l): Do not improve calculations using cos of twice
21 input for inputs above LDBL_MAX / 2.0L.
22 (__ieee754_y0l): Likewise.
23 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24 (__ieee754_j1l): Do not improve calculations using cos of twice
25 input for inputs above LDBL_MAX / 2.0L.
26 (__ieee754_y1l): Likewise.
27 * math/libm-test.inc (j0_test): Add another test.
31 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35 * Rules ($(objpfx)bench-%.c): Include code from a C source
38 2013-03-21 Joseph Myers <joseph@codesourcery.com>
41 * math/k_casinh.c (__kernel_casinh): Handle arguments with
42 imaginary part 1.0 and real part less than 0.5 specially.
43 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45 * math/libm-test.inc (cacos_test): Add more tests.
46 (casin_test): Likewise.
47 (casinh_test): Likewise.
48 * sysdeps/i386/fpu/libm-test-ulps: Update.
49 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59 * config.make.in (config-cflags-sse4): Remove variable.
60 (config-cflags-avx): Likewise.
61 (config-cflags-sse2avx): Likewise.
62 (config-cflags-novzeroupper): Likewise.
63 (config-asflags-i686): Likewise.
64 (have-mfma4): Likewise.
65 (have-as-vis3): Likewise.
67 * configure.in (MIG): Do not AC_SUBST.
68 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69 (libc_cv_cc_sse4): Do not AC_SUBST.
70 (libc_cv_cc_avx): Likewise.
71 (libc_cv_cc_sse2avx): Likewise.
72 (libc_cv_cc_novzeroupper): Likewise.
73 (libc_cv_cc_fma4): Likewise.
74 (libc_cv_as_i686): Likewise.
75 (libc_cv_sparc_as_vis3): Likewise.
76 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
78 (config-asflags-i686): Likewise.
79 (config-cflags-avx): Likewise.
80 (config-cflags-sse2avx): Likewise.
81 (have-mfma4): Likewise.
82 (config-cflags-novzeroupper): Likewise.
83 * sysdeps/mach/configure.in (MIG): Likewise.
84 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
85 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
87 (config-cflags-avx): Likewise.
88 (config-cflags-sse2avx): Likewise.
89 (have-mfma4): Likewise.
90 (config-cflags-novzeroupper): Likewise.
91 * configure: Regenerated.
92 * sysdeps/i386/configure: Likewise.
93 * sysdeps/mach/configure: Likewise.
94 * sysdeps/sparc/configure: Likewise.
95 * sysdeps/x86_64/configure: Likewise.
97 2013-03-20 Roland McGrath <roland@hack.frob.com>
100 * locale/programs/localedef.c (options): Put N_ translation marker
101 on argument names, not just descriptions.
103 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
105 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
107 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
110 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
112 2013-03-19 Roland McGrath <roland@hack.frob.com>
114 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
115 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
116 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
117 [!BEFORE_ABORT] (before_abort): New function.
118 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
119 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
120 (writev_for_fatal): New function.
121 (WRITEV_FOR_FATAL): New macro; call that.
122 (backtrace_and_maps): New function.
123 (BEFORE_ABORT): New macro; call that.
124 (struct str_list): Type removed.
125 (__libc_message, __libc_fatal): Functions removed.
126 Include <sysdeps/posix/libc_fatal.c> instead.
128 2013-03-19 Joseph Myers <joseph@codesourcery.com>
130 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
132 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
135 2013-03-19 Andreas Schwab <schwab@suse.de>
137 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
138 * sysdeps/gnu/configure: Regenerate.
140 * configure.in: Substitute libc_cv_rtlddir.
141 * configure: Regenerate.
142 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
143 * Makeconfig (rtlddir, inst_rtlddir): New variables.
144 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
145 * elf/Makefile (install-others, CFLAGS-interp.c)
146 (ldso_install, common-ldd-rewrite): Likewise.
147 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
148 $(inst_slibdir)/$(rtld-installed-name).
149 * scripts/rellns-sh: Add -p option.
150 * Makerules (make-shlib-link): Use rellns-sh to get relative name
153 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
155 * manual/nptl.texi: Renamed to ...
156 * manual/threads.texi: ... this.
157 * manual/Makefile (chapters): Update.
159 2013-03-18 Roland McGrath <roland@hack.frob.com>
162 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
163 on argument names, not just descriptions.
164 * malloc/memusagestat.c (options): Likewise.
165 * nss/getent.c (options): Likewise.
167 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
170 * iconv/iconv_prog.c (options): Put N_ translation marker
171 on argument names, not just descriptions.
172 * iconv/iconvconfig.c (options): Likewise.
174 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
176 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
177 implementation which is faster on all x86_64 architectures.
178 Tested on AMD, Intel Nehalem, SNB, IVB.
179 * sysdeps/x86_64/strnlen.S: Likewise.
181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
182 Remove all multiarch strlen and strnlen versions.
183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
184 Remove strlen and strnlen related parts.
186 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
190 * sysdeps/x86_64/multiarch/strlen.S: Remove.
191 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
193 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
194 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
195 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
197 2013-03-17 Carlos O'Donell <carlos@redhat.com>
199 * manual/memory.texi (Malloc Tunable Parameters):
200 Sort parameters alphabetically. Add comments for missing entries.
202 2013-03-17 David S. Miller <davem@davemloft.net>
204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
206 2013-03-16 Joseph Myers <joseph@codesourcery.com>
209 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
210 for arguments at most half maximum finite value.
211 * math/libm-test.inc (j0_test): Add more tests.
215 * sysdeps/i386/fpu/libm-test-ulps: Update.
216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
220 1 / x and functions P and Q for arguments above 0x1p256L.
221 (__ieee754_y0l): Likewise.
222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
223 (__ieee754_y1l): Likewise.
224 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
229 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
231 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
234 2013-03-15 Roland McGrath <roland@hack.frob.com>
236 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
237 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
238 zero since it's initialized to EXEC_PAGESIZE.
240 * sysdeps/unix/sysv/linux/ldsodefs.h
241 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
242 * sysdeps/generic/ldsodefs.h: ... here.
244 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
246 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
248 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
250 * math/test-snan.c: Renamed from
251 sysdeps/powerpc/fpu/test-powerpc-snan.c.
252 * math/Makefile (tests): Add test-snan.
253 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
256 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
257 SUFFIX. Initialize qNaN_var with __builtin_nan family of
259 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
260 __builtin_nan family of functions.
261 * math/libm-test.inc (initialize): Initialize qnan_value with
262 __builtin_nan family of functions.
263 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
265 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
267 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
268 storage class. Initialize qNaN_var and sNaN_var with
269 __builtin_nan and __builtin_nans families of functions,
272 * math/libm-test.inc (acosh_test): Also test with qNaN input.
273 (sqrt_test): Remove duplicate test with qNaN input.
274 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
275 (round_test, signbit_test, significand_test): Note missing +/-Inf
276 as well as qNaN tests.
278 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
279 qNaN_var. Fix a few strings, too.
280 * math/libm-test.inc (nan_value): Rename to qnan_value.
281 * math/gen-libm-test.pl (%beautify): Adjust to that.
282 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
283 * math/test-misc.c (main): Likewise.
284 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
285 to __qnan_bytes, and __qnan_union, respectively.
286 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
288 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
289 and lqnanval, respectively.
290 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
291 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
292 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
293 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
295 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
296 * math/test-misc.c (main) [__x86_64__]: Enable test for long
299 * math/test-misc.c (main): Fix copy'n'pastos.
300 * misc/tst-efgcvt.c (special): Likewise.
302 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
305 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
307 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
308 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
309 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
312 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
315 macro to return vdso values correctly in IFUNC implementations.
316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
317 Optimization by using IFUNC.
319 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
320 Richard Henderson <rth@redhat.com>
321 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
323 * Makefile.in (bench): New target.
324 * NEWS: Mention the benchmark framework.
325 * Rules (bench): Likewise.
326 (binaries-bench): Generate binaries for functions to
328 * benchtests/Makefile: New makefile for benchmark tests.
329 * benchtests/bench-skeleton.c: New skeleton file for benchmark
331 * benchtests/exp-inputs: New input file for EXP function.
332 * benchtests/pow-inputs: New input file for POW function.
333 * scripts/bench.pl: New script to generate source files for
336 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
338 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
339 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
340 computations on mantissa. Use macros for rounding and
343 (__dbl_mp): Likewise.
344 (add_magnitudes): Likewise.
345 (sub_magnitudes): Likewise.
348 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
349 powers of two in terms of TWOPOW macro.
350 (mp_no): Make type of mantissa as MANTISSA_T.
351 [!RADIXI]: Define RADIXI.
352 [!TWO52]: Define TWO52.
353 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
355 * manual/nptl.texi (cindex): Modify threads to pthreads.
357 2013-03-15 Joseph Myers <joseph@codesourcery.com>
359 * sysdeps/x86_64/preconfigure: Regenerated.
361 2013-03-14 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
366 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
367 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
369 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
370 * math/libm-test.inc (j0_test): Do not allow one spurious
374 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
376 * manual/Makefile (chapters): Add nptl.
377 * manual/debug.texi (Debugging Support): Add link to Threads
379 * manual/nptl.texi: New file.
381 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
383 2013-03-14 Petr Baudis <pasky@ucw.cz>
385 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
386 for non-NULL pointer before the memory validity test. Pointed
387 out by Holger Brunck <holger.brunck@keymile.com>.
389 2013-03-13 Andreas Schwab <schwab@suse.de>
391 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
394 2013-03-13 Joseph Myers <joseph@codesourcery.com>
396 * timezone/zic.c: Update from tzcode 2013b.
398 2013-03-12 Carlos O'Donell <carlos@redhat.com>
400 * manual/install.texi (Configuring and compiling):
401 Mention i686 and i586.
402 * INSTALL: Regenerate.
404 2013-03-12 Roland McGrath <roland@hack.frob.com>
406 * sysdeps/init_array/elf-init.c: New file.
408 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
409 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
411 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
412 __gmon_start__ as global, but as static with a .preinit_array pointer.
413 * sysdeps/init_array/gmon-start.c: New file. Use that.
414 * sysdeps/init_array/crti.S: New file, empty except for comments.
415 * sysdeps/init_array/crtn.S: Likewise.
417 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
419 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
422 Remove Prefer_SSE_for_memop.
423 * sysdeps/x86_64/multiarch/init-arch.h: Remove
424 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
425 HAS_PREFER_SSE_FOR_MEMOP.
426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
429 Remove bzero, memset ifunc support.
430 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
431 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
432 * sysdeps/x86_64/multiarch/memset.S: Likewise.
433 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
435 2013-03-11 Andreas Schwab <schwab@suse.de>
438 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
441 (GLIBC_2.16): Remove pthread_atfork.
443 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
445 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
446 (ptestcases.h): Likewise.
448 2013-03-08 Roland McGrath <roland@hack.frob.com>
450 * Makeconfig ($(common-objpfx)config.status): Depend on
451 sysdeps/*/preconfigure{,.in} too.
453 2013-03-08 Joseph Myers <joseph@codesourcery.com>
455 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
456 (__free_hook): Use void * instead of __malloc_ptr_t.
457 (__malloc_hook): Likewise.
458 (__realloc_hook): Likewise.
459 (__memalign_hook): Likewise.
460 (__after_morecore_hook): Likewise.
461 * malloc/arena.c (save_malloc_hook): Likewise.
462 (save_free_hook): Likewise.
463 * malloc/hooks.c (malloc_hook_ini): Likewise.
464 (realloc_hook_ini): Likewise.
465 (memalign_hook_ini): Likewise.
466 * malloc/malloc.c (malloc_hook_ini): Likewise.
467 (realloc_hook_ini): Likewise.
468 (memalign_hook_ini): Likewise.
469 (__free_hook): Likewise.
470 (__malloc_hook): Likewise.
471 (__realloc_hook): Likewise.
472 (__memalign_hook): Likewise.
473 (__libc_malloc): Likewise.
474 (__libc_free): Likewise.
475 (__libc_realloc): Likewise.
476 (__libc_memalign): Likewise.
477 (__libc_valloc): Likewise.
478 (__libc_pvalloc): Likewise.
479 (__libc_calloc): Likewise.
480 (__posix_memalign): Likewise.
481 * malloc/morecore.c (__sbrk): Likewise.
482 (__default_morecore): Likewise.
484 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
486 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
487 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
490 * malloc/malloc.h (__malloc_size_t): Remove macro.
491 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
493 (old_memalign_hook): Likewise.
494 (old_realloc_hook): Likewise.
495 (struct hdr): Likewise.
497 (mallochook): Likewise.
498 (memalignhook): Likewise.
499 (reallochook): Likewise.
500 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
501 (tr_old_realloc_hook): Likewise.
502 (tr_old_memalign_hook): Likewise.
503 (tr_mallochook): Likewise.
504 (tr_reallochook): Likewise.
505 (tr_memalignhook): Likewise.
507 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
510 default_ldbl_pack and using as default implementation.
511 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
513 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
514 redundant definition.
515 (ldbl_insert_mantissa): Likewise.
516 (ldbl_canonicalize): Likewise.
517 (ldbl_nearbyint): Likewise.
518 (ldbl_pack): Rename to ldbl_pack_ppc.
519 (ldbl_unpack): Rename to ldbl_unpack_ppc.
520 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
521 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
523 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
526 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
528 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
531 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
532 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
534 2013-03-07 Andreas Jaeger <aj@suse.de>
536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
539 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
541 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
542 Include mpa.h and declare __MPEXP.
543 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
545 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
546 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
547 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
548 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
549 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
551 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
552 (__slowpow): Use long double EXPL and LOGL functions to
554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
555 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
558 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
559 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
562 intermediate variable to calculate exponent.
564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
568 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
569 [!NO__SQR]: Define __sqr.
570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
571 and NO__SQR. Remove all code except __mul and __sqr. Include
572 sysdeps/ieee754/dbl-64/mpa.c.
573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
576 * posix/Makefile (tests): Add tst-pathconf.
577 * posix/tst-pathconf.c: New test case.
578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
580 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
582 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
584 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
586 2013-03-06 Andreas Jaeger <aj@suse.de>
588 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
589 definition via __MAP_ANONYMOUS.
591 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
592 it's not part of Linux headers.
594 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
595 (MAP_HUGE_MASK): Define.
597 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
599 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
602 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
603 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
605 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
610 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
611 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
612 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
613 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
614 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
615 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
617 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
621 Handle f2fs and efivarfs.
623 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
626 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
627 (EFIVARFS_MAGIC): Add.
628 (F2FS_LINK_MAX): Add.
630 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
632 * stdio-common/vfprintf.c: Replace __builtin_expect with
635 2013-03-06 Joseph Myers <joseph@codesourcery.com>
638 * sysdeps/generic/bp-sym.h: Remove file.
639 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
640 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
641 <bp-sym.h> and <bp-asm.h>.
642 (__longjmp): Don't use BP_SYM.
643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
645 (memcpy): Don't use BP_SYM.
646 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
647 <bp-sym.h> and <bp-asm.h>.
648 (memcpy): Don't use BP_SYM.
649 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
651 (memcpy): Don't use BP_SYM.
652 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
654 (memset): Don't use BP_SYM.
655 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
656 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
657 (__bzero): Don't use BP_SYM.
658 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
659 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
661 <bp-sym.h> and <bp-asm.h>.
662 (memcmp): Don't use BP_SYM. Remove comment about bounded
664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
665 <bp-sym.h> and <bp-asm.h>.
666 (memcpy): Don't use BP_SYM.
667 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
668 <bp-sym.h> and <bp-asm.h>.
669 (memset): Don't use BP_SYM.
670 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
671 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
672 (__bzero): Don't use BP_SYM.
673 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
674 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
675 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
676 <bp-sym.h> and <bp-asm.h>.
677 (strncmp): Don't use BP_SYM. Remove comment about bounded
679 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
680 <bp-sym.h> and <bp-asm.h>.
681 (memcpy): Don't use BP_SYM.
682 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
683 <bp-sym.h> and <bp-asm.h>.
684 (memset): Don't use BP_SYM.
685 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
686 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
687 (__bzero): Don't use BP_SYM.
688 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
689 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
691 <bp-sym.h> and <bp-asm.h>.
692 (__memchr): Don't use BP_SYM.
693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
694 <bp-sym.h> and <bp-asm.h>.
695 (memcmp): Don't use BP_SYM. Remove comment about bounded
697 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
698 <bp-sym.h> and <bp-asm.h>.
699 (memcpy): Don't use BP_SYM.
700 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
701 <bp-sym.h> and <bp-asm.h>.
702 (__mempcpy): Don't use BP_SYM.
703 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
704 <bp-sym.h> and <bp-asm.h>.
705 (__memrchr): Don't use BP_SYM.
706 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
707 <bp-sym.h> and <bp-asm.h>.
708 (memset): Don't use BP_SYM.
710 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
711 <bp-sym.h> and <bp-asm.h>.
712 (__rawmemchr): Don't use BP_SYM.
713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
714 <bp-sym.h> and <bp-asm.h>.
715 (__STRCMP): Don't use BP_SYM.
716 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
717 <bp-sym.h> and <bp-asm.h>.
718 (strchr): Don't use BP_SYM.
719 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
720 <bp-sym.h> and <bp-asm.h>.
721 (__strchrnul): Don't use BP_SYM.
722 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
723 <bp-sym.h> and <bp-asm.h>.
724 (strlen): Don't use BP_SYM.
725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
726 <bp-sym.h> and <bp-asm.h>.
727 (strncmp): Don't use BP_SYM. Remove comment about bounded
729 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
730 <bp-sym.h> and <bp-asm.h>.
731 (__strnlen): Don't use BP_SYM.
732 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
733 <bp-sym.h> and <bp-asm.h>.
734 (__GI__setjmp): Don't use BP_SYM.
736 (__sigsetjmp): Likewise.
737 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
738 (L(start_addresses)): Don't use BP_SYM.
740 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
742 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
743 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
744 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
745 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
746 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
748 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
749 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
750 about bounded pointers.
751 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
752 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
753 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
755 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
756 about bounded pointers. Remove GKM FIXME comments.
757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
758 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
760 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
761 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
762 Remove GKM FIXME comments.
763 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
764 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
765 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
767 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
768 about bounded pointers. Remove GKM FIXME comment.
769 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
771 (strncmp): Don't use BP_SYM. Remove comment about bounded
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
774 <bp-sym.h> and <bp-asm.h>.
775 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
777 <bp-sym.h> and <bp-asm.h>.
778 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
781 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
783 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
786 2013-03-05 David S. Miller <davem@davemloft.net>
788 * po/es.po: Update from translation team.
790 2013-03-05 Andreas Jaeger <aj@suse.de>
792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
794 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
796 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
797 <bits/mman-linux.h> to end of file.
798 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
801 <bits/mman-linux.h> to end of file.
802 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
805 <bits/mman-linux.h> to end of file.
807 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
808 (MCL_CURRENT, MCL_FUTURE): Define here.
810 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
815 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
817 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
819 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
820 fourth parameter needed for rt_sigprocmask syscall.
821 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
822 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
824 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
825 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
826 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
828 2013-03-04 Joseph Myers <joseph@codesourcery.com>
831 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
832 comment about bounded pointers.
833 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
834 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
836 2013-03-04 Andreas Jaeger <aj@suse.de>
838 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
841 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
842 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
843 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
844 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
848 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
852 __ieee754_sqrl instead of __sqrl.
854 2013-03-01 Joseph Myers <joseph@codesourcery.com>
856 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
857 * sysdeps/powerpc/fpu_control.h: ... here.
858 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
859 * sysdeps/powerpc/bits/fenvinline.h: ... here.
860 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
861 * sysdeps/powerpc/bits/mathinline.h: ... here.
863 2013-03-01 Roland McGrath <roland@hack.frob.com>
865 * elf/dl-hwcaps.c (_dl_important_hwcaps):
866 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
867 to just [NEED_DL_SYSINFO_DSO].
868 * elf/dl-support.c: Likewise.
869 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
870 * elf/rtld.c (dl_main): Likewise.
871 * elf/setup-vdso.h (setup_vdso): Likewise.
872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
873 * sysdeps/unix/sysv/linux/dl-sysdep.c
874 (_dl_discover_osversion): Likewise.
876 2013-03-01 Carlos O'Donell <carlos@redhat.com>
878 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
879 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
881 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
883 * NEWS: Mention libm performance improvements and non-x86 PI
886 * csu/libc-start.c (__pthread_initialize_minimal): Change
888 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
890 2013-02-28 Joseph Myers <joseph@codesourcery.com>
893 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
894 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
895 <bp-sym.h> and <bp-asm.h>.
896 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
897 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
899 (memcpy): Don't use BP_SYM.
900 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
902 (__mpn_add_n): Don't use BP_SYM.
903 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
904 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
906 (__mpn_addmul_1): Don't use BP_SYM.
907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
908 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
910 (_setjmp): Don't use BP_SYM.
911 (__novmx_setjmp): Likewise.
912 (__GI__setjmp): Likewise.
913 (__vmx_setjmp): Likewise.
914 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
916 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
917 (__bzero): Don't use BP_SYM.
918 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
919 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
920 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
921 <bp-sym.h> and <bp-asm.h>.
922 (memcpy): Don't use BP_SYM.
923 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
924 <bp-sym.h> and <bp-asm.h>.
925 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
927 <bp-sym.h> and <bp-asm.h>.
928 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
929 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
931 (__mpn_lshift): Don't use BP_SYM.
932 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
933 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
935 (memset): Don't use BP_SYM.
936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
938 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
940 (__mpn_mul_1): Don't use BP_SYM.
941 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
943 <bp-sym.h> and <bp-asm.h>.
944 (memcmp): Don't use BP_SYM.
945 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
946 <bp-sym.h> and <bp-asm.h>.
947 (memcpy): Don't use BP_SYM.
948 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
949 <bp-sym.h> and <bp-asm.h>.
950 (memset): Don't use BP_SYM.
951 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
952 <bp-sym.h> and <bp-asm.h>.
953 (strncmp): Don't use BP_SYM.
954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
955 <bp-sym.h> and <bp-asm.h>.
956 (memcpy): Don't use BP_SYM.
957 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
958 <bp-sym.h> and <bp-asm.h>.
959 (memset): Don't use BP_SYM.
960 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
961 <bp-sym.h> and <bp-asm.h>.
962 (__memchr): Don't use BP_SYM.
963 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
964 <bp-sym.h> and <bp-asm.h>.
965 (memcmp): Don't use BP_SYM.
966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (memcpy): Don't use BP_SYM.
969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
970 <bp-sym.h> and <bp-asm.h>.
971 (__mempcpy): Don't use BP_SYM.
972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
973 <bp-sym.h> and <bp-asm.h>.
974 (__memrchr): Don't use BP_SYM.
975 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
976 <bp-sym.h> and <bp-asm.h>.
977 (memset): Don't use BP_SYM.
978 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
979 <bp-sym.h> and <bp-asm.h>.
980 (__rawmemchr): Don't use BP_SYM.
981 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
982 <bp-sym.h> and <bp-asm.h>.
983 (__STRCMP): Don't use BP_SYM.
984 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (strchr): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
988 <bp-sym.h> and <bp-asm.h>.
989 (__strchrnul): Don't use BP_SYM.
990 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
991 <bp-sym.h> and <bp-asm.h>.
992 (strlen): Don't use BP_SYM.
993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
994 <bp-sym.h> and <bp-asm.h>.
995 (strncmp): Don't use BP_SYM.
996 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
997 <bp-sym.h> and <bp-asm.h>.
998 (__strnlen): Don't use BP_SYM.
999 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1001 (__mpn_rshift): Don't use BP_SYM.
1002 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1003 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1004 <bp-sym.h> and <bp-asm.h>.
1005 (__sigsetjmp): Don't use BP_SYM.
1006 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1007 (L(start_addresses)): Don't use BP_SYM.
1009 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1011 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1012 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1013 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1014 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1016 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1017 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1018 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1019 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1021 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1023 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1024 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1026 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1028 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1029 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1030 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1032 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1034 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1036 (strncmp): Don't use BP_SYM,
1037 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1039 (__mpn_sub_n): Don't use BP_SYM.
1040 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1041 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1043 (__mpn_submul_1): Don't use BP_SYM.
1044 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1046 <bp-sym.h> and <bp-asm.h>.
1047 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1049 <bp-sym.h> and <bp-asm.h>.
1050 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1053 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1056 Use ZK to minimize writes to Z.
1057 (sub_magnitudes): Simplify code a bit.
1058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1059 Use ZK to minimize writes to Z.
1060 (sub_magnitudes): Simplify code a bit.
1062 2013-02-27 Roland McGrath <roland@hack.frob.com>
1064 * csu/gmon-start.c: Add special exception to license text.
1066 2013-02-27 Richard Henderson <rth@redhat.com>
1068 * scripts/config.guess: Update from config.git.
1069 * scripts/config.sub: Likewise.
1071 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1073 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1075 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1077 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1079 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1081 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1083 2013-02-26 Roland McGrath <roland@hack.frob.com>
1085 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1086 [$(build-shared = yes].
1088 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1090 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1091 (__mul): Reduce iterations for calculating mantissa.
1093 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1095 (__mpranred): Likewise.
1098 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1099 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1101 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1103 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1104 Define __attribute__.
1106 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1108 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1110 * posix/regex_internal.h (__attribute): Remove.
1111 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1112 (re_string_context_at): Likewise.
1113 (bitset_not): Use __attribute__ and mark function as possibly
1115 (bitset_merge): Likewise.
1116 (bitset_mask): Likewise.
1117 (re_string_char_size_at): Likewise.
1118 (re_string_wchar_at): Likewise.
1119 (re_string_elem_size_at): Likewise.
1121 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1123 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1127 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1132 (__dbl_mp): Likewise.
1133 (add_magnitudes): Likewise.
1134 (sub_magnitudes): Likewise.
1138 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1141 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1144 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1148 up changes with default code.
1149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1152 2013-02-24 Allan McRae <allan@archlinux.org>
1154 * manual/socket.texi (The Internet Namespace): Order menu items
1155 to match that in the file.
1157 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1158 node listing of the info page menu.
1160 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1163 * sysdeps/i386/bp-asm.h: Remove file.
1164 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1165 (PARMS): Do not use macros from bp-asm.h.
1169 (__mpn_add_n): Do not use BP_SYM
1170 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1172 (PARMS): Do not use macros from bp-asm.h.
1175 (__mpn_addmul_1): Do not use BP_SYM
1176 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1178 (PARMS): Do not use macros from bp-asm.h.
1180 (_setjmp): Likewise. Do not use BP_SYM.
1181 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1183 (PARMS): Do not use macros from bp-asm.h.
1185 (setjmp): Likewise. Do not use BP_SYM.
1186 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1188 (PARMS): Do not use macros from bp-asm.h.
1189 (__frexp): Do not use BP_SYM.
1191 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1193 (PARMS): Do not use macros from bp-asm.h.
1194 (__frexpf): Do not use BP_SYM.
1196 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1198 (PARMS): Do not use macros from bp-asm.h.
1199 (__frexpl): Do not use BP_SYM.
1201 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1203 (PARMS): Do not use macros from bp-asm.h.
1204 (__remquo): Do not use BP_SYM.
1206 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1208 (PARMS): Do not use macros from bp-asm.h.
1209 (__remquof): Do not use BP_SYM.
1210 (remquof): Likewise.
1211 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1213 (PARMS): Do not use macros from bp-asm.h.
1214 (__remquol): Do not use BP_SYM.
1215 (remquol): Likewise.
1216 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1218 (PARMS): Do not use macros from bp-asm.h.
1221 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1222 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1224 (PARMS): Do not use macros from bp-asm.h.
1225 (strlen): Do not use BP_SYM.
1226 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1228 (PARMS): Do not use macros from bp-asm.h.
1232 (__mpn_add_n): Do not use BP_SYM.
1233 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1235 (PARMS): Do not use macros from bp-asm.h.
1238 (__mpn_addmul_1): Do not use BP_SYM.
1239 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1242 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1244 (PARMS): Do not use macros from bp-asm.h.
1247 (__mpn_lshift): Do not use BP_SYM.
1248 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1250 (PARMS): Do not use macros from bp-asm.h.
1254 (memcpy): Likewise. Do not use BP_SYM.
1255 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1256 libc_hidden_def and weak_alias.
1257 (mempcpy): Do not use BP_SYM in weak_alias.
1258 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1260 (PARMS): Do not use macros from bp-asm.h.
1263 [!BZERO_P] (CHR): Likewise.
1264 (memset): Likewise. Do not use BP_SYM.
1265 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1267 (PARMS): Do not use macros from bp-asm.h.
1270 (__mpn_mul_1): Do not use BP_SYM.
1271 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1273 (PARMS): Do not use macros from bp-asm.h.
1276 (__mpn_rshift): Do not use BP_SYM.
1277 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1279 (PARMS): Do not use macros from bp-asm.h.
1282 (strchr): Likewise. Do not use BP_SYM.
1283 (index): Do not use BP_SYM in weak_alias.
1284 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1286 (PARMS): Do not use macros from bp-asm.h.
1289 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1290 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1292 (PARMS): Do not use macros from bp-asm.h.
1293 (strlen): Do not use BP_SYM.
1294 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1296 (PARMS): Do not use macros from bp-asm.h.
1300 (__mpn_sub_n): Do not use BP_SYM.
1301 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1303 (PARMS): Do not use macros from bp-asm.h.
1306 (__mpn_submul_1): Do not use BP_SYM.
1307 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1309 (PARMS): Do not use macros from bp-asm.h.
1313 (__mpn_add_n): Do not use BP_SYM.
1314 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1317 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1319 (PARMS): Do not use macros from bp-asm.h.
1322 (memcmp): Do not use BP_SYM.
1323 (bcmp): Do not use BP_SYM in weak_alias.
1324 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1326 (PARMS): Do not use macros from bp-asm.h.
1330 (memcpy): Likewise. Do not use BP_SYM.
1331 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1333 (PARMS): Do not use macros from bp-asm.h.
1337 (memmove): Likewise. Do not use BP_SYM.
1338 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1340 (PARMS): Do not use macros from bp-asm.h.
1344 (__mempcpy): Likewise. Do not use BP_SYM.
1345 (mempcpy): Do not use BP_SYM in weak_alias.
1346 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1348 (PARMS): Do not use macros from bp-asm.h.
1351 [!BZERO_P] (CHR): Likewise.
1352 (memset): Likewise. Do not use BP_SYM.
1353 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1355 (PARMS): Do not use macros from bp-asm.h.
1357 (strcmp): Do not use BP_SYM.
1358 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1360 (PARMS): Do not use macros from bp-asm.h.
1363 [USE_AS_STRTOK_R] (SAVE): Likewise.
1364 (FUNCTION): Likewise. Do not use BP_SYM.
1365 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1367 (strtok_r): Likewise.
1368 (__GI___strtok_r): Likewise.
1369 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1370 (PARMS): Do not use macros from bp-asm.h.
1373 (__mpn_lshift): Do not use BP_SYM.
1374 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1375 (PARMS): Do not use macros from bp-asm.h.
1378 (__memchr): Do not use BP_SYM.
1379 (memchr): Do not use BP_SYM in weak_alias.
1380 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1381 (PARMS): Do not use macros from bp-asm.h.
1384 (memcmp): Do not use BP_SYM.
1385 (bcmp): Do not use BP_SYM in weak_alias.
1386 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1387 (PARMS): Do not use macros from bp-asm.h.
1390 (__mpn_mul_1): Do not use BP_SYM.
1391 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1393 (PARMS): Do not use macros from bp-asm.h.
1396 (__rawmemchr): Do not use BP_SYM.
1397 (rawmemchr): Do not use BP_SYM in weak_alias.
1398 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1399 (PARMS): Do not use macros from bp-asm.h.
1402 (__mpn_rshift): Do not use BP_SYM.
1403 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1404 (PARMS): Do not use macros from bp-asm.h.
1406 (__sigsetjmp): Likewise. Do not use BP_SYM.
1407 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1408 (_start): Do not use BP_SYM.
1409 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1410 (PARMS): Do not use macros from bp-asm.h.
1413 (__stpcpy): Likewise. Do not use BP_SYM.
1414 (stpcpy): Do not use BP_SYM in weak_alias.
1415 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1417 (PARMS): Do not use macros from bp-asm.h.
1421 (__stpncpy): Likewise. Do not use BP_SYM.
1422 (stpncpy): Do not use BP_SYM in weak_alias.
1423 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1424 (PARMS): Do not use macros from bp-asm.h.
1427 (strchr): Likewise. Do not use BP_SYM.
1428 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1430 (PARMS): Do not use macros from bp-asm.h.
1433 (__strchrnul): Likewise. Do not use BP_SYM.
1434 (strchrnul): Do not use BP_SYM in weak_alias.
1435 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1437 (PARMS): Do not use macros from bp-asm.h.
1439 (strcspn): Do not use BP_SYM.
1440 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1442 (PARMS): Do not use macros from bp-asm.h.
1445 (strpbrk): Likewise. Do not use BP_SYM.
1446 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1448 (PARMS): Do not use macros from bp-asm.h.
1451 (strrchr): Likewise. Do not use BP_SYM.
1452 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1453 (PARMS): Do not use macros from bp-asm.h.
1455 (strspn): Do not use BP_SYM.
1456 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1457 (PARMS): Do not use macros from bp-asm.h.
1461 (FUNCTION): Likewise. Do not use BP_SYM.
1462 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1464 (strtok_r): Likewise.
1465 (__GI___strtok_r): Likewise.
1466 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1467 (PARMS): Do not use macros from bp-asm.h.
1471 (__mpn_sub_n): Do not use BP_SYM.
1472 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1474 (PARMS): Do not use macros from bp-asm.h.
1477 (__mpn_submul_1): Do not use BP_SYM.
1478 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1480 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1482 (PARMS): Do not use macros from bp-asm.h.
1487 (__clone): Do not use BP_SYM.
1488 (clone): Do not use BP_SYM in weak_alias.
1489 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1491 (PARMS): Do not use macros from bp-asm.h.
1493 (__mmap64): Do not use BP_SYM.
1494 (mmap64): Do not use BP_SYM in weak_alias.
1495 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1496 <bp-sym.h> and <bp-asm.h>.
1497 (PARMS): Do not use macros from bp-asm.h.
1498 (__posix_fadvise64_l64): Do not use BP_SYM.
1499 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1500 (PARMS): Do not use macros from bp-asm.h.
1502 (semtimedop): Do not use BP_SYM.
1503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1506 2013-02-21 Allan McRae <allan@archlinux.org>
1508 * manual/message.texi (Charset conversion in gettext):
1509 Move @end statement to beginning of line.
1511 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1518 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1523 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1525 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1526 tail-call to the resolved function if pltexit isn't needed.
1528 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1531 or Y being zero as being unlikely.
1532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1535 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1537 * manual/nss.texi (System Databases and Name Service Switch):
1538 Remove frobnicate @pxref.
1540 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1542 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1543 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1545 2013-02-20 Petr Machata <pmachata@redhat.com>
1547 * elf/elf.h (R_ARM_TARGET1): New macro.
1548 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1549 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1550 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1551 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1552 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1553 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1554 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1555 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1556 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1557 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1558 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1559 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1560 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1561 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1562 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1563 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1564 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1565 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1566 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1567 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1568 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1569 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1570 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1571 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1572 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1573 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1574 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1575 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1576 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1577 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1578 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1579 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1580 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1581 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1582 (R_ARM_THM_GOT_BREL12): Likewise.
1583 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1584 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1585 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1586 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1587 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1588 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1589 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1590 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1591 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1593 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1595 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1596 __attribute_used__ to __attribute__ ((unused)).
1598 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1600 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1606 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1609 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1611 (ENTER): Remove both macro definitions.
1613 (CHECK_BOUNDS_LOW): Likewise.
1614 (CHECK_BOUNDS_HIGH): Likewise.
1615 (CHECK_BOUNDS_BOTH): Likewise.
1616 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1617 (RETURN_BOUNDED_POINTER): Likewise.
1618 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1619 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1620 (POP_ERRNO_LOCATION_RETURN): Likewise.
1621 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1622 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1623 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1625 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1626 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1627 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1628 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1629 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1630 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1631 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1632 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1633 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1634 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1635 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1636 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1637 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1638 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1640 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1641 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1643 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1644 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1645 * sysdeps/i386/i586/memset.S (memset): Likewise.
1646 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1647 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1648 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1650 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1651 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1652 Change uses of L(2) to L(out).
1653 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1654 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1655 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1656 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1657 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1659 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1660 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1663 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1664 (RETURN): Do not use macro LEAVE.
1665 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1666 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1667 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1668 * sysdeps/i386/i686/memset.S (memset): Likewise.
1669 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1670 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1671 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1672 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1674 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1675 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1676 L(1_2) and L(1_3) into L(1).
1677 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1678 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1679 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1680 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1681 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1682 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1683 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1684 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1685 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1687 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1688 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1689 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1690 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1691 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1692 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1693 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1694 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1695 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1696 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1697 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1698 * sysdeps/i386/strspn.S (strspn): Likewise.
1699 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1701 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1702 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1703 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1704 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1706 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1707 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1708 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1710 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1712 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1714 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1717 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1719 * math/atest-exp.c (exp_mpn): Remove ROUND.
1720 * math/atest-exp2.c (exp_mpn): Likewise.
1721 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1723 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1724 * stdlib/tst-tls-atexit-lib.c: Likewise.
1725 * stdlib/tst-tls-atexit.c: Likewise.
1727 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1729 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1730 and __attribute_alloc_size__.
1732 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1734 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1735 __attribute_alloc_size__.
1736 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1737 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1739 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1741 * include/programs/xmalloc.h: New file.
1742 * catgets/gencat.c: Include it.
1743 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1744 * elf/pldd.c: Likewise.
1745 * iconv/iconv_charmap.c: Likewise.
1746 * iconv/iconvconfig.c: Likewise.
1747 * iconv/strtab.c: Likewise.
1748 * locale/programs/locale.c: Likewise.
1749 * locale/programs/localedef.h: Likewise.
1750 * locale/programs/simple-hash.c: Likewise.
1751 * nscd/nscd.h: Likewise.
1752 * nss/makedb.c: Likewise.
1753 * sysdeps/generic/ldconfig.h: Likewise.
1755 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1757 * Versions.def: Add GLIBC_2.18.
1758 * include/link.h (struct link_map): New member l_tls_dtor_count.
1759 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1760 (__call_tls_dtors): Likewise.
1761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1762 __cxa_thread_atexit_impl.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1779 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1780 (tests): Add test case tst-tls-atexit.
1781 (modules-names): Add shared library for tst-tls-atexit.
1782 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1783 (GLIBC_PRIVATE): Add __call_tls_dtors.
1784 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1786 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1787 * stdlib/tst-tls-atexit.c: New test case.
1788 * stdlib/tst-tls-atexit-lib.c: New test case.
1790 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1792 * elf/Versions (ld): Add _dl_find_dso_for_object.
1793 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1794 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1795 (dl_open_worker): Use _dl_find_dso_for_object.
1796 * elf/dl-sym.c (do_sym): Likewise.
1797 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1799 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1801 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1802 Syntactic changes only.
1803 (_dl_runtime_profile): Do a tail-call to the resolved function.
1805 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1808 * sysdeps/x86_64/bp-asm.h: Remove file.
1809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1810 <bp-sym.h> and <bp-asm.h>.
1811 (__clone): Do not use BP_SYM.
1812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1813 <bp-sym.h> and <bp-asm.h>.
1814 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1815 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1817 (_setjmp): Do not use BP_SYM.
1818 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1820 (setjmp): Do not use BP_SYM.
1821 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1823 (mempcpy): Do not use BP_SYM in weak_alias.
1824 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1826 (strchr): Do not use BP_SYM.
1827 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1829 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1830 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1831 (_start): Do not use BP_SYM.
1832 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1834 (strcat): Do not use BP_SYM.
1835 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1837 (STRCMP): Do not use BP_SYM.
1838 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1840 (STRCPY): Do not use BP_SYM.
1841 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1843 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1845 (FUNCTION): Do not use BP_SYM.
1846 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1848 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1850 2013-02-17 Andreas Jaeger <aj@suse.de>
1852 * time/Versions: Sort entries.
1853 * string/Versions: Likewise.
1854 * resolv/Versions: Likewise.
1855 * posix/Versions: Likewise.
1856 * iconv/Versions: Likewise.
1857 * elf/Versions: Likewise.
1858 * wcsmbs/Versions: Likewise.
1860 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1862 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1863 loop termination condition.
1865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1866 variable to calculate EZ.
1869 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1870 the lower precision input.
1872 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1875 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1876 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1877 (run-via-rtld-prefix): Do not handle %-bp tests.
1878 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1879 (all-object-suffixes): Remove .ob.
1880 (bppfx): Remove variable.
1881 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1882 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1883 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1884 [$(build-bounded) = yes] (libtype.ob): Likewise.
1885 * Makerules (elide-routines.ob): Remove variable.
1886 (do-tests-clean): Do not handle *-bp.out.
1887 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1888 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1889 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1890 (tests): Do not include $(tests-bp.out).
1891 (xtests): Do not include $(xtests-bp.out).
1892 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1893 [$(build-bounded) = yes] ($(addprefix
1894 $(objpfx),$(binaries-bounded))): Remove rule.
1895 ($(objpfx)%-bp.out): Remove rule.
1896 * config.make.in (build-bounded): Remove variable.
1897 * crypt/Makefile [$(build-bounded) = yes]
1898 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1899 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1901 [$(build-bounded) = yes] (install-lib): Likewise.
1902 [$(build-bounded) = yes] (generated): Likewise.
1903 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1905 * intl/Makefile [$(build-bounded) = yes]
1906 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1907 * math/Makefile [$(build-bounded) = yes]
1908 ($(tests:%=$(objpfx)%-bp): Likewise.
1909 * misc/Makefile [$(build-bounded) = yes]
1910 ($(objpfx)tst-tsearch-bp): Likewise.
1911 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1912 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1914 * string/Makefile (o-objects.ob): Remove variable.
1915 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1916 (CFLAGS-.ob): Remove variable.
1917 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1919 both definitions of variable.
1920 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1921 (ASFLAGS-.ob): Remove variable.
1923 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1926 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1927 Remove __BOUNDED_POINTERS__ from condition.
1928 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1929 * string/bits/string2.h [!__NO_STRING_INLINES &&
1930 !__BOUNDED_POINTERS__]: Likewise.
1931 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1933 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1934 Remove conditional code.
1935 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1936 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1937 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1941 * csu/libc-start.c: Do not include <bp-sym.h>.
1942 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1943 * elf/dl-open.c: Do not include <bp-sym.h>.
1944 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1945 * math/fegetenv.c: Do not include <bp-sym.h>.
1946 (fegetenv): Do not use BP_SYM in versioned symbols.
1947 * nptl/sysdeps/pthread/bits/libc-lockP.h
1948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1951 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1953 (__pthread_mutex_destroy): Likewise.
1954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1955 (__pthread_mutex_lock): Likewise.
1956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1957 (__pthread_mutex_trylock): Likewise.
1958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1959 (__pthread_mutex_unlock): Likewise.
1960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1961 (__pthread_mutexattr_init): Likewise.
1962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1963 (__pthread_mutexattr_destroy): Likewise.
1964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1965 (__pthread_mutexattr_settype): Likewise.
1966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1967 (__pthread_rwlock_init): Likewise.
1968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1969 (__pthread_rwlock_destroy): Likewise.
1970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1971 (__pthread_rwlock_rdlock): Likewise.
1972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1973 (__pthread_rwlock_tryrdlock): Likewise.
1974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1975 (__pthread_rwlock_wrlock): Likewise.
1976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1977 (__pthread_rwlock_trywrlock): Likewise.
1978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1979 (__pthread_rwlock_unlock): Likewise.
1980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1981 (__pthread_key_create): Likewise.
1982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1983 (__pthread_setspecific): Likewise.
1984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1985 (__pthread_getspecific): Likewise.
1986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1989 (_pthread_cleanup_push_defer): Likewise.
1990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1991 (_pthread_cleanup_pop_restore): Likewise.
1992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1993 (pthread_setcancelstate): Likewise.
1994 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1996 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1997 (memchr): Do not use BP_SYM in weak_alias.
1998 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1999 (fegetenv): Do not use BP_SYM in versioned symbols.
2000 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2001 (fesetenv): Do not use BP_SYM in versioned symbols.
2002 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2003 (feupdateenv): Do not use BP_SYM in versioned symbols.
2004 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2005 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2006 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2007 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2008 (open64): Do not use BP_SYM in weak_alias.
2009 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2010 (fegetenv): Do not use BP_SYM in versioned symbols.
2011 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2012 (fesetenv): Do not use BP_SYM in versioned symbols.
2013 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2014 (feupdateenv): Do not use BP_SYM in versioned symbols.
2015 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2016 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2017 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2018 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2019 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2020 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2023 (__libc_start_main): Do not use BP_SYM.
2025 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2028 redundant return line.
2032 (sub_magnitudes): Likewise.
2038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2042 (sub_magnitudes): Likewise.
2049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2052 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2055 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2056 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2058 of __mul for squares.
2059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2063 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2066 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2069 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2071 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2072 prototype or function definition. Rename ubp_* variables and
2073 parameters. Remove argv definitions conditional on
2074 [__BOUNDED_POINTERS__].
2075 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2076 * elf/dl-runtime.c (_dl_fixup): Likewise.
2077 * include/set-hooks.h (RUN_HOOK): Likewise.
2078 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2080 * string/strcpy.c (strcpy): Do not use __unbounded.
2081 * sysdeps/generic/frame.h (struct layout): Likewise.
2082 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2083 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2084 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2085 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2086 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2087 (__backtrace): Likewise.
2088 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2090 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2091 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2092 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2094 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2095 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2096 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2097 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2098 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2099 Do not use __unbounded.
2100 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2101 Rename __unboundedrlimits parameter to rlimits in prototype.
2102 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2103 Do not use __unbounded.
2104 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2106 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2107 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2108 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2109 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2110 __ptrvalue or __unbounded.
2111 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2112 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2114 (__new_msgctl): Do not use __ptrvalue.
2115 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2117 (__libc_msgrcv): Do not use __ptrvalue.
2118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2119 startup_info): Do not use __unbounded.
2120 (__libc_start_main): Likewise. Rename ubp_* variables and
2121 parameters. Remove argv definitions conditional on
2122 [__BOUNDED_POINTERS__].
2123 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2125 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2127 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2129 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2131 (__new_shmctl): Do not use __ptrvalue.
2132 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2133 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2135 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2137 (__libc_sigaction): Likewise.
2138 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2139 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2141 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2143 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2145 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2147 * string/mempcpy.c: Implement by calling memcpy.
2149 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2157 values in the mantissa.
2159 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2160 minimize writes to Z.
2161 (sub_magnitudes): Simplify code a bit.
2163 2013-02-12 Roland McGrath <roland@hack.frob.com>
2165 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2166 from the message. The linker prefixes all warnings with that already.
2168 2013-02-12 Andreas Schwab <schwab@suse.de>
2171 * posix/regexec.c (extend_buffers): Add parameter min_len.
2172 (check_matching): Pass minimum needed length.
2173 (clean_state_log_if_needed): Likewise.
2174 (get_subexp): Likewise.
2175 * posix/Makefile (tests): Add bug-regex34.
2176 (bug-regex34-ENV): Define.
2177 * posix/bug-regex34.c: New file.
2180 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2181 elements compare against the byte sequence of it, not its name.
2182 * posix/Makefile (tests): Add bug-regex35.
2183 (bug-regex35-ENV): Define.
2184 * posix/bug-regex35.c: New file.
2186 2013-02-11 Tom de Vries <tom@codesourcery.com>
2188 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2190 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2191 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2192 (CHECK_EOL): Add undef.
2194 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2196 * bits/stdlib-bsearch.h: New file.
2197 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2198 * stdlib/stdlib.h: Likewise.
2200 2013-02-11 Roland McGrath <roland@hack.frob.com>
2202 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2203 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2205 * manual/search.texi (Array Search Function): Add missing const in
2207 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2208 declaration to use rlim_t.
2209 (Basic Scheduling Functions): Remove erroneous const from
2210 sched_getparam prototype. Remove erroneous * from
2211 sched_get_priority_max and sched_get_priority_min prototypes.
2212 (Resource Usage): Fix summary @comment on vtimes to refer to
2213 sys/vtimes.h rather than vtimes.h.
2214 Add missing *s in vtimes prototype.
2215 (Limits on Resources): Fix ulimit prototype to return long int.
2216 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2217 prototypes to use long int rather than double.
2218 (BSD Random): Fix initstate and setstate to use char *, not void *.
2219 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2220 prototype to make second argument 'struct aiocb64 *const[]'.
2221 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2222 (Status of AIO Operations): Remove erroneous const in aio_return and
2223 aio_return64 prototypes.
2224 (Synchronizing I/O): Fix sync prototype to return void.
2225 * manual/startup.texi (Suboptions): Remove an erroneous const in
2226 getsubopt prototype.
2227 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2228 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2229 use size_t rather than int.
2230 (Scanning All Users): Likewise for getpwent_r.
2231 (Setting Groups): Add missing const to setgroups prototype.
2232 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2233 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2234 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2235 'const void *' rather than 'const char *'.
2236 (Host Address Functions): Likewise for inet_ntop.
2237 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2238 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2239 ssize_t for return value.
2240 (Sending Data): Likewise for send, sendto, sendmsg.
2241 (Socket Option Functions): Add a missing const in setsockopt prototype.
2242 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2243 use wchar_t for the argument.
2244 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2245 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2247 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2248 double/float/long double for second argument.
2249 Fix return types of significand, significandf, significandl.
2250 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2251 argument in fchmod prototype.
2252 (File Owner): Use uid_t and gid_t in fchown prototype.
2253 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2254 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2255 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2256 use 'const struct dirent **' as argument types to CMP function pointer
2258 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2259 (File Times): Fix summary magic @comment for struct utimbuf and utime
2260 to refer to utime.h, not time.h.
2261 * manual/string.texi (Argz Functions): Add missing const in
2262 argz_extract and argz_next prototypes.
2263 (Finding Tokens in a String): Likewise for basename.
2264 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2265 (Copying and Concatenation): Fix typo in wmemmove prototype.
2266 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2267 (Signal Stack): Remove erroneous const in sigstack prototype.
2268 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2270 (Simple Calendar Time): Likewise for stime.
2271 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2273 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2274 say sys/sysctl.h instead.
2275 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2276 and vsyslog prototypes.
2278 2013-02-11 Tom de Vries <tom@codesourcery.com>
2280 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2283 2013-02-11 Roland McGrath <roland@hack.frob.com>
2285 * misc/sys/mman.h: Fix typo in mremap comment.
2287 2013-02-08 Roland McGrath <roland@hack.frob.com>
2289 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2290 the '\0' terminator.
2292 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2295 * debug/segfault.c: Don't include <bp-checks.h>.
2296 * sysdeps/generic/bp-checks.h: Remove file.
2297 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2298 (__GETDENTS): Don't use CHECK_N.
2299 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2300 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2301 (__getgroups): Don't use CHECK_N.
2302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2303 (setgroups): Don't use CHECK_N.
2304 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2305 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2306 (__libc_msgrcv): Don't use CHECK_N.
2307 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2308 (__libc_msgsnd): Don't use CHECK_N.
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2311 (__libc_pread): Don't use CHECK_N.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2313 include <bp-checks.h>.
2314 (__libc_pread64): Don't use CHECK_N.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2316 include <bp-checks.h>.
2317 (__libc_pwrite): Don't use CHECK_N.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2319 include <bp-checks.h>.
2320 (__libc_pwrite64): Don't use CHECK_N.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2323 (__libc_pread): Don't use CHECK_N.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2325 include <bp-checks.h>.
2326 (__libc_pread64): Don't use CHECK_N.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2328 include <bp-checks.h>.
2329 (__libc_pwrite): Don't use CHECK_N.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2331 include <bp-checks.h>.
2332 (__libc_pwrite64): Don't use CHECK_N.
2333 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2334 (do_pread): Don't use CHECK_N.
2335 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2336 (do_pread64): Don't use CHECK_N.
2337 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2338 (do_pwrite): Don't use CHECK_N.
2339 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2340 (do_pwrite64): Don't use CHECK_N.
2341 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2342 (__libc_readv): Don't use CHECK_N.
2343 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2344 (semop): Don't use CHECK_N.
2345 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2347 (semtimedop): Don't use CHECK_N.
2348 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2349 (__libc_pread): Don't use CHECK_N.
2350 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2352 (__libc_pread64): Don't use CHECK_N.
2353 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2355 (__libc_pwrite): Don't use CHECK_N.
2356 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2358 (__libc_pwrite64): Don't use CHECK_N.
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2361 (__libc_msgrcv): Don't use CHECK_N.
2362 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2363 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2364 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2365 (__libc_writev): Don't use CHECK_N.
2367 2013-02-08 Roland McGrath <roland@hack.frob.com>
2369 * string/strcpy.c: Removed unused variable.
2371 * Makeconfig (+sysdep-includes): Define with := rather than =.
2372 Use an existing include/ subdir of each sysdeps dir before it.
2374 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2376 * nscd/connection.c (register_traced_file): Comment function.
2377 [HAVE_INOTIFY] (union __inev): Define.
2378 [HAVE_INOTIFY] (inotify_check_files): New function.
2379 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2380 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2382 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2384 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2386 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2387 loaded if not already and that a failure is permanent.
2389 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2392 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2393 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2395 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2398 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2399 (CHECK_1_NULL_OK): Likewise.
2400 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2401 (__fxstat): Do not use CHECK_1.
2402 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2404 (___fxstat64): Do not use CHECK_1.
2405 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2407 (__fxstatat): Do not use CHECK_1.
2408 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2410 (__fxstatat64): Do not use CHECK_1.
2411 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2413 (__fxstat): Do not use CHECK_1.
2414 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2416 (__fxstatat): Do not use CHECK_1.
2417 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2419 (__getresgid): Do not use CHECK_1.
2420 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2422 (__getresuid): Do not use CHECK_1.
2423 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2425 (__lxstat): Do not use CHECK_1.
2426 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2428 (__old_msgctl): Do not use CHECK_1.
2429 (__new_msgctl): Likewise.
2430 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2432 (__new_setrlimit): Do not use CHECK_1.
2433 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2435 (__old_shmctl): Do not use CHECK_1.
2436 (__new_shmctl): Likewise.
2437 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2439 (__xstat): Do not use CHECK_1.
2440 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2441 (__lxstat): Do not use CHECK_1.
2442 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2444 (___lxstat64): Do not use CHECK_1.
2445 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2446 (__old_msgctl): Do not use CHECK_1.
2447 (__new_msgctl): Likewise.
2448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2450 (__gettimeofday): Do not use CHECK_1.
2451 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2452 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2453 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2455 (__gettimeofday): Do not use CHECK_1.
2456 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2457 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2458 (__new_shmctl): Do not use CHECK_1.
2459 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2461 (do_sigtimedwait): Do not use CHECK_1.
2462 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2464 (do_sigwaitinfo): Do not use CHECK_1.
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2467 (msgctl): Do not use CHECK_1.
2468 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2470 (shmctl): Do not use CHECK_1.
2471 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2472 (ustat): Do not use CHECK_1.
2473 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2475 (__fxstat): Do not use CHECK_1.
2476 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2478 (__fxstatat): Do not use CHECK_1.
2479 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2481 (__lxstat): Do not use CHECK_1.
2482 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2484 (__xstat): Do not use CHECK_1.
2485 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2486 (__xstat): Do not use CHECK_1.
2487 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2488 (___xstat64): Do not use CHECK_1.
2491 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2493 (CHECK_BOUNDS_HIGH): Likewise.
2494 * string/strcpy.c: Do not include <bp-checks.h>.
2495 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2497 2013-02-07 Roland McGrath <roland@hack.frob.com>
2499 * nscd/nscd-client.h (__nscd_drop_map_ref):
2500 Add __attribute__ ((unused)).
2501 * nis/nss-nisplus.h (niserr2nss): Likewise.
2503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2504 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2506 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2507 Remove inline keyword.
2508 * include/rounding-mode.h (round_away): Likewise.
2509 * libio/wfileops.c (adjust_wide_data): Likewise.
2510 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2511 (__m128i_strloadu_tolower): Likewise.
2512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2513 (__m128i_strloadu_tolower): Likewise.
2514 * time/mktime.c (ydhms_diff): Likewise.
2515 * locale/elem-hash.h (elem_hash): Likewise.
2516 * locale/setlocale.c (setdata): Likewise.
2517 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2518 (re_string_wchar_at): Likewise.
2519 (bitset_not, bitset_merge, bitset_mask): Likewise.
2520 [!(__GNUC__ > 3)] (inline): Remove macro.
2521 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2522 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2523 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2524 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2525 * string/memcmp.c (memcmp_bytes): Likewise.
2526 * locale/programs/locarchive.c (compute_hashval): Likewise.
2527 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2528 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2529 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2530 * nss/getent.c (print_rpc, print_protocols): Likewise.
2531 (print_passwd, print_group, print_aliases): Likewise.
2532 * nis/nss-nisplus.h (niserr2nss): Likewise.
2533 * nscd/connections.c (restart_p): Likewise.
2534 Change return type to bool.
2536 2013-02-05 Roland McGrath <roland@hack.frob.com>
2538 * Makeconfig (all-Depend-files): Add existing
2539 $(sorted-subdirs:=/Depend) files.
2540 (all-subdirs): Remove nss.
2541 * sysdeps/unix/inet/Subdirs: Add it here instead.
2542 * hesiod/Depend: New file.
2544 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2545 instead of calling alloca.
2547 * io/lseek.c (__lseek): Rename to __libc_lseek.
2548 Define __lseek as an alias.
2550 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2552 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2554 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2555 else clause and remove check for non-standard endianness.
2557 2013-02-04 David S. Miller <davem@davemloft.net>
2559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2561 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2564 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2565 (__ubp_memchr): Remove prototype.
2566 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2567 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2568 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2569 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2570 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2572 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2573 (__ubp_memchr): Likewise.
2574 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2575 (__ubp_memchr): Likewise.
2576 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2577 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2578 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2581 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2582 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2583 (__getcwd): Do not use CHECK_STRING.
2584 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2586 (__real_chown): Do not use CHECK_STRING.
2587 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2589 (fchownat): Do not use CHECK_STRING.
2590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2592 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2594 (__lchown): Do not use CHECK_STRING.
2595 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2596 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2597 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2598 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2600 include <bp-checks.h>.
2601 (truncate64): Do not use CHECK_STRING.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2604 (__real_chown): Do not use CHECK_STRING.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2607 (__lchown): Do not use CHECK_STRING.
2608 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2610 (__chown): Do not use CHECK_STRING.
2611 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2613 (truncate64): Do not use CHECK_STRING.
2614 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2616 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2617 (__xmknod): Do not use CHECK_STRING.
2618 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2620 (__xmknodat): Do not use CHECK_STRING.
2621 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2622 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2624 2013-02-04 Andreas Schwab <schwab@suse.de>
2627 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2628 * include/netdb.h: Likewise for h_errno.
2629 * elf/tst-stackguard1.c: Include <tls.h>.
2631 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2633 * elf/link.h (struct link_map): Extend the l_addr comment.
2634 * include/link.h (struct link_map): Likewise.
2636 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2639 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2640 (BOUNDED_1): Remove macro.
2641 * debug/backtrace.c: Don't include <bp-checks.h>.
2642 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2643 (__backtrace): Likewise.
2644 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2646 (__backtrace): Don't use BOUNDED_1.
2647 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2649 (__backtrace): Don't use BOUNDED_1.
2650 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2651 (__backtrace): Don't use BOUNDED_1.
2652 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2653 (shmat): Don't use BOUNDED_N.
2655 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2658 * sysdeps/generic/bp-start.h: Remove file.
2659 * csu/libc-start.c: Don't include <bp-start.h>.
2660 (LIBC_START_MAIN): Set up __environ directly instead of using
2661 INIT_ARGV_and_ENVIRON.
2662 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2666 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2668 (CHECK_FCNTL): Likewise.
2669 (CHECK_N_PAGES): Likewise.
2672 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2674 (CHECK_SIGSET_NULL_OK): Likewise.
2675 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2677 (sigpending): Don't use CHECK_SIGSET.
2678 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2680 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2681 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2683 (do_sigsuspend): Don't use CHECK_SIGSET.
2684 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2686 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2687 (do_sigwait): Don't use CHECK_SIGSET.
2688 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2690 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2691 include <bp-checks.h>.
2692 (sigpending): Don't use CHECK_SIGSET.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2694 include <bp-checks.h>.
2695 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2696 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2698 (sigpending): Don't use CHECK_SIGSET.
2699 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2701 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2704 * sysdeps/generic/bp-semctl.h: Remove file.
2705 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2706 <bp-checks.h> and <bp-semctl.h>.
2707 (__old_semctl): Don't use CHECK_SEMCTL.
2708 (__new_semctl): Likewise.
2709 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2711 (__old_semctl): Don't use CHECK_SEMCTL.
2712 (__new_semctl): Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2714 <bp-checks.h> and <bp-semctl.h>.
2715 (__old_semctl): Don't use CHECK_SEMCTL.
2716 (__new_semctl): Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2718 <bp-checks.h> and <bp-semctl.h>.
2719 (semctl): Don't use CHECK_SEMCTL.
2722 * Makerules (elide-bp-thunks): Remove variable.
2723 (elide-routines.oS): Don't use $(elide-bp-thunks).
2724 (elide-routines.os): Likewise.
2725 (elide-routines.o): Likewise.
2726 (elide-routines.op): Likewise.
2727 (elide-routines.og): Likewise.
2728 (objects): Don't use $(bp-thunks).
2729 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2731 (common-generated): Do not add s-proto-bp.d.
2732 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2735 Do not generate makefile rules for bounded-pointer thunks.
2736 * sysdeps/generic/bp-thunks.h: Remove file.
2737 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2738 * sysdeps/unix/s-proto-bp.S: Likewise.
2741 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2742 parts of result separately when argument is not close to line from
2743 -i to i and one part of argument is small.
2744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2746 * math/libm-test.inc (cacos_test): Add more tests.
2747 (casin_test): Likewise.
2748 (casinh_test): Likewise.
2749 * sysdeps/i386/fpu/libm-test-ulps: Update.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2752 2013-01-31 David S. Miller <davem@davemloft.net>
2754 * po/de.po: Update from translation team.
2756 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2758 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2760 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2762 * configure.in (_AC_PROG_CC_C89): New definition.
2763 * configure: Regenerate.
2765 * configure.in (AC_PROG_CPP): New definition.
2766 * configure: Regenerate.
2768 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2770 * debug/tst-backtrace.h: New file.
2771 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2772 (ret): Remove variable.
2774 (FAIL): Remove macro.
2775 (NO_INLINE): Likewise.
2776 (fn1): Use match function instead of strstr.
2777 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2778 (ret): Remove variable.
2780 (FAIL): Remove macro.
2781 (NO_INLINE): Likewise.
2782 (fn): Use match function instead of strstr.
2783 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2784 (ret): Remove variable.
2786 (FAIL): Remove macro.
2787 (NO_INLINE): Likewise.
2788 (handle_signal): Use match function instead of strstr.
2789 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2790 (ret): Remove variable.
2792 (FAIL): Remove macro.
2793 (NO_INLINE): Likewise.
2794 (handle_signal): Use match function instead of strstr.
2796 2013-01-23 Roland McGrath <roland@hack.frob.com>
2798 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2800 2013-01-23 David S. Miller <davem@davemloft.net>
2802 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2803 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2804 argument of CAS if possible.
2805 * sysdeps/sparc/sparc64/bits/atomic.h
2806 (__arch_compare_and_exchange_val_32_acq): Likewise.
2807 (__arch_compare_and_exchange_val_64_acq): Likewise.
2809 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2811 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2812 * sysdeps/posix/ulimit.c: ... this.
2814 * sysdeps/unix/bsd/ulimit.c: Remove file.
2816 2013-01-23 Adam Conrad <adconrad@0c3.net>
2818 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2819 (LDFLAGS-tst-array5): Likewise.
2821 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2824 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2825 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2826 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2827 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2829 2013-01-21 David S. Miller <davem@davemloft.net>
2831 * sysdeps/sparc/backtrace.c: New file.
2832 * sysdeps/sparc/sparc32/backtrace.h: New file.
2833 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2834 * sysdeps/sparc/sparc64/backtrace.h: New file.
2835 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2836 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2839 2013-01-21 Andreas Schwab <schwab@suse.de>
2842 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2845 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2851 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2852 Mark Mitchell <mark@codesourcery.com>
2853 Tom de Vries <tom@codesourcery.com>
2854 Paul Pluzhnikov <ppluzhnikov@google.com>
2856 * debug/tst-backtrace2.c: New file.
2857 * debug/tst-backtrace3.c: Likewise.
2858 * debug/tst-backtrace4.c: Likewise.
2859 * debug/tst-backtrace5.c: Likewise.
2860 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2861 (CFLAGS-tst-backtrace3.c): Likewise.
2862 (CFLAGS-tst-backtrace4.c): Likewise.
2863 (CFLAGS-tst-backtrace5.c): Likewise.
2864 (LDFLAGS-tst-backtrace2): Likewise.
2865 (LDFLAGS-tst-backtrace3): Likewise.
2866 (LDFLAGS-tst-backtrace4): Likewise.
2867 (LDFLAGS-tst-backtrace5): Likewise.
2868 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2869 tst-backtrace4 and tst-backtrace5.
2871 2013-01-18 Anton Blanchard <anton@samba.org>
2872 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2875 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2877 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2879 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2880 "+r" and remove output regs list as redundant. Add explicit inline
2881 asm to specify register of return val to work around compiler codegen
2882 bug. Remove (int) cast on return value. Add return type parameter to
2883 use in macro so that this macro does not truncate return value for
2885 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2886 pass to INTERNAL_VSYSCALL_NCS.
2887 (INLINE_VSYSCALL): Add 'long int' as return type to
2888 INTERNAL_VSYSCALL_NCS macro invocation.
2889 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2890 INTERNAL_VSYSCALL_NCS macro invocation.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2893 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2896 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2897 Fix application of SIMD FP exception mask.
2899 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2900 mp_no from a power of two.
2901 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2902 __mpexp_twomm1. Use __pow_mp.
2904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2907 2013-01-17 David S. Miller <davem@davemloft.net>
2909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2911 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2914 * include/complex.h: Condition contents on [!_COMPLEX_H].
2915 (__kernel_casinhf): New prototype.
2916 (__kernel_casinh): Likewise.
2917 (__kernel_casinhl): Likewise.
2918 * math/Makefile (libm_calls): Add k_casinh.
2919 * math/k_casinh.c: New file.
2920 * math/k_casinhf.c: Likewise.
2921 * math/k_casinhl.c: Likewise.
2922 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2923 finite nonzero arguments.
2924 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2925 finite nonzero arguments.
2926 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2927 finite nonzero arguments.
2928 * math/s_casinh.c: Do not include <float.h>.
2929 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2930 * math/s_casinhf.c: Do not include <float.h>.
2931 (__casinhf): Move code for finite nonzero arguments to
2933 * math/s_casinhl.c: Do not include <float.h>.
2934 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2936 (__casinhl): Move code for finite nonzero arguments to
2938 * math/libm-test.inc (cacos_test): Add more tests.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2942 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2944 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2945 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2946 [!HAVE_MREMAP]: Remove [defined linux] case.
2947 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2949 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2951 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2953 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2955 * elf/elf.h (R_386_SIZE32): New relocation.
2956 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2958 (elf_machine_rela): Likewise.
2959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2960 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2962 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2964 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2965 (FP_FAST_FMA): Do not define.
2966 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2967 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2968 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2969 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2970 !_SOFT_FLOAT]: Likewise.
2971 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2974 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2975 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2976 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2977 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2978 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2979 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2982 2013-01-16 Andreas Schwab <schwab@suse.de>
2985 * include/stdlib.h (__mktemp): Add declaration.
2986 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2987 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2989 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2991 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2993 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2994 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2995 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2997 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2998 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3000 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3002 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3003 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3006 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3007 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3009 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3011 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3013 2013-01-15 David S. Miller <davem@davemloft.net>
3015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3016 trunc{,f} to libm-sysdep_routes.
3017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3027 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3028 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3029 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3030 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3031 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3032 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3035 nearbyint{,f} to libm-sysdep_routes.
3036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3047 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3049 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3052 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3053 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3054 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3056 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3057 libc_feholdexcept and libc_fesetenv.
3059 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3061 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3063 2013-01-14 David S. Miller <davem@davemloft.net>
3065 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3066 (SPARC_ASM_VIS2_IFUNC): Likewise.
3067 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3069 use of 'siam' instruction.
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3103 routines to libm-sysdep_routines.
3104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3107 fdim/fdimf to libm-sysdep_routines.
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3116 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3117 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3118 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3119 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3121 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3126 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3131 local variable MPTWO.
3132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3135 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3137 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3140 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3142 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3144 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3146 * manual/pattern.texi (glob_t): Document gl_flags.
3147 (glob64_t): Likewise.
3149 2013-01-11 David S. Miller <davem@davemloft.net>
3151 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3152 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3153 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3154 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3155 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3156 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3157 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3158 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3159 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3160 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3161 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3162 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3163 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3165 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3166 sparc V9 rather than using V8 code.
3167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3170 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3172 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3175 2013-01-11 Roland McGrath <roland@hack.frob.com>
3177 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3178 not in the main loop.
3179 * configure: Regenerated.
3181 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3183 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3184 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3186 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3187 [!__GLIBC_HAVE_LONG_LONG] case.
3188 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3189 condition to just #else.
3190 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3191 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3192 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3193 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3195 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3196 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3197 #elif condition to just #else.
3198 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3199 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3200 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3201 #elif condition to just #else.
3203 2013-01-11 Steve Ellcey <sellcey@mips.com>
3205 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3206 (EF_MIPS_ARCH_64): Fix value.
3207 (EF_MIPS_ARCH_32R2): New.
3208 (EF_MIPS_ARCH_64R2): New.
3210 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3212 * Makeconfig (+link-pie-before-libc): New.
3213 (+link-pie-after-libc): Likewise.
3214 (+link-pie-tests): Likewise.
3215 (+link-pie): Rewritten.
3216 (link-before-libc): Remove $(config-LDFLAGS).
3217 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3218 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3219 (config-LDFLAGS): Renamed to ...
3220 (rtld-LDFLAGS): This.
3221 (rtld-tests-LDFLAGS): New macro.
3222 (link-libc-rpath-link): Likewise.
3223 (link-libc-tests-rpath-link): Likewise.
3224 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3225 (link-libc): Prepand $(link-libc-rpath-link).
3226 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3227 (test-program-prefix): New macro.
3228 (test-via-rtld-prefix): Likewise.
3229 (test-program-cmd): Likewise.
3230 (host-test-program-cmd): Likewise.
3231 * Makefile ($(common-objpfx)testrun.sh): Replace
3232 $(run-program-prefix) with $(test-program-prefix).
3233 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3235 ($(common-objpfx)shlib.lds): Likewise.
3236 (build-module-helper): Likewise.
3237 ($(common-objpfx)format.lds): Likewise.
3238 * Rules (binaries-pie-tests): New.
3239 (binaries-pie-notests): Likewise.
3240 (binaries-pie): Rewritten.
3241 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3242 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3243 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3244 (make-test-out): Replace $(host-built-program-cmd) with
3245 $(host-test-program-cmd).
3246 * config.make.in (build-hardcoded-path-in-tests): New variable.
3247 * configure.in (--enable-hardcoded-path-in-tests): New configure
3249 (hardcoded_path_in_tests): New AC_SUBST.
3250 * configure: Regenerated.
3251 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3252 $(built-program-cmd) with $(test-program-cmd).
3253 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3254 (test_program_cmd): This.
3255 * elf/Makefile ($(objpfx)order.out): Run test with
3256 $(test-program-prefix).
3257 ($(objpfx)order2.out): Likewise.
3258 ($(objpfx)tst-initorder.out): Likewise.
3259 ($(objpfx)tst-initorder2.out): Likewise.
3260 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3261 $(test-program-cmd).
3262 ($(objpfx)tst-array1-static.out): Likewise.
3263 ($(objpfx)tst-array2.out): Likewise.
3264 ($(objpfx)tst-array3.out): Likewise.
3265 ($(objpfx)tst-array4.out): Likewise.
3266 ($(objpfx)tst-array5.out): Likewise.
3267 ($(objpfx)tst-array5-static.out): Likewise.
3268 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3269 $(test-program-cmd).
3270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3271 $(run-program-prefix) with $(test-program-prefix).
3272 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3273 (test_program_prefix): This.
3274 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3275 $(run-program-prefix) with $(test-program-prefix).
3276 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3277 (test_program_prefix): This.
3278 * iconvdata/tst-tables.sh: Likewise.
3279 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3280 $(run-program-prefix) with $(test-program-prefix).
3281 ($(objpfx)tst-translit.out): Likewise.
3282 ($(objpfx)tst-gettext2.out): Likewise.
3283 ($(objpfx)tst-gettext4.out): Likewise.
3284 ($(objpfx)tst-gettext6.out): Likewise.
3285 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3286 (test_program_prefix): This.
3287 * intl/tst-gettext2.sh: Likewise.
3288 * intl/tst-gettext4.sh Likewise.
3289 * intl/tst-gettext6.sh: Likewise.
3290 * intl/tst-translit.sh: Likewise.
3291 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3292 with $(test-program-cmd).
3293 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3294 $(run-program-prefix) with $(test-program-prefix).
3295 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3296 (test_program_prefix): This.
3297 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3298 $(run-program-prefix) with $(test-program-prefix).
3299 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3300 (test_program_prefix): This.
3301 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3302 * posix/Makefile ($(objpfx)globtest.out): Replace
3303 $(run-via-rtld-prefix) and $(test-wrapper) with
3304 $(test-program-prefix) and $(test-via-rtld-prefix).
3305 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3306 $(test-program-prefix).
3307 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3308 $(host-test-program-cmd).
3309 (tst-spawn-ARGS): Likewise.
3310 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3311 $(test-program-prefix).
3312 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3313 (test_via_rtld_prefix): This.
3314 (test_wrapper): Renamed to ...
3315 (test_program_prefix): This.
3316 (run_program_prefix): Replaced by test_program_prefix.
3317 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3318 (test_program_prefix): This.
3319 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3320 with $(host-test-program-cmd).
3321 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3322 $(run-program-prefix) with $(test-program-prefix).
3323 ($(objpfx)tst-printf.out): Likewise.
3324 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3325 $(test-program-cmd).
3326 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3327 (test_program_prefix): This.
3328 * stdio-common/tst-unbputc.sh: Likewise.
3329 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3330 $(run-program-prefix) with $(test-program-prefix).
3331 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3332 (test_program_prefix): This.
3333 * string/Makefile ($(objpfx)tst-svc.out): Replace
3334 $(built-program-cmd) with $(test-program-cmd).
3336 2013-01-11 Andreas Jaeger <aj@suse.de>
3339 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3340 value. Sync with Linux 3.7.
3342 2013-01-10 David S. Miller <davem@davemloft.net>
3344 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3345 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3346 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3348 2013-01-10 Roland McGrath <roland@hack.frob.com>
3350 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3352 * configure: Regenerated.
3354 2013-01-10 David S. Miller <davem@davemloft.net>
3356 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3357 sparc V9 rather than using V8 code.
3358 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3359 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3361 2013-01-10 Roland McGrath <roland@hack.frob.com>
3363 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3364 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3365 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3366 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3367 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3368 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3369 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3370 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3371 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3372 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3373 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3374 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3375 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3376 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3377 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3378 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3379 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3380 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3381 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3382 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3383 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3384 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3385 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3386 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3387 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3388 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3389 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3391 2013-01-10 David S. Miller <davem@davemloft.net>
3393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3395 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3397 * posix/Makefile (tests-static): New variable.
3398 (tests): Add $(tests-static).
3399 (tst-exec-static-ARGS): New variable.
3400 (tst-spawn-static-ARGS): Likewise.
3401 * posix/tst-exec-static.c: New file.
3402 * posix/tst-spawn-static.c: Likewise.
3403 * posix/tst-exec.c: Support run directly.
3404 * posix/tst-spawn.c: Likewise.
3406 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3408 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3410 * math/bits/mathcalls.h (llrint): Likewise.
3411 (llround): Likewise.
3412 * stdlib/stdlib.h (struct drand48_data): Likewise.
3413 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3414 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3417 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3419 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3420 (elf_greg_t): Likewise.
3421 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3422 (__jmp_buf): Likewise.
3423 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3425 (llrint): Likewise, for all definitions.
3426 (llrintl): Likewise.
3428 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3429 Remove [__GNUC__] condition.
3430 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3431 condition to just [__USE_ISOC99].
3432 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3434 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3437 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3438 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3440 (_POSIX_V6_ILP32_OFF32): Likewise.
3441 (_XBS5_ILP32_OFF32): Likewise.
3442 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3443 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3445 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3447 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3450 doubles __mpexp_twomm1. Adjust usage.
3451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3454 2013-01-10 Andreas Schwab <schwab@suse.de>
3457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3458 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3460 2013-01-09 David S. Miller <davem@davemloft.net>
3463 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3464 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3465 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3466 TCP_FASTOPEN): Define.
3467 (tcp_repair_opt): New structure.
3468 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3470 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3471 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3472 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3473 (tcp_cookie_transactions): New structure.
3475 2013-01-09 Anton Blanchard <anton@samba.org>
3477 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3478 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3480 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3482 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3484 * include/features.h (__USE_ANSI): Remove.
3486 2013-01-09 Roland McGrath <roland@hack.frob.com>
3488 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3490 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3492 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3494 * sysdeps/s390/fpu/libm-test-ulps: Update.
3496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3498 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3503 (__mp_dbl): Likewise.
3504 (__dbl_mp): Likewise.
3505 (add_magnitudes): Likewise.
3506 (sub_magnitudes): Likewise.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3517 (__mp_dbl): Likewise.
3518 (__dbl_mp): Likewise.
3519 (add_magnitudes): Likewise.
3520 (sub_magnitudes): Likewise.
3526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3531 (__mp_dbl): Likewise.
3532 (__dbl_mp): Likewise.
3533 (add_magnitudes): Likewise.
3534 (sub_magnitudes): Likewise.
3541 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3543 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3544 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3545 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3546 2 && __USE_EXTERN_INLINES]: Likewise.
3548 2013-01-08 Andreas Jaeger <aj@suse.de>
3551 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3553 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3554 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3556 2013-01-07 Anton Blanchard <anton@samba.org>
3558 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3559 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3560 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3561 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3562 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3563 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3564 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3565 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3570 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3573 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3574 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3575 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3576 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3578 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3579 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3581 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3582 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3583 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3585 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3588 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3591 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3592 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3593 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3594 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3598 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3600 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3602 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3604 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3605 (__MALLOC_PMT): Likewise.
3606 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3607 [__GNUC__], only on [_LIBC].
3608 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3609 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3610 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3611 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3612 forward declaration.
3613 (realloc_hook_ini): Likewise.
3614 (memalign_hook_ini): Likewise.
3615 (__libc_memalign): Do not use __MALLOC_PMT in variable
3617 (__libc_valloc): Likewise.
3618 (__libc_pvalloc): Likewise.
3619 (__libc_calloc): Likewise.
3620 (__posix_memalign): Likewise.
3623 * math/s_casinh.c: Include <float.h>.
3624 (__casinh): Do not do computation with squaring and square root
3625 for large arguments.
3626 * math/s_casinhf.c: Include <float.h>.
3627 (__casinhf): Do not do computation with squaring and square root
3628 for large arguments.
3629 * math/s_casinhl.c: Include <float.h>.
3630 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3631 (__casinhl): Do not do computation with squaring and square root
3632 for large arguments.
3633 * math/libm-test.inc (casin_test): Add more tests.
3634 (casinh_test): Likewise.
3635 * sysdeps/i386/fpu/libm-test-ulps: Update.
3636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3638 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3640 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3641 (__x86_64_raw_data_cache_size): Likewise.
3642 (__x86_64_data_cache_size_half): Likewise.
3643 (__x86_64_raw_data_cache_size_half): Likewise.
3644 (__x86_64_shared_cache_size): Likewise.
3645 (__x86_64_raw_shared_cache_size): Likewise.
3646 (__x86_64_shared_cache_size_half): Likewise.
3647 (__x86_64_raw_shared_cache_size_half): Likewise.
3648 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3650 (__x86_data_cache_size): This.
3651 (__x86_64_raw_data_cache_size): Renamed to ...
3652 (__x86_raw_data_cache_size): This.
3653 (__x86_64_data_cache_size_half): Renamed to ...
3654 (__x86_data_cache_size_half): This.
3655 (__x86_64_raw_data_cache_size_half): Renamed to ...
3656 (__x86_raw_data_cache_size_half): This.
3657 (__x86_64_shared_cache_size): Renamed to ...
3658 (__x86_shared_cache_size): This.
3659 (__x86_64_raw_shared_cache_size): Renamed to ...
3660 (__x86_raw_shared_cache_size): This.
3661 (__x86_64_shared_cache_size_half): Renamed to ...
3662 (__x86_shared_cache_size_half): This.
3663 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3664 (__x86_raw_shared_cache_size_half): This.
3665 * sysdeps/x86_64/memcpy.S: Updated.
3666 * sysdeps/x86_64/memset.S: Likewise.
3667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3671 2013-01-04 David S. Miller <davem@davemloft.net>
3673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3675 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3677 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3678 1 to avoid redefinition warning.
3679 (__USE_GNU): Don't define.
3680 (init_signaling_nan): Protoize.
3682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3684 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3686 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3688 (__cpymn): Likewise.
3689 (norm): Remove commented code.
3691 (__mp_dbl): Likewise.
3693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3694 (__cpymn): Likewise.
3695 (norm): Remove commented code.
3697 (__mp_dbl): Likewise.
3700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3701 mp_no value for 1.0 and 2.0.
3702 (norm): Use RADIXI instead of radixi.d.
3704 (__mul): Use 0.0 instead of zero.d.
3705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3706 mp_no value for 1.0 and 2.0.
3707 (norm): Use RADIXI instead of radixi.d.
3709 (__mul): Use 0.0 instead of zero.d.
3711 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3714 * math/s_casinh.c (__casinh): Reduce finite argument to first
3715 quadrant then set signs of results at the end.
3716 * math/s_casinhf.c (__casinhf): Likewise.
3717 * math/s_casinhl.c (__casinhl): Likewise.
3718 * math/libm-test.inc (casin_test): Add more tests.
3719 (casinh_test): Likewise.
3720 * sysdeps/i386/fpu/libm-test-ulps: Update.
3721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3723 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3725 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3727 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3729 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3732 (__mp_dbl): Likewise.
3735 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3736 and adjust the header comment.
3738 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3739 variable name from declaration.
3741 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3744 Initialize COMMON_CPUID_INDEX_7 element.
3745 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3746 (CPUID_RTM): Likewise.
3747 (HAS_RTM): Likewise.
3748 (COMMON_CPUID_INDEX_7): New enum.
3750 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3753 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3754 size is zero, record memory as freed.
3756 2013-01-03 Andreas Jaeger <aj@suse.de>
3758 * po/ia.po: Add new Interlingua translation.
3760 2012-01-03 Allan McRae <allan@archlinux.org>
3762 * locale/programs/localedef.c: Fix description of '--posix' flag.
3764 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3766 * NEWS: Update dates in second copyright notice.
3767 * README: Update copyright dates in example.
3768 * manual/libc.texinfo: Update copyright dates.
3769 * scripts/test-installation.pl: Update copyright date in --version
3772 * hurd/ctty-input.c: Fix copyright notice formatting.
3773 * hurd/ctty-output.c: Likewise.
3774 * hurd/dtable.c: Likewise.
3775 * hurd/hurd-raise.c: Likewise.
3776 * hurd/hurdprio.c: Likewise.
3777 * hurd/msgportdemux.c: Likewise.
3778 * misc/sys/file.h: Likewise.
3779 * misc/sys/ioctl.h: Likewise.
3780 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3781 * sysdeps/mach/hurd/chdir.c: Likewise.
3782 * sysdeps/mach/hurd/fchdir.c: Likewise.
3783 * sysdeps/mach/hurd/rename.c: Likewise.
3784 * sysdeps/mach/hurd/rmdir.c: Likewise.
3785 * sysdeps/mach/hurd/seekdir.c: Likewise.
3786 * sysdeps/mach/hurd/setsid.c: Likewise.
3787 * sysdeps/posix/wait3.c: Likewise.
3789 * All files with FSF copyright notices: Update copyright dates
3790 using scripts/update-copyrights.
3791 * intl/plural.c: Regenerated.
3792 * locale/programs/charmap-kw.h: Likewise.
3793 * locale/programs/locfile-kw.h: Likewise.
3795 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3797 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3801 calculation loop and add branch prediction.
3803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3804 check access beyond bounds of m1np.
3806 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3808 (__inv): Remove local variable MPTWO to use the global
3810 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3814 MP3HALFS static const.
3816 2013-01-01 David S. Miller <davem@davemloft.net>
3818 * po/ca.po: Update from translation team.
3820 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3822 * scripts/update-copyrights: New file.
3823 * Makeconfig: Reformat copyright notice.
3824 * ctype/ctype.h: Likewise.
3825 * debug/swprintf_chk.c: Likewise.
3826 * elf/dl-cache.c: Likewise.
3827 * elf/dl-debug.c: Likewise.
3828 * elf/dl-object.c: Likewise.
3829 * grp/initgroups.c: Likewise.
3830 * hurd/Makefile: Likewise.
3831 * hurd/hurd/signal.h: Likewise.
3832 * hurd/hurdfault.c: Likewise.
3833 * hurd/hurdioctl.c: Likewise.
3834 * hurd/hurdlookup.c: Likewise.
3835 * hurd/intr-msg.c: Likewise.
3836 * iconv/gconv_open.c: Likewise.
3837 * libio/swprintf.c: Likewise.
3838 * locale/lc-ctype.c: Likewise.
3839 * locale/nl_langinfo.c: Likewise.
3840 * mach/Machrules: Likewise.
3841 * mach/Makefile: Likewise.
3842 * malloc/obstack.h: Likewise.
3843 * manual/Makefile: Likewise.
3844 * manual/tsort.awk: Likewise.
3845 * misc/bits/stab.def: Likewise.
3846 * nis/nis_print_group_entry.c: Likewise.
3847 * nis/nis_table.c: Likewise.
3848 * nis/nss_compat/compat-pwd.c: Likewise.
3849 * nis/nss_compat/compat-spwd.c: Likewise.
3850 * po/Makefile: Likewise.
3851 * posix/fnmatch.c: Likewise.
3852 * posix/regex.h: Likewise.
3853 * resolv/Makefile: Likewise.
3854 * resolv/nss_dns/dns-network.c: Likewise.
3855 * resolv/res_hconf.c: Likewise.
3856 * scripts/gen-sorted.awk: Likewise.
3857 * soft-fp/soft-fp.h: Likewise.
3858 * stdio-common/printf.h: Likewise.
3859 * stdlib/monetary.h: Likewise.
3860 * stdlib/random.c: Likewise.
3861 * stdlib/random_r.c: Likewise.
3862 * sysdeps/generic/Makefile: Likewise.
3863 * sysdeps/gnu/Makefile: Likewise.
3864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3892 * sysdeps/mach/hurd/errnos.awk: Likewise.
3893 * sysdeps/mach/hurd/fork.c: Likewise.
3894 * sysdeps/mach/hurd/getcwd.c: Likewise.
3895 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3896 * sysdeps/mach/hurd/mmap.c: Likewise.
3897 * sysdeps/mach/hurd/utimes.c: Likewise.
3898 * sysdeps/mach/hurd/xmknod.c: Likewise.
3899 * sysdeps/posix/profil.c: Likewise.
3900 * sysdeps/posix/readdir_r.c: Likewise.
3901 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3902 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3903 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3912 * sysdeps/pthread/lio_listio.c: Likewise.
3913 * sysdeps/sparc/dl-procinfo.h: Likewise.
3914 * sysdeps/unix/i386/sysdep.S: Likewise.
3915 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3916 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3917 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3918 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3920 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3921 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3922 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3923 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3924 * sysdeps/wordsize-32/divdi3.c: Likewise.
3925 * time/sys/time.h: Likewise.
3926 * wcsmbs/Makefile: Likewise.
3928 2013-01-01 David S. Miller <davem@davemloft.net>
3930 * po/fr.po: Update from translation team.
3932 * catgets/gencat.c: Update copyright year.
3933 * csu/version.c: Likewise.
3934 * debug/catchsegv.sh: Likewise.
3935 * debug/pcprofiledump.c: Likewise.
3936 * debug/xtrace.sh: Likewise.
3937 * elf/ldconfig.c: Likewise.
3938 * elf/ldd.bash.in: Likewise.
3939 * elf/pldd.c: Likewise.
3940 * elf/sotruss.ksh: Likewise.
3941 * elf/sprof.c: Likewise.
3942 * iconv/iconv_prog.c: Likewise.
3943 * iconv/iconvconfig.c: Likewise.
3944 * locale/programs/locale.c: Likewise.
3945 * locale/programs/localedef.c: Likewise.
3946 * login/programs/pt_chown.c: Likewise.
3947 * malloc/memusage.sh: Likewise.
3948 * malloc/memusagestat.c: Likewise.
3949 * malloc/mtrace.pl: Likewise.
3950 * nscd/nscd.c: Likewise.
3951 * nss/getent.c: Likewise.
3952 * nss/makedb.c: Likewise.
3953 * posix/getconf.c: Likewise.
3955 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3957 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3960 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3962 * math/bits/mathcalls.h (modf): Use __nonnull.
3964 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3966 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3967 (split): Use macro CN instead of the bare value.
3968 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3971 instead of the bare value.
3974 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3978 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3980 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3982 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3984 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3985 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3987 2012-12-28 Andreas Jaeger <aj@suse.de>
3989 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3990 values are from Linux 3.7.
3992 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3993 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3995 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3997 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4002 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4003 variables with preprocessor constants.
4004 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4005 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4008 2012-12-27 Bruno Haible <bruno@clisp.org>
4011 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4014 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4017 and use variable directly.
4018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4020 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4022 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4027 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4028 include directive. Remove local variable MPONE.
4029 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4030 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4033 2012-12-25 David S. Miller <davem@davemloft.net>
4035 * version.h (RELEASE): Set to "development".
4036 (VERSION): Set to "2.17.90".
4037 * NEWS: Add 2.18 section.
4039 2012-12-21 David S. Miller <davem@davemloft.net>
4041 * po/hr.po: Update from translation team.
4043 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4045 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4047 2012-12-19 Steve Ellcey <sellcey@mips.com>
4049 * NEWS: Mention new memcpy for MIPS.
4051 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4053 * manual/contrib.texi (Contributors): Spelling correction.
4055 2012-12-15 David S. Miller <davem@davemloft.net>
4057 * po/ru.po: Update from translation team.
4059 2012-12-13 David S. Miller <davem@davemloft.net>
4061 * NEWS: Mention IFUNC testsuite enhancements.
4063 * po/pl.po: Update from translation team.
4064 * po/bg.po: Likewise.
4066 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4067 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4069 2012-12-11 David S. Miller <davem@davemloft.net>
4071 * po/sv.po: Update from translation team.
4073 * po/vi.po: Update from translation team.
4075 * po/cs.po: Update from translation team.
4077 * po/de.po: Update from translation team.
4078 * po/eo.po: Likewise.
4079 * po/nl.po: Likewise.
4081 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4084 * manual/argp.texi (Argp Helper Functions): Move node to follow
4088 * manual/conf.texi (Limits on File System Capacity): Mention if
4089 terminating null is included in the max size.
4091 2012-12-10 Andreas Jaeger <aj@suse.de>
4093 * po/cs.po: Update from translation team.
4095 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4097 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4098 void pointer and cast to uintptr_t.
4099 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4101 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4102 * sysdeps/s390/s390-64/memset.S: Likewise.
4104 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4107 * menual/message.texi (Message Translation): Fix typos.
4108 (Helper programs for gettext): Likewise.
4110 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4113 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4116 2012-12-07 David S. Miller <davem@davemloft.net>
4118 * po/libc.pot: Update.
4120 2012-12-07 Richard Henderson <rth@redhat.com>
4123 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4124 normal/normal case to before the switch.
4125 (_FP_DIV): Likewise.
4127 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4128 Mike Frysinger <vapier@gentoo.org>
4130 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4131 check for __NR_fadvise64_64.
4133 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4135 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4136 0, not just to plain "0" as a statement.
4137 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4140 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4142 * NEWS: Use sourceware.org in Bugzilla URL.
4144 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4149 * stdio-common/tst-put-error.c (do_test): Add newline to the
4150 padded test to ensure flush.
4152 2012-12-05 Jeff Law <law@redhat.com>
4154 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4156 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4158 * README: Don't refer to ports add-on as distributed separately.
4159 Mention AArch64 in list of systems supported in the ports add-on.
4161 * LICENSES: Add more non-FSF copyright and license notices.
4163 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4168 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4169 10000 as width of padded output.
4171 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4173 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4176 variable LX with __attribute__ ((unused)).
4177 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4179 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4182 with __attribute__ ((unused)).
4184 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4186 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4188 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4190 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4191 (CFLAGS-nldbl-acos.c): New variable.
4192 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4193 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4194 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4195 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4196 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4197 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4198 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4199 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4200 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4201 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4202 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4203 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4204 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4205 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4206 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4207 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4208 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4209 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4210 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4211 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4212 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4213 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4214 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4215 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4216 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4217 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4218 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4219 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4220 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4221 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4222 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4223 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4224 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4225 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4226 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4227 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4228 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4229 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4230 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4231 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4232 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4233 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4234 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4235 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4236 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4237 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4238 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4239 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4240 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4241 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4242 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4243 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4244 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4245 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4246 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4247 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4248 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4249 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4250 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4251 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4252 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4253 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4254 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4255 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4256 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4257 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4258 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4259 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4260 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4261 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4262 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4263 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4264 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4265 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4266 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4267 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4268 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4269 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4270 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4271 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4272 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4273 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4274 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4275 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4276 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4277 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4278 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4279 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4280 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4281 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4282 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4283 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4284 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4285 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4286 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4287 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4288 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4291 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4295 whole low double instead of just low 47 bits when splitting values
4298 2012-12-03 Allan McRae <allan@archlinux.org>
4300 * manual/stdio.texi (Predefined Printf Handlers): Remove
4301 @hsep and @vsep usage.
4303 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4305 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4306 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4308 2012-12-03 Jeff Law <law@redhat.com>
4310 * time/sys/time.h (settimeofday): Do not mark TV argument
4313 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4315 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4316 when currently writing and seek to current position when not.
4317 * libio/Makefile (tests): Remove bug-fclose1.
4318 * libio/bug-fclose1.c: Delete.
4320 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4322 * manual/arith.texi (feenableexcept): Fix typo.
4323 (fedisableexcept): Likewise.
4325 2012-11-30 Roland McGrath <roland@hack.frob.com>
4327 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4328 second, differently-typed declaration, rather than a cast.
4330 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4332 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4333 * include/rpc/svc.h: ... here.
4335 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4338 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4339 depending n and resplen2 to catch cases where answer
4342 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4344 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4345 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4347 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4351 2012-11-29 Roland McGrath <roland@hack.frob.com>
4353 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4355 2012-11-28 Jeff Law <law@redhat.com>
4358 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4359 dataset_temporary. Track alloca usage into alloca_used.
4360 If dataset is large allocate and release it via malloc/free.
4362 2012-06-04 Florian Weimer <fweimer@redhat.com>
4365 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4367 2012-11-28 David S. Miller <davem@davemloft.net>
4369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4371 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4374 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4375 of pi/2 rounded to nearest to 64 bits.
4376 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4378 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4381 2012-11-28 Jeff Law <law@redhat.com>
4382 Martin Osvald <mosvald@redhat.com>
4385 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4386 * sunrpc/svc.c: Include time.h.
4387 (__svc_accept_failed): New function.
4388 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4389 any reason other than EINTR, call __svc_accept_failed.
4390 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4391 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4393 2012-11-28 Andreas Schwab <schwab@suse.de>
4395 * scripts/abilist.awk: Also handle indirect functions in .opd
4398 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4401 * sysdeps/x86/fpu/powl_helper.c: New file.
4402 * sysdeps/x86/fpu/Makefile: Likewise.
4403 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4405 (__ieee754_powl): Use __powl_helper for finite arguments except
4406 integer exponents below 8.
4407 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4409 (__ieee754_powl): Use __powl_helper for finite arguments except
4410 integer exponents below 8.
4411 * math/libm-test.inc (pow_test): Add more tests and enable some
4412 previously disabled tests.
4413 * sysdeps/i386/fpu/libm-test-ulps: Update.
4414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4416 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4417 Carlos O'Donell <carlos_odonell@mentor.com>
4419 * nss/makedb.c (is_prime): Assert that input is odd and greater
4420 than 4. Note that fact in a comment too.
4421 (next_prime): Add 4 to input.
4423 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4426 * libio/Makefile (tests): Add test case tst-fwrite-error.
4427 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4428 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4429 * libio/tst-fwrite-error.c: New test case.
4431 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4433 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4434 before casting to void *.
4435 * include/libc-internal.h (__pointer_type): New macro.
4436 (__integer_if_pointer_type_sub): Likewise.
4437 (__integer_if_pointer_type): Likewise.
4438 (cast_to_integer): Likewise.
4439 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4440 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4441 before casting to atomic64_t.
4442 (atomic_exchange_acq): Likewise.
4443 (__arch_exchange_and_add_body): Likewise.
4444 (__arch_add_body): Likewise.
4445 (atomic_add_negative): Likewise.
4446 (atomic_add_zero): Likewise.
4448 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4450 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4451 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4452 (add_fdes): Likewise.
4453 (linear_search_fdes): Likewise.
4454 (binary_search_unencoded_fdes): Likewise.
4456 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4458 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4460 2012-11-24 Adam Conrad <adconrad@0c3.net>
4462 * configure.in: Autodetect C++ header directories.
4463 * configure: Regenerated.
4465 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4467 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4469 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4473 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4475 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4476 LDBL_MANT_DIG == 106]: Disable some tests.
4477 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4479 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4484 input for small inputs. Return +/- pi/2 for large inputs.
4485 * math/libm-test.inc (atan_test): Add more tests.
4487 * sysdeps/generic/unwind-dw2-fde-glibc.c
4488 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4489 __attribute__ ((unused)).
4492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4493 x * y if x and y are nonzero and z is zero.
4496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4497 nonzero exponents with absolute value below 0x1p-117 to +/-
4501 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4502 up arguments below 2**-450, not just those below 2**-500.
4503 * math/libm-test.inc (hypot_test): Add another test.
4506 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4507 Return a+b for ratio over 2**120, not 2**60.
4508 * math/libm-test.inc (hypot_test): Add another test.
4510 * math/libm-test.inc (clog_test): Use
4511 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4512 (clog10_test): Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4517 2012-11-22 Andreas Schwab <schwab@suse.de>
4519 * sysdeps/i386/fpu/libm-test-ulps: Update.
4521 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4523 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4524 printf output with newline.
4526 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4529 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4530 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4531 -z nodlopen, -z initfirst and -z execstack support.
4532 * configure: Regenerated.
4534 * elf/elf.h (DF_1_NODIRECT): New macro.
4535 (DF_1_IGNMULDEF): Likewise.
4536 (DF_1_NOKSYMS): Likewise.
4537 (DF_1_NOHDR): Likewise.
4538 (DF_1_EDITED): Likewise.
4539 (DF_1_NORELOC): Likewise.
4540 (DF_1_SYMINTPOSE): Likewise.
4541 (DF_1_GLOBAUDIT): Likewise.
4542 (DF_1_SINGLETON): Likewise.
4543 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4544 DT_1_SUPPORTED_MASK bits.
4545 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4547 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4549 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4551 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4553 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4556 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4557 (sendmmsg): Move declarations...
4558 * socket/sys/socket.h: ... here.
4559 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4560 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4562 * socket/recvmmsg.c: ... this new file.
4563 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4564 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4565 definition of __sendmmsg hidden.
4566 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4567 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4568 Move ENOSYS stub into and include it from...
4569 * socket/sendmmsg.c: ... this new file.
4570 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4571 (sysdep_routines): Move recvmmsg and sendmmsg...
4572 * socket/Makefile (routines): ... here.
4573 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4574 (GLIBC_PRIVATE): Add __sendmmsg.
4575 * include/sys/socket.h (__sendmmsg): Add declarations.
4576 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4579 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4582 variable I1 with __attribute__ ((unused)).
4583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4585 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4587 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4588 DUMMY variables with __attribute__ ((unused)).
4590 * bits/byteswap.h: Include <bits/types.h>.
4591 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4593 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4595 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4596 string_t. Do not manually set errno.
4597 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4598 length with __strnlen. Make sure to both set errno and return it on
4601 2012-11-19 David S. Miller <davem@davemloft.net>
4603 With help from Joseph Myers.
4604 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4605 very large arguments properly.
4606 * math/libm-test.inc (atan_test): New tests.
4607 (atan2_test): New tests.
4608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4611 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4614 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4617 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4618 [POSIX] (EADDRNOTAVAIL): Likewise.
4619 [POSIX] (EAFNOSUPPORT): Likewise.
4620 [POSIX] (EALREADY): Likewise.
4621 [POSIX] (ECONNABORTED): Likewise.
4622 [POSIX] (ECONNREFUSED): Likewise.
4623 [POSIX] (ECONNRESET): Likewise.
4624 [POSIX] (EDESTADDRREQ): Likewise.
4625 [POSIX] (EDQUOT): Likewise.
4626 [POSIX] (EHOSTUNREACH): Likewise.
4627 [POSIX] (EIDRM): Likewise.
4628 [POSIX] (EISCONN): Likewise.
4629 [POSIX] (ELOOP): Likewise.
4630 [POSIX] (EMULTIHOP): Likewise.
4631 [POSIX] (ENETDOWN): Likewise.
4632 [POSIX] (ENETUNREACH): Likewise.
4633 [POSIX] (ENOBUFS): Likewise.
4634 [POSIX] (ENODATA): Likewise.
4635 [POSIX] (ENOLINK): Likewise.
4636 [POSIX] (ENOMSG): Likewise.
4637 [POSIX] (ENOPROTOOPT): Likewise.
4638 [POSIX] (ENOSR): Likewise.
4639 [POSIX] (ENOSTR): Likewise.
4640 [POSIX] (ENOTCONN): Likewise.
4641 [POSIX] (ENOTSOCK): Likewise.
4642 [POSIX] (EOPNOTSUPP): Likewise.
4643 [POSIX] (EOVERFLOW): Likewise.
4644 [POSIX] (EPROTO): Likewise.
4645 [POSIX] (EPROTONOSUPPORT): Likewise.
4646 [POSIX] (EPROTOTYPE): Likewise.
4647 [POSIX] (ESTALE): Likewise.
4648 [POSIX] (ETIME): Likewise.
4649 [POSIX] (ETXTBSY): Likewise.
4650 [POSIX] (EWOULDBLOCK): Likewise.
4651 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4652 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4653 [POSIX] (SEEK_CUR): Likewise.
4654 [POSIX] (SEEK_END): Likewise.
4655 [POSIX || UNIX98] (mode_t): Do not require.
4656 [POSIX] (off_t): Likewise.
4657 [POSIX] (pid_t): Likewise.
4658 [POSIX] (sys/stat.h): Do not allow header.
4659 [POSIX] (unistd.h): Likewise.
4660 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4661 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4662 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4663 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4665 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4666 sigevent): Specify elements.
4667 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4669 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4670 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4672 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4673 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4674 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4675 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4676 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4677 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4678 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4679 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4680 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4681 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4682 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4683 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4684 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4685 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4691 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4693 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4694 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4695 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4696 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4697 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4698 Specify lower bound on value.
4699 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4700 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4701 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4702 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4703 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4704 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4705 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4706 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4708 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4710 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4711 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4712 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4713 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4714 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4715 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4716 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4717 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4718 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4719 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4720 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4721 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4722 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4723 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4724 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4725 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4727 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4729 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4730 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4731 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4732 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4733 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4734 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4736 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4737 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4738 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4739 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4740 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4741 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4742 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4744 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4745 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4746 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4747 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4748 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4749 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4750 specify as optional.
4751 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4752 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4753 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4754 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4755 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4756 [XPG3] (NL_LANGMAX): Likewise.
4757 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4758 [POSIX || XPG3] (NL_NMAX): Likewise.
4759 [POSIX || XPG3] (NL_SETMAX): Likewise.
4760 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4761 [XPG3] (NZERO): Likewise.
4762 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4763 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4764 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4765 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4766 (REG_ERANGE): Expect.
4767 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4769 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4770 Use (void) in prototype.
4771 [POSIX] (*_t): Allow.
4772 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4773 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4774 (WRDE_BADVAL): Expect.
4776 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4778 [XPG3 || XPG4] (O_RSYNC): Likewise.
4779 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4781 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4782 [XPG3 || XPG4] (sigqueue): Likewise.
4783 [XPG3 || XPG4] (sigtimedwait): Likewise.
4784 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4785 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4786 [XPG3 || XPG4] (vsnprintf): Likewise.
4787 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4789 [XPG3 || XPG4] (blksize_t): Likewise.
4790 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4792 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4793 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4794 [XPG3 || XPG4] (struct itimerspec): Likewise.
4795 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4796 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4797 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4798 [XPG3 || XPG4] (clockid_t): Likewise.
4799 [XPG3 || XPG4] (timer_t): Likewise.
4800 [XPG3 || XPG4] (clock_getres): Likewise.
4801 [XPG3 || XPG4] (clock_gettime): Likewise.
4802 [XPG3 || XPG4] (clock_settime): Likewise.
4803 [XPG3 || XPG4] (nanosleep): Likewise.
4804 [XPG3 || XPG4] (timer_create): Likewise.
4805 [XPG3 || XPG4] (timer_delete): Likewise.
4806 [XPG3 || XPG4] (timer_gettime): Likewise.
4807 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4808 [XPG3 || XPG4] (timer_settime): Likewise.
4809 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4810 [XPG3 || XPG4] (getlogin_r): Likewise.
4811 [XPG3 || XPG4] (pread): Likewise.
4812 [XPG3 || XPG4] (pthread_atfork): Likewise.
4813 [XPG3 || XPG4] (pwrite): Likewise.
4816 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4819 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4821 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4822 finalizing MALLSTREAM.
4824 * sysdeps/mach/hurd/syncfs.c: New file.
4826 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4829 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4830 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4831 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4832 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4833 (_nss_dns_gethostbyname4_r): Likewise.
4834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4835 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4837 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4840 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4842 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4844 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4845 * elf/cache.c (print_entry): Print ",AArch64" for
4848 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4849 * elf/cache.c (print_entry): Print ",hard-float" for
4852 2012-11-18 David S. Miller <davem@davemloft.net>
4854 With help from Joseph Myers.
4855 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4857 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4859 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4860 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4862 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4863 * math/libm-test.inc (y0_test): New tests.
4864 (y1_test): New tests.
4865 * sysdeps/i386/fpu/libm-test-ulps: Update.
4866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4869 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4871 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4873 * configure: Regenerated.
4875 2012-11-17 David S. Miller <davem@davemloft.net>
4878 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4879 nonzero exponents with absolute value below 0x1p-128 to +/-
4882 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4884 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4886 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4888 * posix/getconf-speclist.c: New file.
4889 * posix/posix-envs.def: Likewise.
4890 * posix/confstr.c (START_ENV_GROUP): New macro.
4891 (END_ENV_GROUP): Likewise.
4892 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4893 (KNOWN_PRESENT_ENV_STRING): Likewise.
4894 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4895 (UNKNOWN_ENVIRONMENT): Likewise.
4896 (confstr): Include posix-envs.def instead of handling
4897 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4898 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4899 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4900 (END_ENV_GROUP): Likewise.
4901 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4902 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4903 (UNKNOWN_ENVIRONMENT): Likewise.
4904 (__sysconf): Include posix-envs.def instead of handling associated
4905 cases directly here.
4906 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4907 preprocessing getconf-speclist.c rather than running getconf or
4908 generating empty file.
4910 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4912 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4914 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4917 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4919 2012-11-16 David S. Miller <davem@davemloft.net>
4921 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4922 smaller than LDBL_EPSILON/2.0L, just return xm1.
4924 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4926 * elf/tst-array1.c (init): Set constructor priority to 1000.
4927 (fini): Set destructor priority to 1000.
4928 * elf/tst-array2dep.c: Likewise.
4930 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4933 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4934 (_IO_new_file_xsputn): Also return EOF if none of the input
4935 data was written when overflow failed.
4936 * libio/iopadn.c (_IO_padn): Likewise.
4937 * libio/iowpadn.c (_IO_wpadn): Likewise.
4938 * stdio-common/tst-put-error.c: Add copyright notice.
4939 (do_test): Add case for printing padded string.
4940 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4941 _IO_padn returned error.
4942 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4943 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4946 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4948 * libio/libioP.h: Add comment note that the references to C++
4949 bits are now obsolete.
4951 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4953 * math/libm-test.inc (check_complex): Use asprintf.
4955 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4957 * debug/pcprofiledump.c (print_version): Update copyright year.
4958 * malloc/memusagestat.c (print_version): Likewise.
4960 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4963 * elf/Makefile (tests): Add tst-audit8.
4964 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4965 ($(objpfx)tst-audit8.out): New target.
4966 (tst-audit8-ENV): New variable.
4967 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4968 audit if l_reloc_result is NULL.
4969 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4970 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4971 * elf/tst-audit8.c: New file.
4973 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4975 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4976 * misc/Makefile (CFLAGS-select.c): Define.
4977 * posix/Makefile (CFLAGS-pause.c): Define.
4979 2012-11-13 David S. Miller <davem@davemloft.net>
4981 * crypt/Makefile: Move test targets after toplevel Rules
4982 inclusion. Grab any necessary sysdep routines when linking.
4983 * crypt/md5.c (md5_process_block): Remove define, we will always
4984 name it __md5_process_block.
4985 (md5_finish_ctx): Update md5_process_block call.
4986 (md5_stream): Likewise.
4987 (md5_process_bytes): Likewise.
4988 (md5_process_block): Rename to __md5_process_block and move to ...
4989 * crypt/md5-block.c: ... here.
4990 * crypt/sha256.c (sha256_process_block): Move to ...
4991 * crypt/sha256-block.c: ... here.
4992 * crypt/sha512.c (sha512_process_block): Move to ...
4993 * crypt/sha512-block.c: ... here.
4994 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4996 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4997 * sysdeps/sparc/sparc64/multiarch/Makefile
4998 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5000 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5001 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5003 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5004 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5005 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5006 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5007 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5008 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5009 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5010 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5011 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5013 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5016 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5018 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5020 * timezone/tzselect.ksh: Update from tzcode git revision
5021 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5022 * timezone/zdump.c: Likewise.
5023 * timezone/zic.c: Likewise.
5024 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5025 in TZVERSION setting, not $(PKGVERSION).
5026 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5027 REPORT_BUGS_TO settings.
5030 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5033 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5035 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5036 detection to immediately after _FP_ROUND().
5037 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5040 2012-11-11 David S. Miller <davem@davemloft.net>
5042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5044 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5045 __close rather than their public counterparts.
5047 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5049 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5051 [UNIX98] (sem_timedwait): Do not expect.
5052 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5053 [XPG4 || UNIX98] (sockatmark): Do not expect.
5054 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5055 (clock_getcpuclockid): Do not expect.
5056 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5057 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5059 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5060 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5061 [UNIX98] (vwscanf): Likewise.
5062 [UNIX98] (vswscanf): Likewise.
5064 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5066 * timezone/version.h: Remove file.
5067 * timezone/README: Do not refer to version.h.
5068 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5070 ($(objpfx)zdump.o): Likewise.
5071 ($(objpfx)version.h): New target.
5073 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5075 * timezone/README: Don't mention modification to tzselect.ksh.
5076 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5077 work on unmodified tzselect.ksh. Substitute version numbers in
5080 * Makefile (format-me): Remove.
5081 (INSTALL): Adjust indentation. Use commands directly instead of
5084 * aclocal.m4 (ACX_PKGVERSION): New macro.
5085 (ACX_BUGURL): Likewise.
5086 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5087 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5088 (REPORT_BUGS_TO): Likewise.
5089 * configure: Regenerated.
5090 * config.h.in (PKGVERSION): New macro.
5091 (REPORT_BUGS_TO): Likewise.
5092 * config.make.in (PKGVERSION): New variable.
5093 (PKGVERSION_TEXI): Likewise.
5094 (REPORT_BUGS_TO): Likewise.
5095 (REPORT_BUGS_TEXI): Likewise.
5096 * Makefile (format-me): Use -I$(common-objpfx)manual.
5097 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5098 ($(common-objpfx)manual/%): New target.
5099 (manual/%): Remove target.
5100 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5101 (print_version): Use PKGVERSION.
5102 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5103 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5105 ($(objpfx)xtrace): Likewise.
5106 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5107 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5108 (print_version): Use PKGVERSION.
5109 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5110 (do_version): Use PKGVERSION.
5111 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5113 (common-ldd-rewrite): Likewise.
5114 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5115 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5116 (print_version): Use PKGVERSION.
5117 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5118 * elf/pldd.c (argp_program_bug_address): Remove variable.
5119 (more_help): New function.
5120 (argp): Use more_help.
5121 (print_version): Use PKGVERSION.
5122 * elf/sln.c (main): Use PKGVERSION.
5123 (usage): Use REPORT_BUGS_TO.
5124 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5125 (top level): Use PKGVERSION.
5126 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5127 (print_version): Use PKGVERSION.
5128 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5129 (print_version): Use PKGVERSION.
5130 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5131 (print_version): Use PKGVERSION.
5132 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5133 (print_version): Use PKGVERSION.
5134 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5135 (print_version): Use PKGVERSION.
5136 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5137 (print_version): Use PKGVERSION.
5138 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5140 ($(objpfx)memusage): Likewise.
5141 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5142 (do_version): Use PKGVERSION.
5143 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5144 (print_version): Use PKGVERSION.
5145 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5146 ($PKGVERSION): New variable.
5147 ($REPORT_BUGS_TO): Likewise.
5148 (usage): Use $REPORT_BUGS_TO.
5149 (top level): Use $PKGVERSION.
5150 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5151 ($(objpfx)pkgvers.texi): New rule.
5152 ($(objpfx)stamp-pkgvers): Likewise.
5153 * manual/install.texi: Include pkgvers.texi.
5154 (--with-pkgversion): Document new configure option.
5155 (--with-bugurl): Likewise.
5156 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5157 than necessarily for this particular distribution. Use
5158 REPORT_BUGS_TO for where to report bugs.
5159 * INSTALL: Regenerated.
5160 * manual/libc.texinfo: Include pkgvers.texi.
5161 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5162 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5163 (print_version): Use PKGVERSION.
5164 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5165 (print_version): Use PKGVERSION.
5166 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5167 (print_version): Use PKGVERSION.
5168 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5169 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5171 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5172 (print_version): Use PKGVERSION.
5173 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5174 (print_version): Use PKGVERSION.
5175 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5178 * timezone/checktab.awk: Update from tzcode 2012i.
5179 * timezone/ialloc.c: Likewise.
5180 * timezone/private.h: Likewise.
5181 * timezone/scheck.c: Likewise.
5182 * timezone/tzfile.h: Likewise.
5183 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5184 (TZVERSION): Hardcode tzcode version number.
5185 * timezone/zdump.c: Update from tzcode 2012i.
5186 * timezone/zic.c: Likewise.
5187 * timezone/version.h: New file.
5188 * timezone/README: Describe version.h. Update upstream location.
5191 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5192 (mktemp): Enable declaration.
5193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5210 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5211 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5212 for copies of such integer values.
5213 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5214 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5216 2012-11-09 Andreas Jaeger <aj@suse.de>
5218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5219 definitions and declarations that are provided by
5220 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5222 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5224 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5225 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5226 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5229 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5231 * elf/elf.h: Update comment before AArch64 relocations.
5233 2012-11-07 David S. Miller <davem@davemloft.net>
5235 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5236 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5237 (__start_context): Declare.
5238 (__makecontext_ret): Delete.
5239 (__makecontext): Hook up __start_context instead of
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5242 (sysdep_routines): Add __start_context when in stdlib.
5244 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5246 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5247 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5248 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5250 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5251 (READELF): New variable. Use it instead of hardcoded "readelf".
5253 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5255 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5256 * sysdeps/x86/Makefile: Here.
5257 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5258 * sysdeps/x86/tst-xmmymm.sh: This.
5260 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5262 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5264 [UNIX98] (pthread_barrier_t): Do not expect.
5265 [UNIX98] (pthread_barrierattr_t): Likewise.
5266 [UNIX98] (pthread_spinlock_t): Likewise.
5267 [UNIX98] (pthread_barrier_destroy): Likewise.
5268 [UNIX98] (pthread_barrier_init): Likewise.
5269 [UNIX98] (pthread_barrier_wait): Likewise.
5270 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5271 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5272 [UNIX98] (pthread_barrierattr_init): Likewise.
5273 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5274 [UNIX98] (pthread_getcpuclockid): Likewise.
5275 [UNIX98] (pthread_mutex_timedlock): Likewise.
5276 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5277 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5278 [UNIX98] (pthread_sigmask): Likewise.
5279 [UNIX98] (pthread_spin_destroy): Likewise.
5280 [UNIX98] (pthread_spin_init): Likewise.
5281 [UNIX98] (pthread_spin_lock): Likewise.
5282 [UNIX98] (pthread_spin_trylock): Likewise.
5283 [UNIX98] (pthread_spin_unlock): Likewise.
5284 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5286 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5288 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5289 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5290 [XPG3 || XPG4] (pthread_key_t): Likewise.
5291 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5292 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5293 [XPG3 || XPG4] (pthread_once_t): Likewise.
5294 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5295 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5297 [XPG3 || XPG4] (pthread_t): Likewise.
5299 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5301 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5303 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5304 Change function return type to int.
5306 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5307 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5308 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5309 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5310 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5311 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5312 [!POSIX] (posix_madvise): Likewise.
5313 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5315 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5316 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5318 (posix_mem_offset): Likewise.
5319 (posix_typed_mem_get_info): Likewise.
5320 (posix_typed_mem_open): Likewise.
5322 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5323 Change condition to [XOPEN2K8].
5325 * conform/conformtest.pl: Preprocess allow-header data with -x c
5326 instead of from stdin.
5327 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5328 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5329 [C99-based standards] (cerfc): Likewise.
5330 [C99-based standards] (cexp2): Likewise.
5331 [C99-based standards] (cexpm1): Likewise.
5332 [C99-based standards] (clog10): Likewise.
5333 [C99-based standards] (clog1p): Likewise.
5334 [C99-based standards] (clog2): Likewise.
5335 [C99-based standards] (clgamma): Likewise.
5336 [C99-based standards] (ctgamma): Likewise.
5337 [C99-based standards] (cerff): Likewise.
5338 [C99-based standards] (cerfcf): Likewise.
5339 [C99-based standards] (cexp2f): Likewise.
5340 [C99-based standards] (cexpm1f): Likewise.
5341 [C99-based standards] (clog10f): Likewise.
5342 [C99-based standards] (clog1pf): Likewise.
5343 [C99-based standards] (clog2f): Likewise.
5344 [C99-based standards] (clgammaf): Likewise.
5345 [C99-based standards] (ctgammaf): Likewise.
5346 [C99-based standards] (cerfl): Likewise.
5347 [C99-based standards] (cerfcl): Likewise.
5348 [C99-based standards] (cexp2l): Likewise.
5349 [C99-based standards] (cexpm1l): Likewise.
5350 [C99-based standards] (clog10l): Likewise.
5351 [C99-based standards] (clog1pl): Likewise.
5352 [C99-based standards] (clog2l): Likewise.
5353 [C99-based standards] (clgammal): Likewise.
5354 [C99-based standards] (ctgammal): Likewise.
5355 * conform/data/inttypes.h-data [C99-based standards]: Include
5356 stdint.h-data. Remove all expectations for stdint.h contents.
5357 [C99-based standards] (PRI*): Do not allow.
5358 [C99-based standards] (SCN*): Likewise.
5359 [C99-based standards] (*_t): Likewise.
5360 [C99-based-standards] (PRId8): Expect macro.
5361 [C99-based-standards] (PRIi8): Likewise.
5362 [C99-based-standards] (PRIo8): Likewise.
5363 [C99-based-standards] (PRIu8): Likewise.
5364 [C99-based-standards] (PRIx8): Likewise.
5365 [C99-based-standards] (PRIX8): Likewise.
5366 [C99-based-standards] (SCNd8): Likewise.
5367 [C99-based-standards] (SCNi8): Likewise.
5368 [C99-based-standards] (SCNo8): Likewise.
5369 [C99-based-standards] (SCNu8): Likewise.
5370 [C99-based-standards] (SCNx8): Likewise.
5371 [C99-based-standards] (PRIdLEAST8): Likewise.
5372 [C99-based-standards] (PRIiLEAST8): Likewise.
5373 [C99-based-standards] (PRIoLEAST8): Likewise.
5374 [C99-based-standards] (PRIuLEAST8): Likewise.
5375 [C99-based-standards] (PRIxLEAST8): Likewise.
5376 [C99-based-standards] (PRIXLEAST8): Likewise.
5377 [C99-based-standards] (SCNdLEAST8): Likewise.
5378 [C99-based-standards] (SCNiLEAST8): Likewise.
5379 [C99-based-standards] (SCNoLEAST8): Likewise.
5380 [C99-based-standards] (SCNuLEAST8): Likewise.
5381 [C99-based-standards] (SCNxLEAST8): Likewise.
5382 [C99-based-standards] (PRIdFAST8): Likewise.
5383 [C99-based-standards] (PRIiFAST8): Likewise.
5384 [C99-based-standards] (PRIoFAST8): Likewise.
5385 [C99-based-standards] (PRIuFAST8): Likewise.
5386 [C99-based-standards] (PRIxFAST8): Likewise.
5387 [C99-based-standards] (PRIXFAST8): Likewise.
5388 [C99-based-standards] (SCNdFAST8): Likewise.
5389 [C99-based-standards] (SCNiFAST8): Likewise.
5390 [C99-based-standards] (SCNoFAST8): Likewise.
5391 [C99-based-standards] (SCNuFAST8): Likewise.
5392 [C99-based-standards] (SCNxFAST8): Likewise.
5393 [C99-based-standards] (PRId16): Likewise.
5394 [C99-based-standards] (PRIi16): Likewise.
5395 [C99-based-standards] (PRIo16): Likewise.
5396 [C99-based-standards] (PRIu16): Likewise.
5397 [C99-based-standards] (PRIx16): Likewise.
5398 [C99-based-standards] (PRIX16): Likewise.
5399 [C99-based-standards] (SCNd16): Likewise.
5400 [C99-based-standards] (SCNi16): Likewise.
5401 [C99-based-standards] (SCNo16): Likewise.
5402 [C99-based-standards] (SCNu16): Likewise.
5403 [C99-based-standards] (SCNx16): Likewise.
5404 [C99-based-standards] (PRIdLEAST16): Likewise.
5405 [C99-based-standards] (PRIiLEAST16): Likewise.
5406 [C99-based-standards] (PRIoLEAST16): Likewise.
5407 [C99-based-standards] (PRIuLEAST16): Likewise.
5408 [C99-based-standards] (PRIxLEAST16): Likewise.
5409 [C99-based-standards] (PRIXLEAST16): Likewise.
5410 [C99-based-standards] (SCNdLEAST16): Likewise.
5411 [C99-based-standards] (SCNiLEAST16): Likewise.
5412 [C99-based-standards] (SCNoLEAST16): Likewise.
5413 [C99-based-standards] (SCNuLEAST16): Likewise.
5414 [C99-based-standards] (SCNxLEAST16): Likewise.
5415 [C99-based-standards] (PRIdFAST16): Likewise.
5416 [C99-based-standards] (PRIiFAST16): Likewise.
5417 [C99-based-standards] (PRIoFAST16): Likewise.
5418 [C99-based-standards] (PRIuFAST16): Likewise.
5419 [C99-based-standards] (PRIxFAST16): Likewise.
5420 [C99-based-standards] (PRIXFAST16): Likewise.
5421 [C99-based-standards] (SCNdFAST16): Likewise.
5422 [C99-based-standards] (SCNiFAST16): Likewise.
5423 [C99-based-standards] (SCNoFAST16): Likewise.
5424 [C99-based-standards] (SCNuFAST16): Likewise.
5425 [C99-based-standards] (SCNxFAST16): Likewise.
5426 [C99-based-standards] (PRId32): Likewise.
5427 [C99-based-standards] (PRIi32): Likewise.
5428 [C99-based-standards] (PRIo32): Likewise.
5429 [C99-based-standards] (PRIu32): Likewise.
5430 [C99-based-standards] (PRIx32): Likewise.
5431 [C99-based-standards] (PRIX32): Likewise.
5432 [C99-based-standards] (SCNd32): Likewise.
5433 [C99-based-standards] (SCNi32): Likewise.
5434 [C99-based-standards] (SCNo32): Likewise.
5435 [C99-based-standards] (SCNu32): Likewise.
5436 [C99-based-standards] (SCNx32): Likewise.
5437 [C99-based-standards] (PRIdLEAST32): Likewise.
5438 [C99-based-standards] (PRIiLEAST32): Likewise.
5439 [C99-based-standards] (PRIoLEAST32): Likewise.
5440 [C99-based-standards] (PRIuLEAST32): Likewise.
5441 [C99-based-standards] (PRIxLEAST32): Likewise.
5442 [C99-based-standards] (PRIXLEAST32): Likewise.
5443 [C99-based-standards] (SCNdLEAST32): Likewise.
5444 [C99-based-standards] (SCNiLEAST32): Likewise.
5445 [C99-based-standards] (SCNoLEAST32): Likewise.
5446 [C99-based-standards] (SCNuLEAST32): Likewise.
5447 [C99-based-standards] (SCNxLEAST32): Likewise.
5448 [C99-based-standards] (PRIdFAST32): Likewise.
5449 [C99-based-standards] (PRIiFAST32): Likewise.
5450 [C99-based-standards] (PRIoFAST32): Likewise.
5451 [C99-based-standards] (PRIuFAST32): Likewise.
5452 [C99-based-standards] (PRIxFAST32): Likewise.
5453 [C99-based-standards] (PRIXFAST32): Likewise.
5454 [C99-based-standards] (SCNdFAST32): Likewise.
5455 [C99-based-standards] (SCNiFAST32): Likewise.
5456 [C99-based-standards] (SCNoFAST32): Likewise.
5457 [C99-based-standards] (SCNuFAST32): Likewise.
5458 [C99-based-standards] (SCNxFAST32): Likewise.
5459 [C99-based-standards] (PRId64): Likewise.
5460 [C99-based-standards] (PRIi64): Likewise.
5461 [C99-based-standards] (PRIo64): Likewise.
5462 [C99-based-standards] (PRIu64): Likewise.
5463 [C99-based-standards] (PRIx64): Likewise.
5464 [C99-based-standards] (PRIX64): Likewise.
5465 [C99-based-standards] (SCNd64): Likewise.
5466 [C99-based-standards] (SCNi64): Likewise.
5467 [C99-based-standards] (SCNo64): Likewise.
5468 [C99-based-standards] (SCNu64): Likewise.
5469 [C99-based-standards] (SCNx64): Likewise.
5470 [C99-based-standards] (PRIdLEAST64): Likewise.
5471 [C99-based-standards] (PRIiLEAST64): Likewise.
5472 [C99-based-standards] (PRIoLEAST64): Likewise.
5473 [C99-based-standards] (PRIuLEAST64): Likewise.
5474 [C99-based-standards] (PRIxLEAST64): Likewise.
5475 [C99-based-standards] (PRIXLEAST64): Likewise.
5476 [C99-based-standards] (SCNdLEAST64): Likewise.
5477 [C99-based-standards] (SCNiLEAST64): Likewise.
5478 [C99-based-standards] (SCNoLEAST64): Likewise.
5479 [C99-based-standards] (SCNuLEAST64): Likewise.
5480 [C99-based-standards] (SCNxLEAST64): Likewise.
5481 [C99-based-standards] (PRIdFAST64): Likewise.
5482 [C99-based-standards] (PRIiFAST64): Likewise.
5483 [C99-based-standards] (PRIoFAST64): Likewise.
5484 [C99-based-standards] (PRIuFAST64): Likewise.
5485 [C99-based-standards] (PRIxFAST64): Likewise.
5486 [C99-based-standards] (PRIXFAST64): Likewise.
5487 [C99-based-standards] (SCNdFAST64): Likewise.
5488 [C99-based-standards] (SCNiFAST64): Likewise.
5489 [C99-based-standards] (SCNoFAST64): Likewise.
5490 [C99-based-standards] (SCNuFAST64): Likewise.
5491 [C99-based-standards] (SCNxFAST64): Likewise.
5492 [C99-based-standards] (PRIdMAX): Likewise.
5493 [C99-based-standards] (PRIiMAX): Likewise.
5494 [C99-based-standards] (PRIoMAX): Likewise.
5495 [C99-based-standards] (PRIuMAX): Likewise.
5496 [C99-based-standards] (PRIxMAX): Likewise.
5497 [C99-based-standards] (PRIXMAX): Likewise.
5498 [C99-based-standards] (SCNdMAX): Likewise.
5499 [C99-based-standards] (SCNiMAX): Likewise.
5500 [C99-based-standards] (SCNoMAX): Likewise.
5501 [C99-based-standards] (SCNuMAX): Likewise.
5502 [C99-based-standards] (SCNxMAX): Likewise.
5503 [C99-based-standards] (PRIdPTR): Likewise.
5504 [C99-based-standards] (PRIiPTR): Likewise.
5505 [C99-based-standards] (PRIoPTR): Likewise.
5506 [C99-based-standards] (PRIuPTR): Likewise.
5507 [C99-based-standards] (PRIxPTR): Likewise.
5508 [C99-based-standards] (PRIXPTR): Likewise.
5509 [C99-based-standards] (SCNdPTR): Likewise.
5510 [C99-based-standards] (SCNiPTR): Likewise.
5511 [C99-based-standards] (SCNoPTR): Likewise.
5512 [C99-based-standards] (SCNuPTR): Likewise.
5513 [C99-based-standards] (SCNxPTR): Likewise.
5514 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5516 * conform/data/stdint.h-data: Update comments to clarify
5518 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5520 [C99-based standards] (INT8_MAX): Likewise.
5521 [C99-based standards] (INT16_MIN): Likewise.
5522 [C99-based standards] (INT16_MAX): Likewise.
5523 [C99-based standards] (INT32_MIN): Likewise.
5524 [C99-based standards] (INT32_MAX): Likewise.
5525 [C99-based standards] (INT64_MIN): Likewise.
5526 [C99-based standards] (INT64_MAX): Likewise.
5527 [C99-based standards] (UINT8_MAX): Likewise.
5528 [C99-based standards] (UINT16_MAX): Likewise.
5529 [C99-based standards] (UINT32_MAX): Likewise.
5530 [C99-based standards] (UINT64_MAX): Likewise.
5531 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5532 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5533 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5534 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5535 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5536 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5537 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5538 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5539 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5540 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5541 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5542 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5543 [C99-based standards] (INT_FAST8_MIN): Likewise.
5544 [C99-based standards] (INT_FAST8_MAX): Likewise.
5545 [C99-based standards] (INT_FAST16_MIN): Likewise.
5546 [C99-based standards] (INT_FAST16_MAX): Likewise.
5547 [C99-based standards] (INT_FAST32_MIN): Likewise.
5548 [C99-based standards] (INT_FAST32_MAX): Likewise.
5549 [C99-based standards] (INT_FAST64_MIN): Likewise.
5550 [C99-based standards] (INT_FAST64_MAX): Likewise.
5551 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5552 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5553 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5554 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5555 [C99-based standards] (INTPTR_MIN): Likewise.
5556 [C99-based standards] (INTPTR_MAX): Likewise.
5557 [C99-based standards] (UINTPTR_MAX): Likewise.
5558 [C99-based standards] (INTMAX_MIN): Likewise.
5559 [C99-based standards] (INTMAX_MAX): Likewise.
5560 [C99-based standards] (UINTMAX_MAX): Likewise.
5561 [C99-based standards] (PTRDIFF_MIN): Likewise.
5562 [C99-based standards] (PTRDIFF_MAX): Likewise.
5563 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5564 [C99-based standards] (SIZE_MAX): Likewise.
5565 [C99-based standards] (WCHAR_MAX): Likewise.
5566 [C99-based standards] (WINT_MAX): Likewise.
5567 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5568 constraint on value.
5569 [C99-based standards] (WCHAR_MIN): Likewise.
5570 [C99-based standards] (WINT_MIN): Likewise.
5571 [C99-based standards] (*_t): Allow.
5572 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5573 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5574 Include math.h-data and complex.h-data. Remove all expectations
5575 of math.h and complex.h contents.
5576 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5578 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5579 (struct tm): Expect tag.
5580 [C99-based-standards] (wcstof): Expect function.
5581 [C99-based-standards] (wcstold): Likewise.
5582 [C99-based-standards] (wcstoll): Likewise.
5583 [C99-based-standards] (wcstoull): Likewise.
5584 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5585 macro-int-constant. Specify type.
5586 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5587 constraint on value.
5588 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5590 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5592 [ISO C standards]: Do not allow headers.
5593 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5594 wcs[abcdefghijklmnopqrstuvwxyz]*.
5595 [ISO C standards] (*_t): Do not allow.
5596 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5598 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5599 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5601 [ISO C standards]: Do not allow headers.
5602 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5603 is[abcdefghijklmnopqrstuvwxyz]*.
5604 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5605 to[abcdefghijklmnopqrstuvwxyz]*.
5606 [ISO C standards] (*_t): Do not allow.
5607 * conform/data/stdalign.h-data: New file.
5608 * conform/data/stdbool.h-data: Likewise.
5609 * conform/data/stdnoreturn.h-data: Likewise.
5611 2012-11-07 Roland McGrath <roland@hack.frob.com>
5614 * manual/filesys.texi (Directory Entries): Typo fix.
5615 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5617 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5619 * elf/elf.h (EM_AARCH64): New macro.
5620 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5621 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5622 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5623 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5624 (R_AARCH64_TLSDESC): Likewise.
5625 (NT_ARM_TLS): Likewise.
5626 (NT_ARM_HW_BREAK): Likewise.
5627 (NT_ARM_HW_WATCH): Likewise.
5629 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5632 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5633 (__ieee754_powl): Saturate nonzero exponents with absolute value
5634 below 0x1p-79 to +/- 0x1p-79.
5635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5636 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5637 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5638 nonzero exponents with absolute value below 0x1p-32 to +/-
5640 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5641 (__ieee754_powl): Saturate nonzero exponents with absolute value
5642 below 0x1p-79 to +/- 0x1p-79.
5643 * math/libm-test.inc (pow_test): Add more tests.
5645 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5647 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5648 _dl_s390_cap_flags with kernel. Increase string length.
5649 (_dl_s390_platforms): Add z196 and zEC12.
5651 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5653 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5654 Change XOPEN21K to XOPEN2K.
5656 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5658 * string/memmove.c: Use memcpy when possible.
5660 2012-11-06 Andreas Jaeger <aj@suse.de>
5662 * po/eo.po: Update from translation team.
5664 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5668 exponent and small x and y exponents, scale x or y up. Increase
5669 by 2 the exponent used in scaling up.
5670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5672 * math/libm-test.inc (fma_test): Add more tests.
5673 (fma_test_towardzero): Likewise.
5674 (fma_test_downward): Likewise.
5675 (fma_test_upward): Likewise.
5677 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5680 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5684 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5685 namespace for names of struct fields.
5686 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5688 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5689 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5691 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5694 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5696 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5698 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5702 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5705 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5709 definitely overflow as x * y not x * y + z.
5710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5712 * math/libm-test.inc (fma_test): Add more tests.
5713 (fma_test_towardzero): Likewise.
5714 (fma_test_downward): Likewise.
5715 (fma_test_upward): Likewise.
5717 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5721 * include/stub-tag.h: Remove file.
5722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5724 * manual/maint.texi (Porting): Don't reference it.
5725 * Makerules ($(objpfx)stubs): Likewise.
5726 * dirent/closedir.c: Don't include <stub-tag.h>.
5727 * dirent/dirfd.c: Likewise.
5728 * dirent/fdopendir.c: Likewise.
5729 * dirent/getdents.c: Likewise.
5730 * dirent/getdents64.c: Likewise.
5731 * dirent/opendir.c: Likewise.
5732 * dirent/readdir.c: Likewise.
5733 * dirent/readdir64.c: Likewise.
5734 * dirent/readdir64_r.c: Likewise.
5735 * dirent/readdir_r.c: Likewise.
5736 * dirent/rewinddir.c: Likewise.
5737 * dirent/seekdir.c: Likewise.
5738 * dirent/telldir.c: Likewise.
5739 * gmon/profil.c: Likewise.
5740 * grp/setgroups.c: Likewise.
5741 * inet/if_index.c: Likewise.
5742 * io/access.c: Likewise.
5743 * io/chdir.c: Likewise.
5744 * io/chmod.c: Likewise.
5745 * io/chown.c: Likewise.
5746 * io/close.c: Likewise.
5747 * io/dup.c: Likewise.
5748 * io/dup2.c: Likewise.
5749 * io/dup3.c: Likewise.
5750 * io/euidaccess.c: Likewise.
5751 * io/faccessat.c: Likewise.
5752 * io/fchdir.c: Likewise.
5753 * io/fchmod.c: Likewise.
5754 * io/fchmodat.c: Likewise.
5755 * io/fchown.c: Likewise.
5756 * io/fchownat.c: Likewise.
5757 * io/fcntl.c: Likewise.
5758 * io/flock.c: Likewise.
5759 * io/fstatfs.c: Likewise.
5760 * io/fstatfs64.c: Likewise.
5761 * io/fstatvfs.c: Likewise.
5762 * io/fstatvfs64.c: Likewise.
5763 * io/futimens.c: Likewise.
5764 * io/fxstat.c: Likewise.
5765 * io/fxstat64.c: Likewise.
5766 * io/fxstatat.c: Likewise.
5767 * io/fxstatat64.c: Likewise.
5768 * io/getcwd.c: Likewise.
5769 * io/isatty.c: Likewise.
5770 * io/lchmod.c: Likewise.
5771 * io/lchown.c: Likewise.
5772 * io/link.c: Likewise.
5773 * io/linkat.c: Likewise.
5774 * io/lseek.c: Likewise.
5775 * io/lseek64.c: Likewise.
5776 * io/lxstat64.c: Likewise.
5777 * io/mkdir.c: Likewise.
5778 * io/mkdirat.c: Likewise.
5779 * io/mkfifo.c: Likewise.
5780 * io/mkfifoat.c: Likewise.
5781 * io/open.c: Likewise.
5782 * io/open64.c: Likewise.
5783 * io/openat.c: Likewise.
5784 * io/openat64.c: Likewise.
5785 * io/pipe.c: Likewise.
5786 * io/pipe2.c: Likewise.
5787 * io/poll.c: Likewise.
5788 * io/posix_fadvise.c: Likewise.
5789 * io/posix_fadvise64.c: Likewise.
5790 * io/posix_fallocate.c: Likewise.
5791 * io/posix_fallocate64.c: Likewise.
5792 * io/read.c: Likewise.
5793 * io/readlink.c: Likewise.
5794 * io/readlinkat.c: Likewise.
5795 * io/rmdir.c: Likewise.
5796 * io/sendfile.c: Likewise.
5797 * io/sendfile64.c: Likewise.
5798 * io/statfs.c: Likewise.
5799 * io/statfs64.c: Likewise.
5800 * io/statvfs.c: Likewise.
5801 * io/statvfs64.c: Likewise.
5802 * io/symlink.c: Likewise.
5803 * io/symlinkat.c: Likewise.
5804 * io/ttyname.c: Likewise.
5805 * io/ttyname_r.c: Likewise.
5806 * io/umask.c: Likewise.
5807 * io/unlink.c: Likewise.
5808 * io/unlinkat.c: Likewise.
5809 * io/utime.c: Likewise.
5810 * io/utimensat.c: Likewise.
5811 * io/write.c: Likewise.
5812 * io/xmknod.c: Likewise.
5813 * io/xmknodat.c: Likewise.
5814 * io/xstat.c: Likewise.
5815 * io/xstat64.c: Likewise.
5816 * login/getpt.c: Likewise.
5817 * login/grantpt.c: Likewise.
5818 * login/unlockpt.c: Likewise.
5819 * math/e_acoshl.c: Likewise.
5820 * math/e_acosl.c: Likewise.
5821 * math/e_asinl.c: Likewise.
5822 * math/e_atan2l.c: Likewise.
5823 * math/e_atanhl.c: Likewise.
5824 * math/e_coshl.c: Likewise.
5825 * math/e_expl.c: Likewise.
5826 * math/e_fmodl.c: Likewise.
5827 * math/e_gammal_r.c: Likewise.
5828 * math/e_hypotl.c: Likewise.
5829 * math/e_j0l.c: Likewise.
5830 * math/e_j1l.c: Likewise.
5831 * math/e_jnl.c: Likewise.
5832 * math/e_lgammal_r.c: Likewise.
5833 * math/e_log10l.c: Likewise.
5834 * math/e_log2l.c: Likewise.
5835 * math/e_logl.c: Likewise.
5836 * math/e_powl.c: Likewise.
5837 * math/e_rem_pio2l.c: Likewise.
5838 * math/e_sinhl.c: Likewise.
5839 * math/e_sqrtl.c: Likewise.
5840 * math/fclrexcpt.c: Likewise.
5841 * math/fedisblxcpt.c: Likewise.
5842 * math/feenablxcpt.c: Likewise.
5843 * math/fegetenv.c: Likewise.
5844 * math/fegetexcept.c: Likewise.
5845 * math/fegetround.c: Likewise.
5846 * math/feholdexcpt.c: Likewise.
5847 * math/fesetenv.c: Likewise.
5848 * math/fesetround.c: Likewise.
5849 * math/feupdateenv.c: Likewise.
5850 * math/fgetexcptflg.c: Likewise.
5851 * math/fraiseexcpt.c: Likewise.
5852 * math/fsetexcptflg.c: Likewise.
5853 * math/ftestexcept.c: Likewise.
5854 * math/k_cosl.c: Likewise.
5855 * math/k_rem_pio2l.c: Likewise.
5856 * math/k_sinl.c: Likewise.
5857 * math/k_tanl.c: Likewise.
5858 * math/s_asinhl.c: Likewise.
5859 * math/s_atanl.c: Likewise.
5860 * math/s_cbrtl.c: Likewise.
5861 * math/s_erfl.c: Likewise.
5862 * math/s_expm1l.c: Likewise.
5863 * math/s_log1pl.c: Likewise.
5864 * math/s_tanhl.c: Likewise.
5865 * misc/acct.c: Likewise.
5866 * misc/brk.c: Likewise.
5867 * misc/chflags.c: Likewise.
5868 * misc/chroot.c: Likewise.
5869 * misc/fchflags.c: Likewise.
5870 * misc/fgetxattr.c: Likewise.
5871 * misc/flistxattr.c: Likewise.
5872 * misc/fremovexattr.c: Likewise.
5873 * misc/fsetxattr.c: Likewise.
5874 * misc/fsync.c: Likewise.
5875 * misc/ftruncate.c: Likewise.
5876 * misc/futimes.c: Likewise.
5877 * misc/futimesat.c: Likewise.
5878 * misc/getdomain.c: Likewise.
5879 * misc/getdtsz.c: Likewise.
5880 * misc/gethostid.c: Likewise.
5881 * misc/gethostname.c: Likewise.
5882 * misc/getloadavg.c: Likewise.
5883 * misc/getpagesize.c: Likewise.
5884 * misc/getsysstats.c: Likewise.
5885 * misc/getxattr.c: Likewise.
5886 * misc/gtty.c: Likewise.
5887 * misc/ioctl.c: Likewise.
5888 * misc/lgetxattr.c: Likewise.
5889 * misc/listxattr.c: Likewise.
5890 * misc/llistxattr.c: Likewise.
5891 * misc/lremovexattr.c: Likewise.
5892 * misc/lsetxattr.c: Likewise.
5893 * misc/lutimes.c: Likewise.
5894 * misc/madvise.c: Likewise.
5895 * misc/mincore.c: Likewise.
5896 * misc/mlock.c: Likewise.
5897 * misc/mlockall.c: Likewise.
5898 * misc/mmap.c: Likewise.
5899 * misc/mprotect.c: Likewise.
5900 * misc/msync.c: Likewise.
5901 * misc/munlock.c: Likewise.
5902 * misc/munlockall.c: Likewise.
5903 * misc/munmap.c: Likewise.
5904 * misc/preadv.c: Likewise.
5905 * misc/preadv64.c: Likewise.
5906 * misc/ptrace.c: Likewise.
5907 * misc/pwritev.c: Likewise.
5908 * misc/pwritev64.c: Likewise.
5909 * misc/readv.c: Likewise.
5910 * misc/reboot.c: Likewise.
5911 * misc/remap_file_pages.c: Likewise.
5912 * misc/removexattr.c: Likewise.
5913 * misc/revoke.c: Likewise.
5914 * misc/select.c: Likewise.
5915 * misc/setdomain.c: Likewise.
5916 * misc/setegid.c: Likewise.
5917 * misc/seteuid.c: Likewise.
5918 * misc/sethostid.c: Likewise.
5919 * misc/sethostname.c: Likewise.
5920 * misc/setregid.c: Likewise.
5921 * misc/setreuid.c: Likewise.
5922 * misc/setxattr.c: Likewise.
5923 * misc/sstk.c: Likewise.
5924 * misc/stty.c: Likewise.
5925 * misc/swapoff.c: Likewise.
5926 * misc/swapon.c: Likewise.
5927 * misc/sync.c: Likewise.
5928 * misc/syncfs.c: Likewise.
5929 * misc/syscall.c: Likewise.
5930 * misc/truncate.c: Likewise.
5931 * misc/ualarm.c: Likewise.
5932 * misc/usleep.c: Likewise.
5933 * misc/ustat.c: Likewise.
5934 * misc/utimes.c: Likewise.
5935 * misc/vhangup.c: Likewise.
5936 * misc/writev.c: Likewise.
5937 * posix/_exit.c: Likewise.
5938 * posix/alarm.c: Likewise.
5939 * posix/execve.c: Likewise.
5940 * posix/fexecve.c: Likewise.
5941 * posix/fork.c: Likewise.
5942 * posix/fpathconf.c: Likewise.
5943 * posix/getaddrinfo.c: Likewise.
5944 * posix/getegid.c: Likewise.
5945 * posix/geteuid.c: Likewise.
5946 * posix/getgid.c: Likewise.
5947 * posix/getgroups.c: Likewise.
5948 * posix/getlogin.c: Likewise.
5949 * posix/getlogin_r.c: Likewise.
5950 * posix/getpgid.c: Likewise.
5951 * posix/getpid.c: Likewise.
5952 * posix/getppid.c: Likewise.
5953 * posix/getresgid.c: Likewise.
5954 * posix/getresuid.c: Likewise.
5955 * posix/getsid.c: Likewise.
5956 * posix/getuid.c: Likewise.
5957 * posix/glob64.c: Likewise.
5958 * posix/nanosleep.c: Likewise.
5959 * posix/pathconf.c: Likewise.
5960 * posix/pause.c: Likewise.
5961 * posix/posix_madvise.c: Likewise.
5962 * posix/pread.c: Likewise.
5963 * posix/pread64.c: Likewise.
5964 * posix/pwrite.c: Likewise.
5965 * posix/pwrite64.c: Likewise.
5966 * posix/sched_getaffinity.c: Likewise.
5967 * posix/sched_getp.c: Likewise.
5968 * posix/sched_gets.c: Likewise.
5969 * posix/sched_primax.c: Likewise.
5970 * posix/sched_primin.c: Likewise.
5971 * posix/sched_rr_gi.c: Likewise.
5972 * posix/sched_setaffinity.c: Likewise.
5973 * posix/sched_setp.c: Likewise.
5974 * posix/sched_sets.c: Likewise.
5975 * posix/sched_yield.c: Likewise.
5976 * posix/setgid.c: Likewise.
5977 * posix/setlogin.c: Likewise.
5978 * posix/setpgid.c: Likewise.
5979 * posix/setresgid.c: Likewise.
5980 * posix/setresuid.c: Likewise.
5981 * posix/setsid.c: Likewise.
5982 * posix/setuid.c: Likewise.
5983 * posix/sleep.c: Likewise.
5984 * posix/spawni.c: Likewise.
5985 * posix/sysconf.c: Likewise.
5986 * posix/times.c: Likewise.
5987 * posix/wait.c: Likewise.
5988 * posix/wait3.c: Likewise.
5989 * posix/wait4.c: Likewise.
5990 * posix/waitpid.c: Likewise.
5991 * resolv/gai_sigqueue.c: Likewise.
5992 * resource/getpriority.c: Likewise.
5993 * resource/getrlimit.c: Likewise.
5994 * resource/getrusage.c: Likewise.
5995 * resource/nice.c: Likewise.
5996 * resource/setpriority.c: Likewise.
5997 * resource/setrlimit.c: Likewise.
5998 * resource/ulimit.c: Likewise.
5999 * rt/aio_cancel.c: Likewise.
6000 * rt/aio_fsync.c: Likewise.
6001 * rt/aio_read.c: Likewise.
6002 * rt/aio_sigqueue.c: Likewise.
6003 * rt/aio_suspend.c: Likewise.
6004 * rt/aio_write.c: Likewise.
6005 * rt/clock_getres.c: Likewise.
6006 * rt/clock_gettime.c: Likewise.
6007 * rt/clock_nanosleep.c: Likewise.
6008 * rt/clock_settime.c: Likewise.
6009 * rt/lio_listio.c: Likewise.
6010 * rt/mq_close.c: Likewise.
6011 * rt/mq_getattr.c: Likewise.
6012 * rt/mq_notify.c: Likewise.
6013 * rt/mq_open.c: Likewise.
6014 * rt/mq_receive.c: Likewise.
6015 * rt/mq_send.c: Likewise.
6016 * rt/mq_setattr.c: Likewise.
6017 * rt/mq_timedreceive.c: Likewise.
6018 * rt/mq_timedsend.c: Likewise.
6019 * rt/mq_unlink.c: Likewise.
6020 * rt/shm_open.c: Likewise.
6021 * rt/shm_unlink.c: Likewise.
6022 * rt/timer_create.c: Likewise.
6023 * rt/timer_delete.c: Likewise.
6024 * rt/timer_getoverr.c: Likewise.
6025 * rt/timer_gettime.c: Likewise.
6026 * rt/timer_settime.c: Likewise.
6027 * setjmp/__longjmp.c: Likewise.
6028 * setjmp/setjmp.c: Likewise.
6029 * signal/kill.c: Likewise.
6030 * signal/killpg.c: Likewise.
6031 * signal/raise.c: Likewise.
6032 * signal/sigaction.c: Likewise.
6033 * signal/sigaltstack.c: Likewise.
6034 * signal/sigblock.c: Likewise.
6035 * signal/sigignore.c: Likewise.
6036 * signal/sigintr.c: Likewise.
6037 * signal/signal.c: Likewise.
6038 * signal/sigpause.c: Likewise.
6039 * signal/sigpending.c: Likewise.
6040 * signal/sigqueue.c: Likewise.
6041 * signal/sigreturn.c: Likewise.
6042 * signal/sigset.c: Likewise.
6043 * signal/sigsetmask.c: Likewise.
6044 * signal/sigstack.c: Likewise.
6045 * signal/sigsuspend.c: Likewise.
6046 * signal/sigtimedwait.c: Likewise.
6047 * signal/sigvec.c: Likewise.
6048 * signal/sigwait.c: Likewise.
6049 * signal/sigwaitinfo.c: Likewise.
6050 * signal/sysv_signal.c: Likewise.
6051 * socket/accept.c: Likewise.
6052 * socket/accept4.c: Likewise.
6053 * socket/bind.c: Likewise.
6054 * socket/connect.c: Likewise.
6055 * socket/getpeername.c: Likewise.
6056 * socket/getsockname.c: Likewise.
6057 * socket/getsockopt.c: Likewise.
6058 * socket/isfdtype.c: Likewise.
6059 * socket/listen.c: Likewise.
6060 * socket/recv.c: Likewise.
6061 * socket/recvfrom.c: Likewise.
6062 * socket/recvmsg.c: Likewise.
6063 * socket/send.c: Likewise.
6064 * socket/sendmsg.c: Likewise.
6065 * socket/sendto.c: Likewise.
6066 * socket/setsockopt.c: Likewise.
6067 * socket/shutdown.c: Likewise.
6068 * socket/sockatmark.c: Likewise.
6069 * socket/socket.c: Likewise.
6070 * socket/socketpair.c: Likewise.
6071 * stdio-common/ctermid.c: Likewise.
6072 * stdio-common/cuserid.c: Likewise.
6073 * stdio-common/remove.c: Likewise.
6074 * stdio-common/rename.c: Likewise.
6075 * stdio-common/renameat.c: Likewise.
6076 * stdio-common/tempname.c: Likewise.
6077 * stdlib/getcontext.c: Likewise.
6078 * stdlib/makecontext.c: Likewise.
6079 * stdlib/setcontext.c: Likewise.
6080 * stdlib/swapcontext.c: Likewise.
6081 * stdlib/system.c: Likewise.
6082 * streams/fattach.c: Likewise.
6083 * streams/fdetach.c: Likewise.
6084 * streams/getmsg.c: Likewise.
6085 * streams/getpmsg.c: Likewise.
6086 * streams/putmsg.c: Likewise.
6087 * streams/putpmsg.c: Likewise.
6088 * sysdeps/unix/bsd/getpt.c: Likewise.
6089 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6090 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6091 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6094 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6095 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6096 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6097 * sysvipc/msgctl.c: Likewise.
6098 * sysvipc/msgget.c: Likewise.
6099 * sysvipc/msgrcv.c: Likewise.
6100 * sysvipc/msgsnd.c: Likewise.
6101 * sysvipc/semctl.c: Likewise.
6102 * sysvipc/semget.c: Likewise.
6103 * sysvipc/semop.c: Likewise.
6104 * sysvipc/semtimedop.c: Likewise.
6105 * sysvipc/shmat.c: Likewise.
6106 * sysvipc/shmctl.c: Likewise.
6107 * sysvipc/shmdt.c: Likewise.
6108 * sysvipc/shmget.c: Likewise.
6109 * termios/tcdrain.c: Likewise.
6110 * termios/tcflow.c: Likewise.
6111 * termios/tcflush.c: Likewise.
6112 * termios/tcgetattr.c: Likewise.
6113 * termios/tcgetpgrp.c: Likewise.
6114 * termios/tcsendbrk.c: Likewise.
6115 * termios/tcsetattr.c: Likewise.
6116 * termios/tcsetpgrp.c: Likewise.
6117 * time/adjtime.c: Likewise.
6118 * time/clock.c: Likewise.
6119 * time/getitimer.c: Likewise.
6120 * time/gettimeofday.c: Likewise.
6121 * time/setitimer.c: Likewise.
6122 * time/settimeofday.c: Likewise.
6123 * time/stime.c: Likewise.
6124 * time/time.c: Likewise.
6126 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6128 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6131 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6133 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6135 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6139 FE_TONEAREST before applying Dekker multiplication and Knuth
6140 addition. Clear inexact exceptions and check for exact zero
6142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6143 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6145 * math/libm-test.inc (fma_test): Add more tests.
6146 (fma_test_towardzero): Likewise.
6147 (fma_test_downward): Likewise.
6148 (fma_test_upward): Likewise.
6149 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6151 (libc_fesetround): New macro.
6152 (libc_fesetroundf): Likewise.
6153 (libc_fesetroundl): Likewise.
6154 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6156 (libc_fesetround_387): Likewise.
6157 (libc_fesetroundf): New macro.
6158 (libc_fesetround): Likewise.
6159 (libc_fesetroundl): Likewise.
6160 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6162 (libc_fesetroundf): New macro.
6163 (libc_fesetround): Likewise.
6164 (libc_fesetroundl): Likewise.
6165 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6166 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6167 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6169 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6170 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6172 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6173 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6175 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6179 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6180 integer constant usable in #if and use that to give value to enum
6182 (FE_DIVBYZERO): Likewise.
6183 (FE_UNDERFLOW): Likewise.
6184 (FE_OVERFLOW): Likewise.
6185 (FE_INVALID): Likewise.
6186 (FE_INVALID_SNAN): Likewise.
6187 (FE_INVALID_ISI): Likewise.
6188 (FE_INVALID_IDI): Likewise.
6189 (FE_INVALID_ZDZ): Likewise.
6190 (FE_INVALID_IMZ): Likewise.
6191 (FE_INVALID_COMPARE): Likewise.
6192 (FE_INVALID_SOFTWARE): Likewise.
6193 (FE_INVALID_SQRT): Likewise.
6194 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6195 (FE_TONEAREST): Likewise.
6196 (FE_TOWARDZERO): Likewise.
6197 (FE_UPWARD): Likewise.
6198 (FE_DOWNWARD): Likewise.
6199 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6200 (FE_DIVBYZERO): Likewise.
6201 (FE_OVERFLOW): Likewise.
6202 (FE_UNDERFLOW): Likewise.
6203 (FE_INEXACT): Likewise.
6204 (FE_TONEAREST): Likewise.
6205 (FE_DOWNWARD): Likewise.
6206 (FE_UPWARD): Likewise.
6207 (FE_TOWARDZERO): Likewise.
6208 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6209 (FE_UNDERFLOW): Likewise.
6210 (FE_OVERFLOW): Likewise.
6211 (FE_DIVBYZERO): Likewise.
6212 (FE_INVALID): Likewise.
6213 (FE_TONEAREST): Likewise.
6214 (FE_TOWARDZERO): Likewise.
6215 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6216 (FE_OVERFLOW): Likewise.
6217 (FE_UNDERFLOW): Likewise.
6218 (FE_DIVBYZERO): Likewise.
6219 (FE_INEXACT): Likewise.
6220 (FE_TONEAREST): Likewise.
6221 (FE_TOWARDZERO): Likewise.
6222 (FE_UPWARD): Likewise.
6223 (FE_DOWNWARD): Likewise.
6224 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6225 (FE_DIVBYZERO): Likewise.
6226 (FE_OVERFLOW): Likewise.
6227 (FE_UNDERFLOW): Likewise.
6228 (FE_INEXACT): Likewise.
6229 (FE_TONEAREST): Likewise.
6230 (FE_DOWNWARD): Likewise.
6231 (FE_UPWARD): Likewise.
6232 (FE_TOWARDZERO): Likewise.
6234 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6236 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6238 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6240 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6241 commands. Quote $PWD.
6242 (blacklist_exports): Don't use remove_newlines. Replace "declare
6244 (remove_newlines): Remove.
6246 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6248 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6249 * stdlib/stdlib.h (atof): Moved to ...
6250 * include/bits/stdlib-float.h: Here. New file.
6251 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6252 * stdlib/bits/stdlib-float.h: New file.
6253 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6258 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6260 * conform/conformtest.pl (@headers): Add fenv.h.
6261 * conform/data/fenv.h-data: New file.
6262 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6263 include of <math/fenv.h>.
6265 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6266 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6267 && !UNIX98]. Enables tests for XOPEN2K8.
6268 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6269 POSIX2008]: Likewise.
6271 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6272 (struct rusage): Do not expect type or its members.
6275 * math/math.h (FP_NAN): Define macro to integer constant usable in
6276 #if and use that to give value to enum constant.
6277 (FP_INFINITE): Likewise.
6278 (FP_ZERO): Likewise.
6279 (FP_SUBNORMAL): Likewise.
6280 (FP_NORMAL): Likewise.
6282 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6284 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6285 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6288 2012-11-02 Roland McGrath <roland@hack.frob.com>
6290 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6291 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6292 autoconf-time if not.
6293 * configure.in: Remove AC_PREREQ.
6295 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6297 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6298 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6299 of the internal implementation.
6301 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6303 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6304 except include of <misc/sys/syslog.h>.
6306 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6309 function returns with a NULL context exit with zero.
6311 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6313 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6315 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6317 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6318 (run_program_cmd): This.
6319 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6320 (tst_langinfo): New variable. Use it.
6322 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6324 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6325 floating point opcodes.
6327 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6329 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6332 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6334 * sysdeps/mach/hurd/powerpc: Remove directory.
6335 * sysdeps/mach/powerpc: Likewise.
6337 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6339 * scripts/check-local-headers.sh: Ignore c++ headers.
6341 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6343 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6344 __libc_cleanup_region_start argument.
6346 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6351 x * y using scaling, not as x * y + z.
6352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6354 * math/libm-test.inc (fma_test): Add more tests.
6355 (fma_test_towardzero): Likewise.
6356 (fma_test_downward): Likewise.
6357 (fma_test_upward): Likewise.
6359 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6361 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6363 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6365 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6368 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6370 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6372 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6379 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6382 Fix the order of the list for glibc 2.17.
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6386 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6390 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6394 for low part of x being zero before using __atanl (y).
6395 * math/libm-test.inc (atan2_test): Add another test.
6397 * manual/install.texi (Configuring and compiling): Document
6398 general use of test-wrapper and test-wrapper-env.
6399 * INSTALL: Regenerated.
6401 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6402 (__fma): Do not extract and scale down low bits on after-rounding
6403 systems when result rounded to normal precision would have normal
6405 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6406 (__fmal): Do not extract and scale down low bits on after-rounding
6407 systems when result rounded to normal precision would have normal
6409 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6410 (__fmal): Do not extract and scale down low bits on after-rounding
6411 systems when result rounded to normal precision would have normal
6413 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6415 (fma_test): Add more tests.
6416 (fma_test_towardzero): Likewise.
6417 (fma_test_downward): Likewise.
6418 (fma_test_upward): Likewise.
6420 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6422 * sysdeps/i386/tininess.h: Renamed to ...
6423 * sysdeps/x86/tininess.h: This.
6424 * sysdeps/x86_64/tininess.h: Removed.
6426 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6428 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6429 input. Use $(build-program-cmd).
6430 ($(objpfx)tst-array1-static.out): Likewise.
6431 ($(objpfx)tst-array2.out): Likewise.
6432 ($(objpfx)tst-array3.out): Likewise.
6433 ($(objpfx)tst-array4.out): Likewise.
6434 ($(objpfx)tst-array5.out): Likewise.
6435 ($(objpfx)tst-array5-static.out): Likewise.
6437 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6439 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6442 * nss/nsswitch.h (nss_interface_function): Provide new
6443 macro for use with NSS functions.
6444 * grp/initgroups.c: Use new macro.
6445 * nss/getXXbyYY.c: Likewise.
6446 * nss/getXXbyYY_r.c: Likewise.
6447 * nss/getXXent.c: Likewise.
6448 * nss/getXXent_r.c: Likewise.
6449 * sysdeps/posix/getaddrinfo.c: Likewise.
6451 2012-10-30 Andreas Jaeger <aj@suse.de>
6453 * po/ru.po: Update Russion translation from translation project.
6455 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6460 result and shift together with sticky bit instead of replicating
6461 round-to-nearest rounding.
6462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6464 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6465 missing underflow exceptions.
6466 (fma_test_towardzero): Add more tests.
6467 (fma_test_downward): Likewise.
6468 (fma_test_upward): Likewise.
6471 * sysdeps/generic/tininess.h: New file.
6472 * sysdeps/i386/tininess.h: Likewise.
6473 * sysdeps/sh/tininess.h: Likewise.
6474 * sysdeps/x86_64/tininess.h: Likewise.
6475 * stdlib/tst-strtod-underflow.c: Likewise.
6476 * stdlib/tst-tininess.c: Likewise.
6477 * stdlib/strtod_l.c: Include <tininess.h>.
6478 (round_and_return): Do not set errno for exact underflow cases.
6479 Force an underflow exception when setting errno for underflow.
6480 Determine underflow based on rounding to normal precision if
6481 TININESS_AFTER_ROUNDING.
6482 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6483 ERANGE for exact underflow cases.
6484 * stdlib/Makefile (tests): Add tst-tininess and
6485 tst-strtod-underflow.
6486 ($(objpfx)tst-tininess): Use $(link-libm).
6487 ($(objpfx)tst-strtod-underflow): Likewise.
6489 2012-10-30 Andreas Jaeger <aj@suse.de>
6492 * elf/Makefile (tests): Remove conditional for have-initfini-array
6493 since this is now always required and the variable does not exist
6495 (tests-static): Likewise.
6496 (modules-names): Likewise.
6498 * po/eo.po: Add Esperanto translation from translation project.
6500 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6501 merged with constructor/destructor.
6502 (init_array): Likewise.
6503 * elf/tst-array2dep.c (fini_array): Likewise.
6504 (init_array): Likewise.
6506 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6508 * manual/message.texi: Delete @cartouche tags.
6510 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6512 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6514 * sysdeps/mach/hurd/fsync.c: Likewise.
6516 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6517 [_POSIX_REALTIME_SIGNALS]: Change condition to
6518 [_POSIX_REALTIME_SIGNALS > 0].
6520 2012-10-27 Andreas Jaeger <aj@suse.de>
6522 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6523 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6525 [__WORDSIZE != 64]: Likewise.
6527 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6529 * iconvdata/tst-table.sh: Remove ${SHELL}.
6530 * iconvdata/tst-tables.sh: Likewise.
6532 2012-10-25 David S. Miller <davem@davemloft.net>
6534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6535 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6540 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6541 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6542 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6545 2012-10-25 Roland McGrath <roland@hack.frob.com>
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6548 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6551 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6552 Jim Blandy <jimb@codesourcery.com>
6554 * scripts/cross-test-ssh.sh: New file.
6555 * manual/install.texi (Configuring and compiling): Document use of
6557 * INSTALL: Regenerated.
6559 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6561 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6564 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6566 * Makeconfig (run-program-prefix): Fix comment.
6568 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6569 Jim Blandy <jimb@codesourcery.com>
6571 * Makeconfig (test-wrapper): New variable,
6572 (test-wrapper-env): Likewise.
6573 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6574 (run-built-tests): Define to yes.
6575 (run-program-prefix): Use $(test-wrapper).
6576 (built-program-cmd): Likewise.
6577 * Rules (make-test-out): Use $(test-wrapper-env) and
6578 $(host-built-program-cmd).
6579 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6580 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6582 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6583 $(test-wrapper-env) to tst-rtld-load-self.sh.
6584 ($(objpfx)order2.out): Use $(test-wrapper).
6585 ($(objpfx)tst-initorder.out): Likewise.
6586 ($(objpfx)tst-initorder2.out): Likewise.
6587 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6588 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6589 (test_wrapper_env): New variable. Use it to run ld.so.
6590 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6591 Use it to run ld.so.
6592 (test_wrapper_env): Likewise.
6593 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6594 $(test-wrapper) to run-iconv-test.sh.
6595 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6596 (ICONV): Use $test_wrapper.
6597 * posix/Makefile ($(objpfx)globtest.out): Pass
6598 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6599 globtest.sh, not $(run-program-prefix).
6600 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6601 (test_wrapper): Likewise.
6602 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6603 set together with run_via_rtld_prefix.
6604 (run_program_prefix): Define in terms of test_wrapper and
6605 run_via_rtld_prefix.
6607 2012-10-24 Roland McGrath <roland@hack.frob.com>
6609 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6610 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6614 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6615 Declare __clock_getres, __clock_gettime, __clock_settime,
6616 __clock_nanosleep, and __clock_getcpuclockid.
6617 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6618 Remove librt_hidden_def (clock_gettime).
6619 * sysdeps/unix/clock_gettime.c: Likewise.
6620 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6622 * rt/clock_getres.c: Define __clock_getres as an alias.
6623 * sysdeps/posix/clock_getres.c: Likewise.
6624 * rt/clock_settime.c: Define __clock_settime as an alias.
6625 * sysdeps/unix/clock_settime.c: Likewise.
6626 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6627 * sysdeps/unix/clock_nanosleep.c: Likewise.
6628 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6629 * rt/clock-compat.c: New file.
6630 * rt/Makefile (librt-routines): Add clock-compat and move
6631 $(clock-routines) to ...
6632 (routines): ... here, new variable.
6633 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6634 Don't add get_clockfreq here.
6635 * rt/Versions (libc: GLIBC_2.17): New version set.
6636 Add clock_* symbols here.
6637 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6639 (GLIBC_2.17): Add clock_* symbols.
6640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6651 * NEWS: Mention the move.
6653 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6654 Use __open, __read, __close rather than their public counterparts.
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6656 (__get_clockfreq_via_cpuinfo): Likewise.
6657 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6658 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6660 * config.h.in (HAVE_IFUNC): New #undef.
6661 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6663 * configure: Regenerated.
6665 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6667 * configure.in: Move READELF check to start of file.
6668 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6669 libc_cv_asm_gnu_indirect_function in the process.
6670 * configure: Regenerated.
6672 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6674 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6675 send the output to /dev/null.
6676 (libc_cv_cc_with_libunwind): Likewise.
6677 (libc_cv_as_noexecstack): Likewise.
6678 * configure: Regenerate.
6680 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6682 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6684 * posix/globtest.sh (TMPDIR): Do not set.
6685 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6686 (testout): Likewise.
6688 2012-10-24 Andreas Jaeger <aj@suse.de>
6690 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6691 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6692 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6693 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6694 posix_fadvise64, posix_fallocate64.
6696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6697 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6698 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6700 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6702 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6705 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6706 <bits/fcntl-linux.h>.
6707 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6710 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6711 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6712 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6713 [__WORDSIZE != 64]: Likewise.
6715 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6717 * Makeconfig (run-built-tests): New variable.
6718 * Rules [$(cross-compiling) = yes]: Change condition to
6719 [$(run-built-tests) = no].
6720 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6721 to [$(run-built-tests) = yes].
6722 * elf/Makefile [$(cross-compiling) = no]: Likewise
6723 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6724 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6725 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6726 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6727 * io/Makefile [$(cross-compiling) = no]: Likewise.
6728 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6729 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6730 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6731 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6732 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6733 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6734 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6735 * string/Makefile [$(cross-compiling) = no]: Likewise.
6737 * posix/Makefile ($(objpfx)globtest.out): Pass
6738 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6739 $(rtld-installed-name).
6740 * posix/globtest.sh (elf_objpfx): Remove variable.
6741 (rtld_installed_name): Likewise.
6742 (library_path): Likewise.
6743 (run_program_prefix): New variable. Use for running globtest
6746 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6747 Joseph Myers <joseph@codesourcery.com>
6749 * Makeconfig (host-built-program-cmd): New variable.
6750 * elf/Makefile (tst-stackguard1-ARGS): Use
6751 $(host-built-program-cmd).
6752 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6753 (tst-spawn-ARGS): Likewise.
6754 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6756 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6757 Jim Blandy <jimb@codesourcery.com>
6759 * Makeconfig (run-via-rtld-prefix): New variable.
6760 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6761 (built-program-cmd): Likewise.
6763 2012-10-22 Andreas Jaeger <aj@suse.de>
6765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6766 __O_RSYNC if it exists, otherwise to O_SYNC.
6768 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6769 Joseph Myers <joseph@codesourcery.com>
6771 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6773 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6775 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6778 2012-10-22 Andreas Jaeger <aj@suse.de>
6780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6788 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6795 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6796 Joseph Myers <joseph@codesourcery.com>
6798 * config.make.in (NM): New variable.
6800 2012-10-21 Andreas Jaeger <aj@suse.de>
6802 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6803 definitions and declarations that are provided by
6804 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6806 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6809 * elf/Makefile (tests-static): Add tst-leaks1-static.
6810 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6811 ($(objpfx)tst-leaks1-static): New rule.
6812 ($(objpfx)tst-leaks1-static-mem): Likewise.
6813 (tst-leaks1-static-ENV): New macro.
6814 * elf/dl-open.c (dl_open_worker): Check the main application
6815 only if SHARED is defined.
6816 * elf/tst-leaks1-static.c: New file.
6818 2012-10-20 Andreas Jaeger <aj@suse.de>
6820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6821 generic values for Linux.
6822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6823 and declarations that are provided by <bits/fcntl-linux.h> and
6824 include <bits/fcntl-linux.h>.
6825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6828 2012-10-20 Roland McGrath <roland@hack.frob.com>
6830 * io/fcntl.h: Move include of <bits/types.h> to the top and
6831 include it unconditionally.
6833 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6835 * wcsmbs/Makefile (tests-ifunc): New variable.
6836 (tests): Add $(tests-ifunc).
6837 * wcsmbs/test-wcschr-ifunc.c: New file.
6838 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6839 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6840 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6841 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6842 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6844 * string/Makefile (tests-ifunc): New variable.
6845 (tests): Add $(tests-ifunc).
6846 * string/test-memccpy.c (TEST_NAME): New macro.
6847 * string/test-memchr.c (TEST_NAME): Likewise.
6848 * string/test-memcmp.c (TEST_NAME): Likewise.
6849 * string/test-memcpy.c (TEST_NAME): Likewise.
6850 * string/test-memmem.c (TEST_NAME): Likewise.
6851 * string/test-memmove.c (TEST_NAME): Likewise.
6852 * string/test-memset.c (TEST_NAME): Likewise.
6853 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6854 * string/test-stpcpy.c (TEST_NAME): Likewise.
6855 * string/test-stpncpy.c (TEST_NAME): Likewise.
6856 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6857 * string/test-strcasestr.c (TEST_NAME): Likewise.
6858 * string/test-strcat.c (TEST_NAME): Likewise.
6859 * string/test-strchr.c (TEST_NAME): Likewise.
6860 * string/test-strcmp.c(TEST_NAME): Likewise.
6861 * string/test-strcpy.c (TEST_NAME): Likewise.
6862 * string/test-strcspn.c (TEST_NAME): Likewise.
6863 * string/test-strlen.c (TEST_NAME): Likewise.
6864 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6865 * string/test-strncmp.c (TEST_NAME): Likewise.
6866 * string/test-strncpy.c (TEST_NAME): Likewise.
6867 * string/test-strnlen.c (TEST_NAME): Likewise.
6868 * string/test-strpbrk.c (TEST_NAME): Likewise.
6869 * string/test-strrchr.c (TEST_NAME): Likewise.
6870 * string/test-strspn.c (TEST_NAME): Likewise.
6871 * string/test-strstr.c (TEST_NAME): Likewise.
6872 * string/test-bcopy-ifunc.c: New file.
6873 * string/test-bzero-ifunc.c: Likewise.
6874 * string/test-memccpy-ifunc.c: Likewise.
6875 * string/test-memchr-ifunc.c: Likewise.
6876 * string/test-memcmp-ifunc.c: Likewise.
6877 * string/test-memcpy-ifunc.c: Likewise.
6878 * string/test-memmem-ifunc.c: Likewise.
6879 * string/test-memmove-ifunc.c: Likewise.
6880 * string/test-mempcpy-ifunc.c: Likewise.
6881 * string/test-memset-ifunc.c: Likewise.
6882 * string/test-rawmemchr-ifunc.c: Likewise.
6883 * string/test-stpcpy-ifunc.c: Likewise.
6884 * string/test-stpncpy-ifunc.c: Likewise.
6885 * string/test-strcasecmp-ifunc.c: Likewise.
6886 * string/test-strcasestr-ifunc.c: Likewise.
6887 * string/test-strcat-ifunc.c: Likewise.
6888 * string/test-strchr-ifunc.c: Likewise.
6889 * string/test-strchrnul-ifunc.c: Likewise.
6890 * string/test-strcmp-ifunc.c: Likewise.
6891 * string/test-strcpy-ifunc.c: Likewise.
6892 * string/test-strcspn-ifunc.c: Likewise.
6893 * string/test-strlen-ifunc.c: Likewise.
6894 * string/test-strncasecmp-ifunc.c: Likewise.
6895 * string/test-strncat-ifunc.c: Likewise.
6896 * string/test-strncmp-ifunc.c: Likewise.
6897 * string/test-strncpy-ifunc.c: Likewise.
6898 * string/test-strnlen-ifunc.c: Likewise.
6899 * string/test-strpbrk-ifunc.c: Likewise.
6900 * string/test-strrchr-ifunc.c: Likewise.
6901 * string/test-strspn-ifunc.c: Likewise.
6902 * string/test-strstr-ifunc.c: Likewise.
6904 * debug/Makefile (tests-ifunc): New variable.
6905 (tests): Add $(tests-ifunc).
6906 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6907 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6908 * debug/test-stpcpy_chk-ifunc.c: New file.
6909 * debug/test-strcpy_chk-ifunc.c: Likewise.
6911 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6914 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6915 header is not read in.
6917 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6919 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6920 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6921 directly. Pass built executable to script as
6922 $(built-program-cmd).
6923 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6924 $testprogram without using LD_LIBRARY_PATH and $ldso.
6926 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6927 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6928 $(rtld-installed-name).
6929 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6930 (rtld_installed_name): Likewise.
6931 (library_path): Likewise.
6932 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6933 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6934 $(run-program-prefix) to tst-tables.sh.
6935 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6936 it to run tst-table-from and tst-table-to.
6937 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6938 Pass it to tst-table.sh.
6939 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6940 $(run-program-prefix) to tst-gettext.sh.
6941 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6943 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6945 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6947 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6948 to run tst-gettext2.
6949 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6950 to run tst-translit.
6951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6952 $(run-program-prefix) to tst-mtrace.sh.
6953 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6955 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6956 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6957 $(rtld-installed-name).
6958 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6959 (rtld_installed_name): Likewise.
6960 (run_program_prefix): New variable. Use it to run wordexp-test.
6962 * Makeconfig (ARCH): Remove all definitions.
6963 (machine): Likewise.
6964 [ARCH]: Remove conditional code.
6965 [!objdir]: Give error.
6966 [!objdir] (objpfx): Remove.
6967 [!objdir] (common-objpfx): Likewise.
6968 [!objdir] (common-objdir): Likewise.
6969 * configure.in (config_makefile): Remove. Hardcode Makefile in
6970 AC_CONFIG_FILES call.
6971 * configure: Regenerated.
6974 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6976 (testout): Likewise.
6978 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6979 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6980 $(rtld-installed-name).
6981 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6982 (rtld_installed_name): Likwise.
6983 (runit): Remove function.
6984 (run_getconf): New variable, Use it for running getconf binary.
6986 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6989 * string/test-memmem.c (check_result): New function.
6990 (do_one_test): Use it.
6991 (check1): New function.
6992 (test_main): Use it.
6994 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6996 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6998 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7000 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7001 (_G_LSEEK64): Likewise.
7002 (_G_MMAP64): Likewise.
7003 (_G_FSTAT64): Likewise.
7004 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7005 (_G_LSEEK64): Likewise.
7006 (_G_MMAP64): Likewise.
7007 (_G_FSTAT64): Likewise.
7008 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7009 unconditional. Call __mmap64 directly.
7010 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7011 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7013 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7014 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7016 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7017 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7019 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7020 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7022 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7023 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7025 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7026 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7027 __fxstat64 directly.
7028 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7029 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7031 (freopen64) [!_G_OPEN64]: Remove conditional code.
7032 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7034 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7035 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7037 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7038 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7040 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7041 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7043 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7044 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7046 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7047 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7049 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7050 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7052 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7054 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7057 * manual/memory.texi (Malloc Tunable Parameters): Add note
7058 about free list pointers overwriting some perturb bytes.
7059 Wording suggested by Roland McGrath.
7061 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7063 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7064 (lgamma_test): Likewise.
7065 (tgamma_test): Likewise.
7067 2012-10-16 Florian Weimer <fweimer@redhat.com>
7070 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7071 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7073 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7075 * NEWS: Mention BZ #14716.
7076 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7077 when removing AVAILABLE1_USES_J macro.
7079 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7081 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7082 (__bswap_64): __uint64_t for unsigned 64-bit int.
7084 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7086 * include/string.h (memmem): Declare libc hidden alias.
7087 * string/memmem.c (memmem): Define libc hidden alias.
7088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7089 __read, __close instead of open, read, close.
7091 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7094 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7096 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7097 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7098 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7100 (__rawmemchr_sse2): Likewise.
7101 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7102 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7103 (__strchr_sse2): Likewise.
7104 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7105 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7106 (__strcasecmp_sse2): Likewise.
7107 (__strncasecmp_sse2): Likewise.
7108 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7109 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7110 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7111 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7112 (__strrchr_sse2): Likewise.
7113 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7115 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7116 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7117 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7118 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7119 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7120 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7121 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7122 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7123 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7124 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7125 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7126 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7127 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7128 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7129 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7130 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7131 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7132 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7133 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7134 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7135 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7136 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7137 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7138 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7139 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7140 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7141 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7142 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7143 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7144 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7146 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7148 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7149 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7150 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7151 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7153 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7155 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7156 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7157 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7158 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7160 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7161 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7162 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7178 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7194 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7202 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7203 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7204 * include/ifunc-impl-list.h: New file.
7205 * misc/ifunc-impl-list.c: Likewise.
7206 * misc/Makefile (routines): Add ifunc-impl-list.
7207 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7208 * string/test-string.h: Include <ifunc-impl-list.h>.
7209 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7210 impl_array): New variables.
7211 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7213 (test_init): Call __libc_ifunc_impl_list to initialize
7214 func_list if TEST_IFUNC and TEST_NAME are defined.
7216 * string/Makefile (strop-tests): Add bcopy and bzero.
7217 * string/test-bcopy.c: New file.
7218 * string/test-bzero.c: Likewise.
7219 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7221 * string/test-memset.c: Support bzero test if TEST_BZERO is
7223 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7225 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7227 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7230 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7232 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7233 * configure: Regenerated.
7235 * Makeconfig (+link-static-before-libc): Don't include
7236 $(link-static-libc).
7238 * libio/libio.h (_IO_pos_t): Remove.
7240 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7242 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7245 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7247 * crypt/crypt-entry.c: Include fips-private.h.
7248 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7249 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7250 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7251 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7253 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7255 * crypt/crypt-private.h: Include stdbool.h.
7256 (_ufc_setup_salt_r): Return bool.
7257 * crypt/crypt-entry.c: Include errno.h.
7258 (__crypt_r): Return NULL with EINVAL for bad salt.
7259 * crypt/crypt_util.c (bad_for_salt): New.
7260 (_ufc_setup_salt_r): Check that salt is long enough and within
7261 the specified alphabet.
7262 * crypt/badsalttest.c: New file.
7263 * crypt/Makefile (tests): Add it.
7264 ($(objpfx)badsalttest): New.
7266 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7268 * NEWS: Add entry for BZ #14602.
7270 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7272 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7274 * math/libm-test.inc: Update comment listing what functions and
7276 (isgreater_test): New function.
7277 (isgreaterequal_test): Likewise.
7278 (isless_test): Likewise.
7279 (islessequal_test): Likewise.
7280 (islessgreater_test): Likewise.
7281 (isunordered_test): Likewise.
7282 (main): Call the new functions.
7284 2012-10-09 Roland McGrath <roland@hack.frob.com>
7286 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7287 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7288 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7289 * sysdeps/i386/configure: Regenerated.
7290 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7291 * sysdeps/mach/configure: Regenerated.
7292 * sysdeps/mach/hurd/configure: Regenerated.
7293 * sysdeps/powerpc/configure: Regenerated.
7294 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7295 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7296 * sysdeps/s390/s390-32/configure: Regenerated.
7297 * sysdeps/s390/s390-64/configure: Regenerated.
7298 * sysdeps/sh/configure: Regenerated.
7299 * sysdeps/sparc/configure: Regenerated.
7300 * sysdeps/unix/sysv/linux/configure: Regenerated.
7301 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7302 * sysdeps/x86_64/configure: Regenerated.
7304 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7305 defined. Don't check if MAP is NULL.
7307 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7309 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7310 (_G_stat64): Likewise.
7311 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7312 (_G_stat64): Likewise.
7313 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7314 instead of struct _G_stat64.
7315 * libio/fileops.c (mmap_remap_check): Likewise.
7316 (decide_maybe_mmap): Likewise.
7317 (_IO_new_file_seekoff): Likewise.
7318 (_IO_file_stat): Likewise.
7319 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7321 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7322 instead of struct _G_stat64.
7323 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7325 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7328 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7330 (CHECK_EOL): New macro.
7331 (two_way_short_needle): Check beginning of haystack for EOL. Use
7333 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7334 Replace with CHECK_EOL.
7335 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7336 Replace with CHECK_EOL.
7338 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7340 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7342 * math/libm-test.inc: Update comment listing what functions and
7344 (finite_test): New function.
7345 (isinf_test): Likewise.
7346 (isnan_test): Likewise.
7347 (fpclassify_test): Test subnormal input.
7348 (isfinite_test): Likewise.
7349 (isnormal_test): Likewise.
7350 (main): Call the new functions.
7352 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7355 * Makerules (%.dynsym): Force C locale when running
7356 $(OBJDUMP) --dynamic-syms.
7358 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7360 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7363 2012-10-06 David S. Miller <davem@davemloft.net>
7365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7366 upper 32-bits of the length value in %o2 since we use branch-on-register
7367 tests which consider the entire 64-bit register.
7369 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7371 * string/test-strstr.c (check2): Add a test for page boundary.
7373 2012-10-05 David S. Miller <davem@davemloft.net>
7375 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7376 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7378 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7381 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7382 and bzero when HWCAP_SPARC_CRYPTO is present.
7384 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7387 * string/test-strstr.c (check2): New function.
7388 (test_main): Call check2.
7390 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7392 * string/bug-strcasestr1.c (do_test): Moved to ...
7393 * string/test-strcasestr.c (check1): Here. New function.
7394 (do_one_test): Break out result checking code into ...
7395 (check_result): This. New function.
7396 (do_one_test): Call check_result.
7397 (test_main): Call check1.
7398 * string/bug-strchr1.c (do_test): Moved to ...
7399 * string/test-strchr.c (check1): Here. New function.
7400 (do_one_test): Break out result checking code into ...
7401 (check_result): This. New function.
7402 (do_one_test): Call check_result.
7403 (test_main): Call check1.
7404 * string/bug-strstr1.c (main): Moved to ...
7405 * string/test-strstr.c (check1): Here. New function.
7406 (do_one_test): Break out result checking code into ...
7407 (check_result): This. New function.
7408 (do_one_test): Call check_result.
7409 (test_main): Call check1.
7410 * string/bug-strcasestr1.c: Removed.
7411 * string/bug-strchr1.c: Likewise.
7412 * string/bug-strstr1.c: Likewise.
7414 * elf/Makefile (dl-routines): Add hwcaps.
7415 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7416 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7417 (_dl_important_hwcaps): Moved to ...
7418 * elf/dl-hwcaps.c: Here. New file.
7419 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7422 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7423 if IS_IN_rtld isn't defined.
7425 * elf/dl-support.c (_dl_sysinfo_map): New.
7426 Include "get-dynamic-info.h" and "setup-vdso.h".
7427 (_dl_non_dynamic_init): Call setup_vdso.
7428 * elf/dynamic-link.h: Don't include <assert.h>.
7429 (elf_get_dynamic_info): Moved to ...
7430 * elf/get-dynamic-info.h: Here. New file.
7431 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7432 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7433 * elf/setup-vdso.h: Here. New file.
7434 * elf/rtld.c: Include "setup-vdso.h".
7435 (dl_main): Call setup_vdso.
7437 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7439 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7440 creal in comment listing functions tested. List finite, isinf,
7441 isnan, isless, islessequal, isgreater, isgreaterequal,
7442 islessgreater, isunordered, lgamma_r and pow10 as functions and
7443 macros not tested. Mention which functions not tested are aliases
7444 for other functions. Fix typo. Note that signs of NaNs are not
7447 * scripts/config.guess: Update from config.git.
7448 * scripts/config.sub: Likewise.
7450 2012-10-04 Roland McGrath <roland@hack.frob.com>
7452 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7453 * misc/madvise.c (madvise): Renamed to __madvise.
7454 Make madvise a weak alias.
7455 * include/sys/mman.h: Declare __madvise.
7456 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7457 * sysdeps/unix/syscalls.list
7458 (madvise): Make __madvise the strong name, and madvise a weak alias.
7459 * sysdeps/unix/sysv/linux/syscalls.list
7460 (madvise, mmap): Remove redundant entries.
7461 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7462 * malloc/malloc.c (mtrim): Likewise.
7463 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7465 2012-10-03 Roland McGrath <roland@hack.frob.com>
7467 * sysdeps/mach/hurd/dl-cache.c: File removed.
7468 * config.h.in (USE_LDCONFIG): New #undef.
7469 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7470 * configure: Regenerated.
7471 * elf/Makefile (dl-routines): Add dl-cache only under
7472 [$(use-ldconfig) = yes].
7473 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7474 cache on [USE_LDCONFIG].
7475 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7477 * elf/rtld.c (dl_main): Likewise.
7479 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7481 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7482 _SC_LEVEL4_CACHE_LINESIZE.
7484 2012-10-03 Roland McGrath <roland@hack.frob.com>
7486 * sysdeps/unix/bsd/confstr.h: File removed.
7488 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7490 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7493 2012-10-02 Roland McGrath <roland@hack.frob.com>
7495 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7496 Make 'mapoff' field ElfW(Off) rather than off_t.
7498 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7500 * nscd/Makefile: Remove nscd-cflags and all its users.
7501 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7502 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7505 * malloc.c (malloc_printerr): Clarify error message.
7507 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7511 Set bit_FMA_Usable if FMA is supported.
7512 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7514 (bit_FMA4_Usable): Updated.
7515 (index_FMA_Usable): New macro.
7516 (CPUID_FMA): Likewise
7517 (HAS_FMA): Defined with bit_FMA_Usable.
7519 2012-10-01 Roland McGrath <roland@hack.frob.com>
7521 * bits/types.h (__swblk_t): Type removed.
7522 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7523 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7525 (__SWBLK_T_TYPE): Likewise.
7526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7527 (__SWBLK_T_TYPE): Likewise.
7528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7529 (__SWBLK_T_TYPE): Likewise.
7530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7531 (__SWBLK_T_TYPE): Likewise.
7533 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7534 Honza Horak <hhorak@redhat.com>
7536 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7537 (xdr_mapname): Use YPMAXMAP as maxsize.
7538 (xdr_peername): Use YPMAXPEER as maxsize.
7539 (xdr_keydat): Use YPAXRECORD as maxsize.
7540 (xdr_valdat): Use YPMAXRECORD as maxsize.
7542 2012-10-01 Roland McGrath <roland@hack.frob.com>
7544 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7546 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7547 * csu/init-first.c: ... here.
7548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7549 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7550 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7551 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7552 * sysdeps/i386/init-first.c: File removed.
7553 * sysdeps/sh/init-first.c: File removed.
7555 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7559 if x * y might underflow to zero and z is zero.
7560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7561 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7562 * math/libm-test.inc (min_subnorm_value): New variable.
7563 (fma_test): Add more tests.
7564 (fma_test_towardzero): Likewise.
7565 (fma_test_downward): Likewise
7566 (fma_test_upward): Likewise.
7567 (initialize): Set min_subnorm_value.
7569 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7575 mode for addition resulting in exact zero.
7576 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7581 * math/libm-test.inc (fma_test): Add more tests.
7582 (fma_test_towardzero): New function.
7583 (fma_test_downward): Likewise.
7584 (fma_test_upward): Likewise.
7585 (main): Call the new functions.
7587 2012-09-28 David S. Miller <davem@davemloft.net>
7589 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7591 2012-09-28 Roland McGrath <roland@hack.frob.com>
7593 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7596 * sysdeps/gnu/_G_config.h: Moved to ...
7597 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7598 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7599 * sysdeps/generic/_G_config.h: ... here.
7601 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7603 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7605 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7606 Conditionalize target on [libnss_test1.so-version].
7608 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7610 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7611 (elfobjdir): Move out of conditionals.
7613 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7614 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7615 (__nss_lookup_function): Conditionalize label remove_from_tree on
7616 [!DO_STATIC_NSS || SHARED], matching its only use.
7618 2012-09-28 David S. Miller <davem@davemloft.net>
7620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7623 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7625 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7627 when HWCAP_SPARC_CRYPTO is present.
7629 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7631 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7633 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7636 * stdio-common/vfprintf.c (process_string_arg): Revert
7639 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7641 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7643 * stdio-common/tst-sprintf.c: Include <locale.h>
7644 (main): Test sprintf's handling of incomplete multibyte
7647 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7649 * elf/dl-runtime.c (VERSYMIDX): Removed.
7650 * elf/dl-version.c (VERSYMIDX): Likewise.
7651 * elf/do-rel.h (VERSYMIDX): Likewise.
7653 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7654 * elf/rtld.c (VALIDX): Likewise.
7655 (ADDRIDX): Likewise.
7656 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7657 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7658 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7659 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7661 (ADDRIDX): Likewise.
7663 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7665 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7667 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7670 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7672 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7673 addresses are in the same scope as 192.0.2/24.
7674 * posix/gai.conf: Document new scope table defaults.
7676 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7679 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7680 for ftell. Compute offsets from write pointers instead.
7681 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7683 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7686 * libio/Makefile (tests): New test case tst-fseek.
7687 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7688 combination works in wide mode.
7689 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7690 state when the external buffer state changes.
7692 2012-09-27 David S. Miller <davem@davemloft.net>
7695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7696 pass reloc->r_addend in as the 'high' argument to
7697 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7701 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7703 * rt/tst-aio2.c: Include <pthread.h>.
7704 * rt/tst-aio3.c: Likewise.
7706 2012-09-27 Steve Ellcey <sellcey@mips.com>
7708 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7710 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7712 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7713 contents on [SHARED].
7715 2012-09-26 Marek Polacek <polacek@redhat.com>
7719 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7720 for C++ and GCC <4.3 as well as for non GCC compilers.
7722 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7726 2012-09-25 Roland McGrath <roland@hack.frob.com>
7728 * Makefile.in (all, install): Declare with .PHONY.
7729 Reported by Michael Hope <michael.hope@linaro.org>.
7731 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7733 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7734 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7736 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7738 (sydep_routines): Add the new and the internal functions.
7739 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7740 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7742 (GLIBC_2.17): Add the new function.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7744 (GLIBC_2.17): Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7746 (GLIBC_2.17): Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7748 (GLIBC_2.17): Likewise.
7749 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7751 2012-09-25 Alan Modra <amodra@gmail.com>
7753 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7754 Add release barrier before setting once_control to say
7755 initialisation is done. Add hints on lwarx. Use macro in
7757 (clear_once_control): Add release barrier.
7759 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7762 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7764 * math/s_clog10.c (__clog10): Likewise.
7765 * math/s_clog10f.c (__clog10f): Likewise.
7766 * math/s_clog10l.c (__clog10l): Likewise.
7767 * math/s_clogf.c (__clogf): Likewise.
7768 * math/s_clogl.c (__clogl): Likewise.
7769 * math/Makefile (libm-calls): Add x2y2m1.
7770 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7771 (__x2y2m1): Likewise.
7772 (__x2y2m1l): Likewise.
7773 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7774 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7779 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7784 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7785 int as type of variable DEPTH.
7786 (glob): Use size_t instead of int as type of variables NEWCOUNT
7789 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7791 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7793 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7794 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7795 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7796 macros for using routine as __sincosf_ia32.
7797 Use macro for function declaration and weak_alias.
7798 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7803 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7805 * math/s_cexpf.c (__cexpf): Likewise.
7806 * math/s_csinf.c (__csinf): Likewise.
7807 * math/s_csinhf.c (__csinhf): Likewise.
7808 * math/s_ctanf.c (__ctanf): Likewise.
7809 * math/s_ctanhf.c (__ctanhf): Likewise.
7810 * math/s_ccosh.c (__ccoshf): Likewise.
7811 * math/s_cexp.c (__cexpl): Likewise.
7812 * math/s_csin.c (__csin): Likewise.
7813 * math/s_csinh.c (__csinh): Likewise.
7814 * math/s_ctan.c (__ctan): Likewise.
7815 * math/s_ctanh.c (ctanh): Likewise.
7816 * math/s_ccoshl.c (__ccoshl): Likewise.
7817 * math/s_cexpl.c (__cexpl): Likewise.
7818 * math/s_csinl.c (__csinl): Likewise.
7819 * math/s_csinhl.c (__csinhl): Likewise.
7820 * math/s_ctanl.c (__ctanl): Likewise.
7821 * math/s_ctanhl.c (__ctanhl): Likewise.
7823 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7825 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7826 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7827 (_IO_off_t): Define to __off_t, not _G_off_t.
7828 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7829 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7830 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7831 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7832 type of __dummy and __dummy2 fields.
7833 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7834 (_G_ssize_t): Likewise.
7835 (_G_off_t): Likewise.
7836 (_G_pid_t): Likewise.
7837 (_G_uid_t): Likewise.
7838 (_G_wchar_t): Likewise.
7839 (_G_wint_t): Likewise.
7840 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7841 (_G_ssize_t): Likewise.
7842 (_G_off_t): Likewise.
7843 (_G_pid_t): Likewise.
7844 (_G_uid_t): Likewise.
7845 (_G_wchar_t): Likewise.
7846 (_G_wint_t): Likewise.
7847 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7848 (_G_ssize_t): Likewise.
7849 (_G_off_t): Likewise.
7850 (_G_pid_t): Likewise.
7851 (_G_uid_t): Likewise.
7852 (_G_wchar_t): Likewise.
7853 (_G_wint_t): Likewise.
7855 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * malloc/arena.c: Include malloc-sysdep.h.
7858 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7859 is sufficient to shrink the heap or an unmap is needed.
7860 * sysdeps/generic/malloc-sysdep.h: New file. Define
7861 new function check_may_shrink_heap.
7862 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7863 new function check_may_shrink_heap.
7865 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7867 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7870 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7872 * catgets/test-gencat.sh: Add "set -e".
7873 * elf/tst-pathopt.sh: Likewise.
7874 * grp/tst_fgetgrent.sh: Likewise.
7875 * iconvdata/run-iconv-test.sh: Likewise.
7876 * intl/tst-gettext.sh: Likewise.
7877 * intl/tst-gettext2.sh: Likewise.
7878 * intl/tst-gettext4.sh: Likewise.
7879 * intl/tst-gettext6.sh: Likewise.
7880 * intl/tst-translit.sh: Likewise.
7881 * io/ftwtest-sh: Likewise.
7882 * libio/test-freopen.sh: Likewise.
7883 * malloc/tst-mtrace.sh: Likewise.
7884 * posix/globtest.sh: Likewise.
7885 * posix/tst-getconf.sh: Likewise.
7886 * posix/wordexp-tst.sh: Likewise.
7887 * stdio-common/tst-printf.sh: Likewise.
7888 * stdio-common/tst-unbputc.sh: Likewise.
7889 * stdlib/tst-fmtmsg.sh: Likewise.
7890 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7891 * catgets/Makefile: Do not specify -e option when running
7892 testsuite shell scripts.
7893 * elf/Makefile: Likewise.
7894 * grp/Makefile: Likewise.
7895 * iconvdata/Makefile: Likewise.
7896 * intl/Makefile: Likewise.
7897 * io/Makefile: Likewise.
7898 * libio/Makefile: Likewise.
7899 * malloc/Makefile: Likewise.
7900 * posix/Makefile: Likewise.
7901 * stdio-common/Makefile: Likewise.
7902 * stdlib/Makefile: Likewise.
7903 * sysdeps/x86_64/Makefile: Likewise.
7905 * io/ftwtest-sh: Add copyright header.
7906 * posix/globtest.sh: Likewise.
7907 * posix/tst-getconf.sh: Likewise.
7908 * posix/wordexp-tst.sh: Likewise.
7909 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7911 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7914 * Makeconfig (+link): Defined as $(+link-static) if
7915 $(build-shared) isn't yes.
7916 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7918 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7920 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7923 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7924 new chunk size with MALLOC_ALIGN_MASK.
7926 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7929 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7931 (__printf_fphex): Determine rounding using get_rounding_mode and
7933 * stdio-common/tst-printf-round.c (struct hex_test): New
7935 (hex_tests): New variable.
7936 (test_hex_in_one_mode): New function.
7937 (do_test): Also run tests for hex float output.
7939 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7941 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7942 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7943 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7944 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7945 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7946 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7947 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7948 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7950 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7952 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7953 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7954 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7955 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7957 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7960 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7962 * elf/tst-rtld-load-self.sh: New test.
7963 * elf/Makefile: Run it.
7965 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7967 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7968 (tst-writev-ENV): Remove.
7969 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7971 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7973 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7975 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7977 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7979 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7981 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7982 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7983 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7986 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7989 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7990 * config.make.in (have-cpp-asm-debuginfo): Removed.
7991 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7992 * configure: Regenerated.
7994 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7997 * stdio-common/printf_fp.c: Include <stdbool.h> and
7999 (___printf_fp): Determine rounding using get_rounding_mode and
8001 * stdio-common/tst-printf-round.c: New file.
8002 * stdio-common/Makefile (tests): Add tst-printf-round.
8003 (link-libm): New variable.
8004 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8006 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8009 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8010 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8012 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8015 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8017 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8018 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8019 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8022 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8025 * include/rounding-mode.h: New file.
8026 * sysdeps/generic/get-rounding-mode.h: Likewise.
8027 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8028 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8029 (MAX_VALUE): New macro.
8030 (MIN_VALUE): Likewise.
8031 (overflow_value): New function.
8032 (underflow_value): Likewise.
8033 (round_and_return): Use overflow_value and underflow_value to
8034 determine return values in overflow and underflow cases. Use
8035 round_away to determine rounding depending on rounding mode.
8036 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8037 determine return values in overflow and underflow cases.
8038 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8039 (struct test_results): New structure.
8040 (struct test): Use struct test_results to store expected results
8041 for all rounding modes.
8042 (TEST): Include expected results for all rounding modes.
8043 (test_in_one_mode): New function.
8044 (do_test): Use test_in_one_mode to compute and check results.
8045 Check results for all rounding modes.
8046 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8049 2012-12-09 Allan McRae <allan@archlinux.org>
8051 * sysdeps/i386/fpu/libm-test-ulps: Update
8053 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8055 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8056 (_G_int32_t): Likewise.
8057 (_G_uint16_t): Likewise.
8058 (_G_uint32_t): Likewise.
8059 (_G_HAVE_BOOL): Likewise.
8060 (_G_HAVE_ATEXIT): Likewise.
8061 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8062 (_G_HAVE_IO_FILE_OPEN): Likewise.
8063 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8064 (_G_int32_t): Likewise.
8065 (_G_uint16_t): Likewise.
8066 (_G_uint32_t): Likewise.
8067 (_G_HAVE_BOOL): Likewise.
8068 (_G_HAVE_ATEXIT): Likewise.
8069 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8070 (_G_HAVE_IO_FILE_OPEN): Likewise.
8071 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8072 (_G_int32_t): Likewise.
8073 (_G_uint16_t): Likewise.
8074 (_G_uint32_t): Likewise.
8075 (_G_HAVE_BOOL): Likewise.
8076 (_G_HAVE_ATEXIT): Likewise.
8077 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8078 (_G_HAVE_IO_FILE_OPEN): Likewise.
8080 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8082 * csu/libc-tls.c: Update copyright years.
8084 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8086 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8087 [!_G_USING_THUNKS]: Remove conditional code.
8088 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8089 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8091 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8092 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8093 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8094 (_G_VTABLE_LABEL_PREFIX): Likewise.
8095 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8096 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8097 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8098 (_G_VTABLE_LABEL_PREFIX): Likewise.
8099 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8100 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8101 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8102 (_G_VTABLE_LABEL_PREFIX): Likewise.
8103 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8105 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8107 * libio/Makefile: Include ../Makeconfig before tests.
8108 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8109 only if $(build-shared) is yes.
8111 * iconv/gconv_db.c: Update copyright years.
8113 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8115 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8116 unwind info if defined PIC. Fix special cases description.
8117 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8119 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8121 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8123 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8125 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8127 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8130 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8131 (LDLIBS-tst-chk4): This.
8132 (LDFLAGS-tst-chk5): Renamed to ...
8133 (LDLIBS-tst-chk5): This.
8134 (LDFLAGS-tst-chk6): Renamed to ...
8135 (LDLIBS-tst-chk6): This.
8136 (LDFLAGS-tst-lfschk4): Renamed to ...
8137 (LDLIBS-tst-lfschk4): This.
8138 (LDFLAGS-tst-lfschk5): Renamed to ...
8139 (LDLIBS-tst-lfschk5): This.
8140 (LDFLAGS-tst-lfschk6): Renamed to ...
8141 (LDLIBS-tst-lfschk6): This.
8143 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8144 on $(common-objpfx)soversions.mk.
8146 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8149 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8152 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8154 * malloc/arena.c (arena_get_retry): New function that gets
8155 another arena for the caller to try its request on.
8156 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8157 current arena cannot fulfill the request.
8158 (__libc_memalign): Likewise.
8159 (__libc_memalign): Likewise.
8160 (__libc_pvalloc): Likewise.
8161 (__libc_calloc): Likewise.
8163 2012-09-05 John Tobey <john.tobey@gmail.com>
8166 * manual/arith.texi (Operations on Complex): Fix description
8169 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8172 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8176 * manual/memory.texi (Memory): Make order of menu items match
8179 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8181 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8182 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8183 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8185 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8187 * csu/libc-tls.c (static_dtv): Renamed to ...
8188 (_dl_static_dtv): This. Make it global.
8189 (_dl_initial_dtv): Removed.
8190 (__libc_setup_tls): Updated.
8191 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8192 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8195 2012-09-06 Petr Machata <pmachata@redhat.com>
8197 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8198 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8199 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8200 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8202 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8205 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8206 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8209 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8212 * Makeconfig (link-static-before-libc): Replace $(+prector)
8214 (link-static-after-libc): Replace $(+postctor) with
8216 (link-bounded): Replace $(+prector)/$(+postctor) with
8217 $(+prectorT)/$(+postctorT).
8218 (+prectorT): New macro.
8219 (+postctorT): Likewise.
8221 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8223 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8224 (round_str): Handle values above the maximum for IBM long double
8226 * stdlib/tst-strtod-round.c (tests): Regenerated.
8228 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8230 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8232 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8233 zarch_nohighgprs around the zarch optimized routines.
8234 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8235 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8239 2012-09-05 David S. Miller <davem@davemloft.net>
8241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8243 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8244 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8245 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8246 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8249 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8251 * malloc/arena.c: Fold copyright years.
8252 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8254 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8256 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8258 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8260 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8262 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8264 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8265 change internal state upon failure.
8267 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8269 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8270 * malloc/memusage.c (mmap): Likewise.
8271 (mmap64, mremap): Likewise. Adjust name in comment.
8273 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8275 * libio/fileops.c: Fix typos in comments.
8276 * libio/oldfileops.c: Likewise.
8277 * libio/wfileops.c: Likewise.
8279 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8282 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8283 (tst-malloc-usable-ENV): Set environment for test case.
8284 * malloc/hooks.c (malloc_check_get_size): New function to get
8286 * malloc/malloc.c (musable): Use malloc_check_get_size.
8287 * malloc/tst-malloc-usable.c: New test case.
8289 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8291 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8293 2012-09-05 Allan McRae <allan@archlinux.org>
8296 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8297 determine header location.
8298 * configure: Regenerated.
8300 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8302 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8304 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8305 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8309 2012-09-04 David S. Miller <davem@davemloft.net>
8311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8313 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8315 2012-09-04 Florian Weimer <fweimer@redhat.com>
8317 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8320 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8322 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8325 * libio/iogetdelim.c: Include <limits.h>.
8326 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8327 + len + 1 would overflow.
8329 2012-09-03 Andreas Jaeger <aj@suse.de>
8331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8332 * sysdeps/i386/fpu/libm-test-ulps: Update.
8334 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8336 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8337 Add s_sinf-sse2, s_conf-sse2.
8339 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8340 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8341 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8342 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8344 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8345 for using routine as __sinf_ia32.
8346 Use macro for function declaration and weak_alias.
8347 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8348 for using routine as __cosf_ia32.
8349 Use macro for function declaration and weak_alias.
8351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8352 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8354 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8355 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8358 * math/libm-test.inc (cos_test): Add more test cases.
8359 (sin_test): Likewise.
8360 (sincos_test): Likewise.
8362 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8365 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8369 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8372 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8373 first element of the GOT.
8374 (elf_machine_load_address): Return the difference between
8375 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8377 2012-09-01 Allan McRae <allan@archlinux.org>
8380 * configure.in (AWK): Require gawk version 3.0 or later.
8381 * configure: Regenerated.
8383 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8385 * sysdeps/unix/sysv/linux/kernel-features.h
8386 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8388 [__NR_clock_getres]: Make code unconditional.
8389 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8390 (clock_getcpuclockid): Remove code left unreachable by removal of
8392 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8394 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8395 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8397 Make code unconditional.
8398 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8399 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8400 * sysdeps/unix/sysv/linux/clock_settime.c
8401 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8403 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8404 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8406 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8409 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8410 scripts/test-installation.pl.
8412 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8413 and $ld_so_version if it is set.
8415 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8419 failure if reading from procfs failed.
8420 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8422 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8424 * sysdeps/unix/sysv/linux/kernel-features.h
8425 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8426 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8427 Remove conditional code.
8428 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8429 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8430 Remove conditional code.
8431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8432 * sysdeps/unix/sysv/linux/i386/fxstat.c
8433 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8436 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8438 * sysdeps/unix/sysv/linux/i386/lxstat.c
8439 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8441 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8442 Remove conditional code.
8443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8444 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8445 Remove conditional code.
8446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8448 <kernel-features.h>.
8449 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8451 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8452 Remove conditional code.
8453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8454 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8457 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8460 * NEWS: Add fixed bug number.
8462 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8465 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8466 underflowing exponent in case of negative sign.
8467 * stdlib/tst-strtod-round-data: Add more tests.
8468 * stdlib/tst-strtod-round.c (tests): Regenerated.
8471 * stdlib/strtod_l.c (NDIG): Remove.
8472 (HEXNDIG): Likewise.
8473 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8474 smallest representable value.
8475 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8476 lie within an exact representation of 1/2 ulp of the result.
8477 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8479 (TENS_P9_IDX): Define unconditionally.
8480 (TENS_P9_SIZE): Likewise.
8481 (TENS_P10_IDX): Likewise.
8482 (TENS_P10_SIZE): Likewise.
8483 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8484 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8485 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8486 entries for 10^2^13 and 10^2^14.
8487 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8488 (TENS_P13_IDX): Define.
8489 (TENS_P13_SIZE): Likewise.
8490 (TENS_P14_IDX): Likewise.
8491 (TENS_P14_SIZE): Likewise.
8492 (_fpioconst_pow10): Change array size to
8493 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8495 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8496 1024]: Add entries for 10^2^13 and 10^2^14.
8497 [LAST_POW10 > _LAST_POW10]: Remove #error.
8498 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8499 (_fpioconst_pow10): Change array size to
8500 FPIOCONST_POW10_ARRAY_SIZE.
8501 * stdlib/gen-fpioconst.c: New file.
8502 * stdlib/gen-tst-strtod-round.c: Likewise.
8503 * stdlib/tst-strtod-round-data: Likewise.
8504 * stdlib/tst-strtod-round.c: Likewise.
8505 * stdlib/Makefile (tests): Add tst-strtod-round.
8508 * stdlib/strtod_l.c: Include <stdint.h>.
8509 (NDEBUG): Do not define.
8510 (round_and_return): Change EXPONENT parameter to type intmax_t.
8511 Rearrange calculations to avoid internal overflow possibilities.
8512 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8513 Rearrange calculations to avoid internal overflow possibilities.
8514 Assert that number fits inside MPNSIZE limbs.
8515 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8516 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8517 calculations and add assertions to avoid internal overflow
8518 possibilities. Add casts to avoid signed/unsigned operations.
8519 * stdlib/tst-strtod-overflow.c: New file.
8520 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8522 2012-08-25 Marek Polacek <polacek@redhat.com>
8524 * time/time.h: Fix some typos in comments.
8526 2012-08-23 Roland McGrath <roland@hack.frob.com>
8528 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8529 * posix/tst-rfc3484-2.c: Likewise.
8530 * posix/tst-rfc3484-3.c: Likewise.
8532 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8534 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8535 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8537 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8539 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8540 #include of fxstatat64.c.
8542 2012-08-22 Roland McGrath <roland@hack.frob.com>
8544 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8545 * shadow/getspent_r.c: Likewise.
8546 * shadow/getspnam.c: Likewise.
8547 * shadow/getspnam_r.c: Likewise.
8548 * gshadow/getsgent.c: Likewise.
8549 * gshadow/getsgent_r.c: Likewise.
8550 * gshadow/getsgnam.c: Likewise.
8551 * gshadow/getsgnam_r.c: Likewise.
8552 * inet/getnetbyad.c: Likewise.
8553 * inet/getnetbyad_r.c: Likewise.
8554 * inet/getnetbynm.c: Likewise.
8555 * inet/getnetbynm_r.c: Likewise.
8556 * inet/getnetent.c: Likewise.
8557 * inet/getnetent_r.c: Likewise.
8558 * inet/getproto.c: Likewise.
8559 * inet/getproto_r.c: Likewise.
8560 * inet/getprtent.c: Likewise.
8561 * inet/getprtent_r.c: Likewise.
8562 * inet/getprtname.c: Likewise.
8563 * inet/getprtname_r.c: Likewise.
8564 * inet/getrpcbyname.c: Likewise.
8565 * inet/getrpcbyname_r.c: Likewise.
8566 * inet/getrpcbynumber.c: Likewise.
8567 * inet/getrpcbynumber_r.c: Likewise.
8568 * inet/getrpcent.c: Likewise.
8569 * inet/getrpcent_r.c: Likewise.
8570 * inet/getaliasent.c: Likewise.
8571 * inet/getaliasent_r.c: Likewise.
8572 * inet/getaliasname.c: Likewise.
8573 * inet/getaliasname_r.c: Likewise.
8574 * nscd/getgrgid_r.c: Likewise.
8575 * nscd/getgrnam_r.c: Likewise.
8576 * nscd/gethstbyad_r.c: Likewise.
8577 * nscd/gethstbynm3_r.c: Likewise.
8578 * nscd/getpwnam_r.c: Likewise.
8579 * nscd/getpwuid_r.c: Likewise.
8580 * nscd/getsrvbynm_r.c: Likewise.
8581 * nscd/getsrvbypt_r.c: Likewise.
8582 * nscd/gai.c: Likewise.
8584 * configure.in (build_nscd): New substituted variable, set
8585 by --disable-build-nscd and defaults to $use_nscd.
8586 * configure: Regenerated.
8587 * config.make.in (build-nscd): New substituted variable.
8588 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8589 Change conditional to require [$(build-nscd) = yes] as well.
8590 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8593 * configure.in (use_nscd): New substituted variable, set by
8594 --disable-nscd. If enabled, define USE_NSCD.
8595 * configure: Regenerated.
8596 * config.h.in: Add USE_NSCD.
8597 * config.make.in (use-nscd): New substituted variable.
8598 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8599 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8600 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8601 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8602 (CFLAGS-getgrnam_r.c): Likewise.
8603 (CFLAGS-initgroups.c): Likewise.
8604 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8605 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8607 * inet/getnetgrent_r.c
8608 (nscd_setnetgrent): New function, broken out of ...
8609 (setnetgrent): ... here. Call it.
8610 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8611 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8612 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8613 * nscd/Makefile (routines, aux): Move definitions after include of
8614 Makeconfig. Conditionalize on [$(use-nscd) != no].
8615 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8616 Conditionalize on [USE_NSCD].
8617 (is_nscd, nscd_init_cb): Likewise.
8618 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8619 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8620 * nss/nss_db/db-init.c: Likewise.
8621 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8623 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8624 (make_request): Use it.
8625 (cache_valid_p): New function.
8626 (__check_pf): Use it.
8627 * NEWS: Add item for --disable-nscd.
8629 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8631 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8632 to support sed >= 4.2.1-20-ga9bf076.
8633 * configure: Regenerated.
8635 2012-08-22 Roland McGrath <roland@hack.frob.com>
8637 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8638 Conditionalize whole body on [IREL].
8640 2012-08-22 Jeff Law <law@redhat.com>
8643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8644 if the family is PF_UNSPEC.
8646 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8648 * Makerules (lib-version): Rename from V.
8649 (install-lib-nosubdir): Change V to lib-version.
8651 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8654 * powerpc32/power6/wcschr.c: New file.
8655 * powerpc32/power6/wcscpy.c: New file.
8656 * powerpc32/power6/wcsrchr.c: New file.
8657 * powerpc64/power6/wcschr.c: New file.
8658 * powerpc64/power6/wcscpy.c: New file.
8659 * powerpc64/power6/wcsrchr.c: New file.
8661 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8663 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8664 (two_way_short_needle): Use it.
8665 * string/strstr.c (AVAILABLE1_USES_J): Define.
8666 * string/strcasestr.c: Likewise.
8668 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8670 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8673 * NEWS: Add an entry.
8674 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8675 define their defaults.
8676 (two_way_short_needle): Detect end-of-string on-the-fly.
8677 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8678 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8679 * string/bug-strcasestr1.c: New test.
8680 * string/Makefile: Run it.
8682 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8685 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8686 the first character.
8688 2012-08-21 Roland McGrath <roland@hack.frob.com>
8690 * csu/elf-init.c (__libc_csu_irel): Function removed.
8691 * csu/libc-start.c (apply_irel): New function.
8692 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8694 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8696 * sysdeps/unix/sysv/linux/kernel-features.h
8697 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8698 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8699 <kernel-features.h>.
8700 [__NR_fadvise64_64]: Make code unconditional.
8701 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8702 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8703 !__NR_fadvise64_64)]: Likewise.
8704 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8705 !__NR_fadvise64_64))]: Likewise.
8706 [__NR_fadvise64]: Make code unconditional.
8707 [!__NR_fadvise64]: Remove conditional code.
8708 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8709 <kernel-features.h>.
8710 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8712 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8715 not include <kernel-features.h>.
8716 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8718 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8720 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8721 include <kernel-features.h>.
8722 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8724 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8727 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8730 slight instruction rearrangements per scrollpipe analysis.
8731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8733 2012-08-20 Roland McGrath <roland@hack.frob.com>
8735 * manual/syslog.texi (syslog; vsyslog, closelog):
8736 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8737 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8739 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8740 DSOCAPS to match condition on defining it.
8742 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8744 * sysdeps/unix/sysv/linux/kernel-features.h
8745 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8747 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8748 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8750 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8751 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8753 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8754 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8756 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8757 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8759 * sysdeps/unix/sysv/linux/kernel-features.h
8760 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8761 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8763 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8764 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8765 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8766 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8767 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8768 Make code unconditional.
8769 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8770 (__mmap64) [!__NR_mmap2]: Likewise.
8771 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8772 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8773 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8774 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8775 [__NR_mmap2]: Make code unconditional.
8776 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8777 (__mmap64) [!__NR_mmap2]: Likewise.
8779 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8781 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8783 2012-08-18 Andreas Jaeger <aj@suse.de>
8785 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8787 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8789 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8790 * include/unistd.h (__have_sock_cloexec): Likewise.
8791 (__have_pipe2): Likewise.
8792 (__have_dup3): Likewise.
8794 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8797 * include/unistd.h (__have_pipe2): Change define into an extern int.
8798 (__have_dup3): Likewise.
8799 * socket/have_sock_cloexec.c: Include fcntl.h.
8800 (__have_pipe2): New variable.
8801 (__have_dup3): Likewise.
8803 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8805 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8807 2012-08-17 Marek Polacek <polacek@redhat.com>
8809 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8810 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8812 2012-08-17 Roland McGrath <roland@hack.frob.com>
8814 * configure.in: Add AC_SUBST for sysheaders.
8815 * configure: Regenerated.
8816 * config.make.in (sysheaders): New substituted variable.
8818 * sysdeps/unix/mkfifo.c: Moved ...
8819 * sysdeps/posix/mkfifo.c: ... here.
8820 * sysdeps/unix/mkfifoat.c: Moved ...
8821 * sysdeps/posix/mkfifoat.c: ... here.
8823 * sysdeps/unix/utime.c: Moved ...
8824 * sysdeps/posix/utime.c: ... here.
8826 * sysdeps/unix/time.c: Moved ...
8827 * sysdeps/posix/time.c: ... here.
8828 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8831 * sysdeps/unix/nice.c: Moved ...
8832 * sysdeps/posix/nice.c: ... here.
8834 * sysdeps/unix/alarm.c: Moved ...
8835 * sysdeps/posix/alarm.c: ... here.
8837 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8839 2012-08-17 Jeff Law <law@redhat.com>
8841 * intl/Makefile (codeset_mo): New variable.
8842 ($(codeset_mo)): New target.
8843 (tst-codeset.out): Depend on that. Remove explicit rule.
8844 (tst-gettext3.out, tst-gettext5.out): Likewise.
8845 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8846 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8847 * intl/tst-codeset.sh: Remove.
8848 * intl/tst-gettext3.sh: Likewise.
8849 * intl/tst-gettext5.sh: Likewise.
8851 2012-08-17 Roland McGrath <roland@hack.frob.com>
8853 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8854 * sysdeps/unix/syscalls.list: ... here.
8856 * sysdeps/posix/getaddrinfo.c
8857 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8858 (gaiconf_init, gaiconf_reload): Use them.
8860 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8861 Define using time_t rather than struct timespec.
8863 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8864 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8866 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8868 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8869 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8872 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8873 __libc_cleanup_push argument.
8875 * bits/param.h: New file.
8876 * misc/sys/param.h: New file.
8877 * include/sys/param.h: New file.
8878 * misc/Makefile (headers): Add bits/param.h.
8879 * sysdeps/generic/sys/param.h: File removed.
8880 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8881 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8882 * sysdeps/mach/hurd/bits/param.h: New file.
8883 * sysdeps/mach/hurd/sys/param.h: File removed.
8885 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8888 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8890 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8891 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8894 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8895 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8896 rather than -D_IO_MTSAFE_IO conditionally.
8897 * stdio-common/Makefile (CPPFLAGS): Likewise.
8898 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8899 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8900 Use $(libio-mtsafe).
8901 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8903 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8904 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8905 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8906 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8907 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8908 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8909 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8910 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8911 (CFLAGS-fread_u_chk.c): Likewise.
8912 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8913 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8914 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8915 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8916 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8917 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8918 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8919 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8920 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8922 * libio/Makefile: Test [$(libc-reentrant) = yes]
8923 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8926 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8927 * sysdeps/pthread/configure: File removed.
8928 * sysdeps/pthread/Makeconfig: New file.
8929 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8930 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8932 2012-08-16 Gary Benson <gbenson@redhat.com>
8934 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8935 unmapping the first object in a namespace.
8937 2012-08-16 Roland McGrath <roland@hack.frob.com>
8939 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8940 (__internal_setnetgrent): ... this. Add internal_function to
8941 definition. Add libc_hidden_def.
8942 (setnetgrent): Update caller.
8943 (internal_endnetgrent): Renamed to ...
8944 (__internal_endnetgrent): ... this. Add internal_function to
8945 definition. Add libc_hidden_def.
8946 (endnetgrent): Update caller.
8947 (internal_getnetgrent_r): Renamed to ...
8948 (__internal_getnetgrent_r): ... this. Add internal_function to
8949 definition. Add libc_hidden_def.
8950 (__getnetgrent_r): Update caller.
8951 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8953 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8955 * stdlib/longlong.h: Update from GCC.
8957 2012-08-16 Roland McGrath <roland@hack.frob.com>
8959 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8960 on _QL, which is set by umul_ppmm but never used.
8961 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8962 variables, which are set by GMP macros but never used.
8963 * stdio-common/_itowa.c (_itowa): Likewise.
8964 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8965 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8967 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8969 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8970 struct La_sh_regs is not constant.
8971 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8972 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8973 and struct La_sparc64_regs are not constant.
8975 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8977 * sysdeps/unix/sysv/linux/kernel-features.h
8978 (__ASSUME_POSIX_TIMERS): Remove.
8979 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8980 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8981 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8982 Make code unconditional.
8983 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8984 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8985 Make code unconditional.
8986 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8987 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8988 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8989 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8990 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8991 Make code unconditional.
8992 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8993 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8994 (__libc_missing_posix_timers): Remove.
8996 2012-08-15 Roland McGrath <roland@hack.frob.com>
8998 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8999 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9001 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9003 * elf/dl-sym.c: Include <stdlib.h>.
9005 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9006 constants, which avoids warnings in 32-bit builds.
9008 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9009 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9011 * misc/lseek.c: File moved to ...
9012 * io/lseek.c: ... here.
9014 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9016 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9017 shifting LEN more than 31 bits at once.
9019 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9022 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9023 segmentation fault for a case of two empty input strings.
9024 * string/test-strncasecmp.c (check1): Renamed to...
9026 (bz14195): Add new testcase for two empty input strings and N > 0.
9027 (test_main): Call new testcase, adapt for renamed function.
9029 2012-08-15 Andreas Jaeger <aj@suse.de>
9032 * crypt/md5test2.c: New test, based on test supplied by Serge
9033 Belyshev <belyshev@depni.sinp.msu.ru>.
9034 * crypt/Makefile (xtests): Add md5test-giant..
9035 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9037 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9040 * crypt/md5.c (md5_process_block): Don't assume the buffer
9041 length is less than 2**32.
9042 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9043 length is less than 2**64.
9045 2012-08-15 Roland McGrath <roland@hack.frob.com>
9047 * string/str-two-way.h: Include <sys/param.h>.
9048 (MAX): Macro removed.
9050 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9051 Move #define and #undef of memmove to just before and after
9052 including <string.h>.
9054 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9055 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9056 and after including <string.h>. Move declarations of
9057 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9058 to before #include "string/memmove.c".
9060 * include/dirent.h: Declare __getdirentries.
9062 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9063 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9065 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9067 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9068 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9069 * sysdeps/i386/configure: Regenerated.
9070 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9071 STABS_CURRENT_FILE, and STABS_FUN.
9072 (END): Remove call to STABS_FUN_END.
9073 (STABS_CURRENT_FILE1): Delete.
9074 (STABS_CURRENT_FILE): Likewise.
9075 (STABS_FUN): Likewise.
9076 (STABS_FUN_END): Likewise.
9077 (STABS_FUN2): Likewise.
9078 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9079 * sysdeps/x86_64/configure: Regenerated.
9081 2012-08-14 Roland McGrath <roland@hack.frob.com>
9083 * elf/dl-open.c: Include <atomic.h>.
9084 * elf/dl-lookup.c: Likewise.
9086 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9088 * sysdeps/unix/sysv/linux/kernel-features.h
9089 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9090 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9092 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9094 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9095 condition on __ASSUME_CLONE_THREAD_FLAGS.
9097 2012-08-14 Andreas Jaeger <aj@suse.de>
9099 * sysdeps/i386/fpu/libm-test-ulps: Update.
9101 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9103 * include/atomic.h (atomic_exchange_and_add): Split into ...
9104 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9107 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9111 2012-08-13 Jeff Law <law@redhat.com>
9113 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9114 null byte in the output string.
9116 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9118 * sysdeps/unix/sysv/linux/kernel-features.h
9119 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9120 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9121 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9122 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9123 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9124 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9125 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9127 2012-08-09 Jeff Law <law@redhat.com>
9130 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9131 When avoid_arena is set, don't retry in the that arena. Pick the
9132 next one, whatever it might be.
9133 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9134 (arena_lock): Pass in new parameter to arena_get2.
9135 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9137 (__libc_malloc): Unify retrying after main arena failure with
9138 __libc_memalign version.
9139 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9141 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9144 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9145 to __redirect_strstr.
9146 (__strstr_sse42): Use typeof __redirect_strstr.
9147 (__strstr_ia32): Likewise.
9148 (__libc_strstr): New prototype.
9149 (strstr): Renamed to ...
9150 (__libc_strstr): This.
9151 (strstr): New strong alias of __libc_strstr.
9152 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9153 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9156 (__libc_time): New prototype.
9157 (time_ifunc): Replace time with __libc_time.
9158 (time): New strong alias and hidden definition of __libc_time.
9159 (__GI_time): Remove strong alias.
9160 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9162 (memmove): Redefined to __redirect_memmove.
9163 (__memmove_sse2): Use typeof __redirect_memmove.
9164 (__memmove_ssse3): Likewise.
9165 (__memmove_ssse3_back): Likewise.
9166 (__libc_memmove): New prototype.
9167 (memmove): Renamed to ...
9168 (__libc_memmove): This.
9169 (memmove): New strong alias of __libc_memmove.
9171 2012-08-08 Mark Salter <msalter@redhat.com>
9174 (R_MN10300_TLS_GD): Define.
9175 (R_MN10300_TLS_LD): Likewise.
9176 (R_MN10300_TLS_LDO): Likewise.
9177 (R_MN10300_TLS_GOTIE): Likewise.
9178 (R_MN10300_TLS_IE): Likewise.
9179 (R_MN10300_TLS_LE): Likewise.
9180 (R_MN10300_TLS_DTPMOD): Likewise.
9181 (R_MN10300_TLS_DTPOFF): Likewise.
9182 (R_MN10300_TLS_TPOFF): Likewise.
9183 (R_MN10300_SYM_DIFF): Likewise.
9184 (R_MN10300_ALIGN): Likewise.
9185 (R_MN10300_NUM): Update.
9187 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9192 2012-08-08 Roland McGrath <roland@hack.frob.com>
9194 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9196 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9197 sysdeps/unix -> sysdeps/posix move.
9198 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9200 2012-08-07 Allan McRae <allan@archlinux.org>
9203 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9204 (SUNOS_CPP): Likewise.
9205 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9207 (open_input): Call CPP using execvp.
9209 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9211 * sysdeps/unix/sysv/linux/kernel-features.h
9212 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9213 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9214 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9215 (__ASSUME_WAITID_SYSCALL): Likewise.
9216 * sysdeps/unix/sysv/linux/dl-execstack.c
9217 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9219 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9221 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9222 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9223 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9225 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9227 [__ASSUME_WAITID_SYSCALL]: Likewise.
9228 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9230 2012-08-07 Roland McGrath <roland@hack.frob.com>
9232 * sysdeps/unix/closedir.c: Renamed to ...
9233 * sysdeps/posix/closedir.c: ... here.
9234 * sysdeps/unix/dirfd.c: Renamed to ...
9235 * sysdeps/posix/dirfd.c: ... here.
9236 * sysdeps/unix/dirstream.h: Renamed to ...
9237 * sysdeps/posix/dirstream.h: ... here.
9238 * sysdeps/unix/fdopendir.c: Renamed to ...
9239 * sysdeps/posix/fdopendir.c: ... here.
9240 * sysdeps/unix/opendir.c: Renamed to ...
9241 * sysdeps/posix/opendir.c: ... here.
9242 * sysdeps/unix/readdir.c: Renamed to ...
9243 * sysdeps/posix/readdir.c: ... here.
9244 * sysdeps/unix/readdir_r.c: Renamed to ...
9245 * sysdeps/posix/readdir_r.c: ... here.
9246 * sysdeps/unix/rewinddir.c: Renamed to ...
9247 * sysdeps/posix/rewinddir.c: ... here.
9248 * sysdeps/unix/seekdir.c: Renamed to ...
9249 * sysdeps/posix/seekdir.c: ... here.
9250 * sysdeps/unix/telldir.c: Renamed to ...
9251 * sysdeps/posix/telldir.c: ... here.
9252 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9253 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9254 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9255 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9257 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9258 * bits/fcntl.h: ... here.
9260 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9262 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9263 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9264 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9265 (struct flock): Move l_start, l_len to the beginning.
9266 Use __pid_t for l_pid.
9267 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9268 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9269 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9270 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9271 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9272 [__USE_LARGEFILE64] (struct flock64): New type.
9273 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9275 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9276 * bits/dirent.h: ... here.
9278 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9279 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9281 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9284 Change from 2.6.0 to 2.6.16.
9285 * sysdeps/unix/sysv/linux/configure: Regenerated.
9286 * sysdeps/unix/sysv/linux/kernel-features.h
9287 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9288 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9290 (__ASSUME_UTIMES): Likewise.
9291 (__ASSUME_CLONE_STOPPED): Remove.
9292 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9293 architectures, not kernel version.
9294 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9295 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9296 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9297 (__ASSUME_WAITID_SYSCALL): Likewise.
9298 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9299 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9300 * README: State 2.6.16 as minimum Linux kernel version. Do not
9301 refer to older versions.
9303 2012-08-06 Roland McGrath <roland@hack.frob.com>
9305 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9306 Define alphasort64 as an alias.
9307 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9308 Define versionsort64 as an alias.
9309 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9310 Define scandir64 as an alias.
9311 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9312 Define scandirat64 as an alias.
9313 * dirent/alphasort64.c (alphasort64):
9314 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9315 * dirent/versionsort64.c: Likewise.
9316 * dirent/scandir64.c: Likewise.
9317 * dirent/scandirat64.c: Likewise.
9318 * sysdeps/wordsize-64/alphasort.c: File removed.
9319 * sysdeps/wordsize-64/alphasort64.c: File removed.
9320 * sysdeps/wordsize-64/scandir.c: File removed.
9321 * sysdeps/wordsize-64/scandir64.c: File removed.
9322 * sysdeps/wordsize-64/scandirat.c: File removed.
9323 * sysdeps/wordsize-64/scandirat64.c: File removed.
9324 * sysdeps/wordsize-64/versionsort.c: File removed.
9325 * sysdeps/wordsize-64/versionsort64.c: File removed.
9326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9328 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9330 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9335 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9337 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9339 [defined __arch64__ || defined __sparcv9]
9340 (__INO_T_MATCHES_INO64_T): New macro.
9341 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9342 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9343 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9344 * sysdeps/unix/sysv/linux/bits/dirent.h
9345 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9346 (_DIRENT_MATCHES_DIRENT64): New macro.
9348 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9349 Define lockf64 as an alias.
9350 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9351 Define fseeko64 as an alias.
9352 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9353 Define ftello64 as an alias.
9354 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9355 Define _IO_fgetpos64 and fgetpos64 as aliases.
9356 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9357 Define _IO_fsetpos64 and fsetpos64 as aliases.
9358 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9359 Conditionalize body on this.
9360 * libio/fseeko64.c: Likewise.
9361 * libio/ftello64.c: Likewise.
9362 * libio/iofgetpos64.c: Likewise.
9363 * libio/iofsetpos64.c: Likewise.
9364 * sysdeps/wordsize-64/lockf.c: File removed.
9365 * sysdeps/wordsize-64/lockf64.c: File removed.
9366 * sysdeps/wordsize-64/fseeko.c: File removed.
9367 * sysdeps/wordsize-64/fseeko64.c: File removed.
9368 * sysdeps/wordsize-64/ftello.c: File removed.
9369 * sysdeps/wordsize-64/ftello64.c: File removed.
9370 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9371 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9372 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9373 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9376 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9377 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9378 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9379 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9385 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9387 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9389 [defined __arch64__ || defined __sparcv9]
9390 (__OFF_T_MATCHES_OFF64_T): New macro.
9391 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9392 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9394 (__OFF_T_MATCHES_OFF64_T): New macro.
9396 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9398 * stdlib/secure-getenv.c (__secure_getenv): Replace
9399 GLIBC_2_16 with GLIBC_2_17.
9401 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9403 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9404 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9406 2012-08-03 David S. Miller <davem@davemloft.net>
9408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9410 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9414 (__ASSUME_CORRECT_SI_PID): Likewise.
9415 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9416 (__ASSUME_TMPFS_NAME): Likewise.
9417 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9418 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9419 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9420 (HAVE_AUX_SECURE): Make definition unconditional.
9421 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9422 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9424 2012-08-03 Roland McGrath <roland@hack.frob.com>
9426 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9427 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9428 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9430 __eloop_threshold instead of SYMLOOP_MAX.
9432 * sysdeps/generic/eloop-threshold.h: New file.
9433 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9435 * elf/chroot_canon.c (chroot_canon): Likewise.
9437 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9441 Change to 2.6.0 everywhere.
9442 * sysdeps/unix/sysv/linux/configure: Regenerated.
9443 * sysdeps/unix/sysv/linux/kernel-features.h
9444 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9445 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9447 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9448 (__ASSUME_FUTEX_REQUEUE): Remove.
9449 (__ASSUME_STATFS64): Define unconditionally.
9450 (__ASSUME_AT_SECURE): Likewise.
9451 (__ASSUME_CORRECT_SI_PID): Likewise.
9452 (__ASSUME_TGKILL): Define without depending on kernel version for
9454 (__ASSUME_UTIMES): Likewise.
9455 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9457 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9458 (__ASSUME_TMPFS_NAME): Likewise.
9459 * README: Update reference to Linux kernel versions.
9461 2012-08-02 Marek Polacek <polacek@redhat.com>
9464 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9465 libc_cv_asm_type_prefix with %.
9466 * configure: Regenerated.
9467 * include/libc-symbols.h: Remove comment about
9468 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9469 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9470 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9471 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9472 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9473 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9474 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9475 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9476 * elf/tst-unique2mod1.c: Likewise.
9477 * elf/tst-unique1mod2.c: Likewise.
9478 * elf/tst-unique1mod1.c: Likewise.
9479 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9480 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9481 Replace ASM_TYPE_DIRECTIVE with .type.
9482 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9483 * sysdeps/i386/sysdep.h: Likewise.
9484 * sysdeps/x86_64/sysdep.h: Likewise.
9485 * sysdeps/sh/sysdep.h: Likewise.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9487 Do not define ASM_TYPE_DIRECTIVE.
9488 * sysdeps/powerpc/sysdep.h: Likewise.
9489 * sysdeps/powerpc/powerpc32/sysdep.h:
9490 Replace ASM_TYPE_DIRECTIVE with .type.
9491 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9492 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9493 * sysdeps/i386/fpu/e_powf.S: Likewise.
9494 * sysdeps/i386/fpu/e_expl.S: Likewise.
9495 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9496 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9497 * sysdeps/i386/fpu/e_pow.S: Likewise.
9498 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9500 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9501 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9502 * sysdeps/i386/fpu/e_log2.S: Likewise.
9503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9504 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9505 * sysdeps/i386/fpu/e_powl.S: Likewise.
9506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9507 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9508 * sysdeps/i386/fpu/e_logl.S: Likewise.
9509 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9510 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9511 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9513 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9514 * sysdeps/i386/fpu/e_log.S: Likewise.
9515 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9516 * sysdeps/i386/fpu/e_logf.S: Likewise.
9517 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9518 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9519 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9520 * sysdeps/i386/fpu/e_log10.S: Likewise.
9521 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9522 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9523 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9524 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9525 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9527 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9528 * sysdeps/i386/i686/strtok.S: Likewise.
9529 * sysdeps/i386/i386-mcount.S: Likewise.
9530 * sysdeps/i386/strtok.S: Likewise.
9531 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9533 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9535 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9536 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9537 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9538 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9539 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9540 * sysdeps/x86_64/_mcount.S: Likewise.
9541 * sysdeps/x86_64/strtok.S: Likewise.
9542 * sysdeps/sh/_mcount.S: Likewise.
9544 2012-08-01 Roland McGrath <roland@hack.frob.com>
9546 * libio/iofopen.c: Include <fcntl.h>.
9547 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9548 (_IO_fopen64, fopen64): Define as aliases.
9549 * libio/iofopen64.c: Include <fcntl.h>.
9550 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9551 Conditionalize body on this.
9552 * sysdeps/wordsize-64/iofopen.c: File removed.
9553 * sysdeps/wordsize-64/iofopen64.c: File removed.
9555 2012-08-01 Marek Polacek <polacek@redhat.com>
9557 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9558 Use dlfcn directly instead of a variable.
9559 (binfmt-subdir): Do not define.
9562 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9565 Remove all definitions.
9566 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9567 <kernel-features.h>.
9568 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9569 (miss_F_GETOWN_EX): Remove all definitions.
9570 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9572 [!__ASSUME_FCNTL64]: Remove conditional code.
9573 [__ASSUME_FCNTL64]: Make code unconditional.
9574 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9575 <kernel-features.h>.
9576 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9577 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9578 (lockf64) [__NR_fcntl64]: Make code unconditional.
9579 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9581 * sysdeps/unix/sysv/linux/kernel-features.h
9582 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9583 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9584 Make code unconditional.
9585 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9586 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9588 [__NR_vfork]: Make code unconditional.
9589 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9590 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9592 [__NR_vfork]: Make code unconditional.
9593 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9594 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9596 2012-08-01 Roland McGrath <roland@hack.frob.com>
9598 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9599 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9601 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9602 Define mkstemp64 as an alias.
9603 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9604 Define mkstemps64 as an alias.
9605 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9606 Define mkostemp64 as an alias.
9607 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9608 Define mkostemps64 as an alias.
9609 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9610 Conditionalize body on this.
9611 * misc/mkostemp64.c: Likewise.
9612 * misc/mkostemps64.c: Likewise.
9613 * misc/mkstemps64.c: Likewise.
9614 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9615 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9616 * sysdeps/wordsize-64/mkostemp.c: File removed.
9617 * sysdeps/wordsize-64/mkstemp.c: File removed.
9618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9619 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9620 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9621 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9624 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9625 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9626 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9627 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9629 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9630 compat_symbol macros from <shlib-compat.h> rather than the underlying
9631 default_symbol_version and symbol_version macros, so that DEFAULT
9632 lines in shlib-versions are respected.
9633 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9635 2012-08-01 Florian Weimer <fweimer@redhat.com>
9637 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9638 Declare with warn_unused_result.
9639 (setgid, setregid, setegid, setresgid): Likewise.
9640 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9642 * WUR-REPORT: Remove set*id functions.
9644 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9646 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9648 2012-07-31 Roland McGrath <roland@hack.frob.com>
9650 * include/sys/socket.h (__libc_accept, __libc_accept4):
9651 Add attribute_hidden.
9652 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9654 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9656 * inet/getnetgrent_r.c (setup): Likewise.
9658 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9660 2012-07-31 David S. Miller <davem@davemloft.net>
9662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9664 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9667 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9668 value between 1.0 and 2.0 and smaller part has absolute value less
9670 * math/s_clog10.c (__clog10): Likewise.
9671 * math/s_clog10f.c (__clog10f): Likewise.
9672 * math/s_clog10l.c (__clog10l): Likewise.
9673 * math/s_clogf.c (__clogf): Likewise.
9674 * math/s_clogl.c (__clogl): Likewise.
9675 * math/libm-test.inc (clog_test): Add more tests.
9676 (clog10_test): Likewise.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9680 2012-07-31 Florian Weimer <fweimer@redhat.com>
9682 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9683 Exit with zero in case no suitable GID is found, and write a
9684 message to standard error.
9686 2012-07-30 Roland McGrath <roland@hack.frob.com>
9688 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9690 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9691 (MAXPATHLEN): Removed.
9692 (NOGROUP, NODEV): New macros.
9693 (setbit, clrbit, isset, isclr): New macros.
9694 (howmany, roundup, powerof2): New macros.
9695 (DEV_BSIZE): New macro.
9697 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9698 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9700 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9701 definition on [!__NO_LONG_DOUBLE_MATH].
9703 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9704 PTR_MANGLE and PTR_DEMANGLE.
9706 * socket/accept4.c (accept4): Rename to __libc_accept4.
9707 Define accept4 as a weak alias.
9709 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9710 on [_DIRENT_HAVE_D_TYPE].
9711 * io/ftw.c (ftw_dir): Likewise.
9713 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9715 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9717 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9718 Use the BSD numbers rather than the arbitrary ones we had.
9719 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9720 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9721 (SIGXCPU, SIGXFSZ): New macros.
9724 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9725 initializer on [_LIBC_REENTRANT].
9727 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9728 definitions inside [_POSIX_MAPPED_FILES].
9730 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9732 * dirent/opendir.c: Include <fcntl.h>.
9734 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9735 (__libc_getspecific): Likewise.
9736 (__libc_key_create): Likewise.
9738 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9739 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9740 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9741 (tmpfile64): Define as alias.
9742 * sysdeps/wordsize-64/tmpfile.c: File removed.
9743 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9745 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9747 * stdio-common/vfscanf.c: Include <stdbool.h>.
9748 * nss/makedb.c: Likewise.
9749 * stdio-common/_i18n_number.h: Likewise.
9750 * argp/argp-help.c: Likewise.
9751 * posix/wordexp.c: Likewise.
9752 * sysdeps/posix/spawni.c: Likewise.
9753 * nss/nss_files/files-initgroups.c: Likewise.
9754 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9755 * nss/nss_files/files-initgroups.c: Likewise.
9756 * nss/nss_db/db-netgrp.c: Likewise.
9757 * nss/nss_db/db-initgroups.c: Likewise.
9758 * io/fchmodat.c: Include <sys/stat.h>.
9760 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9761 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9763 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9766 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9767 Add multiple inclusion protection.
9769 2012-07-27 David S. Miller <davem@davemloft.net>
9771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9773 2012-07-27 Gary Benson <gbenson@redhat.com>
9776 * elf/rtld.c: Include <stap-probe.h>.
9777 (dl_main): Added static probes "init_start" and "init_complete".
9778 * elf/dl-load.c: Include <stap-probe.h>.
9779 (lose): Take new parameter "nsid".
9780 Added static probe "map_failed".
9781 (_dl_map_object_from_fd): Pass namespace id to lose.
9782 Added static probe "map_start".
9783 (open_verify): Pass namespace id to lose.
9784 * elf/dl-open.c: Include <stap-probe.h>.
9785 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9786 and "reloc_complete".
9787 * elf/dl-close.c: Include <stap-probe.h>.
9788 (_dl_close_worker): Added static probes "unmap_start" and
9790 * elf/rtld-debugger-interface.txt: New file documenting the above.
9792 2012-07-26 Roland McGrath <roland@hack.frob.com>
9794 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9795 rather than a string variable.
9796 * sunrpc/rpc_main.c (h_output): Likewise.
9797 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9799 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9801 * inet/check_native.c: New file.
9803 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9806 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9807 if larger part has absolute value 1.0.
9808 * math/s_clog10.c (__clog10): Likewise.
9809 * math/s_clog10f.c (__clog10f): Likewise.
9810 * math/s_clog10l.c (__clog10l): Likewise.
9811 * math/s_clogf.c (__clogf): Likewise.
9812 * math/s_clogl.c (__clogl): Likewise.
9813 * math/libm-test.inc (clog_test): Add more tests.
9814 (clog10_test): Likewise.
9815 * sysdeps/i386/fpu/libm-test-ulps: Update.
9816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9818 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9819 (pltexit): Likewise.
9820 (La_regs): Likewise.
9821 (La_retval): Likewise.
9822 (int_retval): Likewise.
9823 Update #error for removed macros to refer only to definitions in
9825 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9827 (pltexit): Likewise.
9828 (La_regs): Likewise.
9829 (La_retval): Likewise.
9830 (int_retval): Likewise.
9831 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9833 (pltexit): Likewise.
9834 (La_regs): Likewise.
9835 (La_retval): Likewise.
9836 (int_retval): Likewise.
9837 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9839 (pltexit): Likewise.
9840 (La_regs): Likewise.
9841 (La_retval): Likewise.
9842 (int_retval): Likewise.
9843 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9845 (pltexit): Likewise.
9846 (La_regs): Likewise.
9847 (La_retval): Likewise.
9848 (int_retval): Likewise.
9849 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9851 (pltexit): Likewise.
9852 (La_regs): Likewise.
9853 (La_retval): Likewise.
9854 (int_retval): Likewise.
9855 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9857 (pltexit): Likewise.
9858 (La_regs): Likewise.
9859 (La_retval): Likewise.
9860 (int_retval): Likewise.
9861 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9862 macro definitions in tst-audit.h.
9863 * sysdeps/i386/tst-audit.h: New file.
9864 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9865 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9866 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9867 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9868 * sysdeps/sh/tst-audit.h: Likewise.
9869 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9870 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9871 * sysdeps/x86_64/tst-audit.h: Likewise.
9873 2012-07-26 Andreas Jaeger <aj@suse.de>
9875 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9878 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9879 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9880 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9882 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9883 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9884 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9886 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9889 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9891 (si_call_addr, si_syscall, si_arch): Define new macro.
9892 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9894 (si_call_addr, si_syscall, si_arch): Define new marcro.
9895 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9897 (si_call_addr, si_syscall, si_arch): Define new macro.
9898 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9900 (si_call_addr, si_syscall, si_arch): Define new macro.
9902 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9906 Change to 2.4.21 where previously 2.4.1.
9907 * sysdeps/unix/sysv/linux/configure: Regenerated.
9908 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9909 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9910 Linux kernel version.
9911 (__ASSUME_STD_AUXV): Remove.
9912 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9914 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9915 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9916 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9917 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9918 (__ASSUME_NETLINK_SUPPORT): Likewise.
9919 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9920 (__no_netlink_support): Remove conditional definition.
9921 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9923 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9924 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9925 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9926 (if_nameindex_ioctl): Remove.
9927 (if_nameindex_netlink): Do not handle __no_netlink_support.
9928 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9930 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9931 Remove conditional code.
9932 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9934 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9936 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9937 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9938 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9940 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9941 [!__ASSUME_STD_AUXV]: Remove conditional code.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9943 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9944 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9946 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9947 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9949 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9951 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9952 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9954 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9956 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9959 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9962 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9964 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9966 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9968 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9971 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9973 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9976 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9978 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9980 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9982 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9985 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9987 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9989 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9991 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9994 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9996 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9997 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9998 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9999 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10000 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10001 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10002 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10003 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10004 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10005 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10006 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10007 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10008 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10009 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10011 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10014 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10016 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10017 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10018 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10020 2012-07-25 Florian Weimer <fweimer@redhat.com>
10022 * Versions.def: Add GLIBC_2.17.
10023 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10024 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10025 Introduce __libc_secure_getenv.
10026 * stdlib/Versions (2.17): Add secure_getenv
10027 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10028 * stdlib/secure-getenv.c: Rename __secure_getenv to
10029 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10030 symbol __secure_getenv for GLIBC_2.0.
10031 * stdlib/tst-secure-getenv.c: New.
10032 * stdlib/Makefile (tests): Add testcase.
10033 * manual/startup.texi (Environment Access): Document
10035 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10036 __libc_secure_getenv.
10037 * inet/ruserpass.c (ruserpass): Likewise.
10038 * malloc/mtrace.c (mtrace): Likewise.
10039 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10040 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10041 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10042 * sysdeps/posix/tempname.c: Likewise. Evaluate
10043 HAVE_SECURE_GETENV.
10044 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10045 __secure_getenv to __libc_secure_getenv.
10046 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10059 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10061 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10062 (struct La_i86_retval): Likewise.
10063 (struct La_x86_64_regs): Likewise.
10064 (struct La_x86_64_retval): Likewise.
10065 (struct La_x32_regs): Likewise.
10066 (struct La_x32_retval): Likewise.
10067 (struct La_ppc32_regs): Likewise.
10068 (struct La_ppc32_retval): Likewise.
10069 (struct La_ppc64_regs): Likewise.
10070 (struct La_ppc64_retval): Likewise.
10071 (struct La_sh_regs): Likewise.
10072 (struct La_sh_retval): Likewise.
10073 (struct La_s390_32_regs): Likewise.
10074 (struct La_s390_32_retval): Likewise.
10075 (struct La_s390_64_regs): Likewise.
10076 (struct La_s390_64_retval): Likewise.
10077 (struct La_sparc32_regs): Likewise.
10078 (struct La_sparc32_retval): Likewise.
10079 (struct La_sparc64_regs): Likewise.
10080 (struct La_sparc64_retval): Likewise.
10081 (struct audit_ifaces): Remove architecture-specific pltenter and
10083 * sysdeps/i386/ldsodefs.h: New file.
10084 * sysdeps/powerpc/ldsodefs.h: Likewise.
10085 * sysdeps/s390/ldsodefs.h: Likewise.
10086 * sysdeps/sh/ldsodefs.h: Likewise.
10087 * sysdeps/sparc/ldsodefs.h: Likewise.
10088 * sysdeps/x86_64/ldsodefs.h: Likewise.
10090 2012-07-25 Marek Polacek <polacek@redhat.com>
10093 * math/libm-test.inc (yn_test): Add another test.
10094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10095 to ERANGE when the result is +-Inf.
10096 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10097 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10098 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10099 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10101 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10103 * conform/data/time.h-data (NULL): Use macro-constant. Require
10105 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10107 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10109 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10111 * configure.in <sysdeps resolving>: Correct printing
10113 * configure: Regenerate.
10115 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10117 * math/w_ilogb.c: Include <limits.h>.
10118 * math/w_ilogbl.c: Likewise.
10120 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10122 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10123 va_copy. Document allowing for unavailable va_copy only as
10124 pre-C99 compatibility.
10125 * manual/string.texi (Copying and Concatenation): Use va_copy
10126 instead of __va_copy in concat example.
10128 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10130 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10131 (__sendto): Use create_address_port. Initialize APORT and deallocate
10134 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10135 with O_NOLINK passed to __file_name_lookup.
10137 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10138 with O_NOLINK passed to __file_name_lookup.
10140 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10141 negative N or less than NGIDS.
10143 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10144 type to string_t. Set ERANGE as errno and return it if NAME is not big
10145 enough. Use memcpy instead of strncpy.
10147 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10149 * elf/Makefile (check-data): Remove.
10150 (localplt.data): New vpath directive.
10151 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10152 instead of $(check-data).
10153 * scripts/data/localplt-generic.data: Move to ...
10154 * sysdeps/generic/localplt.data: ... here.
10155 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10156 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10157 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10160 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10163 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10166 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10169 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10172 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10176 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10178 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10179 PPC32 and PPC64 files.
10180 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10181 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10183 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10185 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10186 __makecontext_ret to ...
10187 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10188 ... here and call exit if uc_link is NULL. New file.
10189 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10190 __makecontext_ret.S.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10192 __makecontext_ret to ...
10193 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10194 ... here and call exit if uc_link is NULL. New file.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10196 __makecontext_ret.S.
10198 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10200 * elf/elf.h (R_390_IRELATIVE): New definition.
10201 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10202 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10203 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10204 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10205 (elf_machine_lazy_rel): Likewise.
10206 * sysdeps/s390/dl-irel.h: New file.
10207 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10208 * sysdeps/s390/s390-64/memset.S: New asm code.
10209 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10210 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10211 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10212 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10213 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10214 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10216 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10217 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10218 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10219 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10220 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10221 * sysdeps/s390/s390-32/memset.S: New asm code.
10222 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10224 2012-07-17 Marek Polacek <polacek@redhat.com>
10227 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10228 * sysdeps/s390/s390-64/configure.in: Likewise.
10229 * sysdeps/sparc/configure.in: Likewise.
10230 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10231 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10232 * sysdeps/i386/configure.in: Likewise.
10233 * sysdeps/x86_64/configure.in: Likewise.
10234 * sysdeps/sh/configure.in: Likewise.
10235 * sysdeps/s390/s390-32/configure: Regenerated.
10236 * sysdeps/s390/s390-64/configure: Likewise.
10237 * sysdeps/x86_64/configure: Likewise.
10238 * sysdeps/sh/configure: Likewise.
10239 * sysdeps/powerpc/powerpc64/configure: Likewise.
10240 * sysdeps/powerpc/powerpc32/configure: Likewise.
10241 * sysdeps/sparc/configure: Likwise.
10242 * sysdeps/i386/configure: Likewise.
10244 * elf/dl-open.c: Comment fixes.
10246 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10248 * Makefile [CXX] (check-data): Remove.
10249 [CXX] (c++-types.data): New vpath directive.
10250 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10251 vpath. Do not allow for C++ type data being missing.
10252 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10253 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10254 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10255 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10256 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10257 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10258 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10261 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10264 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10267 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10270 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10273 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10276 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10279 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10282 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10283 definitions to architecture-specific files.
10284 (TLS_IE): Likewise.
10285 (TLS_LD): Likewise.
10286 (TLS_GD): Likewise.
10287 * sysdeps/i386/tls-macros.h: New file.
10288 * sysdeps/powerpc/tls-macros.h: Likewise.
10289 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10290 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10291 * sysdeps/sh/tls-macros.h: Likewise.
10292 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10293 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10294 * sysdeps/x86_64/tls-macros.h: Likewise.
10296 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10299 zero value for regular exit case.
10301 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10302 (__start_context): Preserve zero value for regular exit case.
10304 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10305 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10307 * manual/setjmp.texi (setcontext): Clarify normal process
10308 termination when uc_link is the null pointer.
10309 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10312 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10314 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10315 preprocessor. Test for each exception mask separately.
10317 2012-07-16 Andreas Jaeger <aj@suse.de>
10319 * po/ru.po: Update from translation team.
10321 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10323 * conform/data/string.h-data (NULL): Use macro-constant. Require
10325 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10326 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10327 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10328 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10331 2012-07-13 Andreas Jaeger <aj@suse.de>
10333 * po/fr.po: Update from translation team.
10335 2012-07-12 Marek Polacek <polacek@redhat.com>
10338 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10339 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10342 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10346 Change to 2.4.1 where previously 2.4.0.
10347 * sysdeps/unix/sysv/linux/configure: Regenerated.
10348 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10349 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10351 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10352 (__ASSUME_AT_CLKTCK): Remove.
10353 (__ASSUME_AT_PAGESIZE): Likewise.
10354 (__ASSUME_AT_XID): Likewise.
10355 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10356 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10357 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10359 (HAVE_AUX_PAGESIZE): Likewise.
10360 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10361 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10362 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10364 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10368 the temporary buffer used to invoke __gethostbyname2_r,
10369 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10370 host_data / struct gaih_addrtuple.
10371 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10372 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10373 header file nss/nsswitch.h.
10374 * nss/nsswitch.h (global scope): Add definition of implementation
10375 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10376 resolv/nss_dns/dns-host.c).
10378 2012-07-11 Andreas Jaeger <aj@suse.de>
10380 * po/fr.po: Update from translation team.
10382 * po/sv.po: Update from translation team
10383 * po/fr.po: Another update from translation team.
10385 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10387 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10388 for subnormals or multiply small sinh result by itself.
10389 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10392 2012-07-11 David S. Miller <davem@davemloft.net>
10394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10396 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10399 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10400 (INTERNAL_MARK): Shift it here.
10402 2012-07-10 Marek Polacek <polacek@redhat.com>
10405 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10406 libc_cv_asm_global_directive with .globl.
10407 * configure: Regenerated.
10408 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10410 * sysdeps/i386/configure: Regenerated.
10411 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10413 * sysdeps/x86_64/configure: Regenerated.
10414 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10415 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10416 * elf/tst-unique2mod2.c: Likewise.
10417 * elf/tst-unique2mod1.c: Likewise.
10418 * elf/tst-unique1mod2.c: Likewise.
10419 * elf/tst-unique1mod1.c: Likewise.
10420 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10421 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10423 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10424 * sysdeps/mach/sysdep.h: Likewise.
10425 * sysdeps/i386/sysdep.h: Likewise.
10426 * sysdeps/i386/i386-mcount.S: Likewise.
10427 * sysdeps/x86_64/_mcount.S: Likewise.
10428 * sysdeps/x86_64/sysdep.h: Likewise.
10429 * sysdeps/sh/_mcount.S: Likewise.
10430 * sysdeps/sh/sysdep.h: Likewise.
10431 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10432 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10433 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10434 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10435 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10436 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10437 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10438 * locale/localeinfo.h: Likewise.
10439 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10440 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10442 2012-07-09 Roland McGrath <roland@hack.frob.com>
10445 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10447 * manual/message.texi (The Uniforum approach): Likewise.
10448 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10449 (glibc iconv Implementation): Likewise.
10451 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10454 * math/s_clog.c (__clog): Avoid scaling a value down where that
10455 could result in underflow.
10456 * math/s_clog10.c (__clog10): Likewise.
10457 * math/s_clog10f.c (__clog10f): Likewise.
10458 * math/s_clog10l.c (__clog10l): Likewise.
10459 * math/s_clogf.c (__clogf): Likewise.
10460 * math/s_clogl.c (__clogl): Likewise.
10461 * math/libm-test.inc (clog_test): Add more tests.
10462 (clog10_test): Likewise.
10463 * sysdeps/i386/fpu/libm-test-ulps: Update.
10464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10466 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10469 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10470 by 7 not 8 to examine high bit of fractional part.
10473 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10474 for call to __mcount_internal.
10475 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10476 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10477 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10479 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10482 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10483 approximation for values within 0x1p-13f of an odd multiple of
10485 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10486 exception. Add more tests.
10487 * sysdeps/i386/fpu/libm-test-ulps: Update.
10490 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10491 inputs and return -1 for them. Do not check for +Inf in case not
10492 reachable for +Inf.
10493 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10494 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10496 and return -1 for them. Do not check for +Inf in case not
10497 reachable for +Inf.
10498 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10500 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10501 and return -1 for them. Do not check for +Inf in case not
10502 reachable for +Inf.
10503 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10504 spurious underflow.
10505 * sysdeps/i386/fpu/libm-test-ulps: Update.
10506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10508 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10510 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10512 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10516 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10517 could result in spurious underflow. Scale down values above
10518 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10519 * math/s_csqrtf.c (__csqrtf): Likewise.
10520 * math/s_csqrtl.c (__csqrtl): Likewise.
10521 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10522 spurious underflow.
10523 * sysdeps/i386/fpu/libm-test-ulps: Update.
10524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10526 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10528 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10530 * catgets/xopen-msg.awk: New file.
10531 * catgets/xopen-msg.sed: Removed.
10533 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10535 * intl/po2test.awk: New file.
10536 * intl/po2test.sed: Removed.
10538 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10541 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10542 or multiply small sinh result by itself.
10543 * math/s_ctanf.c (__ctanf): Likewise.
10544 * math/s_ctanh.c (__ctanh): Likewise.
10545 * math/s_ctanhf.c (__ctanhf): Likewise.
10546 * math/s_ctanhl.c (__ctanhl): Likewise.
10547 * math/s_ctanl.c (__ctanl): Likewise.
10548 * math/libm-test.inc (ctan_test_tonearest): New function.
10549 (ctan_test_towardzero): Likewise.
10550 (ctan_test_downward): Likewise.
10551 (ctan_test_upward): Likewise.
10552 (ctanh_test_tonearest): Likewise.
10553 (ctanh_test_towardzero): Likewise.
10554 (ctanh_test_downward): Likewise.
10555 (ctanh_test_upward): Likewise.
10556 (main): Call these new functions.
10557 * sysdeps/i386/fpu/libm-test-ulps: Update.
10558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10562 * .gitignore: Delete /ports entry.
10564 2012-07-03 Andreas Jaeger <aj@suse.de>
10566 * po/bg.po: Update from translation team.
10567 * po/cs.po: Likewise.
10568 * po/de.po: Likewise.
10569 * po/hr.po: Likewise.
10570 * po/nl.pl: Likewise.
10571 * po/pl.po: Likewise.
10572 * po/vi.po: Likewise.
10574 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10576 * Makeconfig [!+link] (+link-before-libc): New variable.
10577 [!+link] (+link-after-libc): Likewise.
10578 [!+link] (+link-tests): Likewise.
10579 [!+link] (+link): Define in terms of $(+link-before-libc) and
10580 $(+link-after-libc).
10581 [!+link-static] (+link-static-before-libc): New variable.
10582 [!+link-static] (+link-static-after-libc): Likewise.
10583 [!+link-static] (+link-static-tests): Likewise.
10584 [!+link-static] (+link-static): Define in terms of
10585 $(+link-static-before-libc) and $(+link-static-after-libc).
10586 [build-shared] (link-libc-before-gnulib): New variable.
10587 [build-shared] (link-libc-tests): Likewise.
10588 [build-shared] (link-libc): Define in terms of
10589 $(link-libc-before-gnulib).
10590 [!build-shared] (link-libc-tests): New variable.
10591 (link-libc-static-tests): New variable.
10592 [!gnulib] (gnulib-arch): New variable.
10593 [!gnulib] (gnulib-tests): Likewise.
10594 [!gnulib] (static-gnulib-arch): Likewise.
10595 [!gnulib] (static-gnulib-tests): Likewise.
10596 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10597 Define with "=" instead of ":=".
10598 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10599 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10600 * Rules (binaries-all-notests): New variable.
10601 (binaries-all-tests): Likewise.
10602 (binaries-static-notests): Likewise.
10603 (binaries-static-tests): Likewise.
10604 (binaries-all): Define using $(binaries-all-notests) and
10605 $(binaries-all-tests).
10606 (binaries-static): Define using $(binaries-static-notests) and
10607 $(binaries-static-tests).
10608 (binaries-shared-tests): New variable.
10609 (binaries-shared-notests): Likewise.
10610 (binaries-shared): Remove variable.
10611 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10612 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10613 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10614 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10615 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10616 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10617 * elf/Makefile (sln-modules): New variable.
10618 (extra-objs): Add $(sln-modules:=.o).
10619 (ldconfig-modules): Add static-stubs.
10620 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10621 * elf/static-stubs.c: New file.
10624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10625 by 7 not 8 to examine high bit of fractional part. Use volatile
10626 variables when splitting into final array of floats if
10627 __FLT_EVAL_METHOD__ != 0.
10628 * math/libm-test.inc (cos_test): Add another test.
10629 (sin_test): Likewise.
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10633 * math/libm-test.inc (cosh_test): Add more tests.
10635 * version.h (RELEASE): Set to "development".
10636 (VERSION): Set to "2.16.90".
10638 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10640 * NEWS: Update copyright. Remove last-updated date.
10641 Mention math library bug fixes and timezone data changes.
10642 * README: Mention GNU/Hurd, x32, and HPPA support status.
10644 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10646 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10648 2012-06-27 Andreas Jaeger <aj@suse.de>
10650 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10652 2012-06-25 Andreas Jaeger <aj@suse.de>
10654 * sysdeps/s390/fpu/libm-test-ulps: Update.
10656 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10657 Thomas Schwinge <thomas@codesourcery.com>
10659 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10660 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10664 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10666 * sysdeps/mach/start.c: Remove file.
10667 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10668 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10669 * sysdeps/sh/init-first.c: Likewise.
10671 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10672 registers for frame unwinding purposes, add CFI directives.
10673 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10675 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10678 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10679 __fortify_fail returning.
10680 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10682 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10683 sysdeps/sh/____longjmp_chk.S.
10684 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10685 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10686 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10687 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10689 * sysdeps/sh/abort-instr.h: New file.
10690 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10691 process in case exit returns.
10693 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10694 initialize the GOT register before use.
10696 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10697 calculation of ARGC > 4.
10699 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10700 meaningful names to some local labels.
10702 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10703 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10705 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10706 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10707 (__arch_compare_and_exchange_val_16_acq): Likewise.
10708 (__arch_compare_and_exchange_val_32_acq): Likewise.
10709 (atomic_exchange_and_add): Fix gUSA sequence.
10710 (atomic_add): Likewise.
10711 (atomic_add_negative): Likewise.
10712 (atomic_add_zero): Likewise.
10713 (atomic_bit_test_set): Likewise.
10715 2012-06-22 Andreas Schwab <schwab@redhat.com>
10718 * include/link.h (struct link_map): Add l_free_initfini.
10719 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10721 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10722 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10723 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10726 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10728 * configure.in: Use AC_LANG_SOURCE.
10729 * configure: Regenerate.
10731 2012-06-22 Roland McGrath <roland@hack.frob.com>
10733 * configure.in (libc_cv_localstatedir): New substituted variable.
10734 * configure: Regenerated.
10735 * config.make.in (localstatedir): New variable, substituted from
10736 libc_cv_localstatedir.
10737 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10738 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10739 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10740 * sysdeps/gnu/configure: Regenerated.
10742 2012-06-21 Jeff Law <law@redhat.com>
10745 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10746 free. Simplify list management for _LIBC case.
10748 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10751 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10752 Clear sign bit of 64-bit integer value before comparing against
10755 * sysdeps/mach/configure: Regenerated.
10757 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10760 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10762 2012-06-21 Jeff Law <law@redhat.com>
10765 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10766 uint16_t for elements in the "seen" array to avoid char overflows.
10767 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10768 * elf/dl-open.c (dl_open_worker): Likewise.
10770 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10772 * scripts/list-sources.sh: Scan PORTS for translations.
10773 * po/libc.pot: Regenerated.
10775 2012-06-21 Andreas Jaeger <aj@suse.de>
10778 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10780 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10781 * bits/byteswap-16.h (__bswap_16): Likewise.
10782 * bits/byteswap.h (__bswap_constant_16): Likewise.
10784 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10787 * sysdeps/i386/fpu_control.h: Removed.
10788 * sysdeps/x86_64/fpu_control.h: Moved to ...
10789 * sysdeps/x86/fpu_control.h: Here.
10791 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10792 (_FPU_SETCW): Likewise.
10794 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10797 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10798 * sysdeps/x86/fpu/bits/mathinline.h: This.
10799 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10803 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10804 functions if __x86_64__ is defined.
10806 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10808 * string/endian.h: Add !__ASSEMBLER__ condition for including
10809 conversion interfaces.
10811 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10814 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10815 of ABS(x) in calculating zero to negative powers other than odd
10817 * math/libm-test.inc (pow_test): Add more tests.
10819 2012-06-15 Andreas Jaeger <aj@suse.de>
10821 * manual/contrib.texi (Contributors): Update entry of Liubov
10822 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10825 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10827 * string/string.h: Add __wur to GNU version of strerror_r.
10829 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10832 * string/Makefile (tests): Add tst-strtok_r.
10833 * string/tst-strtok_r.c: New file.
10834 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10835 RAX_LP/RDX_LP on SAVE_PTR.
10837 2012-06-14 Roland McGrath <roland@hack.frob.com>
10839 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10841 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10843 * libm_test.inc (csqrt_test): Allow more spurious underflow
10845 (j0_test): Likewise.
10846 (j1_test): Likewise.
10847 (y0_test): Likewise.
10848 (y1_test): Likewise.
10850 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10852 * po/Makefile (libc.pot): Use UTF-8 charset.
10854 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10857 Suppress sign-conversion warning from FD_SET.
10858 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10859 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10860 not unsigned long int.
10861 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10863 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10867 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10868 __extern_always_inline instead of __extern_inline.
10869 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10870 (__signbit): Likewise.
10871 (__signbitl): Support C++ namespace.
10872 (lrintf): New inline function.
10874 (llrintf): Likewise.
10875 (llrint): Likewise.
10885 (floorf): Likewise.
10886 (nearbyint): Likewise.
10887 (nearbyintf): Likewise.
10889 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10891 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10892 non-default versions.
10894 2012-06-11 Roland McGrath <roland@hack.frob.com>
10897 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10899 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10901 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10902 (FE_UPWARD, FE_DOWNWARD): Don't define.
10903 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10904 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10906 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10908 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10909 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10911 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10913 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10915 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10916 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10918 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10921 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10922 * sysdeps/i386/fpu/Implies: New file.
10923 * sysdeps/x86_64/fpu/Implies: Likewise.
10924 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10925 * sysdeps/x86/fpu/bits/fenv.h: This.
10927 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10930 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10933 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10934 character 0xffff that matches the last element of the
10937 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10939 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10942 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10945 values higher than 25.6283.
10947 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10950 subnormal exponent extraction and add some __builtin_expect.
10951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10952 Fix for subnormal mantissa calculation.
10954 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10956 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10957 cpu2 is -1 and errno is not ENOSYS.
10959 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10962 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10963 * sysdeps/x86/bits/string.h: This.
10964 * sysdeps/x86_64/bits/string.h: Removed.
10966 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10967 if not compiling for x86-64, but compiling for >= i486.
10969 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10970 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10972 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10973 New macro from Linux kernel 3.4.0.
10974 (FP_XSTATE_MAGIC2): Likewise.
10975 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10976 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10977 (struct _fpx_sw_bytes): New struct.
10978 (struct _xsave_hdr): Likewise.
10979 (struct _ymmh_state): Likewise.
10980 (struct _xstate): Likewise.
10982 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10983 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10985 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10987 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10989 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10990 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10991 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10992 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10993 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10994 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10996 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10999 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11000 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11001 (sysdep_headers): Include sys/platform/ppc.h.
11002 * sysdeps/powerpc/test-gettimebase.c: Test for
11003 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11004 * manual/Makefile (appendices): Include platform.texi.
11005 * manual/contrib.texi (Contributors): Update @node pointers.
11006 * manual/maint.texi (Maintenance): Likewise.
11007 (Platform): New node.
11008 * manual/platform.texi: New file. Document the new features.
11010 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11011 Jakub Jelinek <jakub@redhat.com>
11014 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11015 where __builtin_expect is unavailable.
11017 2012-06-03 David S. Miller <davem@davemloft.net>
11019 * stdlib/longlong.h: Updated from GCC.
11021 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11024 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11025 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11028 (GLIBC_2.16): Likewise.
11030 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11032 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11034 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11037 (default-abi): New variable.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11039 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11041 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11043 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11045 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11048 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11049 definition. Document in comment.
11051 2012-06-01 David S. Miller <davem@davemloft.net>
11053 * stdlib/longlong.h: Updated from GCC.
11055 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11058 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11059 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11060 sys/debugreg.h sys/io.h here.
11061 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11062 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11064 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11065 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11066 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11067 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11068 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11069 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11072 Define only if __x86_64__ is defined.
11074 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11077 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11078 Use int64_t for variable i.
11079 * math/libm-test.inc (fmod_test): Add more tests.
11081 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11082 z computation is not scheduled after fetestexcept.
11083 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11084 Use math_force_eval instead of asm to ensure calculation scheduled
11085 before exception test.
11086 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11087 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11089 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11092 computation is not scheduled after fetestexcept.
11094 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11097 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11098 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11100 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11102 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11103 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11105 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11108 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11110 (__WCHAR_MIN): Support __WORDSIZE == 64.
11111 (__WCHAR_MAX): Likewise.
11113 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11114 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11118 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11121 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11122 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11125 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11127 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11128 Defined to 1 if __x86_64__ isn't defined.
11129 (_STAT_VER_LINUX_OLD): New.
11130 (st_atime): Remove duplicate.
11131 (st_mtime): Likewise.
11132 (st_ctime): Likewise.
11134 2012-05-31 David S. Miller <davem@davemloft.net>
11136 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11139 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11141 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11145 * elf/dl-reloc.c: Include <_itoa.h>.
11146 (_dl_reloc_bad_type): Remove use of INTUSE.
11147 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11148 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11149 * stdio-common/psiginfo.c (psiginfo): Likewise.
11150 * stdio-common/psignal.c (psignal): Likewise.
11151 * string/strsignal.c (strsignal): Likewise.
11152 * include/signal.h (_sys_siglist): Declare hidden proto.
11153 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11154 INTVARDEF with libc_hidden_data_def.
11155 * stdio-common/itoa-udigits.c: Likewise.
11156 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11157 (_itoa_lower_digits_internal): Remove declaration.
11158 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11159 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11160 (_sys_sigabbrev_internal): Remove aliases.
11161 (_sys_siglist): Define hidden alias.
11163 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11168 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11171 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11172 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11174 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11176 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11177 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11179 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11181 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11182 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11183 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11185 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11193 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11194 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11195 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11197 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11198 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11200 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11201 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11202 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11204 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11205 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11207 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11208 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11212 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11214 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11215 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11217 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11219 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11220 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11221 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11223 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11225 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11227 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11229 * math/math.h (M_El): Use two more decimal places.
11230 (M_LOG2El): Likewise.
11231 (M_LOG10El): Likewise.
11232 (M_LN2l): Likewise.
11233 (M_LN10l): Likewise.
11235 (M_PI_2l): Likewise.
11236 (M_PI_4l): Likewise.
11237 (M_1_PIl): Likewise.
11238 (M_2_PIl): Likewise.
11239 (M_2_SQRTPIl): Likewise.
11240 (M_SQRT2l): Likewise.
11241 (M_SQRT1_2l): Likewise.
11243 2012-05-31 David S. Miller <davem@davemloft.net>
11245 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11246 values between float registers.
11247 * sysdeps/sparc/sparc64/memset.S: Likewise.
11248 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11250 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11252 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11253 -D_FORTIFY_SOURCE=1.
11254 (CPPFLAGS-tst-longjmp_chk.c): Define.
11255 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11256 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11257 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11258 CFLAGS-tst-wchar-h.c.
11260 2012-05-31 Marek Polacek <polacek@redhat.com>
11263 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11264 __endmntent_internal): Remove declaration.
11265 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11266 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11267 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11269 2012-05-30 David S. Miller <davem@davemloft.net>
11271 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11272 (___Q_simulate_exceptions): Use real FP ops rather than writing
11274 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11277 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11280 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11281 * sysdeps/x86/bits/xtitypes.h: This.
11283 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11284 * sysdeps/x86/bits/wordsize.h: This.
11286 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11287 * sysdeps/x86/bits/huge_vall.h: This.
11289 * sysdeps/i386/bits/select.h: Removed.
11290 * sysdeps/x86_64/bits/select.h: Renamed to ...
11291 * sysdeps/x86/bits/select.h: This.
11293 * sysdeps/i386/bits/setjmp.h: Removed.
11294 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11295 * sysdeps/x86/bits/setjmp.h: This.
11297 * sysdeps/i386/bits/mathdef.h: Removed.
11298 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11299 * sysdeps/x86/bits/mathdef.h: This.
11301 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11304 * include/sys/socket.h (__connect_internal)
11305 (__libc_sa_len_internal): Remove declaration.
11306 (__connect, __libc_sa_len): Declare hidden_proto.
11307 (SA_LEN): Remove use of INTUSE.
11308 * socket/connect.c: Add libc_hidden_def.
11309 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11310 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11311 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11313 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11314 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11315 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11316 of adding _internal alias.
11318 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11321 * sysdeps/i386/bits/link.h: Removed.
11322 * sysdeps/i386/bits/linkmap.h: Likewise.
11323 * sysdeps/x86_64/bits/link.h: Renamed to ...
11324 * sysdeps/x86/bits/link.h: This.
11325 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11326 * sysdeps/x86/bits/linkmap.h: This.
11328 * sysdeps/i386/bits/endian.h: Removed.
11329 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11330 * sysdeps/x86/bits/endian.h: This.
11332 * sysdeps/i386/bits/byteswap.h: Removed.
11333 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11334 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11335 * sysdeps/x86/bits/byteswap.h: This.
11336 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11337 * sysdeps/x86/bits/byteswap-16.h: This.
11338 * sysdeps/i386/Implies: Add x86.
11339 * sysdeps/x86_64/Implies: Likewise.
11341 2012-05-30 David S. Miller <davem@davemloft.net>
11343 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11344 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11345 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11346 (FP_TRAPPING_EXCEPTIONS): Define.
11347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11348 (FP_TRAPPING_EXCEPTIONS): Define.
11349 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11350 subnormals only when inexact has been signalled or underflow
11351 exceptions are enabled.
11352 (_FP_PACK_CANONICAL): Likewise.
11354 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11358 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11360 2012-05-30 Richard Henderson <rth@twiddle.net>
11362 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11363 with #ifndef NOT_IN_libc.
11365 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11366 marked to avoid plt entry.
11368 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11371 * Makeconfig (default-abi): New macro.
11372 (abi-includes): Likewise.
11373 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11374 $(abi-$(default-abi)-lib-soname) for soname if defined.
11375 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11377 * Makefile (installed-stubs): Likewise.
11378 * include/stubs-biarch.h: Removed.
11379 * scripts/lib-names.awk: Only handle one library at a time.
11380 * scripts/soversions.awk: Remove WORDSIZE support.
11381 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11383 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11385 (syscall-list-default-condition): Likewise.
11386 (syscall-list-default-condition): Likewise.
11387 (syscall-list-includes): Likewise.
11388 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11389 syscall-list-* with abi-*. Handle undefined abi-variants.
11390 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11391 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11392 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11393 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11394 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11395 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11397 (syscall-list-32-options): Likewise.
11398 (syscall-list-32-condition): Likewise.
11399 (syscall-list-64-options): Likewise.
11400 (syscall-list-64-condition): Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11403 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11406 (abi-64-ld-soname): New macro.
11407 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11411 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11412 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11414 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11416 * sysdeps/unix/sysv/linux/kernel-features.h
11417 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11418 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11419 include <kernel-features.h>.
11420 [!__NR_ftruncate64]: Remove conditional code.
11421 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11422 [__NR_ftruncate64]: Make code unconditional.
11423 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11424 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11425 include <kernel-features.h>.
11426 [!__NR_ftruncate64]: Remove conditional code.
11427 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11428 [__NR_ftruncate64]: Make code unconditional.
11429 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11431 include <kernel-features.h>.
11432 [!__NR_ftruncate64]: Remove conditional code.
11433 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11434 [__NR_ftruncate64]: Make code unconditional.
11435 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11437 include <kernel-features.h>.
11438 [!__NR_ftruncate64]: Remove conditional code.
11439 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11440 [__NR_ftruncate64]: Make code unconditional.
11441 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11443 * configure.in (libc_cv_fpie): Weaken to a compile test using
11444 LIBC_TRY_CC_OPTION.
11445 * configure: Regenerated.
11447 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11462 2012-05-27 David S. Miller <davem@davemloft.net>
11464 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11466 (__Q_simulate_exceptions): Return void. Change to simulate
11467 exceptions by writing into the %fsr.
11468 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11469 (__Qp_handle_exceptions): Likewise.
11471 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11472 __Qp_handle_exceptions.
11473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11474 __Qp_handle_exceptions.
11475 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11476 as unused and give dummy FP_RND_NEAREST initializer.
11477 (FP_INHIBIT_RESULTS): Define.
11478 (___Q_simulate_exceptions): Update declaration.
11479 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11481 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11482 as unused and give dummy FP_RND_NEAREST initializer.
11483 (__Qp_handle_exceptions): Update declaration.
11484 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11487 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11489 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11490 the temporary FPU control word.
11491 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11492 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11493 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11494 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11495 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11496 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11497 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11498 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11499 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11500 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11501 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11503 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11505 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11508 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11510 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11511 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11512 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11513 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11515 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11516 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11519 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11521 * po/h.po: Update from translation team.
11523 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11525 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11527 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11528 handling of denormals.
11529 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11530 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11531 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11538 2012-05-26 Marek Polacek <polacek@redhat.com>
11541 * math/libm-test.inc (fma_test): Don't always expect underflow
11544 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11547 * elf/tst-execstack.c: Include stackinfo.h.
11548 (do_test): Adjust test case to ensure that pthread_getattr_np
11549 behaviour remains the same after marking stack executable.
11551 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11553 * sysdeps/unix/sysv/linux/kernel-features.h
11554 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11555 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11557 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11558 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11559 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11561 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11562 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11564 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11566 * configure.in: Define the default includes to being none.
11567 * configure: Regenerated.
11569 2012-05-25 Roland McGrath <roland@hack.frob.com>
11571 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11572 * sysdeps/x86_64/setjmp.S: Likewise.
11573 * sysdeps/i386/bsd-setjmp.S: Likewise.
11574 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11575 * sysdeps/i386/setjmp.S: Likewise.
11576 * sysdeps/i386/__longjmp.S: Likewise.
11577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11578 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11580 * include/stap-probe.h: New file.
11581 * configure.in: Handle --enable-systemtap.
11582 * configure: Regenerated.
11583 * config.h.in (USE_STAP_PROBE): New #undef.
11584 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11585 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11586 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11588 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11592 to 2.4.0 where earlier.
11593 * sysdeps/unix/sysv/linux/configure: Regenerated.
11594 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11595 <kernel-features.h>.
11596 [__ASSUME_32BITUIDS]: Make code unconditional.
11597 [!__ASSUME_32BITUIDS]: Remove conditional code.
11598 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11599 <kernel-features.h>.
11600 [__ASSUME_32BITUIDS]: Make code unconditional.
11601 [!__ASSUME_32BITUIDS]: Remove conditional code.
11602 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11603 [__ASSUME_32BITUIDS]: Make code unconditional.
11604 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11605 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11606 <kernel-features.h>.
11607 [__ASSUME_32BITUIDS]: Make code unconditional.
11608 [!__ASSUME_32BITUIDS]: Remove conditional code.
11609 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11610 <kernel-features.h>.
11611 [__ASSUME_32BITUIDS]: Make code unconditional.
11612 [!__ASSUME_32BITUIDS]: Remove conditional code.
11613 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11614 <kernel-features.h>.
11615 [__ASSUME_32BITUIDS]: Make code unconditional.
11616 [!__ASSUME_32BITUIDS]: Remove conditional code.
11617 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11618 <kernel-features.h>.
11619 [__ASSUME_32BITUIDS]: Make code unconditional.
11620 [!__ASSUME_32BITUIDS]: Remove conditional code.
11621 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11622 <kernel-features.h>.
11623 [__ASSUME_32BITUIDS]: Make code unconditional.
11624 [!__ASSUME_32BITUIDS]: Remove conditional code.
11625 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11626 <kernel-features.h>.
11627 [__ASSUME_32BITUIDS]: Make code unconditional.
11628 [!__ASSUME_32BITUIDS]: Remove conditional code.
11629 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11630 <kernel-features.h>.
11631 [__ASSUME_32BITUIDS]: Make code unconditional.
11632 [!__ASSUME_32BITUIDS]: Remove conditional code.
11633 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11634 <kernel-features.h>.
11635 [__ASSUME_32BITUIDS]: Make code unconditional.
11636 [!__ASSUME_32BITUIDS]: Remove conditional code.
11637 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11638 <kernel-features.h>.
11639 [__ASSUME_32BITUIDS]: Make code unconditional.
11640 [!__ASSUME_32BITUIDS]: Remove conditional code.
11641 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11642 <kernel-features.h>.
11643 [__ASSUME_32BITUIDS]: Make code unconditional.
11644 [!__ASSUME_32BITUIDS]: Remove conditional code.
11645 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11646 <kernel-features.h>.
11647 [__NR_setresgid] (__setresgid): Do not declare.
11648 [__ASSUME_32BITUIDS]: Make code unconditional.
11649 [!__ASSUME_32BITUIDS]: Remove conditional code.
11650 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11651 <kernel-features.h>.
11652 [__NR_setresuid] (__setresuid): Do not declare.
11653 [__ASSUME_32BITUIDS]: Make code unconditional.
11654 [!__ASSUME_32BITUIDS]: Remove conditional code.
11655 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11656 <kernel-features.h>.
11657 [__ASSUME_32BITUIDS]: Make code unconditional.
11658 [!__ASSUME_32BITUIDS]: Remove conditional code.
11659 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11660 <kernel-features.h>.
11661 [__ASSUME_32BITUIDS]: Make code unconditional.
11662 [!__ASSUME_32BITUIDS]: Remove conditional code.
11663 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11664 <kernel-features.h>.
11665 [__ASSUME_32BITUIDS]: Make code unconditional.
11666 [!__ASSUME_32BITUIDS]: Remove conditional code.
11667 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11668 <kernel-features.h>.
11669 [__ASSUME_32BITUIDS]: Make code unconditional.
11670 [!__ASSUME_32BITUIDS]: Remove conditional code.
11671 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11672 <kernel-features.h>.
11673 [__ASSUME_32BITUIDS]: Make code unconditional.
11674 [!__ASSUME_32BITUIDS]: Remove conditional code.
11675 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11676 <kernel-features.h>.
11677 [__ASSUME_32BITUIDS]: Make code unconditional.
11678 [!__ASSUME_32BITUIDS]: Remove conditional code.
11679 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11680 <kernel-features.h>.
11681 [__ASSUME_32BITUIDS]: Make code unconditional.
11682 [!__ASSUME_32BITUIDS]: Remove conditional code.
11683 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11684 <kernel-features.h>.
11685 [__ASSUME_32BITUIDS]: Make code unconditional.
11686 [!__ASSUME_32BITUIDS]: Remove conditional code.
11687 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11688 <kernel-features.h>.
11689 [__ASSUME_32BITUIDS]: Make code unconditional.
11690 [!__ASSUME_32BITUIDS]: Remove conditional code.
11691 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11692 <kernel-features.h>.
11693 [__ASSUME_32BITUIDS]: Make code unconditional.
11694 [!__ASSUME_32BITUIDS]: Remove conditional code.
11695 * sysdeps/unix/sysv/linux/kernel-features.h
11696 (__ASSUME_SETRESUID_SYSCALL): Remove.
11697 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11698 (__ASSUME_32BITUIDS): Likewise.
11699 (__ASSUME_LDT_WORKS): Likewise.
11700 (__ASSUME_O_DIRECTORY): Likewise.
11701 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11702 architecture but not kernel version.
11703 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11704 (__ASSUME_MMAP2_SYSCALL): Likewise.
11705 (__ASSUME_STAT64_SYSCALL): Likewise.
11706 (__ASSUME_IPC64): Likewise.
11707 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11708 <kernel-features.h>.
11709 [__ASSUME_32BITUIDS]: Make code unconditional.
11710 [!__ASSUME_32BITUIDS]: Remove conditional code.
11711 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11712 <kernel-features.h>.
11713 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11714 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11715 132096]: Remove conditional code.
11716 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11717 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11718 <kernel-features.h>.
11719 [__ASSUME_32BITUIDS]: Make code unconditional.
11720 [!__ASSUME_32BITUIDS]: Remove conditional code.
11721 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11722 <kernel-features.h>.
11723 [__ASSUME_32BITUIDS]: Make code unconditional.
11724 [!__ASSUME_32BITUIDS]: Remove conditional code.
11725 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11726 <kernel-features.h>.
11727 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11729 (__setresgid): Do not declare.
11730 [__ASSUME_32BITUIDS]: Make code unconditional.
11731 [!__ASSUME_32BITUIDS]: Remove conditional code.
11732 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11733 <kernel-features.h>.
11734 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11736 (__setresuid): Do not declare.
11737 [__ASSUME_32BITUIDS]: Make code unconditional.
11738 [!__ASSUME_32BITUIDS]: Remove conditional code.
11739 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11740 <kernel-features.h>.
11741 [__ASSUME_32BITUIDS]: Make code unconditional.
11742 [!__ASSUME_32BITUIDS]: Remove conditional code.
11743 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11744 <kernel-features.h>.
11745 [__ASSUME_32BITUIDS]: Make code unconditional.
11746 [!__ASSUME_32BITUIDS]: Remove conditional code.
11748 2012-05-25 Richard Henderson <rth@twiddle.net>
11750 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11751 dl_hwcap to ifunc resolver.
11752 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11754 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11755 dl_hwcap to ifunc resolver.
11756 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11758 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11761 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11762 for |x| <= 2**-26, not 2**-57.
11763 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11766 2012-05-24 Jeff Law <law@redhat.com>
11768 * stdio-common/Makefile (tests): Add bug25.
11769 * stdio-common/bug25.c: New test.
11771 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11774 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11775 multiple of MALLOC_ALIGNMENT in size.
11776 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11778 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11780 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11782 (FILENAME_MAX): Use macro-int-constant.
11783 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11784 (_IOFBF): Use macro-int-constant.
11785 (_IOLBF): Likewise.
11786 (_IONBF): Likewise.
11787 (SEEK_CUR): Likewise.
11788 (SEEK_END): Likewise.
11789 (SEEK_SET): Likewise.
11790 (TMP_MAX): Likewise.
11791 (EOF): Use macro-int-constant. Require < 0.
11792 (NULL): Use macro-constant. Require == 0.
11793 (stdin): Require type to be FILE *.
11794 (stdout): Likewise.
11795 (stderr): Likewise.
11796 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11797 macro-int-constant.
11798 (EXIT_SUCCESS): Likewise.
11799 (NULL): Use macro-constant. Require == 0.
11800 (RAND_MAX): Use macro-int-constant.
11801 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11802 [C99-based standards] (strtof): Require function.
11803 [C99-based standards] (strtold): Likewise.
11804 [C99-based standards] (strtoll): Likewise.
11805 [C99-based standards] (strtoull): Likewise.
11806 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11807 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11808 [ISO || ISO99 || ISO11] (math.h): Likewise.
11809 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11810 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11813 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11816 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11817 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11818 * intl/dgettext.c (DCGETTEXT): Likewise.
11819 * intl/gettext.c (DCGETTEXT): Likewise.
11820 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11821 * posix/regex_internal.h (gettext): Likewise.
11822 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11823 Remove declaration.
11824 * include/argz.h (__argz_count_internal)
11825 (__argz_stringify_internal): Remove declaration.
11826 (__argz_count, __argz_stringify): Declare hidden proto.
11827 * intl/dcgettext.c: Remove use of INTDEF.
11828 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11829 * string/argz-stringify.c: Likewise.
11830 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11831 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11832 Declare hidden proto.
11833 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11834 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11835 Declare hidden proto.
11836 * include/stdio.h (__asprintf_internal): Don't declare.
11837 (__asprintf): Don't define as macro. Declare hidden proto.
11838 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11839 (__fsetlocking): Declare hidden proto.
11840 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11841 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11843 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11844 (_IO_setlinebuf): Remove use of INTUSE.
11845 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11846 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11847 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11848 Remove declaration.
11849 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11850 (_IO_do_flush): Remove use of INTUSE.
11851 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11852 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11853 (_IO_adjust_column, _IO_least_wmarker)
11854 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11855 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11856 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11857 (_IO_default_doallocate, _IO_wdefault_doallocate)
11858 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11859 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11860 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11861 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11862 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11863 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11864 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11865 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11866 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11867 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11868 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11869 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11870 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11872 (_IO_flush_all_internal, _IO_adjust_column_internal)
11873 (_IO_default_uflow_internal, _IO_default_finish_internal)
11874 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11875 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11876 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11877 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11878 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11879 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11880 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11881 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11882 (_IO_file_close_internal, _IO_file_close_it_internal)
11883 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11884 (_IO_file_init_internal, _IO_file_attach_internal)
11885 (_IO_file_fopen_internal, _IO_file_read_internal)
11886 (_IO_file_sync_internal, _IO_file_seek_internal)
11887 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11888 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11889 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11890 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11891 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11892 (_IO_list_all_internal, _IO_link_in_internal)
11893 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11894 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11895 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11896 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11897 (_IO_do_write_internal, _IO_padn_internal)
11898 (_IO_getline_info_internal, _IO_getline_internal)
11899 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11900 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11901 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11902 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11903 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11904 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11905 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11906 with libc_hidden_ver, remove use of INTUSE.
11907 * libio/genops.c: Likewise.
11908 * libio/freopen.c: Likewise.
11909 * libio/freopen64.c: Likewise.
11910 * libio/iofclose.c: Likewise.
11911 * libio/iofdopen.c: Likewise.
11912 * libio/iofflush.c: Likewise.
11913 * libio/iofflush_u.c: Likewise.
11914 * libio/iofgets.c: Likewise.
11915 * libio/iofgets_u.c: Likewise.
11916 * libio/iofopen.c: Likewise.
11917 * libio/iofopncook.c: Likewise.
11918 * libio/iofread.c: Likewise.
11919 * libio/iofread_u.c: Likewise.
11920 * libio/ioftell.c: Likewise.
11921 * libio/iofwrite.c: Likewise.
11922 * libio/iogetline.c: Likewise.
11923 * libio/iogets.c: Likewise.
11924 * libio/iogetwline.c: Likewise.
11925 * libio/iopadn.c: Likewise.
11926 * libio/iopopen.c: Likewise.
11927 * libio/ioseekoff.c: Likewise.
11928 * libio/ioseekpos.c: Likewise.
11929 * libio/iosetbuffer.c: Likewise.
11930 * libio/iosetvbuf.c: Likewise.
11931 * libio/ioungetc.c: Likewise.
11932 * libio/ioungetwc.c: Likewise.
11933 * libio/iovdprintf.c: Likewise.
11934 * libio/iovsprintf.c: Likewise.
11935 * libio/iovsscanf.c: Likewise.
11936 * libio/memstream.c: Likewise.
11937 * libio/obprintf.c: Likewise.
11938 * libio/oldfileops.c: Likewise.
11939 * libio/oldiofclose.c: Likewise.
11940 * libio/oldiofdopen.c: Likewise.
11941 * libio/oldiofopen.c: Likewise.
11942 * libio/oldiopopen.c: Likewise.
11943 * libio/oldstdfiles.c: Likewise.
11944 * libio/putc.c: Likewise.
11945 * libio/setbuf.c: Likewise.
11946 * libio/setlinebuf.c: Likewise.
11947 * libio/stdfiles.c: Likewise.
11948 * libio/strops.c: Likewise.
11949 * libio/vasprintf.c: Likewise.
11950 * libio/vscanf.c: Likewise.
11951 * libio/vsnprintf.c: Likewise.
11952 * libio/vswprintf.c: Likewise.
11953 * libio/wfiledoalloc.c: Likewise.
11954 * libio/wfileops.c: Likewise.
11955 * libio/wgenops.c: Likewise.
11956 * libio/wmemstream.c: Likewise.
11957 * libio/wstrops.c: Likewise.
11958 * libio/__fpurge.c: Likewise.
11959 * libio/__fsetlocking.c: Likewise.
11960 * assert/assert.c: Likewise.
11961 * debug/fgets_chk.c: Likewise.
11962 * debug/fgets_u_chk.c: Likewise.
11963 * debug/fread_chk.c: Likewise.
11964 * debug/fread_u_chk.c: Likewise.
11965 * debug/gets_chk.c: Likewise.
11966 * debug/obprintf_chk.c: Likewise.
11967 * debug/vasprintf_chk.c: Likewise.
11968 * debug/vdprintf_chk.c: Likewise.
11969 * debug/vsnprintf_chk.c: Likewise.
11970 * debug/vsprintf_chk.c: Likewise.
11971 * malloc/mtrace.c: Likewise.
11972 * misc/error.c: Likewise.
11973 * misc/syslog.c: Likewise.
11974 * stdio-common/asprintf.c: Likewise.
11975 * stdio-common/fxprintf.c: Likewise.
11976 * stdio-common/getw.c: Likewise.
11977 * stdio-common/isoc99_fscanf.c: Likewise.
11978 * stdio-common/isoc99_scanf.c: Likewise.
11979 * stdio-common/isoc99_vfscanf.c: Likewise.
11980 * stdio-common/isoc99_vscanf.c: Likewise.
11981 * stdio-common/isoc99_vsscanf.c: Likewise.
11982 * stdio-common/printf-prs.c: Likewise.
11983 * stdio-common/printf_fp.c: Likewise.
11984 * stdio-common/printf_fphex.c: Likewise.
11985 * stdio-common/printf_size.c: Likewise.
11986 * stdio-common/putw.c: Likewise.
11987 * stdio-common/scanf.c: Likewise.
11988 * stdio-common/sprintf.c: Likewise.
11989 * stdio-common/tmpfile.c: Likewise.
11990 * stdio-common/vfprintf.c: Likewise.
11991 * stdio-common/vfscanf.c: Likewise.
11992 * stdlib/strfmon_l.c: Likewise.
11993 * sunrpc/openchild.c: Likewise.
11994 * sunrpc/xdr_stdio.c: Likewise.
11995 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11996 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11998 2012-05-24 Roland McGrath <roland@hack.frob.com>
12000 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12002 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12003 in the third column, to generate for the shared library an IFUNC
12004 that uses _dl_vdso_vsym.
12005 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12006 * Makeconfig (object-suffixes-noshared): New variable.
12008 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12009 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12010 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12011 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12014 * include/sys/time.h (__gettimeofday): Remove macro.
12015 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12016 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12018 (__gettimeofday): Add libc_hidden_def.
12019 (gettimeofday): Add libc_hidden_weak.
12020 * sysdeps/mach/gettimeofday.c: Likewise.
12021 * sysdeps/posix/gettimeofday.c: Likewise.
12022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12023 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12025 (__gettimeofday_internal): Remove strong_alias.
12026 (__gettimeofday): Add libc_hidden_def.
12027 (gettimeofday): Add libc_hidden_weak.
12028 * sysdeps/unix/syscalls.list (gettimeofday):
12029 Remove __gettimeofday_internal alias.
12031 2012-05-24 Daniel Jacobowitz <drow@false.org>
12032 H.J. Lu <hongjiu.lu@intel.com>
12035 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12036 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12037 (largebin_index_32_big): New.
12038 (largebin_index): Use it for 16-byte alignment.
12039 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12040 correction with front_misalign.
12042 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12070 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12071 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12073 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12077 * math/libm-test.inc (exp_test): Add test from bug 14036.
12078 (pow_test): Add test from bug 10846.
12080 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12082 (special_function): Do not include flags in test name.
12083 (parse_args): Likewise.
12084 * sysdeps/i386/fpu/libm-test-ulps: Update.
12085 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12086 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12087 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12090 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12092 * math/libm-test.inc ("Philosophy"): Update comment about
12094 (UNDERFLOW_EXCEPTION): New macro.
12095 (UNDERFLOW_EXCEPTION_OK): Likewise.
12096 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12097 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12098 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12099 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12100 (INVALID_EXCEPTION_OK): Update value.
12101 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12102 (OVERFLOW_EXCEPTION_OK): Likewise.
12103 (IGNORE_ZERO_INF_SIGN): Likewise.
12104 (test_exceptions): Handle underflow exceptions.
12105 (acos_test): Update for underflow exception expectations.
12106 (cexp_test): Likewise.
12107 (clog_test): Likewise.
12108 (clog10_test): Likewise.
12109 (csqrt_test): Likewise.
12110 (ctan_test): Likewise.
12111 (ctanh_test): Likewise.
12112 (exp_test): Likewise.
12113 (exp10_test): Likewise.
12114 (exp2_test): Likewise.
12115 (expm1_test): Likewise.
12116 (fma_test): Likewise.
12117 (j0_test): Likewise.
12118 (jn_test): Likewise.
12119 (nexttoward_test): Likewise.
12120 (pow_test): Likewise.
12121 (scalbn_test): Likewise.
12122 (scalbln_test): Likewise.
12123 (tan_test): Likewise.
12124 (y1_test): Likewise.
12125 * sysdeps/i386/fpu/libm-test-ulps: Update.
12126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12128 2012-05-23 David S. Miller <davem@davemloft.net>
12130 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12131 (__libc_sigaction): Remove unused local variables.
12133 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12135 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12137 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12139 mktime: avoid signed integer overflow
12140 * time/mktime.c (__mktime_internal): Do not mishandle the case
12141 where diff == INT_MIN.
12143 mktime: simplify computation of average
12144 * time/mktime.c (ranged_convert): Use new time_t_avg function
12145 instead of rolling our own (probably-slower) code.
12147 mktime: do not assume signed right shift propagates sign bit
12148 * time/mktime.c (isdst_differ): New static function.
12149 (__mktime_internal): No need to normalize tm_isdst now.
12150 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12153 mktime: merge another wrapv change from gnulib
12154 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12155 from some compilers.
12157 mktime: remove incorrect attempt at unusual arithmetics
12158 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12159 The code didn't really work on such machines anyway.
12160 (TYPE_MINIMUM): Assume two's complement.
12161 (twos_complement_arithmetic): Verify that long_int and time_t
12162 are two's complement (or unsigned, in the latter case).
12164 mktime: check signed shifts on long_int and time_t, too
12165 * time/mktime.c (SHR): Check that shifts work as desired
12166 on the types long_int and time_t too, as SHR is used on
12169 mktime: do not assume 'long' is wide enough
12170 * time/mktime.c (verify): Move decl up.
12171 (long_int): New type.
12172 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12173 to remove assumption in the code that 'long' is wide enough to
12174 store year values. This assumption is not true on x32 and on
12175 some non-glibc platforms.
12177 mktime: merge wrapv change from gnulib
12178 * time/mktime.c (WRAPV): New macro.
12179 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12180 (guess_time_tm, __mktime_internal): Do not assume that signed
12181 integer overflow wraps around; modern compilers generate code
12182 where this assumption is no longer valid.
12184 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12186 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12187 Replace "jmp L(pseudo_end)" with "ret".
12188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12191 2012-05-23 Andreas Jaeger <aj@suse.de>
12193 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12194 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12196 2012-05-23 Andreas Jaeger <aj@suse.de>
12197 Maximilian Attems <max@stro.at>
12199 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12202 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12205 code so that pseudo_end is just ret and the stack pointer is
12206 correct also for static library in error case.
12208 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12210 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12211 move to syscalls.list.
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12217 * manual/install.texi (Running make install): Do not mention Linux
12218 kernel version for which pt_chown is not needed.
12219 (Linux): Do not mention problems with nscd with 2.0 kernels.
12220 * INSTALL: Regenerated.
12222 2012-05-23 Andreas Jaeger <aj@suse.de>
12224 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12225 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12227 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12228 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12229 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12230 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12231 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12232 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12234 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12236 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12237 * sysdeps/unix/sysv/linux/bits/in.h
12238 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12240 2012-05-22 Roland McGrath <roland@hack.frob.com>
12242 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12243 (PREPARE_VERSION): Just use assert instead, it will be elided
12244 under [NDEBUG] anyway.
12246 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12248 * sysdeps/unix/sysv/linux/Makefile: Include
12249 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12250 (sysdep_routines): Remove sysctl.
12251 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12252 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12253 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12254 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12255 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12257 2012-05-22 Andreas Jaeger <aj@suse.de>
12259 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12260 that pseudo_end is just ret and the stack pointer is correct also
12261 for static library in error case.
12263 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12266 * nss/nsswitch.c (defconfig_entries): New variable.
12267 (__nss_database_lookup): Don't leak defconfig entries.
12268 (nss_parse_service_list): Don't leak on error paths.
12269 (free_database_entries): New function.
12270 (free_defconfig): New function.
12271 (free_mem): Move common code to free_database_entries.
12273 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12277 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12279 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12280 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12283 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12284 (INTERNAL_SYSCALL_TYPES): Likewise.
12285 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12286 (LOAD_REGS_TYPES_[1-6]): Likewise.
12287 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12288 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12290 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12293 copysignl for GLIBC_2_0.
12294 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12295 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12297 logbl for GLIBC_2_0.
12298 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12299 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12301 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12304 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12306 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12309 * time/mktime.c: Update copyright years.
12311 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12313 mktime: merge comment-quoting-style change from gnulib
12314 * time/mktime.c: Quote 'like this' in comments.
12315 The GNU coding standards suggest that we no longer quote `like this',
12316 as "`" and "'" are typically rendered asymmetrically nowadays.
12317 The typical gnulib style is to quote 'like this' when quoting
12318 code, and "like this" when quoting English.
12320 * time/mktime.c (compile-command): Add "-I.".
12322 mktime: merge mktime-internal.h change from gnulib
12323 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12325 mktime: merge time_r change from gnulib
12326 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12328 mktime: merge DEBUG change from gnulib
12329 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12330 case system <time.h> has a #define.
12332 mktime: merge <sys/types.h> change from gnulib
12333 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12334 since <time.t> is now guaranteed to define time_t.
12336 mktime: merge HAVE_CONFIG_H change from gnulib
12337 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12339 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12344 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12346 (struct rusage): Use anonymous union to pad each field to
12349 2012-05-21 David S. Miller <davem@davemloft.net>
12351 * Makefules (o-iterator): Remove .s cases.
12352 (compile-command.s): Delete.
12353 (COMPILE.s): Delete.
12354 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12356 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12358 * configure.in (libc_cv_predef_stack_protector): Only consider
12359 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12360 * configure: Regenerated.
12362 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12365 New macro. Use R*LP on int and pointer.
12366 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12367 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12368 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12371 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12372 [__WORDSIZE_TIME64_COMPAT32] instead of
12373 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12374 (struct utmp): Likewise.
12375 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12376 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12378 (__WORDSIZE_TIME64_COMPAT32): This.
12379 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12380 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12381 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12382 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12383 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12384 (__WORDSIZE_TIME64_COMPAT32): New macro.
12386 2012-05-21 Andreas Jaeger <aj@suse.de>
12388 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12389 only if [SHARED]. Add prototype for __wcschr_ia32.
12391 2012-05-21 Roland McGrath <roland@hack.frob.com>
12393 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12394 of %rbp unmolested in the jmp_buf while mangling the low bits.
12395 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12396 unmolested high bits of %rbp while demangling the low bits.
12397 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12399 2012-05-21 Andreas Jaeger <aj@suse.de>
12401 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12402 * sunrpc/svc_simple.c: Use it for registerrpc.
12403 * sunrpc/xcrypt.c: Use it for passwd2des.
12405 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12407 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12409 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12410 Don't define if [__SYSCALL_WORDSIZE != 32].
12411 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12414 2012-05-21 Bruno Haible <bruno@clisp.org>
12415 Andreas Jaeger <aj@suse.de>
12417 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12418 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12419 inptr and inend for must_buffer_ch.
12420 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12421 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12422 * stdio-common/Makefile (tests): Remove bug15.
12423 (bug15-ENV): Remove macro.
12424 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12427 2012-05-19 Andreas Jaeger <aj@suse.de>
12428 Roland McGrath <roland@hack.frob.com>
12430 * manual/contrib.texi: Completely rewritten. It contains now an
12431 alphabetical list of contributors and their contributions.
12433 2012-05-21 Richard Henderson <rth@twiddle.net>
12435 * misc/getauxval.c (__getauxval): Use unsigned long int.
12436 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12437 (getauxval): Use unsigned long int.
12439 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12441 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12443 2012-05-21 Roland McGrath <roland@hack.frob.com>
12445 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12446 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12447 __alignof__ (long double).
12449 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12453 2012-05-20 Richard Henderson <rth@twiddle.net>
12455 * misc/getauxval.c: New file.
12456 * misc/sys/auxv.h: New file.
12457 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12458 (routines): Add getauxval.
12459 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12460 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12461 * elf/dl-sysdep.c (_dl_auxv): Remove.
12462 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12463 * elf/dl-support.c (_dl_auxv): New variable.
12464 (_dl_aux_init): Initialize it.
12465 * manual/startup.texi (Auxiliary Vector): New node.
12466 * sysdeps/generic/bits/hwcap.h: New file.
12467 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12468 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12469 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12470 * sysdeps/sparc/sysdep.h: ... here. Include it.
12471 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12472 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12484 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12488 2012-05-19 David S. Miller <davem@davemloft.net>
12490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12492 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12495 * math/s_ccosh.c: Include <float.h>
12496 (__ccosh): Avoid internal overflow calculating sinh and cosh
12497 values before multiplying by sin and cos values.
12498 * math/s_ccoshf.c: Likewise.
12499 * math/s_ccoshl.c: Likewise.
12500 * math/s_csin.c: Likewise.
12501 * math/s_csinf.c: Likewise.
12502 * math/s_csinl.c: Likewise.
12503 * math/s_csinh.c: Likewise.
12504 * math/s_csinhf.c: Likewise.
12505 * math/s_csinhl.c: Likewise.
12506 * math/libm-test.inc (ccos_test): Add more tests.
12507 (ccosh_test): Likewise.
12508 (csin_test): Likewise.
12509 (csinh_test): Likewise.
12510 * sysdeps/i386/fpu/libm-test-ulps: Update.
12511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12515 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12516 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12518 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12520 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12522 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12523 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12524 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12525 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12526 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12527 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12528 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12529 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12530 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12531 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12532 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12533 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12534 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12535 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12536 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12537 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12538 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12539 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12540 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12541 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12542 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12543 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12544 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12545 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12546 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12547 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12548 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12549 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12550 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12551 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12552 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12554 2012-05-18 Andreas Jaeger <aj@suse.de>
12556 * csu/.gitignore: Delete.
12558 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12560 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12561 (timex): Use __syscall_slong_t.
12563 2012-05-18 Andreas Jaeger <aj@suse.de>
12564 Carlos O'Donell <carlos_odonell@mentor.com>
12566 * manual/install.texi (Configuring and compiling): Update
12567 description about files modified in the source directory.
12568 * INSTALL: Regenerated.
12570 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12572 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12573 value. Use "or" to set return value to -1.
12574 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12575 negate return value.
12577 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12579 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12580 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12581 failure if the compiler has Graphite support disabled.
12582 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12584 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12585 CFLAGS-memmove.c): Likewise.
12586 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12589 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12591 * sysdeps/x86_64/x32/_itoa.h: New file.
12593 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12594 getdents system call only if kernel and user dirents have the
12595 same d_ino and d_off.
12597 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12598 LLONG_MAX != LONG_MAX.
12599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12600 (_fitoa_word): Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12604 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12609 include <bits/wordsize.h>. Check __x86_64__ instead of
12611 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12612 if __x86_64__ is defined. Use anonymous union on fpstate.
12614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12617 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12619 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12620 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12621 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12622 Refer to _rtld_local_ro instead of _rtld_global_ro.
12623 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12625 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12627 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12629 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12630 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12631 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12633 * sysdeps/powerpc/powerpc32/dl-machine.c
12634 (__elf_machine_runtime_setup) [PROF]: Don't reference
12637 2012-05-18 Andreas Jaeger <aj@suse.de>
12639 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12640 function only available for GCCs before 3.4 since GCC 3.4
12641 introduced a builtin.
12643 (llrintf): Likewise.
12644 (llrint): Likewise.
12651 (nearbyint): Likewise.
12652 (nearbyintf): Likewise.
12656 (floorf): Likewise.
12658 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12660 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12661 on both fields and cast pointer to __syscall_ulong_t.
12663 * bits/types.h (__fsword_t): New type.
12664 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12665 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12667 (__FSWORD_T_TYPE): Likewise.
12668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12669 (__FSWORD_T_TYPE): Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12671 (__FSWORD_T_TYPE): Likewise.
12672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12673 (__FSWORD_T_TYPE): Likewise.
12674 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12675 __SWORD_TYPE with __fsword_t.
12676 (statfs64): Likewise.
12678 2012-05-17 David S. Miller <davem@davemloft.net>
12680 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12682 2012-05-17 Andreas Jaeger <aj@suse.de>
12684 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12687 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12689 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12691 2012-05-17 Andreas Jaeger <aj@suse.de>
12693 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12696 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12698 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12700 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12702 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12703 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12705 2012-05-17 Andreas Jaeger <aj@suse.de>
12706 Carlos O'Donell <carlos_odonell@mentor.com>
12709 * sysdeps/x86_64/multiarch/init-arch.h
12710 (bit_YMM_Usable): Rename to...
12711 (bit_AVX_Usable): ... this.
12712 (bit_FMA4_Usable): New macro.
12713 (bit_XMM_state): New macro.
12714 (bit_YMM_state): New macro.
12715 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12716 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12717 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12718 (CPUID_OSXSAVE): New macro.
12719 (CPUID_AVX): New macro.
12720 (CPUID_FMA4): New macro.
12721 (index_YMM_Usable): Rename to...
12722 (index_AVX_Usable): ... this.
12723 (HAS_AVX): Use HAS_ARCH_FEATURE.
12724 (HAS_FMA4): Likewise.
12725 (HAS_YMM_USABLE): Remove.
12726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12727 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12729 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12730 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12731 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12732 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12733 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12735 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12737 * math/libm-test.c: Support platforms without multiple rounding modes.
12738 * math/bug-nextafter.c: Support platforms without FP exceptions.
12739 * math/bug-nexttoward.c: Likewise.
12740 * math/test-fenv.c: Likewise.
12741 * math/test-misc.c: Likewise.
12742 * stdlib/bug-getcontext.c: Likewise.
12744 2012-05-17 Andreas Jaeger <aj@suse.de>
12746 * manual/examples/search.c (critter_cmp): Change signature to
12748 * manual/string.texi (Collation Functions): Likewise.
12750 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12752 * bits/types.h: Fold copyright years.
12753 * bits/typesizes.h: Likewise.
12754 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12755 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12758 * time/time.h: Likewise.
12760 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12763 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12764 in instead of returning them. Return void.
12765 (__libc_mallinfo): Accumulate over all arenas.
12766 (__malloc_stats): Adjust for change in int_mallinfo interface.
12768 2012-05-16 Roland McGrath <roland@hack.frob.com>
12771 * configure.in (NM): Add AC_CHECK_TOOL for it.
12772 (libc_extra_cflags): New substituted variable.
12773 Check for -fstack-protector being used implicitly.
12774 * configure: Regenerated.
12775 * config.make.in (config-extra-cflags): New variable,
12776 gets @libc_extra_cflags@.
12777 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12780 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12781 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12782 * configure: Regenerated.
12783 * config.make.in (CPPUNDEFS): New substituted variable.
12784 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12785 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12786 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12788 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12790 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12791 (mq_attr): Use __syscall_slong_t.
12793 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12795 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12796 Check __x86_64__ instead of __WORDSIZE.
12797 (_STAT_VER_LINUX): Likewise.
12798 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12799 __syscall_ulong_t and __syscall_slong_t.
12800 (stat64): Likewise.
12802 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12804 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12806 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12808 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12810 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12812 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12815 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12816 include <bits/wordsize.h>. Check __x86_64__ instead of
12818 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12820 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12822 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12823 include <bits/wordsize.h>. Check __x86_64__ instead of
12825 (user_regs_struct): Use "__extension__ unsigned long long"
12826 instead of "unsigned long" if __x86_64__ is defined.
12827 (user): Likewise. Pad after pointer field if __ILP32__ is
12830 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12832 * configure.in (makeinfo): Require version 4.5 or later. Allow
12834 * configure: Regenerated.
12835 * manual/install.texi (texinfo): Increase version requirement to
12837 * INSTALL: Regenerated.
12839 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12841 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12843 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12845 * sysdeps/x86_64/x32/ffs.c: New file.
12847 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12849 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12850 defined. Use __syscall_ulong_t.
12851 (shminfo): Use __syscall_ulong_t.
12852 (shm_info): Likewise.
12854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12857 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12859 (msgqnum_t): Use __syscall_ulong_t.
12860 (msglen_t): Likewise.
12861 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12864 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12865 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12867 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12869 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12870 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12872 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12875 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12876 include <bits/wordsize.h>. Check __x86_64__ instead of
12879 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12880 "unsigned long long int" if __x86_64__ is defined.
12881 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12883 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12884 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12885 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12887 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12889 (GET_PC): Cast to uintptr_t first.
12890 (GET_FRAME): Likewise.
12891 (GET_STACK): Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12894 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12899 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12900 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12901 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12902 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12903 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12904 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12905 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12906 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12908 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12909 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12910 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12911 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12912 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12913 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12914 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12915 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12918 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12919 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12920 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12921 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12923 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12925 * Makerules (+depfiles): Also collect depfiles from .oS in
12927 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12928 .oS, $(libnldbl-routines)).
12930 * Makerules (native-compile-mkdep-flags): Define.
12931 * sunrpc/Makefile (extra-objs): Add $(addprefix
12932 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12933 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12934 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12935 calling $(make-target-directory).
12937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12939 * bits/types.h (__snseconds_t): Removed.
12940 * time/time.h (struct timespec): Replace __snseconds_t with
12942 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12943 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12946 (__SNSECONDS_T_TYPE): Likewise.
12947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12948 (__SNSECONDS_T_TYPE): Likewise.
12949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12950 (__SNSECONDS_T_TYPE): Likewise.
12952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12954 * sysdeps/mach/hurd/bits/typesizes.h
12955 (__SYSCALL_SLONG_TYPE): New macro.
12956 (__SYSCALL_ULONG_TYPE): Likewise.
12958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12960 * bits/types.h (__syscall_slong_t): New type.
12961 (__syscall_ulong_t): Likewise.
12963 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12964 (__SYSCALL_ULONG_TYPE): Likewise.
12965 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12966 (__SYSCALL_SLONG_TYPE): Likewise.
12967 (__SYSCALL_ULONG_TYPE): Likewise.
12968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12969 (__SYSCALL_SLONG_TYPE): Likewise.
12970 (__SYSCALL_ULONG_TYPE): Likewise.
12971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12972 (__SYSCALL_SLONG_TYPE): Likewise.
12973 (__SYSCALL_ULONG_TYPE): Likewise.
12975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12977 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12978 Add sigaltstack-offsets.sym.
12979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12980 <sigaltstack-offsets.h>.
12981 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12982 longjmp_msg pointer.
12983 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12984 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12986 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12988 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12990 * elf/stackguard-macros.h: Remove file.
12991 * sysdeps/generic/stackguard-macros.h: New file.
12992 * sysdeps/i386/stackguard-macros.h: Likewise.
12993 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12994 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12995 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12996 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12997 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12998 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12999 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13000 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13001 <elf/stackguard-macros.h>.
13004 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13005 __aligned__ in attribute.
13006 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13007 (gregset_t): Likewise.
13009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13011 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13012 * sysdeps/x86_64/64/Implies-after: Here. New file.
13013 * sysdeps/x86_64/x32/Implies-after: New file.
13015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13017 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13018 and access return value for _dl_profile_fixup. Use R10_LP to
13021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13023 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13027 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13028 * sysdeps/x86_64/x32/sysdep.h: New file.
13030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13032 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13033 * sysdeps/x86_64/setjmp.S: Likewise.
13035 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13037 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13038 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13039 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13040 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13041 remove unused global constant.
13043 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13045 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13046 include of <not-cancel.h>.
13048 2012-05-15 Roland McGrath <roland@hack.frob.com>
13050 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13052 2012-05-15 Jeff Law <law@redhat.com>
13053 Andreas Jaeger <aj@suse.de>
13056 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13058 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13059 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13060 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13061 code changing __hst_map_handle.map.
13063 2012-05-15 Roland McGrath <roland@hack.frob.com>
13065 * configure.in (sysnames): Look for Implies-before and Implies-after
13067 * configure: Regenerated.
13069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13071 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13072 8-byte data alignment with LP_SIZE alignment.
13074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13076 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13081 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13085 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13086 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13087 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13093 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13094 (stackinfo_sub_sp): Likewise.
13096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13103 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13108 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13113 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13117 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13118 into R11_LP and load __x86_64_shared_cache_size_half into
13121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13126 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13130 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13134 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13135 powerpc32/power7/fpu/s_logb.c via #include.
13136 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13137 powerpc32/power7/fpu/s_logbf.c via #include.
13138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13139 powerpc32/power7/fpu/s_logbl.c via #include.
13141 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13143 * README.libm: Remove file.
13145 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13147 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13148 count for x32. Use R*_LP and omit operand-size suffix.
13150 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13152 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13153 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13154 * sysdeps/x86_64/x32/shlib-versions: New file.
13156 2012-05-14 Roland McGrath <roland@hack.frob.com>
13158 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13159 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13160 Use _dl_fatal_printf instead.
13162 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13164 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13165 set if not set by the user. Do not allow for being unset.
13166 * sysdeps/unix/sysv/linux/configure: Regenerated.
13168 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13170 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13171 the `q' suffix from lea and replace .quad with ASM_ADDR.
13173 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13176 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13178 (PTR_DEMANGLE): Likewise.
13180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13182 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13184 (ASM_ADDR): Likewise.
13185 (RAX_LP): Likewise.
13186 (RBP_LP): Likewise.
13187 (RBX_LP): Likewise.
13188 (RCX_LP): Likewise.
13189 (RDI_LP): Likewise.
13190 (RSI_LP): Likewise.
13191 (RSP_LP): Likewise.
13194 (R10_LP): Likewise.
13195 (R10_LP): Likewise.
13196 (R11_LP): Likewise.
13197 (R12_LP): Likewise.
13198 (R13_LP): Likewise.
13199 (R14_LP): Likewise.
13200 (R15_LP): Likewise.
13202 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13204 * sysdeps/x86_64/x32/dl-machine.h: New file.
13206 2012-05-14 Andreas Jaeger <aj@suse.de>
13208 * manual/Makefile (subdir): Remove export of subdir.
13209 (all): Remove target.
13210 (.PHONY): Remove all from list.
13211 (mkinstalldirs): Remove.
13212 (.PHONY): Remove installdirs from list.
13213 ($(inst_infodir)/libc.info): Use make-target-directory.
13214 (installdirs): Remove.
13215 (subdir_%): Remove.
13216 (glibc-targets): Remove.
13219 ($(objpfx)stubs ../po/manual.pot): Remove.
13220 ($(objpfx)stamp%): Remove.
13221 (make-target-directory): Remove.
13222 (subdir_install): Remove.
13223 (routines): Remove.
13230 * manual/.gitignore: Remove, it's not needed anymore.
13231 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13233 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13235 (texis): Renamed to $(objpfx)texis.
13236 (texis-path): New, contains path to generated files.
13237 (chapters.%): Use texis-path for complete path, add extra argument
13239 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13240 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13241 (summary,texi, stamp-summary): Use complete path of
13242 files. Generate files in build dir.
13243 (dir-add.texi): Build in build dir.
13244 (libm-err.texi,stamp-libm-err): Likewise.
13245 (version.texi, stamp-version): Likewise.
13246 (.%c.texi): Likewise.
13247 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13248 (mostlyclean): Remove target.
13249 (realclean): Remove target.
13250 (generated): Add new variable with contents from mostlyclean and
13251 realclean, remove entries duplicated in common-mostlyclean, add
13252 stamp-libm-err and stamp-version.
13253 (generated-dirs): Add libc directory.
13254 ($(inst_infodir)/libc.info): Install files from build dir.
13256 * manual/install.texi (Configuring and compiling): Adjust since
13257 the info files are not part of the tar ball anymore.
13259 2012-05-14 Andreas Jaeger <aj@suse.de>
13261 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13264 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13268 to 2.2.0 where earlier.
13269 * sysdeps/unix/sysv/linux/configure: Regenerated.
13270 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13271 Remove conditional code.
13272 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13273 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13274 Remove conditional code.
13275 [!__NR_lchown]: Likewise.
13276 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13277 [__NR_lchown]: Likewise.
13278 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13279 comment referencing __ASSUME_LCHOWN_SYSCALL.
13280 * sysdeps/unix/sysv/linux/i386/sigaction.c
13281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13283 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13284 Remove conditional code.
13285 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13286 (__protocol_available): Remove #if 0 code.
13287 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13289 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13290 * sysdeps/unix/sysv/linux/kernel-features.h
13291 (__ASSUME_GETCWD_SYSCALL): Don't define.
13292 (__ASSUME_REALTIME_SIGNALS): Likewise.
13293 (__ASSUME_PREAD_SYSCALL): Likewise.
13294 (__ASSUME_PWRITE_SYSCALL): Likewise.
13295 (__ASSUME_POLL_SYSCALL): Likewise.
13296 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13297 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13299 (__ASSUME_SIOCGIFNAME): Don't define.
13300 (__ASSUME_MSG_NOSIGNAL): Likewise.
13301 (__ASSUME_SENDFILE): Define unconditionally.
13302 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13303 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13305 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13306 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13307 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13308 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13309 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13310 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13311 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13313 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13319 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13325 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13336 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13337 Remove conditional code.
13338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13339 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13340 Remove conditional code.
13341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13342 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13343 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13344 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13345 Remove conditional code.
13346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13347 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13348 Remove conditional code.
13349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13350 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13351 Remove conditional code.
13352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13353 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13354 Remove conditional code.
13355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13356 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13357 Remove conditional code.
13358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13359 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13362 * sysdeps/unix/sysv/linux/sigaction.c
13363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13365 * sysdeps/unix/sysv/linux/sigpending.c
13366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13368 * sysdeps/unix/sysv/linux/sigprocmask.c
13369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13371 * sysdeps/unix/sysv/linux/sigsuspend.c
13372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13374 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13375 (__libc_missing_rt_sigs): Remove.
13376 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13377 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13378 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13379 Remove conditional code.
13380 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13381 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13383 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13384 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13385 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13386 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13388 2012-05-14 Andreas Jaeger <aj@suse.de>
13390 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13391 it's not used in glibc.
13392 (__coshm1): Likewise.
13393 (__acosh1p): Likewise.
13396 * manual/string.texi (Copying and Concatenation): Add missing
13397 variable in concat example.
13398 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13404 __builtin_clzl with __builtin_clzll.
13406 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13409 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13412 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13414 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13415 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13416 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13417 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13419 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13421 * NEWS: Update ia64 info.
13423 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13425 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13428 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13430 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13431 * sysdeps/unix/syscalls.list (dup3): Likewise.
13432 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13433 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13435 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13437 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13438 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13440 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13442 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13444 (TLS_IE): Use mov/add instead of movq/addq to load thread
13446 (TLS_GD_PREFIX): New.
13449 2012-05-11 David S. Miller <davem@davemloft.net>
13451 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13452 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13453 (_FPU_SETCW): Likewise.
13455 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13457 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13458 is 32-byte aligned.
13460 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13463 * iconvdata/gb18030.c: Update tables.
13464 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13465 characters specially.
13466 (BODY for TO_LOOP): Add encoding of missing ranges.
13468 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13471 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13472 * sysdeps/mach/hurd/dup3.c: Likewise.
13473 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13474 * sysdeps/powerpc/memmove.c:: Likewise.
13476 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13479 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13481 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13483 * elf/elf.h (R_X86_64_RELATIVE64): New.
13484 (R_X86_64_NUM): Updated.
13485 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13486 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13487 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13488 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13489 tst-quad1pie tst-quad2pie
13490 (modules-names): Add tst-quadmod1 tst-quadmod2.
13491 ($(objpfx)tst-quad1): New dependency.
13492 ($(objpfx)tst-quad2): Likewise.
13493 ($(objpfx)tst-quad1pie): Likewise.
13494 ($(objpfx)tst-quad2pie): Likewise.
13495 * sysdeps/x86_64/tst-quad1.c: New file.
13496 * sysdeps/x86_64/tst-quad1pie.c: New file.
13497 * sysdeps/x86_64/tst-quad2.c: Likewise.
13498 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13499 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13500 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13501 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13502 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13506 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13507 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13508 * streams/stropts.h (t_scalar_t): Define type.
13510 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13511 (_PATH_PRESERVE): Set to "/var/lib".
13512 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13514 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13517 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13518 if __dir_mkfile succeeded.
13520 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13521 checking for _hurd_dtablesize. Unlock it right after having
13522 finished _hurd_dtable allocation.
13524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13526 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13527 * sysdeps/mach/hurd/configure: Regenerated.
13528 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13529 special-casing to...
13530 * sysdeps/gnu/configure.in: ... this new file.
13531 * sysdeps/unix/sysv/linux/configure: Regenerated.
13532 * sysdeps/gnu/configure: New generated file.
13534 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13535 for Linux: use nsec instead of usec, as well as:
13536 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13537 members of type struct timespec.
13538 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13540 (struct stat64): Likewise.
13541 (_STATBUF_ST_NSEC): New macro.
13542 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13544 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13545 __strtoul_internal rather than strtoul.
13547 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13549 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13554 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13555 which preserves existing values.
13556 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13558 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13560 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13561 TIMEOUT values. Return EINVAL for NFDS values either negative or
13562 greater than FD_SETSIZE.
13564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13566 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13567 allocated, call __vm_protect to finish enabling the existing space, and
13568 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13569 allocate the remainder.
13571 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13573 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13574 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13578 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13579 sysdeps/mach/hurd/readlink.c.
13581 * posix/tst-sysconf.c (posix_options): Only use
13582 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13583 _POSIX_SYNCHRONIZED_IO when they are defined
13584 * sysdeps/mach/hurd/bits/posix_opt.h:
13585 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13586 (_XOPEN_REALTIME): Undefine macro.
13587 (_XOPEN_REALTIME_THREADS): Undefine macro.
13588 (_XOPEN_SHM): Undefine macro.
13589 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13591 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13593 (_POSIX_ASYNC_IO): Undefine macro.
13594 (_POSIX_PRIORITIZED_IO): Undefine macro.
13595 (_POSIX_SPIN_LOCKS): Define macro to -1.
13597 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13598 SA_NODEFER, SA_RESETHAND.
13599 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13600 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13605 * elf/Makefile (pldd-modules): Define unconditionally.
13607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13609 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13613 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13614 Return ENOENT when name is empty.
13615 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13619 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13621 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13625 Fix mlock in all cases except non-readable pages.
13626 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13627 instead of VM_PROT_ALL as parameter to __vm_wire function.
13629 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13630 (__mkdir): When path is `/', just fail with EEXIST.
13631 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13635 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13636 <sys/uio.h> (for writev).
13637 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13638 and <sys/param.h> (for MIN).
13640 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13642 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13643 REQUESTED_TIME. Properly set the remaining time and return EINTR
13646 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13648 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13649 Depend on against $(link-rpcuserlibs).
13651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13653 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13654 (__libc_stack_end): Do not use attribute_relro.
13655 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13656 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13657 to libthread-provided value.
13658 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13664 * bits/libc-lock.h (__libc_once_get): New macro.
13665 * sysdeps/mach/bits/libc-lock.h: Likewise.
13666 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13668 instead of using implementation details.
13670 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13671 * libio/freopen.c: Likewise.
13672 * libio/freopen64.c: Likewise.
13673 * misc/syslog.c: Likewise.
13674 * nscd/connections.c: Likewise.
13675 * nscd/netgroupcache.c: Likewise.
13676 * sysdeps/posix/getcwd.c: Likewise.
13678 2012-05-10 Roland McGrath <roland@hack.frob.com>
13680 * math/w_ilogbf.c: Add #include <limits.h>.
13682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13684 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13685 path instead of returning without unlocking.
13687 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13688 immediate-write ioctls.
13689 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13693 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13694 __builtin_frame_address instead of making assumptions about the
13695 location of the return address relative to DATA. Force early load of
13696 the return address.
13697 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13698 __builtin_frame_address.
13701 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13702 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13703 implement dup3 and do some further code clean-ups.
13704 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13705 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13707 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13709 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13711 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13712 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13713 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13714 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13715 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13718 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13719 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13720 when handler == SIG_ERR, not when handler != SIG_ERR.
13722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13724 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13725 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13728 accept4 for GNU Hurd.
13729 * include/sys/socket.h (__libc_accept4): New prototype.
13730 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13731 to implement __libc_accept4.
13732 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13734 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13736 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13737 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13738 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13739 signal-defines.sym.
13741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13743 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13745 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13747 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13748 assertion on O_CLOEXEC flag.
13749 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13750 * hurd/intern-fd.c: Likewise.
13751 * hurd/port2fd.c: Likewise.
13753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13756 * bits/in.h (IPV6_PKTINFO): Define new macro.
13757 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13759 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13764 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13766 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13770 * math/libm-test.inc (logb_test) : Additional logb tests.
13772 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13773 Andreas Jaeger <aj@suse.de>
13775 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13776 * configure: Regenerated.
13777 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13778 * config.make.in (link-obsolete-rpc): New substituted variable.
13779 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13780 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13781 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13782 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13783 so that libc.a contains the symbols.
13784 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13785 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13786 * sunrpc/auth_none.c: Likewise.
13787 * sunrpc/auth_unix.c: Likewise.
13788 * sunrpc/authdes_prot.c: Likewise.
13789 * sunrpc/authuxprot.c: Likewise.
13790 * sunrpc/clnt_gen.c: Likewise.
13791 * sunrpc/clnt_perr.c: Likewise.
13792 * sunrpc/clnt_raw.c: Likewise.
13793 * sunrpc/clnt_simp.c: Likewise.
13794 * sunrpc/clnt_tcp.c: Likewise.
13795 * sunrpc/clnt_udp.c: Likewise.
13796 * sunrpc/clnt_unix.c: Likewise.
13797 * sunrpc/des_crypt.c: Likewise.
13798 * sunrpc/des_soft.c: Likewise.
13799 * sunrpc/get_myaddr.c: Likewise.
13800 * sunrpc/key_call.c: Likewise.
13801 * sunrpc/key_prot.c: Likewise.
13802 * sunrpc/netname.c: Likewise.
13803 * sunrpc/pm_getmaps.c: Likewise.
13804 * sunrpc/pm_getport.c: Likewise.
13805 * sunrpc/pmap_clnt.c: Likewise.
13806 * sunrpc/pmap_prot.c: Likewise.
13807 * sunrpc/pmap_prot2.c: Likewise.
13808 * sunrpc/pmap_rmt.c: Likewise.
13809 * sunrpc/publickey.c: Likewise.
13810 * sunrpc/rpc_cmsg.c: Likewise.
13811 * sunrpc/rpc_common.c: Likewise.
13812 * sunrpc/rpc_dtable.c: Likewise.
13813 * sunrpc/rpc_prot.c: Likewise.
13814 * sunrpc/rpc_thread.c: Likewise.
13815 * sunrpc/rtime.c: Likewise.
13816 * sunrpc/svc.c: Likewise.
13817 * sunrpc/svc_auth.c: Likewise.
13818 * sunrpc/svc_raw.c: Likewise.
13819 * sunrpc/svc_run.c: Likewise.
13820 * sunrpc/svc_tcp.c: Likewise.
13821 * sunrpc/svc_udp.c: Likewise.
13822 * sunrpc/svc_unix.c: Likewise.
13823 * sunrpc/svcauth_des.c: Likewise.
13824 * sunrpc/xcrypt.c: Likewise.
13825 * sunrpc/xdr.c: Likewise.
13826 * sunrpc/xdr_array.c: Likewise.
13827 * sunrpc/xdr_float.c: Likewise.
13828 * sunrpc/xdr_intXX_t.c: Likewise.
13829 * sunrpc/xdr_mem.c: Likewise.
13830 * sunrpc/xdr_rec.c: Likewise.
13831 * sunrpc/xdr_ref.c: Likewise.
13832 * sunrpc/xdr_sizeof.c: Likewise.
13833 * sunrpc/xdr_stdio.c: Likewise.
13835 2012-05-10 Roland McGrath <roland@hack.frob.com>
13837 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13838 change. Update copyright years.
13840 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13842 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13844 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13845 Joseph Myers <joseph@codesourcery.com>
13846 Paul Pluzhnikov <ppluzhnikov@google.com>
13849 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13851 [cross-compiling] (extra-libs): Likewise.
13852 [cross-compiling] (extra-libs-others): Likewise.
13853 [cross-compiling] (librpcsvc-routines): Likewise.
13854 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13855 [cross-compiling] (omit-deps): Likewise.
13856 (sunrpc-CPPFLAGS): New variable.
13857 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13858 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13859 (cross-rpcgen-objs): New variable.
13860 (extra-objs): Append $(cross-rpcgen-objs).
13861 ($(cross-rpcgen-objs)): New rule.
13862 ($(objpfx)cross-rpcgen): Likewise.
13863 (rpcgen-cmd): Define to use $(built-program-file). Expand
13865 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13866 ($(objpfx)x%.stmp): Likewise.
13867 * sunrpc/proto.h [IS_IN_build] (_): Define.
13868 [IS_IN_build] (_libc_intl_domainname): Likewise.
13870 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13873 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13874 and R_X86_64_TPOFF64.
13876 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13878 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13879 sysdeps/unix/sysv/syscalls.list.
13882 * sysdeps/unix/sysv/syscalls.list: Remove file.
13884 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13887 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13888 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13889 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13890 (__LC_IDENTIFICATION): Make these macros useful in #if
13891 expressions, as required by C99.
13893 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13895 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13896 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13899 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13901 * stdlib/longlong.h: Updated from GCC.
13903 2012-05-09 Andreas Jaeger <aj@suse.de>
13905 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13906 default is first entry.
13907 (run_mode): Set type.
13908 (main): Remove informal message about syslog.
13909 (options): Fix typo.
13912 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13915 (llrintf): Likewise.
13916 (llrint): Likewise.
13919 (nearbyint): Likewise.
13920 (nearbyintf): Likewise.
13922 2012-05-09 Andreas Jaeger <aj@suse.de>
13923 Pedro Alves <palves@redhat.com>
13925 * nscd/nscd.c (run_mode): Use enum.
13926 (main): Cleanup coding style issue.
13928 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13929 Andreas Jaeger <aj@suse.de>
13931 * nscd/nscd.c (go_background): Replaced with...
13932 (run_mode): ... this.
13933 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13934 (options): Add -F --foreground.
13935 (main): Implement it.
13936 (parse_opt): Parse it.
13938 2012-05-09 Andreas Jaeger <aj@suse.de>
13941 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13942 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13943 -Wconversion warning.
13944 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13947 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13949 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13951 (LC_ALL): Use macro-int-constant.
13952 (LC_COLLATE): Likewise.
13953 (LC_CTYPE): Likewise.
13954 (LC_MESSAGES): Likewise.
13955 (LC_MONETARY): Likewise.
13956 (LC_NUMERIC): Likewise.
13957 (LC_TIME): Likewise.
13958 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13959 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13961 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13963 [C99-based standards] (float_t): Expect type.
13964 [C99-based standards] (double_t): Expect type.
13965 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13967 [C99-based standards] (HUGE_VALL): Likewise.
13968 [C99-based standards] (INFINITY): Likewise.
13969 [C99-based standards] (NAN): Likewise.
13970 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13971 [C99-based standards] (FP_NAN): Likewise.
13972 [C99-based standards] (FP_NORMAL): Likewise.
13973 [C99-based standards] (FP_SUBNORMAL): Likewise.
13974 [C99-based standards] (FP_ZERO): Likewise.
13975 [C99-based standards] (FP_FAST_FMA): Use
13976 optional-macro-int-constant. Specify type. Require == 1.
13977 [C99-based standards] (FP_FAST_FMAF): Likewise.
13978 [C99-based standards] (FP_FAST_FMAL): Likewise.
13979 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13980 [C99-based standards] (FP_ILOGBNAN): Likewise.
13981 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13983 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13984 [C99-based standards] (math_errhandling): Specify type.
13985 [ISO99 || ISO11] (signgam): Do not allow.
13986 [non-C99-based standards] (copysignf): Do not allow.
13987 [non-C99-based standards] (exp2f): Likewise.
13988 [non-C99-based standards] (log2f): Likewise.
13989 [non-C99-based standards] (modff): Allow.
13990 [non-C99-based standards] (erff): Do not allow.
13991 [non-C99-based standards] (erfcf): Likewise.
13992 [non-C99-based standards] (gammaf): Likewise.
13993 [non-C99-based standards] (hypotf): Likewise.
13994 [non-C99-based standards] (j0f): Likewise.
13995 [non-C99-based standards] (j1f): Likewise.
13996 [non-C99-based standards] (jnf): Likewise.
13997 [non-C99-based standards] (lgammaf): Likewise.
13998 [non-C99-based standards] (tgammaf): Likewise.
13999 [non-C99-based standards] (y0f): Likewise.
14000 [non-C99-based standards] (y1f): Likewise.
14001 [non-C99-based standards] (ynf): Likewise.
14002 [non-C99-based standards] (isnanf): Likewise.
14003 [non-C99-based standards] (acoshf): Likewise.
14004 [non-C99-based standards] (asinhf): Likewise.
14005 [non-C99-based standards] (atanhf): Likewise.
14006 [non-C99-based standards] (cbrtf): Likewise.
14007 [non-C99-based standards] (expm1f): Likewise.
14008 [non-C99-based standards] (ilogbf): Likewise.
14009 [non-C99-based standards] (log1pf): Likewise.
14010 [non-C99-based standards] (logbf): Likewise.
14011 [non-C99-based standards] (nextafterf): Likewise.
14012 [non-C99-based standards] (remainderf): Likewise.
14013 [non-C99-based standards] (rintf): Likewise.
14014 [non-C99-based standards] (scalbf): Likewise.
14015 [non-C99-based standards] (copysignl): Likewise.
14016 [non-C99-based standards] (exp2l): Likewise.
14017 [non-C99-based standards] (log2l): Likewise.
14018 [non-C99-based standards] (modfl): Allow.
14019 [non-C99-based standards] (erfl): Do not allow.
14020 [non-C99-based standards] (erfcl): Likewise.
14021 [non-C99-based standards] (gammal): Likewise.
14022 [non-C99-based standards] (hypotl): Likewise.
14023 [non-C99-based standards] (j0l): Likewise.
14024 [non-C99-based standards] (j1l): Likewise.
14025 [non-C99-based standards] (jnl): Likewise.
14026 [non-C99-based standards] (lgammal): Likewise.
14027 [non-C99-based standards] (tgammal): Likewise.
14028 [non-C99-based standards] (y0l): Likewise.
14029 [non-C99-based standards] (y1l): Likewise.
14030 [non-C99-based standards] (ynl): Likewise.
14031 [non-C99-based standards] (isnanl): Likewise.
14032 [non-C99-based standards] (acoshl): Likewise.
14033 [non-C99-based standards] (asinhl): Likewise.
14034 [non-C99-based standards] (atanhl): Likewise.
14035 [non-C99-based standards] (cbrtl): Likewise.
14036 [non-C99-based standards] (expm1l): Likewise.
14037 [non-C99-based standards] (ilogbl): Likewise.
14038 [non-C99-based standards] (log1pl): Likewise.
14039 [non-C99-based standards] (logbl): Likewise.
14040 [non-C99-based standards] (nextafterl): Likewise.
14041 [non-C99-based standards] (remainderl): Likewise.
14042 [non-C99-based standards] (rintl): Likewise.
14043 [non-C99-based standards] (scalbl): Likewise.
14044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14045 [non-C99-based standards] (FP_*): Do not allow.
14046 [C99-based standards] (FP_*): Change to
14047 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14048 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14050 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14051 (SIG_ERR): Likewise.
14052 [X/Open-based standards] (SIG_HOLD): Likewise.
14053 (SIG_IGN): Likewise.
14054 (SIGABRT): Use macro-int-constant. Specify type. Require
14056 (SIGFPE): Likewise.
14057 (SIGILL): Likewise.
14058 (SIGINT): Likewise.
14059 (SIGSEGV): Likewise.
14060 (SIGTER): Likewise.
14061 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14062 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14063 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14064 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14065 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14066 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14067 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14068 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14069 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14070 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14071 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14072 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14073 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14074 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14075 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14076 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14077 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14078 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14079 [X/Open-based standards] (SIGTRAP): Likewise.
14080 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14081 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14082 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14083 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14084 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14087 2012-05-08 Ian Wienand <ianw@vmware.com>
14090 * time/tzset.c (__tzset_parse_tz): Update default rules for
14091 daylight time changes in the Energy Policy Act of 2005.
14093 2012-05-09 Andreas Jaeger <aj@suse.de>
14096 * elf/ldconfig.c (parse_conf): Change string to make clear that
14097 ldconfig only issued a warning if ld.so.conf does not exist.
14099 2012-05-08 David S. Miller <davem@davemloft.net>
14101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14102 movxtod instead of popping the value on the stack.
14104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14106 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14108 * config.h.in: Add HAVE_ARM_PCS_VFP.
14110 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14113 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14114 checking but the checks are disabled for any reason.
14116 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14118 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14119 and ELF64_R_TYPE with ELFW(R_TYPE).
14121 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14123 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14124 (ulimit): Likewise.
14126 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14127 (settimeofday): Likewise.
14129 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14131 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14132 a struct th_u2 inside the union, and move tu_block/tu_code into
14133 a new th_u3 union of tu_block/tu_code inside of that. Move
14134 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14135 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14136 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14137 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14138 (th_stuff): Change to th_u1.tu_stuff.
14140 (th_msg): Change to th_u1.th_u2.tu_data.
14142 2012-05-07 David S. Miller <davem@davemloft.net>
14144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14147 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14148 (SETUP_PIC_REG): Use it.
14149 (SETUP_PIC_REG_LEAF): Use it.
14151 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14155 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14157 (EXPL_FINITE): Likewise.
14158 (FLDLOG): Likewise.
14159 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14160 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14164 (EXPL_FINITE): Likewise.
14165 (FLDLOG): Likewise.
14166 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14167 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14169 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14170 test of -max_value argument for long double.
14171 * sysdeps/i386/fpu/libm-test-ulps: Update.
14172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14174 2012-05-06 David S. Miller <davem@davemloft.net>
14176 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14177 quad soft-float symbols whose references which are compiler
14179 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14181 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14185 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14187 (EXPL_FINITE): Likewise.
14188 (FLDLOG): Likewise.
14191 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14192 Adjust comments for base varying.
14193 (__expl_finite): Change alias to EXPL_FINITE.
14194 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14196 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14197 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14199 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14200 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14202 (EXPL_FINITE): Likewise.
14203 (FLDLOG): Likewise.
14206 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14207 Adjust comments for base varying.
14208 (__expl_finite): Change alias to EXPL_FINITE.
14209 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14214 * math/libm-test.inc (check_float_internal): Correct ulp
14215 calculation for subnormal expected results.
14217 2012-05-06 Andreas Jaeger <aj@suse.de>
14219 * Makeconfig (+math-flags): New, set to -frounding-math.
14220 (+cflags): Add +math-flags so that all of glibc gets compiled with
14223 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14225 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14227 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14233 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14234 (__ieee754_expl): Allow for and saturate large arguments.
14235 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14236 (u_threshold): Likewise.
14237 (__exp): Call __ieee754_exp before checking for overflow and
14239 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14240 (u_threshold): Likewise.
14241 (__expf): Call __ieee754_expf before checking for overflow and
14243 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14244 (u_threshold): Likewise.
14245 (__expl): Call __ieee754_expl before checking for overflow and
14247 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14248 (__ieee754_expl): Allow for and saturate large arguments.
14249 * math/libm-test.inc (exp_test): Add another test. Do not allow
14250 missing overflow exception on overflow.
14251 (expm1_test): Do not allow missing overflow exception on overflow.
14253 * sysdeps/i386/fpu/e_expl.c: Move to ...
14254 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14255 rather than using inline asm.
14256 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14257 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14258 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14260 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14263 (signal): Likewise.
14267 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14269 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14270 sysdeps/unix/common/syscalls.list.
14271 (fchmod): Likewise.
14272 (fchown): Likewise.
14273 (ftruncate): Likewise.
14274 (getrusage): Likewise.
14275 (gettimeofday): Likewise.
14276 (setpgid): Likewise.
14277 (setregid): Likewise.
14278 (setreuid): Likewise.
14279 (sigaction): Likewise.
14280 (truncate): Likewise.
14281 (vhangup): Likewise.
14282 * sysdeps/unix/common/syscalls.list: Remove file.
14283 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14284 * sysdeps/unix/sysv/linux/Implies: Likewise.
14286 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14288 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14290 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14294 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14297 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14300 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14303 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14306 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14309 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14312 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14316 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14320 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14323 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14327 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14331 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14333 * sysdeps/unix/common/bits/dirent.h: Remove file.
14334 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14336 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14337 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14338 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14339 * sysdeps/unix/bsd/isatty.c: Likewise.
14340 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14341 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14342 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14344 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14348 long double comparison inaccuracies.
14349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14352 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14354 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14357 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14361 nonzero digits before rounding a hex value.
14362 * stdlib/tst-strtod.c (tests): Add another test.
14364 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14366 * sysdeps/s390/fpu/libm-test-ulps: Update.
14368 2012-05-03 Andreas Jaeger <aj@suse.de>
14370 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14371 does not get optimized out.
14372 (malloc_opt_barrier): New.
14374 2012-05-03 Andreas Jaeger <aj@suse.de>
14375 Roland McGrath <roland@hack.frob.com>
14377 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14378 intermediate file deletion.
14379 (generated): Add .symlist files.
14381 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14384 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14385 Redirect under this condition.
14386 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14387 [__USE_GNU] (__dprintf_chk): Not under this condition.
14388 [__USE_GNU] (__vdprintf_chk): Likewise.
14389 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14390 under this condition.
14391 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14392 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14393 [__USE_XOPEN2K8] (vdprintf): Likewise.
14394 [__USE_GNU] (__dprintf_chk): Not under this condition.
14395 [__USE_GNU] (__vdprintf_chk): Likewise.
14396 [__USE_GNU] (dprintf): Likewise.
14397 [__USE_GNU] (vdprintf): Likewise.
14399 2012-05-03 Roland McGrath <roland@hack.frob.com>
14401 * elf/Makefile (common-generated): Set this instead of generated for
14402 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14403 $(all-built-dso)-derived lists.
14405 2012-05-03 Andreas Jaeger <aj@suse.de>
14407 * sysdeps/i386/fpu/libm-test-ulps: Update.
14410 * FAQ.in: Likewise.
14411 * scripts/gen-FAQ.pl: Likewise.
14412 * manual/install.texi (Installation): Point to online location of
14414 * Makefile (files-for-dist): Remove FAQ.
14417 2012-05-02 Allan McRae <allan@archlinux.org>
14419 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14420 (LDFLAGS-reldepmod5.so): Likewise.
14421 (LDFLAGS-reldep6mod1.so): Likewise.
14422 (LDFLAGS-reldep6mod4.so): Likewise.
14423 (LDFLAGS-reldep8mod3.so): Likewise.
14424 (LDFLAGS-unload4mod1.so): Likewise.
14425 (LDFLAGS-unload4mod2.so): Likewise.
14426 (LDFLAGS-tst-initorder): Likewise.
14427 (LDFLAGS-tst-initordera2.so): Likewise.
14428 (LDFLAGS-tst-initordera3.so): Likewise.
14429 (LDFLAGS-tst-initordera4.so): Likewise.
14430 (LDFLAGS-tst-initorderb2.so): Likewise.
14431 (LDFLAGS-noload): Likewise.
14432 (LDFLAGS-next): Likewise.
14433 (LDFLAGS-order2mod1.so): Likewise.
14434 (LDFLAGS-order2mod2.so): Likewise.
14435 (LDFLAGS-tst-initorder2): Likewise.
14436 (LDFLAGS-tst-initorder2a.so): Likewise.
14437 (LDFLAGS-tst-initorder2b.so): Likewise.
14438 (LDFLAGS-tst-initorder2c.so): Likewise.
14439 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14441 2012-05-02 David S. Miller <davem@davemloft.net>
14443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14448 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14450 2012-05-02 Andreas Jaeger <aj@suse.de>
14452 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14453 since we manipulate rounding mode.
14454 (CPPFLAGS-test-idouble.c): Likewise.
14455 (CPPFLAGS-test-ifloat.c): Likewise.
14456 (CFLAGS-test-ldouble.c): Likewise.
14457 (CFLAGS-test-double.c): Likewise.
14458 (CFLAGS-test-float.c): Likewise.
14459 (CFLAGS-test-misc.c): Likewise.
14460 (CFLAGS-test-test-fenv.c): Likewise.
14462 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14466 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14467 comparisons to determine direction to adjust input.
14469 2012-05-01 Roland McGrath <roland@hack.frob.com>
14471 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14472 output to the target.
14474 * scripts/localplt.awk: New file.
14475 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14476 (check-localplt-CFLAGS): Variable removed.
14477 ($(all-built-dso:=.jmprel)): New static pattern rule.
14478 (generated): Add those targets.
14479 (localplt-built-dso): New variable.
14480 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14482 * elf/check-localplt.c: File removed.
14484 * scripts/check-execstack.awk: New file.
14485 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14486 (check-execstack-CFLAGS): Variable removed.
14487 ($(objpfx)check-execstack.h): Target removed.
14488 ($(objpfx)execstack-default): New target.
14489 (generated): Add that instead of check-execstack.h.
14490 ($(all-built-dso:=.phdr)): New static pattern rule.
14491 (generated): Add those targets.
14492 * elf/check-execstack.c: File removed.
14494 * scripts/check-textrel.awk: New file.
14495 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14496 (check-textrel-CFLAGS): Variable removed.
14497 (all-built-dso): Use := to define.o
14498 ($(all-built-dso:=.dyn)): New static pattern rule.
14499 (generated): Add those targets.
14500 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14501 * config.make.in (READELF): New substituted variable.
14502 * elf/check-textrel.c: File removed.
14504 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14506 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14508 * conform/data/ctype.h-data [C99-based standards] (isblank):
14510 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14511 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14513 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14514 Specify type. Require positive value.
14515 (EILSEQ): Likewise.
14516 (ERANGE): Likewise.
14517 [ISO || POSIX] (EILSEQ): Do not expect.
14518 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14519 Specify type. Require positive value.
14520 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14521 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14522 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14523 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14524 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14525 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14526 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14527 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14528 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14529 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14531 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14532 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14533 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14534 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14535 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14536 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14537 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14538 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14540 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14541 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14542 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14543 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14544 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14545 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14546 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14547 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14549 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14550 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14551 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14552 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14553 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14554 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14555 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14556 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14557 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14558 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14559 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14560 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14562 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14563 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14564 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14565 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14566 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14567 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14568 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14569 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14570 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14571 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14572 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14573 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14574 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14575 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14576 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14577 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14578 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14579 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14580 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14581 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14582 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14583 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14584 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14585 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14586 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14587 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14588 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14589 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14591 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14592 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14593 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14594 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14595 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14596 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14598 (FLT_ROUNDS): Expect as macro, not constant.
14599 (FLT_MANT_DIG): Use macro-int-constant.
14600 (DBL_MANT_DIG): Likewise.
14601 (LDBL_MANT_DIG): Likewise.
14602 (FLT_DIG): Likewise.
14603 (DBL_DIG): Likewise.
14604 (LDBL_DIG): Likewise.
14605 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14606 (DBL_MIN_EXP): Likewise.
14607 (LDBL_MIN_EXP): Likewise.
14608 (FLT_MAX_EXP): Use macro-int-constant.
14609 (DBL_MAX_EXP): Likewise.
14610 (LDBL_MAX_EXP): Likewise.
14611 (FLT_MAX_10_EXP): Likewise.
14612 (DBL_MAX_10_EXP): Likewise.
14613 (LDBL_MAX_10_EXP): Likewise.
14614 (FLT_MAX): Use macro-constant.
14615 (DBL_MAX): Likewise.
14616 (LDBL_MAX): Likewise.
14617 (FLT_EPSILON): Use macro-constant. Give upper bound.
14618 (DBL_EPSILON): Likewise.
14619 (LDBL_EPSILON): Likewise.
14620 (FLT_MIN): Likewise.
14621 (DBL_MIN): Likewise.
14622 (LDBL_MIN): Likewise.
14623 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14624 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14625 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14626 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14627 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14628 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14629 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14630 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14631 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14632 [ISO11] (FLT_TRUE_MIN): Likewise.
14633 [ISO11] (LDBL_TRUE_MIN): Likewise.
14634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14635 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14636 (SCHAR_MIN): Use macro-int-constant. Specify type.
14637 (SCHAR_MAX): Likewise.
14638 (UCHAR_MAX): Likewise.
14639 (CHAR_MIN): Likewise.
14640 (CHAR_MAX): Likewise.
14641 (MB_LEN_MAX): Use macro-int-constant.
14642 (SHRT_MIN): Use macro-int-constant. Specify type.
14643 (SHRT_MAX): Likewise.
14644 (USHRT_MAX): Likewise.
14645 (INT_MAX): Likewise.
14646 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14648 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14650 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14652 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14653 bound negative. Suffix upper bound with "L".
14654 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14656 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14658 [C99-based standards] (LLONG_MAX): Likewise.
14659 [C99-based standards] (ULLONG_MAX): Likewise.
14660 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14662 [ISO11] (max_align_t): Require type.
14663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14665 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14666 from $CFLAGS, without defining away __attribute__ calls.
14667 (checknamespace): Use $CFLAGS_namespace.
14669 * conform/conformtest.pl (@keywords): Only include C99 keywords
14670 for standards based on C99 or C11.
14672 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14674 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14677 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14678 usability of symbols in #if.
14680 * conform/conformtest.pl: If macro or constant types start
14681 "promoted:", expect the symbol to be of the following type
14682 promoted by the integer promotions.
14684 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14685 in one place. Also handle "macro-constant".
14687 * conform/conformtest.pl: Only accept expected macro values with
14688 "==". Parse all "macro" lines in one place.
14689 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14691 * conform/conformtest.pl: Handle braced types on "constant" lines
14692 instead of handling "typed-constant".
14693 * conform/data/signal.h-data: Use "constant" instead of
14696 * conform/conformtest.pl: Handle "optional-" at start of lines in
14697 one place rather than duplicating several cases. Handle each
14698 format of "macro" line with initial "optional-".
14700 * conform/conformtest.pl: Only accept expected constant or
14701 optional-constant values with "==". Parse all "constant" lines in
14702 one place. Parse all "optional-constant" lines in one place.
14703 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14704 * conform/data/fmtmsg.h-data: Likewise.
14705 * conform/data/netinet/in.h-data: Likewise.
14706 * conform/data/tar.h-data: Likewise.
14707 * conform/data/limits.h-data: Use "==" form on "constant" and
14708 "optional-constant" lines.
14710 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14711 Use -std=c99 for XOPEN2K.
14712 (@knownproblems): Remove.
14713 (newtoken): Don't check %isknown.
14715 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14716 Do not expect macro.
14717 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14718 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14719 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14720 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14721 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14722 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14723 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14724 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14725 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14726 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14727 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14728 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14729 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14730 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14731 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14732 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14733 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14734 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14735 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14736 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14737 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14738 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14739 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14740 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14741 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14742 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14743 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14744 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14745 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14746 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14747 [XPG3] (acosh): Likewise.
14748 [XPG3] (asinh): Likewise.
14749 [XPG3] (atanh): Likewise.
14750 [XPG3] (cbrt): Likewise.
14751 [XPG3] (expm1): Likewise.
14752 [XPG3] (ilogb): Likewise.
14753 [XPG3] (log1p): Likewise.
14754 [XPG3] (logb): Likewise.
14755 [XPG3] (nextafter): Likewise.
14756 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14757 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14758 [XPG3] (remainder): Likewise.
14759 [XPG3] (rint): Likewise.
14760 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14761 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14762 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14763 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14764 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14765 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14766 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14767 [UNIX98 || XOPEN2K] (scalb): Expect.
14768 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14769 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14770 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14771 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14772 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14773 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14774 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14775 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14776 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14777 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14778 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14779 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14780 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14781 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14782 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14783 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14784 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14785 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14786 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14787 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14788 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14789 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14790 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14791 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14792 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14793 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14794 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14795 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14796 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14797 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14798 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14799 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14800 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14801 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14802 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14803 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14804 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14805 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14806 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14807 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14808 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14809 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14810 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14811 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14812 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14813 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14814 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14815 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14816 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14817 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14818 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14819 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14820 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14821 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14822 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14823 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14824 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14825 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14826 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14827 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14828 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14829 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14830 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14831 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14832 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14833 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14834 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14835 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14836 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14837 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14838 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14839 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14840 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14841 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14842 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14843 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14844 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14845 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14846 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14847 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14848 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14849 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14850 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14851 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14852 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14853 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14854 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14855 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14856 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14857 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14858 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14859 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14860 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14861 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14862 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14863 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14864 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14865 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14866 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14867 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14868 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14869 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14870 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14871 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14872 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14873 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14874 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14875 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14876 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14877 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14878 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14879 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14880 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14881 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14882 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14883 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14884 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14885 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14886 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14887 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14888 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14889 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14890 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14891 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14892 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14893 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14894 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14895 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14896 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14897 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14898 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14899 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14900 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14901 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14902 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14903 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14904 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14906 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14907 _XOPEN_SOURCE_EXTENDED for XPG4.
14909 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14911 * Makeconfig (localtime): Remove variable.
14912 (inst_localtime-file): Likewise.
14914 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14935 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14939 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14940 comparisons to determine direction to adjust input.
14941 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14942 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14943 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14945 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14947 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14949 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14950 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14952 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14954 * math/libm-test.inc (nexttoward_test): Add more tests.
14956 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14960 in version GLIBC_2.1, not GLIBC_2.0.
14961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14964 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14967 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14969 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14970 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14971 * math/libm-test.inc (acos_test): Add more tests.
14972 (asin_test): Likewise.
14973 * sysdeps/i386/fpu/libm-test-ulps: Update.
14974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14977 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14979 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14980 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14981 * math/libm-test.inc (acos_test_tonearest): New function.
14982 (acos_test_towardzero): Likewise.
14983 (acos_test_downward): Likewise.
14984 (acos_test_upward): Likewise.
14985 (asin_test_tonearest): Likewise.
14986 (asin_test_towardzero): Likewise.
14987 (asin_test_downward): Likewise.
14988 (asin_test_upward): Likewise.
14989 (main): Call the new functions.
14990 * sysdeps/i386/fpu/libm-test-ulps: Update.
14991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14995 * math/e_exp10.c: Include <float.h>.
14996 (__ieee754_exp10): Handle underflow here rather than multiplying
14997 large negative argument by M_LN10.
14998 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15000 * math/e_exp10l.c: Include <float.h>.
15001 (__ieee754_exp10l): Handle underflow here rather than multiplying
15002 large negative argument by M_LN10l.
15003 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15004 spurious overflow exception on underflow.
15006 2012-04-29 Marek Polacek <polacek@redhat.com>
15008 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15009 (__fortify_function): New macro.
15010 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15011 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15012 __extern_always_inline.
15013 * libio/bits/stdio2.h: Likewise.
15014 * libio/bits/stdio.h: Likewise.
15015 * string/string.h: Likewise.
15016 * string/bits/string3.h: Likewise.
15017 * include/stdio.h: Likewise.
15018 * stdlib/bits/stdlib.h: Likewise.
15019 * stdlib/stdlib.h: Likewise.
15020 * rt/bits/mqueue2.h: Likewise.
15021 * rt/mqueue.h: Likewise.
15022 * posix/bits/unistd.h: Likewise.
15023 * posix/unistd.h: Likewise.
15024 * io/bits/poll2.h: Likewise.
15025 * io/bits/fcntl2.h: Likewise.
15026 * io/fcntl.h: Likewise.
15027 * io/sys/poll.h: Likewise.
15028 * misc/bits/syslog.h: Likewise.
15029 * misc/bits/syslog-ldbl.h: Likewise.
15030 * misc/sys/syslog.h: Likewise.
15031 * socket/bits/socket2.h: Likewise.
15032 * socket/sys/socket.h: Likewise.
15033 * debug/tst-chk1.c: Likewise.
15034 * wcsmbs/bits/wchar2.h: Likewise.
15035 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15036 * wcsmbs/wchar.h: Likewise.
15038 2012-04-29 Andreas Jaeger <aj@suse.de>
15040 * Makerules (tests): Remove enable-check-abi protection.
15041 (check-abi-warn): Remove.
15042 (check-abi-%): Remove check-abi-warn usage.
15044 * configure.in: Remove check-abi configure option.
15045 * configure: Regenerated.
15046 * config.make.in (enable-check-abi): Remove.
15048 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15051 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15052 double functions to double *_finite functions.
15055 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15056 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15058 * stdio-common/Makefile (tests): Add tst-sprintf3.
15059 * stdio-common/tst-sprintf3.c: New file.
15061 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15062 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15064 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15066 * conform/conformtest.pl: Remove duplicate typed-constant
15069 2012-04-28 David S. Miller <davem@davemloft.net>
15071 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15072 (check-abi-%): Remove AWK script prerequisite and explicit
15074 (check-abi): Rewrite to just diff the symlist with the abilist.
15075 (config-tls, config-abi-config): Delete, no longer used.
15076 (update-abi-%): Remove AWK script and explicit abilist directory.
15077 (update-abi): Rewrite to simply compare and conditionally copy the
15078 symlist and the sysdep abilist file. Remove update-abi-config
15080 * abilist/ld.abilist: Remove.
15081 * abilist/libBrokenLocale.abilist: Remove.
15082 * abilist/libanl.abilist: Remove.
15083 * abilist/libcrypt.abilist: Remove.
15084 * abilist/libdl.abilist: Remove.
15085 * abilist/librt.abilist: Remove.
15086 * abilist/libthread_db.abilist: Remove.
15087 * abilist/libutil.abilist: Remove.
15088 * scripts/extract-abilist.awk: Remove.
15089 * scripts/merge-abilist.awk: Remove.
15090 * sysdeps/generic/libcidn.abilist: New file.
15091 * sysdeps/generic/libnss_compat.abilist: New file.
15092 * sysdeps/generic/libnss_db.abilist: New file.
15093 * sysdeps/generic/libnss_dns.abilist: New file.
15094 * sysdeps/generic/libnss_files.abilist: New file.
15095 * sysdeps/generic/libnss_hesiod.abilist: New file.
15096 * sysdeps/generic/libnss_nis.abilist: New file.
15097 * sysdeps/generic/libnss_nisplus.abilist: New file.
15098 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15099 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15100 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15102 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15103 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15104 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15105 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15106 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15107 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15108 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15109 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15110 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15112 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15113 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15114 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15115 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15117 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15118 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15119 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15120 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15121 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15122 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15124 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15125 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15126 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15128 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15231 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15232 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15233 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15236 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15237 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15238 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15239 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15240 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15241 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15242 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15243 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15244 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15296 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15298 * conform/conformtest.pl: Fix typo in handling typed-constant from
15301 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15303 * README: Cut down references to pre-2.6 Linux kernels and
15304 Linuxthreads. Update lists of configurations in libc and ports
15305 and sort alphabetically. Say "or newer" with Linux kernel version
15308 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15310 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15313 * math/libm-test.inc (logb_test_downward): New test to expose
15314 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15317 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15320 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15322 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15323 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15325 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15327 * sysdeps/unix/i386/brk.S: Remove file.
15328 * sysdeps/unix/i386/dl-brk.S: Likewise.
15329 * sysdeps/unix/i386/pipe.S: Likewise.
15330 * sysdeps/unix/i386/sigreturn.S: Likewise.
15331 * sysdeps/unix/i386/syscall.S: Likewise.
15332 * sysdeps/unix/i386/vfork.S: Likewise.
15333 * sysdeps/unix/i386/wait.S: Likewise.
15335 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15336 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15338 * configure.in (arm*-none*): Do not allow without
15339 --enable-hacker-mode.
15340 (netbsd*): Remove case setting base_os.
15341 (386bsd*): Likewise.
15342 (freebsd*): Likewise.
15345 (sunos*): Likewise.
15346 (ultrix*): Likewise.
15347 (newsos*): Likewise.
15348 (dynix*): Likewise.
15354 (minix*): Likewise.
15355 (irix4*): Likewise.
15356 (irix6*): Likewise.
15357 (solaris[2-9]*): Likewise.
15359 * configure: Regenerated.
15361 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15364 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15365 overflow or cancellation in calculating denominator.
15366 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15368 down expression to avoid unexpected rounding in newer GCCs.
15369 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15371 2012-04-26 David S. Miller <davem@davemloft.net>
15373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15374 long-double compat symbols.
15375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15389 2012-04-25 David S. Miller <davem@davemloft.net>
15391 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15392 HWCAP_* values only after the memory barriers have been defined.
15393 (atomic_full_barrier): Define.
15394 (atomic_read_barrier): Define.
15395 (atomic_write_barrier): Define.
15397 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15399 * shlib-versions: Add libgcc_s version information.
15400 * sysdeps/generic/libgcc_s.h: Remove.
15401 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15403 * sysdeps/gnu/unwind-resume.c: Likewise.
15404 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15406 2012-04-25 David S. Miller <davem@davemloft.net>
15408 * sysdeps/unix/sparc/brk.S: Delete.
15409 * sysdeps/unix/sparc/dl-brk.S: Delete.
15410 * sysdeps/unix/sparc/pipe.S: Delete.
15411 * sysdeps/unix/sparc/sysdep.S: Delete.
15412 * sysdeps/unix/sparc/sysdep.h: Delete.
15413 * sysdeps/unix/sparc/vfork.S: Delete.
15414 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15415 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15417 ret_ERRVAL, r0, r1, MOVE): Define.
15418 (JUMPTARGET): Remove.
15419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15420 sysdeps/unix/sparc/sysdep.h
15421 (ENTRY, END): Remove.
15422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15424 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15426 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15427 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15430 * timezone/README: Update upstream location and email address for
15432 * timezone/zdump.c: Update from tzcode 2012b.
15433 * timezone/zic.c: Likewise.
15435 * configure.in (libc_cv_as_needed): Remove test.
15436 * configure: Regenerated.
15437 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15438 conditional definition.
15439 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15440 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15441 * config.make.in (have-as-needed): Remove variable.
15443 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15444 Paul Pluzhnikov <ppluzhnikov@google.com>
15446 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15449 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15451 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15452 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15453 * sysdeps/sh/strlen.S: Likewise.
15455 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15457 * sysdeps/unix/fork.S: Remove file.
15458 * sysdeps/unix/i386/fork.S: Likewise.
15459 * sysdeps/unix/sparc/fork.S: Likewise.
15461 * sysdeps/unix/system.c: Remove file.
15462 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15464 * sysdeps/unix/getegid.S: Remove file.
15465 * sysdeps/unix/geteuid.S: Likewise.
15467 2012-04-24 Roland McGrath <roland@hack.frob.com>
15469 * scripts/check-localplt.awk: New file.
15470 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15472 * scripts/data/localplt-generic.data: Add a comment.
15474 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15475 NODE when __dir_mkfile failed.
15476 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15477 Reported by Ludovic Courtès <ludo@gnu.org>.
15479 2012-04-24 Andreas Jaeger <aj@suse.de>
15481 * Makerules (common-clean): Also remove gen-as-const-headers
15484 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15486 * Makerules (native-compile): Do not change working directory for
15487 build. Use $(OUTPUT_OPTION) in command.
15488 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15490 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15493 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15494 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15495 * math/libm-test.inc (floor_test): Add more tests.
15496 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15498 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15500 * sysdeps/unix/getdents.c: Remove file.
15501 * sysdeps/unix/sysv/getdents.c: Likewise.
15502 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15504 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15505 sysdeps/unix/mman/syscalls.list.
15507 (mprotect): Likewise.
15509 (munmap): Likewise.
15510 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15511 * sysdeps/unix/mman/syscalls.list: Remove.
15512 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15514 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15515 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15516 * configure: Regenerated.
15517 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15518 $(libgcc_s_suffix).
15519 * config.make.in (libgcc_s_suffix): Remove variable.
15521 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15523 * sysdeps/unix/sysv/gethostname.c: Move to ...
15524 * sysdeps/posix/gethostname.c: ... here.
15526 * sysdeps/unix/execve.S: Remove file.
15528 * sysdeps/unix/_exit.S: Remove file.
15530 2012-04-23 Andreas Jaeger <aj@suse.de>
15533 * manual/Makefile: Remove make dist support, there's no
15534 need for a stand-alone documentation tar ball.
15535 (TEXI2DVI): Define always, it's not in Makeconfig.
15538 (edition): Removed.
15539 (glibc-doc-$(edition).tar): Removed
15543 (ETAGS): Remove, it's in Makeconfig.
15544 (move-if-change): Remove, it's in Makeconfig.
15546 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15549 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15550 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15551 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15552 (strtod_l, strtof_l, strtold_l): Remove __wur.
15553 It is not necessarily an error to ignore strtol's return value.
15554 One can reliably look at the stored endptr to decide whether
15555 the number had valid syntax.
15557 2012-04-21 Andreas Jaeger <aj@suse.de>
15560 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15562 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15564 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15565 * sysdeps/unix/sysv/Versions: Remove file.
15567 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15572 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15576 version from __vm86.
15578 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15580 * sysdeps/unix/common/lxstat.c: Remove file.
15581 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15583 * sysdeps/unix/sysv/Makefile: Remove file.
15585 * sysdeps/unix/sysv/direct.h: Remove file.
15587 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15588 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15589 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15590 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15591 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15592 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15593 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15595 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15597 * sysdeps/unix/xmknod.c: Remove file.
15598 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15600 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15602 * sysdeps/unix/sysv/i386/time.S: Remove file.
15604 * sysdeps/unix/fxstat.c: Remove file.
15605 * sysdeps/unix/xstat.c: Likewise.
15606 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15608 * sysdeps/unix/sysv/sigaction.c: Remove file.
15610 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15611 (sysdep_headers): Remove variable.
15612 [termio.h not in sysdep_headers] (generated): Likewise.
15613 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15614 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15615 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15616 * sysdeps/unix/sysv/tcflow.c: Likewise.
15617 * sysdeps/unix/sysv/tcflush.c: Likewise.
15618 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15619 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15620 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15621 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15622 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15624 * sysdeps/unix/siglist.c: Remove file.
15626 * sysdeps/unix/getppid.S: Remove file.
15628 * sysdeps/unix/mkdir.c: Remove file.
15629 * sysdeps/unix/rmdir.c: Likewise.
15631 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15633 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15635 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15636 errlist-compat value.
15638 2012-04-18 David S. Miller <davem@davemloft.net>
15640 * sysdeps/generic/memcopy.h (reg_char): Delete.
15641 * debug/strcat_chk.c: Use char, not reg_char.
15642 * debug/strcpy_chk.c: Likewise.
15643 * debug/strncat_chk.c: Likewise.
15644 * debug/strncpy_chk.c: Likewise.
15645 * string/memchr.c: Likewise.
15646 * string/memrchr.c: Likewise.
15647 * string/rawmemchr.c: Likewise.
15648 * string/strcat.c: Likewise.
15649 * string/strchr.c: Likewise.
15650 * string/strchrnul.c: Likewise.
15651 * string/strcmp.c: Likewise.
15652 * string/strcpy.c: Likewise.
15653 * string/strncat.c: Likewise.
15654 * string/strncmp.c: Likewise.
15655 * string/strncpy.c: Likewise.
15657 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15659 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15660 __builtin_memcopy is called when src and dest ranges are known to not
15663 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15665 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15666 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15667 fwd_align_merge macro call.
15668 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15669 bwd_align_merge macro call.
15670 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15672 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15674 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15675 bwd_align_merge macros.
15676 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15677 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15678 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15680 2012-04-18 David S. Miller <davem@davemloft.net>
15682 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15684 2012-04-18 Andreas Jaeger <aj@suse.de>
15687 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15688 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15689 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15691 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15692 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15693 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15695 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15696 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15697 Adjust for changed ldbl-128 files.
15699 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15700 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15701 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15703 2012-04-17 David S. Miller <davem@davemloft.net>
15705 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15707 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15709 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15710 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15711 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15712 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15713 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15714 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15716 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15720 * math/libm-test.inc: Add ilogb errno and exception tests.
15721 * math/w_ilogb.c: New file: ilogb wrapper.
15722 * math/w_ilogbf.c: New file: ilogbf wrapper.
15723 * math/w_ilogbl.c: New file: ilogbl wrapper.
15724 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15725 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15726 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15727 exception being thrown with 0.0 as argument.
15728 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15729 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15730 exception being thrown with 0.0 as argument.
15731 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15732 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15733 exception being thrown with 0.0 as argument.
15734 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15735 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15736 exception being thrown with 0.0 as argument.
15737 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15738 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15739 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15740 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15741 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15742 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15743 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15744 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15745 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15747 2012-04-17 Petr Baudis <pasky@ucw.cz>
15749 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15752 2012-04-16 Marek Polacek <polacek@redhat.com>
15754 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15756 2012-04-16 Marek Polacek <polacek@redhat.com>
15758 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15759 operands of fdivp instruction.
15761 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15763 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15764 * elf/tst-auditmod3b.c: Likewise.
15765 * elf/tst-auditmod4b.c: Likewise.
15766 * elf/tst-auditmod5b.c: Likewise.
15767 * elf/tst-auditmod6b.c: Likewise.
15768 * elf/tst-auditmod6c.c: Likewise.
15769 * elf/tst-auditmod7b.c: Likewise.
15770 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15771 * sysdeps/x86_64/preconfigure.in: Likewise.
15772 * sysdeps/x86_64/preconfigure: Regenerated.
15774 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15776 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15779 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15782 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15784 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15787 * locale/iso-639.def: Fix gl language name. Spotted by
15790 2012-04-12 Roland McGrath <roland@hack.frob.com>
15793 * libio/libio.h (__io_write_fn): Update comment.
15795 2012-04-12 Petr Baudis <pasky@ucw.cz>
15798 * stdio.texi (Hook Functions): The user provided writer function
15799 is not allowed to return -1.
15801 2012-04-11 David S. Miller <davem@davemloft.net>
15803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15805 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15807 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15808 Add a leading slash to rtkaio.
15810 2012-04-11 Jim Meyering <meyering@redhat.com>
15813 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15814 It is not necessarily an error to ignore fwrite's return
15815 value. One can reliably use ferror to test for errors after
15818 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15820 * bits/types.h (__snseconds_t): New type.
15821 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15823 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15825 (__SNSECONDS_T_TYPE): Likewise.
15826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15827 (__SNSECONDS_T_TYPE): Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15829 (__SNSECONDS_T_TYPE): Likewise.
15831 2012-04-10 Andreas Jaeger <aj@suse.de>
15834 * manual/time.texi (Processor Time): Return type of times is
15835 elapsed real time since an arbitrary point in the past.
15836 (CPU Time): Move CLK_TCK from here...
15837 (Processor Time): ...to here. Correct description.
15838 * manual/conf.texi (Constants for Sysconf): Correct description of
15841 2012-04-10 David S. Miller <davem@davemloft.net>
15844 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15845 where the is a gap between DT_REL(A) and DT_JMPREL.
15847 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15849 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15850 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15851 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15853 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15855 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15856 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15857 (dl_main): Handle --inhibit-cache.
15858 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15860 * elf/dl-load.c (_dl_map_object): Use it.
15861 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15863 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15866 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15867 (__ieee754_powl): Saturate large exponents rather than testing for
15868 overflow of y*log2(x).
15869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15870 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15874 * math/s_ctan.c: Include <float.h>.
15875 (__ctan): Avoid internal overflow or cancellation in calculating
15877 * math/s_ctanf.c: Likewise.
15878 * math/s_ctanl.c: Likewise.
15879 * math/s_ctanh.c: Likewise.
15880 * math/s_ctanhf.c: Likewise.
15881 * math/s_ctanhl.c: Likewise.
15882 * math/libm-test.inc (ctan_test): Add more tests.
15883 (ctanh_test): Likewise.
15884 * sysdeps/i386/fpu/libm-test-ulps: Update.
15885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15887 2012-04-09 Andreas Jaeger <aj@suse.de>
15890 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15891 is an optional BSD extension.
15894 * manual/stdio.texi (Opening Streams): Document additional fopen
15897 2012-04-09 Roland McGrath <roland@hack.frob.com>
15899 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15900 %eax without telling the compiler.
15902 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15905 * manual/install.texi: Use sourceware.org.
15907 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15910 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15911 (__ieee754_pow): Generate overflow and underflow using huge*huge
15912 and tiny*tiny rather than just returning constant infinity or zero
15913 for large exponents.
15914 * math/libm-test.inc (pow_test): Require overflow exceptions for
15915 applicable cases of large exponents.
15918 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15919 (__ieee754_pow): Use iterative multiplication algorithm only for
15920 integer exponents with absolute value below 1024. Check for odd
15921 integer exponents when using algorithm for real exponents.
15922 * math/libm-test.inc (pow_test): Add more tests.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15925 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15928 * math/libm-test.inc (exp_test): Do not allow overflow exception
15931 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15934 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15935 instead of __kernel_standard_f.
15937 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15939 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15940 * sysdeps/x86_64/memset_chk.S: Likewise.
15942 2012-04-08 Andreas Jaeger <aj@suse.de>
15945 * manual/startup.texi (Environment Access): Describe return value
15946 for putenv and setenv.
15949 * manual/filesys.texi (Directory Entries): Add description for
15953 * manual/filesys.texi (Directory Entries): Clarify that it's file
15954 system not operating system in the description of DT_UNKNOWN.
15957 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15959 2012-04-08 Stephen Compall <s11@member.fsf.org>
15962 * manual/llio.texi (Opening and Closing Files): Add cross
15963 reference to explain mode argument.
15965 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15967 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15968 * sysdeps/x86_64/memset_chk.S: Likewise.
15970 2012-04-07 David S. Miller <davem@davemloft.net>
15972 * elf/elf.h (R_SPARC_WDISP10): Define.
15973 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15976 R_SPARC_SIZE64 and R_SPARC_H34.
15978 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15980 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15981 conditions and remove no longer applicable assertion.
15983 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15985 * bits/byteswap.h: Include <features.h>.
15986 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15987 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15989 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15991 * bits/byteswap.h (__bswap_16): Removed.
15992 Include <bits/byteswap-16.h> to get __bswap_16.
15993 * sysdeps/i386/bits/byteswap.h: Likewise.
15994 * sysdeps/s390/bits/byteswap.h: Likewise.
15995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15996 * bits/byteswap-16.h: New file.
15997 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15998 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15999 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16000 * string/Makefile (headers): Add bits/byteswap-16.h.
16002 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16005 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16007 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16008 * nss/tst-nss-static.c: New.
16010 2012-04-06 Robert Millan <rmh@gnu.org>
16013 * manual/llio.texi (File Position Primitive): lseek
16014 refers to WHENCE when it really means OFFSET.
16016 2012-04-06 Andreas Jaeger <aj@suse.de>
16018 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16019 strncmp declarations.
16021 * abilist/libc.abilist: Add __poll and __ppoll.
16023 2012-04-05 David S. Miller <davem@davemloft.net>
16025 * scripts/check-local-headers.sh: Accept a host triplet in the
16026 path matched by the exclude regexp.
16028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16030 * sysdeps/powerpc/powerpc32/dl-machine.h
16031 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16032 * sysdeps/s390/s390-32/dl-machine.h
16033 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16034 * sysdeps/sparc/sparc32/dl-machine.h
16035 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16036 * sysdeps/sparc/sparc64/dl-machine.h
16037 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16039 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16041 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16042 undefined symbol errors.
16044 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16047 2012-04-05 Michael Matz <matz@suse.de>
16050 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16052 2012-04-05 Andreas Jaeger <aj@suse.de>
16055 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16058 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16060 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16061 which ROUND is no valid rounding mode.
16063 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16065 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16067 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16069 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16071 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16072 an exception using FPU order intentionally.
16074 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16076 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16077 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16078 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16079 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16081 2012-04-05 Simon Josefsson <simon@josefsson.org>
16084 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16085 EINVAL when BUFLEN is too smal.
16087 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16090 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16091 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16093 2012-04-03 Andreas Jaeger <aj@suse.de>
16096 * manual/setjmp.texi (System V contexts): Fix sentence.
16099 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16100 New macro for this case.
16101 [!__GNUC__] (__bswap_64): New inline function for this case.
16102 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16103 * bits/byteswap.h: Likewise.
16104 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16105 ull, guard with __GLIBC_HAVE_LONG_LONG.
16107 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16108 __GLIBC_HAVE_LONG_LONG.
16110 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16111 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16113 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16116 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16117 inptr and inend, rather than using last_ch.
16119 2012-04-02 David S. Miller <davem@davemloft.net>
16121 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16122 * stdio-common/printf-parse.h (read_int): Change return type to
16123 'int', return -1 on INT_MAX overflow.
16124 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16125 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16126 overflows INT_MAX. Check for overflow of in-format-string precision
16127 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16128 SIZE_MAX not INT_MAX for integer overflow test.
16129 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16130 skip the construct in the format string but do not record anything.
16131 * stdio-common/bug22.c: Adjust to test both width/prevision
16132 INT_MAX overflow as well as total length INT_MAX overflow. Check
16133 explicitly for proper errno values.
16135 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16137 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16139 * string/test-strcmp.c [! WIDE]: Likewise.
16140 * time/tst-mktime2.c: Likewise for INT_MAX.
16141 * string/test-string.h: #include <sys/param.h> for MIN.
16143 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16144 * sysdeps/i386/init-first.c (init): Likewise.
16145 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16146 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16147 * sysdeps/sh/init-first.c (init): Likewise.
16149 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16151 * po/ru.po: Update from translation team.
16152 * po/vi.po: Likewise.
16154 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16156 * resolv/nss_dns/dns-host.c: Merge copyright years.
16158 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16161 Optimize memcpy with prefetch if
16162 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16163 src, dst pointers have unequal 16 byte alignments.
16165 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16168 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16169 from a CNAME entry and return the minimum ttl for the query.
16170 (gaih_getanswer_slice): Likewise.
16172 2012-03-30 Jeff Law <law@redhat.com>
16174 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16176 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16177 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16179 * resolv/nss_dns/dns-host.c: Update copyright year.
16181 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16183 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16184 requests to save a system call. Fix check that all bytes are sent.
16186 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16187 comments for sendmmsg.
16189 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16192 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16193 with only 1 character between 0x0041 and 0x01b0.
16194 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16195 * wcsmbs/tst-mbsnrtowcs.c: New file.
16197 2012-03-29 David S. Miller <davem@davemloft.net>
16199 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16200 small copies by hand.
16202 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16205 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16206 _nss_compat_initgroups_dyn): Fall back to malloc/free
16207 for large group memberships.
16209 2012-03-28 David S. Miller <davem@davemloft.net>
16211 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16212 that branches into memcpy.
16213 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16216 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16219 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16220 implementation too.
16221 * sysdeps/sparc/mempcpy.S: New file.
16223 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16224 the IFUNC routine in the libc case.
16225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16227 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16228 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16229 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16230 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16231 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16232 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16233 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16234 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16236 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16237 loop to 256 bytes instead of 64 bytes and fix test signedness.
16239 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16240 * sysdeps/sparc/sparc32/Makefile: rather than here...
16241 * sysdeps/sparc/sparc64/Makefile: and here.
16243 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16245 * malloc/mallocbug.c: Avoid warnings about unused variables.
16247 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16250 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16251 in the right place. Discard and retry query if response is
16252 larger than input buffer size.
16254 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16259 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16260 x for large integer exponent.
16261 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16262 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16263 sign of result as needed afterwards.
16264 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16265 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16266 result for underflowing pow the same as for overflow.
16267 (__kernel_standard_l): Handle powl overflow and underflow here
16268 rather than calling __kernel_standard.
16269 * math/libm-test.inc (pow_test): Add more tests.
16284 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16285 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16286 (__kernel_standard_l): New function.
16287 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16289 * math/w_acosl.c (__acosl): Likewise.
16290 * math/w_asinl.c (__asinl): Likewise.
16291 * math/w_atan2l.c (__atan2l): Likewise.
16292 * math/w_atanhl.c (__atanhl): Likewise.
16293 * math/w_coshl.c (__coshl): Likewise.
16294 * math/w_exp10l.c (__exp10l): Likewise.
16295 * math/w_exp2l.c (__exp2l): Likewise.
16296 * math/w_fmodl.c (__fmodl): Likewise.
16297 * math/w_hypotl.c (__hypotl): Likewise.
16298 * math/w_j0l.c (__j0l, __y0l): Likewise.
16299 * math/w_j1l.c (__j1l, __y1l): Likewise.
16300 * math/w_jnl.c (__jnl, __ynl): Likewise.
16301 * math/w_lgammal.c (__lgammal): Likewise.
16302 * math/w_log10l.c (__log10l): Likewise.
16303 * math/w_log2l.c (__log2l): Likewise.
16304 * math/w_logl.c (__logl): Likewise.
16305 * math/w_powl.c (__powl): Likewise.
16306 * math/w_remainderl.c (__remainderl): Likewise.
16307 * math/w_scalbl.c (sysv_scalbl): Likewise.
16308 * math/w_sinhl.c (__sinhl): Likewise.
16309 * math/w_sqrtl.c (__sqrtl): Likewise.
16310 * math/w_tgammal.c (__tgammal): Likewise.
16311 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16312 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16313 * math/libm-test.inc (acos_test): Add more tests.
16314 (acosh_test): Likewise.
16315 (asin_test): Likewise.
16316 (atanh_test): Likewise.
16317 (exp_test): Likewise.
16318 (exp10_test): Likewise.
16319 (exp2_test): Likewise.
16320 (expm1_test): Likewise.
16321 (lgamma_test): Likewise.
16322 (log_test): Likewise.
16323 (log10_test): Likewise.
16324 (log1p_test): Likewise.
16325 (log2_test): Likewise.
16326 (pow_test): Do not allow some spurious overflow exceptions.
16327 (sqrt_test): Add more tests.
16328 (tgamma_test): Likewise.
16329 (y0_test): Likewise.
16330 (y1_test): Likewise.
16331 (yn_test): Likewise.
16333 2012-03-27 Anton Blanchard <anton@samba.org>
16335 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16337 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16338 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16341 2012-03-27 David S. Miller <davem@davemloft.net>
16343 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16345 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16346 have-as-vis3 check.
16348 2012-03-27 Andreas Jaeger <aj@suse.de>
16350 * sysdeps/x86_64/elf/configure.in: Moved to ...
16351 * sysdeps/x86_64/configure.in: ... here.
16352 * sysdeps/x86_64/elf/start.S: Moved to ...
16353 * sysdeps/x86_64/start.S: ... here.
16354 * sysdeps/x86_64/elf/configure: Delete.
16356 * sysdeps/x86_64/configure.in: Merge contents from
16357 sysdeps/i386/configure.in (without i686 check).
16359 * sysdeps/i386/elf/Versions: Merge into ...
16360 * sysdeps/i386/Versions: ... this.
16361 * sysdeps/i386/elf/Versions: Delete file.
16362 * sysdeps/i386/elf/start.S: Moved to ...
16363 * sysdeps/i386/start.S: ...here.
16364 * sysdeps/i386/elf/configure.in: Merge into...
16365 * sysdeps/i386/configure.in: ...here.
16366 * sysdeps/i386/elf/configure.in: Delete file.
16367 * sysdeps/i386/elf/configure: Delete file.
16369 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16370 * debug/backtracesyms.c: ... here.
16371 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16372 * debug/backtracesymsfd.c: ... here.
16373 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16374 * sysdeps/generic/ifunc-sel.h: ... here.
16376 * sysdeps/unix/i386/start.c: Delete file.
16377 * sysdeps/unix/sparc/start.c: Delete file.
16378 * sysdeps/unix/start.c: Delete file.
16380 * sysdeps/sh/elf/configure.in: Moved to ...
16381 * sysdeps/sh/configure.in: ... here.
16382 * sysdeps/sh/elf/start.S: Moved to ...
16383 * sysdeps/sh/start.S: ... here.
16384 * sysdeps/sh/elf/configure: Delete file.
16386 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16387 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16388 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16389 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16390 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16391 * sysdeps/powerpc/powerpc64/start.S: here.
16392 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16393 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16394 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16395 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16396 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16398 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16399 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16400 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16401 * sysdeps/powerpc/powerpc32/start.S: ... here.
16402 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16403 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16404 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16406 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16407 * sysdeps/powerpc/ifunc-sel.h: ... here.
16408 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16409 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16411 * sysdeps/sparc/elf/configure.in: Moved to ...
16412 * sysdeps/sparc/configure.in: ... here.
16413 * sysdeps/sparc/elf/configure: Delete file.
16414 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16415 * sysdeps/sparc/sparc32/start.S: ... here.
16416 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16417 * sysdeps/sparc/sparc64/start.S: ... here.
16418 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16419 * sysdeps/sparc/sparc32/Makefile: ... this.
16420 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16421 * sysdeps/sparc/sparc64/Makefile: ... this.
16423 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16424 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16425 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16426 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16427 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16428 * sysdeps/s390/s390-32/setjmp.S: ... here.
16429 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16430 * sysdeps/s390/s390-32/configure.in: ... here.
16431 * sysdeps/s390/s390-32/elf/configure: Delete file.
16432 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16433 * sysdeps/s390/s390-32/start.S: ... here.
16435 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16436 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16437 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16438 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16439 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16440 * sysdeps/s390/s390-64/setjmp.S: ... here.
16441 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16442 * sysdeps/s390/s390-64/configure.in: ... here
16443 * sysdeps/s390/s390-64/elf/configure: Delete file.
16444 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16445 * sysdeps/s390/s390-64/start.S: ... here.
16446 * sysdeps/s390/s390-64/elf/configure: Delete.
16448 * configure.in: Remove support for elf directories in sysdeps.
16450 * configure: Regenerated.
16451 * sysdeps/i386/configure: Regenerated.
16452 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16453 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16454 * sysdeps/s390/s390-32/configure: Regenerated.
16455 * sysdeps/s390/s390-64/configure: Regenerated.
16456 * sysdeps/sh/configure: Regenerated.
16457 * sysdeps/sparc/configure: Regenerated.
16458 * sysdeps/x86_64/configure: Regenerated.
16460 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16465 denormal result into account.
16467 2012-03-25 Roland McGrath <roland@hack.frob.com>
16469 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16470 Reported by Allan McRae <allan@archlinux.org>.
16472 2012-03-23 Jeff Law <law@redhat.com>
16474 * nss/getnssent.c (__nss_getent): Fix typo.
16476 2012-03-23 David S. Miller <davem@davemloft.net>
16478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16480 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16482 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16483 to pad to uint64_t for each field.
16484 (dl_tls_index): Replace unsigned long with uint64_t.
16486 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16487 Paul Pluzhnikov <ppluzhnikov@google.com>
16490 * grp/Makefile (otherlibs): Don't set it.
16491 * inet/Makefile (otherlibs): Likewise.
16492 * login/Makefile (otherlibs): Likewise.
16493 * nscd/Makefile (otherlibs): Likewise.
16494 * posix/Makefile (otherlibs): Likewise.
16495 * pwd/Makefile (otherlibs): Likewise.
16496 * rt/Makefile (otherlibs): Likewise.
16497 * sunrpc/Makefile (otherlibs): Likewise.
16498 * nss/Makefile (otherlibs): Likewise.
16499 Add libnss_files to routines and static-only-routines.
16500 ($(objpfx)getent): Remove rule.
16501 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16502 static-only-routines.
16504 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16507 * math/s_cexp.c: Include <float.h>.
16508 (__cexp): Handle exp result overflowing not necessarily
16509 overflowing both real and imaginary parts of result.
16510 * math/s_cexpf.c: Likewise.
16511 * math/s_cexpl.c: Likewise.
16512 * math/libm-test.inc (cexp_test): Add more tests.
16513 * sysdeps/i386/fpu/libm-test-ulps: Update.
16514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16516 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16518 * include/link.h (ELFW): New macro.
16519 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16520 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16522 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16524 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16527 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16529 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16531 (struct La_x32_retval): Likewise.
16533 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16535 * sysdeps/x86_64/preconfigure.in: New file.
16536 * sysdeps/x86_64/preconfigure: New generated file.
16538 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16541 * math/e_exp2l.c: Include <float.h>.
16542 (__ieee754_exp2l): Handle overflow and underflow cases
16543 separately. Only pass fractional part of argument to
16545 * math/libm-test.inc (exp2_test): Add more tests.
16547 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16548 negating x to take absolute value.
16549 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16551 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16554 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16555 computing low part if x was negated.
16556 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16558 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16560 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16561 la_x32_gnu_pltexit.
16562 (pltexit): Cast int_retval to ptrdiff_t.
16563 * elf/tst-auditmod3b.c: Likewise.
16564 * elf/tst-auditmod4b.c: Likewise.
16565 * elf/tst-auditmod5b.c: Likewise.
16566 * elf/tst-auditmod6b.c: Likewise.
16567 * elf/tst-auditmod6c.c: Likewise.
16568 * elf/tst-auditmod7b.c: Likewise.
16570 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16571 and x32_gnu_pltexit.
16573 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16574 __ELF_NATIVE_CLASS.
16575 (La_x32_regs): New macro.
16576 (La_x32_retval): Likewise.
16577 (la_x32_gnu_pltenter): New function prototype.
16578 (la_x32_gnu_pltexit): Likewise.
16580 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16582 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16587 * configure.in (libc_cv_cc_nofma): Check for option to disable
16588 generation of FMA instructions.
16589 * configure: Regenerate.
16590 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16591 * sysdeps/ieee754/dbl-64/Makefile: New file.
16592 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16593 Remove brandred-fma4.
16594 (CFLAGS-brandred-fma4.c): Remove.
16595 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16596 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16598 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16601 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16603 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16604 LLONG_MAX != LONG_MAX.
16605 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16606 (_fitoa_word): Likewise.
16607 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16608 LLONG_MAX != LONG_MAX.
16609 * stdio-common/_itowa.h: Include <_itoa.h>.
16610 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16611 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16612 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16613 only if not defined.
16614 (_ITOA_WORD_TYPE): Likewise.
16615 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16616 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16618 2012-03-21 David S. Miller <davem@davemloft.net>
16620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16622 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16624 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16625 of x86_64 when setting libc_cv_slibdir, libdir and
16627 * sysdeps/unix/sysv/linux/configure: Regenerated.
16629 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16631 * manual/lang.texi (Old Varargs): Remove section.
16632 (How Variadic): Update menu.
16633 (va_start): Do not mention varargs.h.
16635 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16636 Joseph Myers <joseph@codesourcery.com>
16638 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16640 * configure: Regenerated.
16642 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16644 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16645 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16648 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16651 * Makefile (files-for-dist): Remove NOTES.
16652 (NOTES): Remove rule.
16653 * README: Don't refer to NOTES.
16654 * manual/creature.texi: Don't include macros.texi.
16655 * manual/intro.texi (creature.texi): Remove comment referring to
16658 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16659 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16660 * configure: Regenerated.
16661 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16662 LIBC_TRY_CC_OPTION.
16663 (libc_cv_as_i686): Likewise.
16664 (libc_cv_cc_avx): Likewise.
16665 (libc_cv_cc_sse2avx): Likewise.
16666 (libc_cv_cc_fma4): Likewise.
16667 (libc_cv_cc_novzeroupper): Likewise.
16668 * sysdeps/i386/configure: Regenerated.
16671 * sysdeps/i386/fpu/s_cexp.S: Remove.
16672 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16673 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16674 * math/libm-test.inc (cexp_test): Add more tests.
16675 * sysdeps/i386/fpu/libm-test-ulps: Update.
16676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16678 2012-03-21 Allan McRae <allan@archlinux.org>
16680 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16682 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16685 * math/w_exp2.c: Do not include <float.h>.
16686 (o_threshold, u_threshold): Remove.
16687 (__exp2): Calculate result before checking finiteness and calling
16689 * math/w_exp2f.c: Likewise.
16690 * math/w_exp2l.c: Likewise.
16691 * math/libm-test.inc (exp2_test): Require overflow exception for
16695 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16696 range of signed 64-bit integers before using fistpll. Remove
16697 checks for whether integers fit in mantissa bits.
16698 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16699 the range of signed 32-bit integers before using fistpl. Remove
16700 checks for whether integers fit in mantissa bits.
16701 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16702 (__ieee754_powl): Test for y outside the range of signed 64-bit
16703 integers before using fistpll. Reduce 64-bit values to 63-bit
16705 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16706 divide-by-zero is raised for zero to large negative powers.
16707 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16708 (__ieee754_powl): Test for y outside the range of signed 64-bit
16709 integers before using fistpll. Reduce 64-bit values to 63-bit
16711 * math/libm-test.inc (pow_test): Add more tests.
16713 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16715 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16716 <stdio-common/_itoa.h>.
16717 * debug/segfault.c: Likewise.
16718 * elf/dl-cache.c: Likewise.
16719 * elf/dl-minimal.c: Likewise.
16720 * elf/dl-misc.c: Likewise.
16721 * elf/dl-sysdep.c: Likewise.
16722 * elf/dl-version.c: Likewise.
16723 * elf/rtld.c: Likewise.
16724 * hurd/hurdsock.c: Likewise.
16725 * hurd/lookup-retry.c: Likewise.
16726 * malloc/malloc.c: Likewise.
16727 * malloc/mtrace.c: Likewise.
16728 * nscd/nscd_getgr_r.c: Likewise.
16729 * nscd/nscd_getpw_r.c: Likewise.
16730 * nscd/nscd_getserv_r.c: Likewise.
16731 * posix/getopt_init.c: Likewise.
16732 * posix/wordexp.c: Likewise.
16733 * stdio-common/_itoa.c: Likewise.
16734 * stdio-common/printf_fphex.c: Likewise.
16735 * stdio-common/vfprintf.c: Likewise.
16736 * string/_strerror.c: Likewise.
16737 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16738 * sysdeps/i386/i686/hp-timing.h: Likewise.
16739 * sysdeps/mach/_strerror.c: Likewise.
16740 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16741 * sysdeps/mach/hurd/sethostid.c: Likewise.
16742 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16743 * sysdeps/mach/xpg-strerror.c: Likewise.
16744 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16745 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16746 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16747 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16748 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16749 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16751 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16752 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16753 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16754 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16755 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16756 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16757 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16758 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16759 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16760 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16762 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16763 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16764 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16766 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16768 * stdio-common/_itoa.h: Moved to ...
16769 * sysdeps/generic/_itoa.h: Here.
16771 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16773 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16774 instead of "_itoa.h" and "_itowa.h".
16775 * stdio-common/vfprintf.: Likewise.
16777 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16779 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16781 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16782 (__signbit): Likwise.
16783 (llrintf): Likwise.
16786 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16788 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16791 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16793 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16794 OVERFLOW_EXCEPTION_OK.
16795 * math/libm-test.inc ("Philosophy"): Update comment about
16797 (OVERFLOW_EXCEPTION): Define.
16798 (OVERFLOW_EXCEPTION_OK): Likewise.
16799 (INVALID_EXCEPTION_OK): Renumber.
16800 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16801 (IGNORE_ZERO_INF_SIGN): Likewise.
16802 (test_exceptions): Handle FE_OVERFLOW.
16803 (exp10_test): Expect overflow exceptions.
16804 (exp2_test): Likewise.
16805 (expm1_test): Likewise.
16806 (nextafter_test): Likewise.
16807 (pow_test): Likewise.
16808 (scalbn_test): Likewise.
16809 (scalbln_test): Likewise.
16811 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16813 * sysdeps/x86_64/bits/atomic.h
16814 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16816 (atomic_exchange_acq): Likewise.
16817 (__arch_exchange_and_add_body): Likewise.
16818 (__arch_add_body): Likewise.
16819 (atomic_add_negative): Likewise.
16820 (atomic_add_zero): Likewise.
16822 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16824 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16825 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16827 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16829 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16830 Check __x86_64__ instead of __WORDSIZE.
16832 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16834 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16836 2012-03-19 David S. Miller <davem@davemloft.net>
16838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16840 * sysdeps/sparc/fpu/fenv_private.h: New file.
16841 * sysdeps/sparc/fpu/math_private.h: Use it.
16842 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16844 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16845 (libc_feholdexcept_setroundl): Remove.
16846 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16848 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16849 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16851 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16853 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16854 int64_t instead of long int.
16855 (INSERT_WORDS64): Likwise.
16857 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16859 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16860 _Unwind_GetCFA return to _Unwind_Ptr first.
16862 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16865 * math/s_clog.c: Include <float.h>.
16866 (__clog): Scale large or subnormal inputs.
16867 * math/s_clogf.c: Likewise.
16868 * math/s_clogl.c: Likewise.
16869 * math/s_clog10.c: Include <float.h>.
16870 (M_LOG10_2): Define.
16871 (__clog10): Scale large or subnormal inputs.
16872 * math/s_clog10f.c: Likewise.
16873 * math/s_clog10l.c: Likewise.
16874 * math/libm-test.inc (clog_test): Add more tests.
16875 (clog10_test): Likewise.
16876 * sysdeps/i386/fpu/libm-test-ulps: Update.
16877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16880 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16882 * math/libm-test.inc (atan2_test): Add another test.
16884 * Makerules (common-objdir-compile): Remove.
16885 * sysdeps/unix/Makefile (config-generated): Do not add
16886 $(unix-generated) to variable.
16887 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16888 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16890 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16892 [generic bits/local_lim.h] (before-compile): Do not append to
16894 [generic bits/local_lim.h] (common-generated): Likewise.
16895 [generic sys/param.h] (before-compile): Do not append to variable.
16896 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16897 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16898 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16899 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16901 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16902 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16903 [generic sys/param.h] ($(addprefix
16904 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16905 [generic sys/param.h] (common-generated): Do not append to
16907 [generic sys/param.h] (sysdep_headers): Likewise.
16908 [generic bits/errno.h] (before-compile): Do not append to
16910 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16912 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16913 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16914 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16915 [generic bits/errno.h] (common-generated): Do not append to
16917 [generic bits/ioctls.h] (before-compile): Do not append to
16919 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16921 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16922 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16923 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16925 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16926 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16927 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16928 [generic bits/ioctls.h] (common-generated): Do not append to
16930 [generic sys/syscall.h] (syscall.h): Remove variable.
16931 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16933 [generic sys/syscall.h] (before-compile): Do not append to
16935 [generic sys/syscall.h] (common-generated): Likewise.
16936 * sysdeps/unix/errnos-tmpl.c: Remove file.
16937 * sysdeps/unix/errnos.awk: Likewise.
16938 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16939 * sysdeps/unix/ioctls.awk: Likewise.
16940 * sysdeps/unix/mk-local_lim.c: Likewise.
16941 * sysdeps/unix/snarf-ioctls: Likewise.
16943 2012-03-19 Richard Henderson <rth@twiddle.net>
16945 * sysdeps/i386/fpu/fenv_private.h: New file.
16946 * sysdeps/i386/fpu/math_private.h: Use it.
16947 (math_opt_barrier, math_force_eval): Remove.
16948 (libc_feholdexcept_setround_53bit): Remove.
16949 (libc_feupdateenv_53bit): Remove.
16950 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16951 (math_opt_barrier, math_force_eval): Remove.
16952 (libc_feholdexcept): Remove.
16953 (libc_feholdexcept_setround): Remove.
16954 (libc_fetestexcept, libc_fesetenv): Remove.
16955 (libc_feupdateenv_test): Remove.
16956 (libc_feupdateenv, libc_feholdsetround): Remove.
16957 (libc_feresetround): Remove.
16959 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16960 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16962 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16963 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16964 (libc_feupdateenv_testl): New.
16965 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16966 (libc_feupdateenv_testf): New.
16967 (libc_feupdateenv): Use libc_feupdateenv_test.
16968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16969 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16971 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16972 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16973 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16974 (libc_feresetround_noex): New.
16975 (libc_feresetround_noexf): New.
16976 (libc_feresetround_noexl): New.
16977 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16978 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16979 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16980 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16982 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16983 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16985 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16986 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16987 SET_RESTORE_ROUND_NOEX.
16988 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16989 SET_RESTORE_ROUND_NOEXF.
16990 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16991 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16992 (libc_feholdsetroundf): New.
16993 (libc_feresetround, libc_feresetroundf): New.
16995 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16996 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16997 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16999 * sysdeps/generic/math_private.h: Include <fenv.h>.
17000 (default_libc_feholdexcept): New.
17001 (default_libc_feholdexcept_setround): New.
17002 (default_libc_fesetenv, default_libc_feupdateenv): New.
17003 (libc_feholdexcept): Only define if undefined.
17004 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17005 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17006 (libc_feholdexcept_setroundl): Likewise.
17007 (libc_feholdexcept_setround_53bit): Likewise.
17008 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17009 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17010 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17011 (libc_feupdateenv_53bit): Likewise.
17012 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17013 (libc_feholdexcept): Convert from macro to inline function.
17014 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17015 (libc_fesetenv, libc_feupdateenv): Likewise.
17017 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17018 not previously defined.
17019 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17020 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17021 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17022 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17023 * sysdeps/ieee754/flt-32/math_private.h: New file.
17024 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17025 math_private.h below SET_FLOAT_WORD.
17026 (__isnan, __isinf_ns, __finite): Remove.
17027 (__isnanf, __isinf_nsf, __finitef): Remove.
17029 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17033 2012-03-17 David S. Miller <davem@davemloft.net>
17036 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17039 2012-03-16 David S. Miller <davem@davemloft.net>
17041 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17045 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17047 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17048 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17049 sysdep_routines when subdir is sysvipc.
17050 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17051 __getshmlba helper.
17053 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17055 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17057 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17060 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17063 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17064 (__lround): Renamed to ...
17065 (__llround): This. Replace long int with long long int.
17066 Define lround functions as aliases of llround functions.
17067 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17069 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17071 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17072 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17073 adresses to uintptr_t. Replace "long int" and "unsigned long
17074 int" with "greg_t" on va_arg.
17076 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17078 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17079 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17081 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17082 Move e_machine check before EI_CLASS check. Handle x32
17083 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17084 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17085 SKIP_EM_IA_64 and include
17086 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17088 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17089 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17090 (add_system_dir): New macro.
17092 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17093 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17095 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17106 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17108 * math/w_j0f.c (j0f): Likewise.
17110 * math/w_j0l.c (__j0l): Likewise.
17112 * math/w_j1.c (j1): Likewise.
17114 * math/w_j1f.c (j1f): Likewise.
17116 * math/w_j1l.c (__j1l): Likewise.
17118 * math/w_jn.c (jn): Likewise.
17120 * math/w_jnf.c (jnf): Likewise.
17122 * math/w_jnl.c (__jnl): Likewise.
17124 * math/libm-test.inc (j0_test): Add more tests.
17125 (j1_test): Likewise.
17126 (jn_test): Likewise. Add trailing semicolon to existing test.
17127 (y0_test): Likewise.
17128 (y1_test): Likewise.
17129 * sysdeps/i386/fpu/libm-test-ulps: Update.
17130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17134 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17135 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17136 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17137 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17138 (__tanl): Set errno for infinite argument.
17139 * sysdeps/i386/fpu/mptan.c: Remove.
17140 * sysdeps/i386/fpu/s_tan.S: Likewise.
17141 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17142 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17143 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17144 * math/libm-test.inc (tan_test): Add more tests and enable more
17145 tests for double and long double.
17146 * sysdeps/i386/fpu/libm-test-ulps: Update.
17147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17149 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17151 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17152 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17154 2012-03-16 Roland McGrath <roland@hack.frob.com>
17156 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17157 * configure.in: Use it for both main tree and add-ons.
17158 * configure: Regenerated.
17160 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17162 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17164 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17166 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17170 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17171 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17172 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17173 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17174 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17176 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17178 != 0 for prec == 2.
17179 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17180 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17181 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17182 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17183 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17184 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17185 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17186 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17187 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17188 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17189 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17190 * math/libm-test.inc (cos_test): Add more tests and enable more
17191 tests for long double.
17192 (sin_test): Likewise.
17193 (sincos_test): Likewise.
17194 * sysdeps/i386/fpu/libm-test-ulps: Update.
17195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197 2012-03-16 David S. Miller <davem@davemloft.net>
17199 * sysdeps/sparc/fpu/math_private.h: New file.
17201 2012-03-15 David S. Miller <davem@davemloft.net>
17203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17217 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17218 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17220 * sysdeps/sparc/sparc-ifunc.h: New file.
17221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17266 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17268 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17272 2012-03-15 Andreas Jaeger <aj@suse.de>
17275 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17276 ieee754/flt-32 implementation for sin, cos and sincos.
17277 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17278 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17279 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17280 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17281 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17282 ieee754/flt-32 implementation for tan.
17284 * math/libm-test.inc (cos_test): Enable some large input tests for
17286 (sin_test): Likewise.
17287 (sincos_test): Likewise.
17288 (tan_test): Add tests for large input.
17290 * sysdeps/i386/fpu/libm-test-ulps: Update.
17292 2012-03-15 Andreas Jaeger <aj@suse.de>
17295 * math/libm-test.inc (cos_test): Add more test cases.
17296 (sin_test): Likewise.
17297 (sincos_test): Likewise.
17299 2012-03-15 Andreas Jaeger <aj@suse.de>
17302 * math/libm-test.inc (cos_test): Add a test case for large input
17304 (sin_test): Likewise.
17305 (sincos_test): Likewise.
17307 2012-03-15 Andreas Jaeger <aj@suse.de>,
17308 Joseph Myers <joseph@codesourcery.com>
17311 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17312 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17313 * sysdeps/i386/fpu/branred.c: Likewise.
17314 * sysdeps/i386/fpu/dosincos.c: Likewise.
17315 * sysdeps/i386/fpu/mpa.c: Likewise.
17316 * sysdeps/i386/fpu/s_cos.S: Likewise.
17317 * sysdeps/i386/fpu/s_sin.S: Likewise.
17318 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17319 * sysdeps/i386/fpu/sincos32.c: Likewise.
17321 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17323 (libc_feupdateenv_53bit): Define.
17324 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17326 (libc_feupdateenv_53bit): Define.
17328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17329 53 bit (without extend i386 double precision).
17331 * math/libm-test.inc (sincos_test): Add tests for large input.
17335 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17337 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17341 2012-03-15 David S. Miller <davem@davemloft.net>
17343 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17344 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17345 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17346 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17371 fmin/fmax sysdep routines.
17372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17374 2012-03-14 David S. Miller <davem@davemloft.net>
17376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17383 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17448 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17453 * sysdeps/sparc/configure.in: New file.
17454 * sysdeps/sparc/configure: Generate.
17455 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17456 * configure: Regenerate.
17457 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17458 * config.make.in (have-as-vis3): New.
17459 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17460 available use -Av9d instead of -Av9a.
17461 * sysdeps/sparc/sparc64/Makefile: Likewise.
17462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17477 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17478 fzeros/fnegs to load 0x80000000 into a float register instead of
17480 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17482 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17486 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17487 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17488 ($(inst_includedir)/bits/syscall.h): Remove rule.
17489 ($(objpfx)bits/syscall.d): Include instead of
17490 $(objpfx)syscall-list.d.
17491 (generated): Change syscall-list.h and syscall-list.d to
17492 bits/syscall.h and bits/syscall.d.
17494 2012-03-14 Roland McGrath <roland@hack.frob.com>
17497 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17499 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17502 * math/s_csqrt.c: Include <float.h>.
17503 (__csqrt): Scale large or subnormal inputs.
17504 * math/s_csqrtf.c: Likewise.
17505 * math/s_csqrtl.c: Likewise.
17506 * math/libm-test.inc (csqrt_test): Add more tests.
17507 * sysdeps/i386/fpu/libm-test-ulps: Update.
17508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17511 * math/libm-test.inc (hypot_test): Add more tests.
17513 2012-03-13 David S. Miller <davem@davemloft.net>
17516 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17517 double-precision for the calculation instead of scaling.
17519 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17522 manipulate bits before adding and subtracting TWO52[sx].
17523 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17524 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17526 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17528 2012-03-13 David S. Miller <davem@davemloft.net>
17530 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17531 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17533 rtld-global-offsets.h
17534 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17536 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17539 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17541 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17542 'err' in the ifdef scope in which it is actually used.
17544 * nss/nss_db/db-init.c: Include string.h
17546 2012-03-12 David S. Miller <davem@davemloft.net>
17548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17549 masking out of the most significant byte of random value used.
17550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17551 Fix coding style in previous change.
17553 * sysdeps/unix/sysv/linux/kernel-features.h
17554 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17555 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17557 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17560 2012-03-11 David S. Miller <davem@davemloft.net>
17562 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17563 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17565 for 'resultvar' otherwise things get truncated on 64-bit.
17567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17568 Fix masking out of the most significant byte of random value used.
17570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17572 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17576 2012-03-09 David S. Miller <davem@davemloft.net>
17578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17579 variables with appropriate CPP guards.
17580 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17581 frame pointer, not the stack pointer. Correct layout comments. Fix test
17582 on resulting framesize and the management of the outregs buffer for pltexit.
17583 Preserve floating point return values across _dl_call_pltexit call.
17584 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17585 framesize and the management of the outregs buffer for pltexit.
17586 Preserve floating point return values across _dl_call_pltexit
17588 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17589 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17590 (print_exit): Fix format string for return register value.
17592 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17594 * sunrpc/Makefile (others): Add rpcgen.
17595 ($(objpfx)rpcgen): Remove special build rule and dependency on
17597 * sunrpc/rpcgen.c: New file.
17599 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17602 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17603 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17604 * sysdeps/i386/crti.S: Likewise.
17605 * sysdeps/i386/crtn.S: Likewise.
17606 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17607 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17608 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17609 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17610 * sysdeps/sh/crti.S: Likewise.
17611 * sysdeps/sh/crtn.S: Likewise.
17612 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17615 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17617 * locale/programs/locfile-kw.gperf: Likewise.
17618 * locale/programs/charmap-kw.h: Regenerated.
17619 * locale/programs/locfile-kw.h: Likewise.
17622 * intl/plural.y: Replace FSF snail mail address with URL.
17623 * intl/plural.c: Regenerated.
17625 2012-03-09 Richard Henderson <rth@twiddle.net>
17627 * include/math_private.h: Remove file.
17628 * math/math_private.h: Move file ...
17629 * sysdeps/generic/math_private.h: ... here.
17631 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17632 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17633 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17635 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17636 and <math_private.h>.
17637 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17638 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17639 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17640 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17641 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17654 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17655 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17656 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17693 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17694 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17695 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17696 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17697 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17698 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17699 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17700 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17701 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17702 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17703 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17704 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17705 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17706 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17707 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17708 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17725 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17728 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17729 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17730 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17731 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17732 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17737 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17738 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17739 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17740 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17741 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17742 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17743 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17744 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17745 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17746 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17747 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17748 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17749 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17750 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17751 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17752 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17753 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17754 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17755 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17756 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17757 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17760 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17761 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17762 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17763 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17764 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17765 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17766 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17767 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17768 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17769 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17770 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17771 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17773 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17774 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17775 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17776 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17777 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17778 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17779 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17780 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17781 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17782 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17783 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17784 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17785 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17786 * sysdeps/ieee754/k_standard.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17890 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17891 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17892 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17893 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17894 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17895 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17896 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17898 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17899 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17900 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17903 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17905 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17906 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17914 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17915 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17917 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17919 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17920 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17921 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17922 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17924 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17925 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17927 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17929 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17930 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17932 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17933 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17934 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17935 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17936 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17937 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17938 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17940 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17941 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17943 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17945 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17947 * sysdeps/ieee754/s_lib_version.c: Likewise.
17948 * sysdeps/ieee754/s_matherr.c: Likewise.
17949 * sysdeps/ieee754/s_signgam.c: Likewise.
17950 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17951 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17952 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17953 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17954 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17955 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17956 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17957 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17958 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17959 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17960 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17961 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17962 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17963 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17964 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17965 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17966 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17967 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17968 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17972 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17974 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17975 * sunrpc/rpc_main.c: Likewise.
17976 * sunrpc/rpc_svcout.c: Likewise.
17978 2012-03-09 David S. Miller <davem@davemloft.net>
17980 * include/math_private.h: New file.
17982 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17984 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17985 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17986 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17987 from <bits/socket_type.h>.
17988 (enum __socket_type): Don't define here.
17989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17991 bits/socket_type.h.
17994 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17995 checking __USE_GNU.
17997 * Makerules ($(inst_includedir)/%.h): New rule.
17998 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17999 (install-others): Remove variable setting.
18000 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18002 2012-03-08 Richard Henderson <rth@twiddle.net>
18004 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18005 from macro to inline function; merge with the
18006 !__LIBC_INTERNAL_MATH_INLINES version.
18007 (__ieee754_sqrtf): Likewise.
18009 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18010 to inline function.
18011 (__rintf, __floor, __floorf): Likewise.
18013 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18014 macro to inline function.
18015 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18017 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18018 not <math/math_private.h>.
18020 2012-03-08 David S. Miller <davem@davemloft.net>
18022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18024 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18026 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18028 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18030 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18031 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18033 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18035 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18036 be defined individually, they must be defined as a block. Define
18037 S for printing a string instead of hidint the different by using a
18038 macro for adding the 'l'.
18039 * stdio-common/tst-fphex-wide.c: Adjust.
18041 2012-03-07 Marek Polacek <polacek@redhat.com>
18043 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18045 2012-03-08 Marek Polacek <polacek@redhat.com>
18048 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18049 * stdio-common/tst-fphex.c: Define a few macros to make the
18050 test reusable. Use them.
18051 * stdio-common/tst-fphex-wide.c: New file.
18053 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18056 * manual/macros.texi (gnusystems): New macro.
18057 (nongnusystems): Likewise.
18058 (gnulinuxhurdsystems): Likewise.
18059 (gnuhurdsystems): Likewise..
18060 (gnulinuxsystems): Likewise.
18061 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18062 variants of the GNU system, not "GNU system".
18063 * manual/conf.texi: Likewise.
18064 * manual/errno.texi: Likewise. Update example of errno macro
18066 * manual/filesys.texi: Likewise.
18067 (getumask): Document as specific to GNU/Hurd.
18068 * manual/install.texi: Likewise. Reword some references to
18070 * manual/intro.texi: Likewise.
18071 * manual/io.texi: Likewise.
18072 (File Name Portability): Detail which constraints are inapplicable
18073 to all GNU systems and which are only inapplicable to GNU/Hurd.
18074 * manual/job.texi: Likewise.
18075 * manual/llio.texi: Likewise.
18076 (O_NOCTTY): Document as present on GNU/Linux.
18077 * manual/maint.texi: Likewise.
18078 * manual/memory.texi: Likewise.
18079 * manual/pattern.texi: Likewise.
18080 * manual/pipe.texi: Likewise.
18081 * manual/process.texi: Likewise.
18082 * manual/resource.texi: Likewise.
18083 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18085 * manual/setjmp.texi: Likewise.
18086 * manual/signal.texi: Likewise.
18087 * manual/startup.texi: Likewise.
18088 * manual/stdio.texi: Likewise.
18089 * manual/terminal.texi: Likewise.
18090 (ONLCR): Document as POSIX.
18091 (OXTABS): Document availability on GNU/Linux as XTABS.
18092 (ONOEOT): Document availability separately from other bits.
18093 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18094 * manual/time.texi: Likewise.
18095 * manual/users.texi: Likewise.
18096 * INSTALL: Regenerated.
18097 * sysdeps/gnu/errlist.c: Regenerated.
18099 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18100 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18101 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18103 * configure: Regenerated.
18105 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18107 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18108 default includes instead of AC_HEADER_CHECK.
18109 * sysdeps/i386/configure: Regenerated.
18112 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18113 * math/s_cacoshf.c (__cacoshf): Likewise.
18114 * math/s_cacoshl.c (__cacoshl): Likewise.
18115 * math/s_casinh.c (__casinh): Set signs of result from argument.
18116 * math/s_casinhf.c (__casinhf): Likewise.
18117 * math/s_casinhl.c (__casinhl): Likewise.
18118 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18119 (casinh_test): Add more tests.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18123 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18125 * po/zh_TW.po: Update from translation team.
18127 * login/Makefile (distribute): Remove variable.
18128 * catgets/Makefile: Likewise.
18129 * mach/Makefile: Likewise.
18130 * malloc/Makefile: Likewise.
18131 * misc/Makefile: Likewise.
18132 * iconv/Makefile: Likewise.
18133 * nscd/Makefile: Likewise.
18134 * hurd/Makefile: Likewise.
18135 * manual/Makefile: Likewise.
18136 * locale/Makefile: Likewise.
18137 * intl/Makefile: Likewise.
18138 * conform/Makefile: Likewise.
18139 * nss/Makefile: Likewise.
18140 * time/Makefile: Likewise.
18141 * soft-fp/Makefile: Likewise.
18142 * dirent/Makefile: Likewise.
18143 * gmon/Makefile: Likewise.
18144 * po/Makefile: Likewise.
18145 * rt/Makefile: Likewise.
18146 * socket/Makefile: Likewise.
18147 * math/Makefile: Likewise.
18148 * signal/Makefile: Likewise.
18149 * debug/Makefile: Likewise.
18150 * elf/Makefile: Likewise.
18151 * timezone/Makefile: Likewise.
18152 * stdlib/Makefile: Likewise.
18153 * iconvdata/Makefile: Likewise.
18154 * sunrpc/Makefile: Likewise.
18155 * io/Makefile: Likewise.
18156 * argp/Makefile: Likewise.
18157 * inet/Makefile: Likewise.
18158 * hesiod/Makefile: Likewise.
18159 * grp/Makefile: Likewise.
18160 * csu/Makefile: Likewise.
18161 * wctype/Makefile: Likewise.
18162 * crypt/Makefile: Likewise.
18163 * libio/Makefile: Likewise.
18164 * string/Makefile: Likewise.
18165 * nis/Makefile: Likewise.
18166 * resolv/Makefile: Likewise.
18167 * stdio-common/Makefile: Likewise.
18168 * wcsmbs/Makefile: Likewise.
18169 * dlfcn/Makefile: Likewise.
18170 * posix/Makefile: Likewise.
18173 * timezone/Makefile: Don't install timezone files, just the programs
18176 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18178 * nss/databases.def: Add missing gshadow entry.
18180 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18182 2012-03-06 Marek Polacek <polacek@redhat.com>
18185 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18186 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18187 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18188 * stdio-common/tst-long-dbl-fphex.c: New file.
18190 2012-03-06 David S. Miller <davem@davemloft.net>
18192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18193 (set_obp_int): New function.
18194 (get_obp_int): New function.
18195 (__get_clockfreq_via_dev_openprom): Likewise.
18196 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18197 Avoid unused variable warnings on 'val' and use builtin_expect.
18198 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18200 (INLINE_CLONE_SYSCALL): Likewise.
18202 2012-03-05 David S. Miller <davem@davemloft.net>
18204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18206 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18210 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18211 only for |x| >= 40.
18212 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18214 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18217 Replace gettimeofday with __vdso_gettimeofday.
18219 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18220 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18221 __vdso_clock_gettime and __vdso_getcpu.
18223 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18224 time with __vdso_time.
18226 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18228 * manual/lang.texi (size_t): Note types to which size_t may be
18229 equivalent with the GNU C Library, but do not describe when
18230 differences between them are significant.
18232 2012-03-05 Andreas Jaeger <aj@suse.de>
18234 * sysdeps/i386/fpu/libm-test-ulps: Update.
18236 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18239 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18240 (__ieee754_pow): Save and restore rounding mode and use
18241 round-to-nearest for main computations.
18242 * math/libm-test.inc (pow_test_tonearest): New function.
18243 (pow_test_towardzero): Likewise.
18244 (pow_test_downward): Likewise.
18245 (pow_test_upward): Likewise.
18246 (main): Call the new functions.
18247 * sysdeps/i386/fpu/libm-test-ulps: Update.
18248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251 * math/libm-test.inc (cosh_test_tonearest): New function.
18252 (cosh_test_towardzero): Likewise.
18253 (cosh_test_downward): Likewise.
18254 (cosh_test_upward): Likewise.
18255 (sinh_test_tonearest): Likewise.
18256 (sinh_test_towardzero): Likewise.
18257 (sinh_test_downward): Likewise.
18258 (sinh_test_upward): Likewise.
18259 (main): Call the new functions.
18260 * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18263 2012-03-05 Tom de Vries <tom@codesourcery.com>
18265 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18266 default stack guard is set in last bytes.
18267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18269 2012-03-05 Kees Cook <keescook@chromium.org>
18271 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18274 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18275 possibly allocate from heap instead of stack.
18276 * stdio-common/bug-vfprintf-nargs.c: New file.
18277 * stdio-common/Makefile (tests): Add nargs overflow test.
18279 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18283 2012-03-03 Marek Polacek <polacek@redhat.com>
18285 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18286 * math/math_private.h: Likewise.
18287 * stdlib/tst-strtod.c: Likewise.
18288 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18289 * sysdeps/x86_64/bits/atomic.h: Likewise.
18291 2012-03-02 David S. Miller <davem@davemloft.net>
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18297 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18298 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18299 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18300 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18302 2012-03-02 Roland McGrath <roland@hack.frob.com>
18305 * manual/examples/README: New file, says the example source files
18306 can be used under GPL>=2.
18307 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18308 line containing just "*/".
18309 * manual/examples/add.c: Add copyright header (GPL>=2).
18310 * manual/examples/argp-ex1.c: Likewise.
18311 * manual/examples/argp-ex2.c: Likewise.
18312 * manual/examples/argp-ex3.c: Likewise.
18313 * manual/examples/argp-ex4.c: Likewise.
18314 * manual/examples/atexit.c: Likewise.
18315 * manual/examples/db.c: Likewise.
18316 * manual/examples/dir.c: Likewise.
18317 * manual/examples/dir2.c: Likewise.
18318 * manual/examples/execinfo.c: Likewise.
18319 * manual/examples/filecli.c: Likewise.
18320 * manual/examples/filesrv.c: Likewise.
18321 * manual/examples/fmtmsgexpl.c: Likewise.
18322 * manual/examples/genpass.c: Likewise.
18323 * manual/examples/inetcli.c: Likewise.
18324 * manual/examples/inetsrv.c: Likewise.
18325 * manual/examples/isockad.c: Likewise.
18326 * manual/examples/longopt.c: Likewise.
18327 * manual/examples/memopen.c: Likewise.
18328 * manual/examples/memstrm.c: Likewise.
18329 * manual/examples/mkfsock.c: Likewise.
18330 * manual/examples/mkisock.c: Likewise.
18331 * manual/examples/mygetpass.c: Likewise.
18332 * manual/examples/pipe.c: Likewise.
18333 * manual/examples/popen.c: Likewise.
18334 * manual/examples/rprintf.c: Likewise.
18335 * manual/examples/search.c: Likewise.
18336 * manual/examples/select.c: Likewise.
18337 * manual/examples/setjmp.c: Likewise.
18338 * manual/examples/sigh1.c: Likewise.
18339 * manual/examples/sigusr.c: Likewise.
18340 * manual/examples/stpcpy.c: Likewise.
18341 * manual/examples/strdupa.c: Likewise.
18342 * manual/examples/strftim.c: Likewise.
18343 * manual/examples/strncat.c: Likewise.
18344 * manual/examples/subopt.c: Likewise.
18345 * manual/examples/swapcontext.c: Likewise.
18346 * manual/examples/termios.c: Likewise.
18347 * manual/examples/testopt.c: Likewise.
18348 * manual/examples/testpass.c: Likewise.
18349 * manual/examples/timeval_subtract.c: Likewise.
18352 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18354 * manual/timeval_subtract.c.texi: ... here, new file.
18356 2012-03-02 David S. Miller <davem@davemloft.net>
18358 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18360 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18363 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18364 (__sin): Save and restore rounding mode and use round-to-nearest
18365 for all computations.
18366 (__cos): Save and restore rounding mode and use round-to-nearest
18367 for all computations.
18368 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18370 (tan): Save and restore rounding mode and use round-to-nearest for
18372 * math/libm-test.inc (cos_test_tonearest): New function.
18373 (cos_test_towardzero): Likewise.
18374 (cos_test_downward): Likewise.
18375 (cos_test_upward): Likewise.
18376 (sin_test_tonearest): Likewise.
18377 (sin_test_towardzero): Likewise.
18378 (sin_test_downward): Likewise.
18379 (sin_test_upward): Likewise.
18380 (tan_test_tonearest): Likewise.
18381 (tan_test_towardzero): Likewise.
18382 (tan_test_downward): Likewise.
18383 (tan_test_upward): Likewise.
18384 (main): Call the new functions.
18385 * sysdeps/i386/fpu/libm-test-ulps: Update.
18386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18389 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18390 small n, then large n, before computing and testing k+n.
18391 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18396 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18397 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18399 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18401 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18404 * math/libm-test.inc (scalbn_test): Add more tests.
18405 (scalbln_test): Likewise.
18407 * manual/filesys.texi (mode_t): Describe constraints on size and
18408 signedness, not exact equivalence to a particular type.
18410 (ino64_t): Likewise.
18412 (nlink_t): Likewise.
18413 (blkcnt_t): Likewise.
18414 (blkcnt64_t): Likewise.
18415 * manual/llio.texi (off_t): Likewise.
18418 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18419 (__ieee754_exp): Save and restore rounding mode and use
18420 round-to-nearest for all computations.
18421 * math/libm-test.inc (exp_test_tonearest): New function.
18422 (exp_test_towardzero): Likewise.
18423 (exp_test_downward): Likewise.
18424 (exp_test_upward): Likewise.
18425 (main): Call the new functions.
18426 * sysdeps/i386/fpu/libm-test-ulps: Update.
18427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429 2012-03-01 Chris Demetriou <cgd@google.com>
18431 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18432 have predictable order.
18434 2012-03-01 David S. Miller <davem@davemloft.net>
18436 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18438 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18439 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18440 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18441 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18443 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18444 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18445 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18447 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18448 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18449 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18456 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18457 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18459 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18460 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18461 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18462 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18463 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18466 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18467 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18468 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18469 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18472 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18473 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18474 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18475 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18476 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18477 * sysdeps/sparc/elf/configure: Regenerated.
18479 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18481 * configure.in (AS, LD): Require binutils 2.20 or later.
18482 * configure: Regenerated.
18483 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18484 as required minimum version.
18485 * INSTALL: Regenerated.
18489 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18490 before squaring exponent.
18491 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18492 bottom long double and 27 bits of top long double before squaring
18494 * math/libm-test.inc (erfc_test): Add more tests.
18495 * sysdeps/i386/fpu/libm-test-ulps: Update.
18496 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499 2012-03-01 Kai Tietz <ktietz@redhat.com>
18501 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18502 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18503 containing bit-fields.
18504 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18505 * soft-fp/single.h (_FP_UNION_S): Likewise.
18506 * soft-fp/double.h (_FP_UNION_D): Likewise.
18508 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18511 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18512 not include ../strcmp.S.
18513 [USE_AS_STRNCASECMP_L]: Likewise.
18514 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18515 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18516 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18517 (__strncasecmp_l_ia32): Define as alias to
18518 __strncasecmp_l_nonascii.
18521 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18522 * sysdeps/i386/fpu/libm-test-ulps: Update.
18523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18525 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18528 2012-02-29 Jeff Law <law@redhat.com>
18530 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18531 out of bounds read.
18533 2012-02-29 Marek Polacek <polacek@redhat.com>
18536 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18537 * elf/Makefile: Add rules to run tst-unused-dep.out.
18539 2012-02-28 David S. Miller <davem@davemloft.net>
18541 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18542 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18543 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18545 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18546 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18548 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18550 * math/libm-test.inc (llround_test): Move one test from
18551 lround_test. Use TEST_f_L in moved test.
18552 (lround_test): Move misplaced test to llround_test. Add testcase
18555 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18557 * sysdeps/x86_64/fpu/e_expf.S: New file.
18558 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18560 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18563 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18564 of remain_len that may cause incomplete multi-byte character and
18566 * posix/bug-regex33.c: New file.
18567 * posix/Makefile (tests): Add bug-regex33.
18569 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18571 * manual/macros.texi: New file.
18572 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18573 * manual/libc.texinfo: Include macros.texi.
18574 * manual/creatute.texi: Likewise.
18575 * manual/install.texi: Likewise.
18576 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18577 @glibcadj{} in references to the GNU C Library.
18578 * manual/charset.texi: Likewise.
18579 * manual/conf.texi: Likewise.
18580 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18581 when not using those macros.
18582 * manual/creature.texi: Likewise.
18583 * manual/crypt.texi: Likewise.
18584 * manual/errno.texi: Likewise.
18585 * manual/filesys.texi: Likewise.
18586 * manual/header.texi: Likewise.
18587 * manual/install.texi: Likewise.
18588 * manual/intro.texi: Likewise.
18589 * manual/io.texi: Likewise.
18590 * manual/job.texi: Likewise.
18591 * manual/lang.texi: Likewise.
18592 * manual/libc.texiinfo: Likewise.
18593 * manual/llio.texi: Likewise.
18594 * manual/locale.texi: Likewise.
18595 * manual/maint.texi: Likewise.
18596 * manual/math.texi: Likewise.
18597 * manual/memory.texi: Likewise.
18598 * manual/message.texi: Likewise.
18599 * manual/nss.texi: Likewise.
18600 * manual/pattern.texi: Likewise.
18601 * manual/process.texi: Likewise.
18602 * manual/resource.texi: Likewise.
18603 * manual/search.texi: Likewise.
18604 * manual/setjmp.texi: Likewise.
18605 * manual/signal.texi: Likewise.
18606 * manual/socket.texi: Likewise.
18607 * manual/startup.texi: Likewise.
18608 * manual/stdio.texi: Likewise.
18609 * manual/string.texi: Likewise.
18610 * manual/sysinfo.texi: Likewise.
18611 * manual/syslog.texi: Likewise.
18612 * manual/terminal.texi: Likewise.
18613 * manual/time.texi: Likewise.
18614 * manual/users.texi: Likewise.
18615 * INSTALL: Regenerated.
18616 * NOTES: Regenerated.
18617 * sysdeps/gnu/errlist.c: Regenerated.
18619 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18621 * include/dirent.h: Include <dirstream.h> before
18624 2012-02-28 David S. Miller <davem@davemloft.net>
18626 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18627 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18628 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18629 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18631 2012-02-27 David S. Miller <davem@davemloft.net>
18633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18636 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18639 frame pointer instead of stack pointer relative arg slot.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18641 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18642 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18644 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18647 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18649 2012-02-27 David S. Miller <davem@davemloft.net>
18651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18657 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18658 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18660 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18662 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18663 later. Allow versions 5-9.
18664 * configure: Regenerated.
18665 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18666 required minimum version and 4.6 as recommended version. Do not
18667 mention bugs in GCC 2.7 and 2.8.
18668 * INSTALL: Regenerated.
18670 2012-02-27 David S. Miller <davem@davemloft.net>
18672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18676 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18677 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18678 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18679 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18682 manipulate bits before adding and subtracting TWO112[sx].
18683 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18685 2012-02-27 Roland McGrath <roland@hack.frob.com>
18688 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18689 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18690 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18691 being in POSIX, because they are in 1003.1-2008.
18693 * rt/tst-aio.c: Include <fcntl.h>.
18694 * rt/tst-aio7.c: Likewise.
18695 * rt/tst-aio64.c: Likewise.
18697 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18699 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18701 * manual/install.texi (--with-headers): Describe headers as
18702 interface headers, not private headers.
18703 (Specific advice for GNU/Linux systems): Describe use of headers
18704 from "make headers_install", not private headers from older
18706 * INSTALL: Regenerated.
18707 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18709 * sysdeps/unix/sysv/linux/configure: Regenerated.
18711 * manual/llio.texi (fclean): Remove documentation.
18713 * manual/Makefile (libc-texi-generated): New variable. Include
18715 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18716 $(libc-texi-generated), not duplicated list of files.
18717 (version.texi, stamp-version): New rules.
18718 (realclean): Remove $(libc-texi-generated), not individual files
18719 from that list. Do not remove dir-add.texinfo.
18720 * manual/libc.texinfo: Comment out uses of edition numbers and
18721 references to printed manual. Remove last-updated dates.
18722 (EDITION): Comment out.
18724 (VERSION, UPDATED): Remove.
18725 (version.texi): Include.
18727 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18729 * sysdeps/posix/spawni.c: Include <signal.h>.
18730 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18731 * sysdeps/pthread/aio_fsync.c: Likewise.
18733 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18735 * conform/Makefile (tests): Run only when not cross-compiling and
18736 when fast-check is not defined.
18738 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18739 * conform/data/limits.h-data: Fixes for POSIX2008.
18740 * conform/run-conformtest.sh: Run all tests.
18741 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18743 * include/bits/dlfcn.h: Likewise.
18744 * include/langinfo.h: Likewise.
18745 * include/monetary.h: Likewise.
18746 * include/sys/poll.h: Likewise.
18748 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18750 * posix/spawn.h: Define __need_sigset_t.
18751 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18752 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18753 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18754 to get sigevent_t only.
18755 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18756 only for __USE_GNU.
18757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18758 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18759 process_vm_writev only for __USE_GNU.
18760 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18762 * conform/Makefile: For now ignore errors from run-conformtest.
18763 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18764 POSIX to avoid namespace pollution. Don't prepend headers.
18765 * conform/data/aio.h-data: Fixes for POSIX testing.
18766 * conform/data/fcntl.h-data: Likewise.
18767 * conform/data/glob.h-data: Likewise.
18768 * conform/data/grp.h-data: Likewise.
18769 * conform/data/pthread.h-data: Likewise.
18770 * conform/data/pwd.h-data: Likewise.
18771 * conform/data/signal.h-data: Likewise.
18772 * conform/data/spawn.h-data: Likewise.
18773 * conform/data/stdio.h-data: Likewise.
18774 * conform/data/stdlib.h-data: Likewise.
18775 * conform/data/stropts.h-data: Likewise.
18776 * conform/data/sys/mman.h-data: Likewise.
18777 * conform/data/sys/stat.h-data: Likewise.
18778 * conform/data/sys/types.h-data: Likewise.
18779 * conform/data/sys/wait.h-data: Likewise.
18780 * conform/data/time.h-data: Likewise.
18781 * conform/data/unistd.h-data: Likewise.
18782 * conform/data/utime.h-data: Likewise.
18784 * io/sys/stat.h: fchmod was always in POSIX.
18785 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18786 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18787 * rt/aio.h: Define __need_timespec before including <time.h>.
18788 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18789 struct. Add forward declaration of pthread_attr_t and use it in
18791 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18793 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18794 always remove CLK_TCK definition.
18796 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18798 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18800 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18802 * conform/run-conformtest.sh: New file.
18803 * conform/Makefile: Run run-conformtest for tests.
18804 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18807 * conform/data/uchar.h-data: New file.
18808 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18809 * conform/data/arpa/inet.h-data: Likewise.
18810 * conform/data/assert.h-data: Likewise.
18811 * conform/data/complex.h-data: Likewise.
18812 * conform/data/cpio.h-data: Likewise.
18813 * conform/data/ctype.h-data: Likewise.
18814 * conform/data/dirent.h-data: Likewise.
18815 * conform/data/dlfcn.h-data: Likewise.
18816 * conform/data/errno.h-data: Likewise.
18817 * conform/data/fcntl.h-data: Likewise.
18818 * conform/data/float.h-data: Likewise.
18819 * conform/data/fmtmsg.h-data: Likewise.
18820 * conform/data/fnmatch.h-data: Likewise.
18821 * conform/data/ftw.h-data: Likewise.
18822 * conform/data/glob.h-data: Likewise.
18823 * conform/data/grp.h-data: Likewise.
18824 * conform/data/iconv.h-data: Likewise.
18825 * conform/data/inttypes.h-data: Likewise.
18826 * conform/data/langinfo.h-data: Likewise.
18827 * conform/data/libgen.h-data: Likewise.
18828 * conform/data/limits.h-data: Likewise.
18829 * conform/data/locale.h-data: Likewise.
18830 * conform/data/math.h-data: Likewise.
18831 * conform/data/monetary.h-data: Likewise.
18832 * conform/data/mqueue.h-data: Likewise.
18833 * conform/data/ndbm.h-data: Likewise.
18834 * conform/data/net/if.h-data: Likewise.
18835 * conform/data/netdb.h-data: Likewise.
18836 * conform/data/netinet/in.h-data: Likewise.
18837 * conform/data/nl_types.h-data: Likewise.
18838 * conform/data/poll.h-data: Likewise.
18839 * conform/data/pthread.h-data: Likewise.
18840 * conform/data/pwd.h-data: Likewise.
18841 * conform/data/regex.h-data: Likewise.
18842 * conform/data/sched.h-data: Likewise.
18843 * conform/data/search.h-data: Likewise.
18844 * conform/data/semaphore.h-data: Likewise.
18845 * conform/data/setjmp.h-data: Likewise.
18846 * conform/data/signal.h-data: Likewise.
18847 * conform/data/spawn.h-data: Likewise.
18848 * conform/data/stdarg.h-data: Likewise.
18849 * conform/data/stdio.h-data: Likewise.
18850 * conform/data/stdlib.h-data: Likewise.
18851 * conform/data/string.h-data: Likewise.
18852 * conform/data/strings.h-data: Likewise.
18853 * conform/data/stropts.h-data: Likewise.
18854 * conform/data/sys/ipc.h-data: Likewise.
18855 * conform/data/sys/mman.h-data: Likewise.
18856 * conform/data/sys/msg.h-data: Likewise.
18857 * conform/data/sys/resource.h-data: Likewise.
18858 * conform/data/sys/select.h-data: Likewise.
18859 * conform/data/sys/sem.h-data: Likewise.
18860 * conform/data/sys/shm.h-data: Likewise.
18861 * conform/data/sys/socket.h-data: Likewise.
18862 * conform/data/sys/stat.h-data: Likewise.
18863 * conform/data/sys/statvfs.h-data: Likewise.
18864 * conform/data/sys/time.h-data: Likewise.
18865 * conform/data/sys/timeb.h-data: Likewise.
18866 * conform/data/sys/times.h-data: Likewise.
18867 * conform/data/sys/types.h-data: Likewise.
18868 * conform/data/sys/uio.h-data: Likewise.
18869 * conform/data/sys/un.h-data: Likewise.
18870 * conform/data/sys/utsname.h-data: Likewise.
18871 * conform/data/sys/wait.h-data: Likewise.
18872 * conform/data/syslog.h-data: Likewise.
18873 * conform/data/tar.h-data: Likewise.
18874 * conform/data/termios.h-data: Likewise.
18875 * conform/data/utime.h-data: Likewise.
18876 * conform/data/utmpx.h-data: Likewise.
18877 * conform/data/varargs.h-data: Likewise.
18878 * conform/data/wchar.h-data: Likewise.
18879 * conform/data/wctype.h-data: Likewise.
18880 * conform/data/wordexp.h-data: Likewise.
18882 * include/stropts.h: New file.
18883 * include/uchar.h: New file.
18884 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18885 * include/assert.h: Likewise.
18886 * include/ctype.h: Likewise.
18887 * include/dirent.h: Likewise.
18888 * include/dlfcn.h: Likewise.
18889 * include/fcntl.h: Likewise.
18890 * include/fnmatch.h: Likewise.
18891 * include/glob.h: Likewise.
18892 * include/grp.h: Likewise.
18893 * include/libio.h: Likewise.
18894 * include/locale.h: Likewise.
18895 * include/math.h: Likewise.
18896 * include/net/if.h: Likewise.
18897 * include/netdb.h: Likewise.
18898 * include/netinet/in.h: Likewise.
18899 * include/pthread.h: Likewise.
18900 * include/pwd.h: Likewise.
18901 * include/regex.h: Likewise.
18902 * include/sched.h: Likewise.
18903 * include/search.h: Likewise.
18904 * include/setjmp.h: Likewise.
18905 * include/signal.h: Likewise.
18906 * include/stdio.h: Likewise.
18907 * include/stdlib.h: Likewise.
18908 * include/string.h: Likewise.
18909 * include/sys/cdefs.h: Likewise.
18910 * include/sys/mman.h: Likewise.
18911 * include/sys/msg.h: Likewise.
18912 * include/sys/resource.h: Likewise.
18913 * include/sys/select.h: Likewise.
18914 * include/sys/socket.h: Likewise.
18915 * include/sys/stat.h: Likewise.
18916 * include/sys/statvfs.h: Likewise.
18917 * include/sys/time.h: Likewise.
18918 * include/sys/times.h: Likewise.
18919 * include/sys/uio.h: Likewise.
18920 * include/sys/utsname.h: Likewise.
18921 * include/sys/wait.h: Likewise.
18922 * include/termios.h: Likewise.
18923 * include/time.h: Likewise.
18924 * include/ulimit.h: Likewise.
18925 * include/unistd.h: Likewise.
18926 * include/utime.h: Likewise.
18927 * include/wchar.h: Likewise.
18928 * include/wctype.h: Likewise.
18929 * include/wordexp.h: Likewise.
18931 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18933 * time/time.h: TIME_UTC must be a macro.
18934 Make timespec_get available for ISO C11 only as well.
18936 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18938 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18939 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18941 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18943 * configure.in: Use -o not -a in test for unsupported multi-arch.
18945 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18947 * manual/texinfo.tex: Update to version 2012-01-19.16.
18949 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18951 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18953 2012-02-24 Roland McGrath <roland@hack.frob.com>
18956 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18957 * manual/fdl-1.3.texi: New file.
18958 * manual/fdl-1.1.texi: File removed.
18961 * manual/libc.texinfo (FDL_VERSION): New @set.
18962 Use it for mention of FDL in cover text.
18963 (Documentation License): Use it in @include file name.
18965 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18966 Roland McGrath <roland@hack.frob.com>
18969 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18970 not LONG_LONG_MAX and LONG_LONG_MIN.
18971 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18972 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18974 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18976 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18980 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18981 manipulate bits before adding and subtracting TWO23[sx].
18982 * math/libm-test.inc (nearbyint_test): Add more tests.
18984 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18987 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18988 bits before adding and subtracting TWO23[sx].
18989 * math/libm-test.inc (rint_test): Add more tests.
18990 (rint_test_tonearest): Likewise.
18991 (rint_test_towardzero): Likewise.
18992 (rint_test_downward): Likewise.
18993 (rint_test_upward: Likewise.
18995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18998 * include/stdc-predef.h: New file. Extracted from features.h.
18999 * include/features.h: Include stdc-predef.h.
19000 * Makefile (headers): Add stdc-predef.h.
19001 * CONFORMANCE (Compiler limitations): Update.
19003 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19005 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19007 2012-02-21 David S. Miller <davem@davemloft.net>
19009 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19010 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19012 2012-02-20 David S. Miller <davem@davemloft.net>
19014 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19015 using a normal save/restore sequence, rather than allocating a
19016 dummy stack frame just to store a frame pointer and restore.
19017 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19019 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19021 * manual/install.texi: Fix stray word in line-wrapped comment.
19023 2012-02-20 David S. Miller <davem@davemloft.net>
19025 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19026 both binutils and gcc support GOTDATA.
19028 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19029 "rd %pc" in the PIC register setup sequences.
19031 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19032 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19033 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19034 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19035 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19038 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19040 (SYSCALL_ERROR_HANDLER): Likewise.
19041 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19042 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19044 (SYSCALL_ERROR_HANDLER): Likewise.
19046 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19047 (HAVE_GCC_GOTDATA): New.
19048 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19049 relocation support in both binutils and gcc.
19050 * sysdeps/sparc/elf/configure: Regenerate.
19052 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19053 * sysdeps/sparc/sparc32/elf/configure: Delete.
19054 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19055 * sysdeps/sparc/sparc64/elf/configure: Delete.
19056 * sysdeps/sparc/elf/configure.in: New file.
19057 * sysdeps/sparc/elf/configure: Generate.
19059 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19060 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19061 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19062 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19063 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19065 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19067 * manual/install.texi: Do not mention specific glibc version
19069 * manual/libc.texinfo (VERSION, UPDATED): Update.
19070 (@copying): Use @copyright{} and range of years.
19072 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19075 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19076 [crti.S not in sysdirs] (generated): Do not append.
19077 [crti.S not in sysdirs] (omit-deps): Likewise.
19078 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19079 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19080 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19081 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19082 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19084 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19085 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19086 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19087 * csu/defs.awk: Remove file.
19088 * sysdeps/generic/initfini.c: Likewise.
19089 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19091 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19094 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19096 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19097 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19098 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19100 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19101 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19103 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19104 (__EPOLL_PACKED): Define to empty if not defined by
19106 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19110 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19112 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19113 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19114 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19115 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19117 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19121 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19123 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19125 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19126 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19132 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19133 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19135 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19137 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19138 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19140 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19142 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19145 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19147 * math/w_acos.c: Use non-signaling floating-point comparisons.
19148 * math/w_acosf.c: Likewise.
19149 * math/w_acosh.c: Likewise.
19150 * math/w_acoshf.c: Likewise.
19151 * math/w_acoshl.c: Likewise.
19152 * math/w_acosl.c: Likewise.
19153 * math/w_asin.c: Likewise.
19154 * math/w_asinf.c: Likewise.
19155 * math/w_asinl.c: Likewise.
19156 * math/w_atanh.c: Likewise.
19157 * math/w_atanhf.c: Likewise.
19158 * math/w_atanhl.c: Likewise.
19159 * math/w_exp2.c: Likewise.
19160 * math/w_exp2f.c: Likewise.
19161 * math/w_exp2l.c: Likewise.
19162 * math/w_j0.c: Likewise.
19163 * math/w_j0f.c: Likewise.
19164 * math/w_j0l.c: Likewise.
19165 * math/w_j1.c: Likewise.
19166 * math/w_j1f.c: Likewise.
19167 * math/w_j1l.c: Likewise.
19168 * math/w_jn.c: Likewise.
19169 * math/w_jnf.c: Likewise.
19170 * math/w_log.c: Likewise.
19171 * math/w_log10.c: Likewise.
19172 * math/w_log10f.c: Likewise.
19173 * math/w_log10l.c: Likewise.
19174 * math/w_log2.c: Likewise.
19175 * math/w_log2f.c: Likewise.
19176 * math/w_log2l.c: Likewise.
19177 * math/w_logf.c: Likewise.
19178 * math/w_logl.c: Likewise.
19179 * math/w_sqrt.c: Likewise.
19180 * math/w_sqrtf.c: Likewise.
19181 * math/w_sqrtl.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19184 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19185 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19188 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19191 * manual/string.texi (strnlen): Use correct parameter name in
19192 equivalent expression.
19194 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19197 * manual/users.texi (seteuid): Consistently use neweuid for
19200 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19203 * manual/nss.texi (Services in the NSS configuration): Correct
19204 list of services in example configuration file.
19206 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19209 * manual/arith.texi: Remove statements about negative zero
19210 behaving identically to zero.
19212 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19215 * manual/install.texi: Do not document upgrading from libc5.
19217 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19220 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19222 2012-02-18 David S. Miller <davem@davemloft.net>
19224 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19225 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19226 %o7 across the call.
19227 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19230 SETUP_PIC_REG_LEAF.
19231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19232 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19233 * sysdeps/sparc/crtn.S: Likewise.
19235 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19237 * aout/Makefile: Remove.
19239 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19242 * manual/examples/argp-ex1.c (main): Format definition in GNU
19244 * manual/examples/argp-ex2.c (main): Likewise.
19245 * manual/examples/argp-ex3.c (main): Likewise.
19246 * manual/examples/argp-ex4.c (main): Likewise.
19247 * manual/examples/longopt.c (main): Use new-style prototype
19249 * manual/examples/strncat.c (main): Specify return type and use
19250 (void) for arguments.
19251 * manual/examples/subopt.c (main): Use char **argv argument.
19253 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19256 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19259 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19262 * manual/string.texi (strchr): Change when strchrnul is
19265 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19268 * manual/locale.texi (setlocale): Document LOCPATH.
19270 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19273 * manual/process.texi (execle): Move @dots{} before last argument.
19275 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19278 * manual/charset.texi (Generic Charset Conversion): Fix typo
19279 (LC_TYPE -> LC_CTYPE).
19281 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19284 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19285 (scalbnf): Likewise.
19286 (scalbnl): Likewise.
19287 (scalbln): Likewise.
19288 (scalblnf): Likewise.
19289 (scalblnl): Likewise.
19290 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19291 (vwarnx): Likewise.
19294 * manual/filesys.texi (telldir): Use braces around return type.
19295 * manual/llio.texi (mmap): Add space after comma.
19296 (mmap64): Likewise.
19297 * manual/math.texi (jn): Use @var{} on parameter names.
19303 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19305 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19307 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19308 (sched_get_priority_max): Likewise.
19309 * manual/signal.texi (sigvec): Add space after comma.
19310 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19312 (if_indextoname): Likewise.
19313 (if_freenameindex): Likewise.
19314 (sendto): Use ',' instead of '.' in prototype.
19315 * manual/startup.texi (syscall): Use @dots{} instead of literal
19317 * manual/stdio.texi (__fpending): Separate initial words of
19318 paragraph from @deftypefun line.
19319 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19321 (vsyslog): Use @var{} on parameter names.
19322 * manual/terminal.texi (stty): Use @var{} on parameter names.
19323 * manual/users.texi (getutmp): Use @var{} on parameter names.
19324 (getutmpx): Likewise.
19326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19329 * manual/stdio.texi (fopen): Fix typos in description of
19332 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19335 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19336 get clock_id definition.
19338 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19341 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19342 (madvise): Cast every argument to void on its own.
19344 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19347 * manual/startup.texi (Exit Status): Fix typo.
19349 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19352 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19353 * manual/examples/argp-ex2.c: Likewise.
19354 * manual/examples/argp-ex3.c: Likewise.
19356 2012-02-16 Richard Henderson <rth@redhat.com>
19358 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19359 * sysdeps/s390/s390-32/initfini.c: Remove.
19360 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19361 * sysdeps/s390/s390-64/initfini.c: Remove.
19363 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19365 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19366 compiler output for sysdeps/generic/initfini.c.
19367 * sysdeps/sh/elf/initfini.c: Remove file.
19369 2012-02-16 David S. Miller <davem@davemloft.net>
19372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19374 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19375 * sysdeps/sparc/crti.S: New file.
19376 * sysdeps/sparc/crtn.S: New file.
19377 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19378 * sysdeps/sparc/sparc64/Makefile: Likewise.
19380 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19383 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19385 2012-02-15 Roland McGrath <roland@hack.frob.com>
19388 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19390 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19391 (write, read, close): Likewise.
19392 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19394 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19396 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19397 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19398 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19399 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19401 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19405 2012-02-14 Marek Polacek <polacek@redhat.com>
19407 * sysdeps/x86_64/crti.S: New file.
19408 * sysdeps/x86_64/crtn.S: New file.
19409 * sysdeps/x86_64/elf/initfini.c: Remove file.
19411 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19413 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19414 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19415 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19416 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19418 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19422 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19425 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19426 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19427 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19429 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19433 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19435 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19436 __feraiseexcept instead of feraiseexcept.
19438 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19439 nanosleep invocations.
19440 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19441 strings, and add error checking for a nanosleep invocations.
19443 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19445 Replace FSF snail mail address with URLs, as per GNU coding standards.
19446 Most of the snail mail addresses were wrong anyway, and omitting
19447 them makes the source code easier to maintain. Almost all of the
19448 changes are to license notices and to locale LC_IDENTIFICATION
19449 addresses, except for this one:
19450 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19451 not its snail mail address.
19453 2012-02-09 Richard Henderson <rth@twiddle.net>
19455 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19456 of kernel-features.h.
19458 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19460 2012-02-08 Marek Polacek <polacek@redhat.com>
19462 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19463 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19464 * sysdeps/gnu/_G_config.h: Likewise.
19465 * sysdeps/generic/_G_config.h: Likewise.
19467 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19469 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473 * sysdeps/powerpc/powerpc32/crti.S: New file.
19474 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19475 * sysdeps/powerpc/powerpc64/crti.S: New file.
19476 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19478 * Makeconfig (have-initfini): Don't set.
19479 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19480 * configure.in (nopic_initfini): Don't substitute.
19481 * config.h.in (HAVE_INITFINI): Don't #undef.
19482 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19483 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19485 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19487 Support crti.S and crtn.S provided directly by architectures.
19488 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19489 [crti.S in sysdirs] (omit-deps): Likewise.
19490 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19491 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19492 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19493 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19494 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19495 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19496 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19497 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19498 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19499 compiler output for sysdeps/generic/initfini.c.
19500 * sysdeps/i386/elf/Makefile: Remove file.
19501 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19503 2012-02-07 Marek Polacek <polacek@redhat.com>
19505 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19506 * sysdeps/gnu/_G_config.h: Likewise.
19507 * sysdeps/mach/hurd/_G_config.h: Likewise.
19509 2012-02-07 Marek Polacek <polacek@redhat.com>
19511 * math/Makefile (tests): Add tst-CMPLX2.
19512 * math/tst-CMPLX2.c: New file.
19514 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19516 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19518 * math/libm-test.inc (jn_test): Add missing L suffix.
19520 2012-02-06 Marek Polacek <polacek@redhat.com>
19522 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19523 * sysdeps/i386/fpu/e_powf.S: Likewise.
19524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19525 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19526 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19527 * sysdeps/i386/fpu/e_pow.S: Likewise.
19528 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19529 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19530 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19531 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19532 * sysdeps/i386/fpu/e_log2.S: Likewise.
19533 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19534 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19535 * sysdeps/i386/fpu/e_powl.S: Likewise.
19536 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19537 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19538 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19539 * sysdeps/i386/fpu/e_logl.S: Likewise.
19540 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19541 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19542 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19543 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19544 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19545 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19546 * sysdeps/i386/fpu/e_log.S: Likewise.
19547 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19548 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19549 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19550 * sysdeps/i386/fpu/e_logf.S: Likewise.
19551 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19552 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19553 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19554 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19555 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19556 * sysdeps/i386/fpu/e_log10.S: Likewise.
19557 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19559 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19560 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19561 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19562 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19563 * sysdeps/i386/asm-syntax.h: Likewise.
19564 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19566 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19567 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19568 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19569 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19570 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19571 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19572 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19573 * sysdeps/powerpc/sysdep.h: Likewise.
19574 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19575 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19577 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19580 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19582 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19584 * sysdeps/i386/sysdep.h: Include <features.h>.
19585 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19588 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19590 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19592 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19595 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19597 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19598 (SETUP_PIC_REG): Use GET_PC_THUNK.
19599 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19602 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19604 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19605 for non-PIC compilation.
19606 (SETUP_PIC_REG): Add .p2align directive.
19607 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19608 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19609 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19610 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19611 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19612 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19613 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19614 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19616 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19617 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19618 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19619 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19620 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19621 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19622 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19623 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19624 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19625 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19626 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19627 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19628 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19629 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19630 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19631 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19633 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19634 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19635 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19636 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19637 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19638 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19639 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19640 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19641 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19642 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19643 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19644 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19645 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19646 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19647 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19649 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19651 * math/tst-CMPLX.c: Include <stdio.h>.
19653 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19655 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19657 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19658 * sysdeps/sparc/bits/mathdef.h: Likewise.
19660 2012-01-31 Marek Polacek <polacek@redhat.com>
19662 * libio/libio.h: Don't define _PARAMS.
19663 * locale/programs/config.h: Don't define PARAMS.
19664 * stdlib/strtol_l.c: Likewise.
19665 (__strtol_l): Remove PARAMS from the prototype.
19667 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19669 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19670 names. Just use the correct names. Remove unnecessary wrapper
19672 * malloc/arena.c: Likewise.
19673 * malloc/hooks.c: Likewise.
19675 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19676 ARENA_TEST says not to. Simplify test for creation of a new arena.
19677 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19679 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19681 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19683 (update_get_addr): New function.
19684 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19685 GET_ADDR_MODULE parameter.
19687 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19689 * crypt/cert.c: Remove __STDC__ conditionals.
19690 * crypt/crypt-entry.c: Likewise.
19691 * crypt/crypt_util.c: Likewise.
19692 * libio/filedoalloc.c: Likewise.
19693 * libio/fileops.c: Likewise.
19694 * libio/genops.c: Likewise.
19695 * libio/iofclose.c: Likewise.
19696 * libio/iofdopen.c: Likewise.
19697 * libio/iofopen.c: Likewise.
19698 * libio/iofopen64.c: Likewise.
19699 * libio/iogetdelim.c: Likewise.
19700 * libio/iopopen.c: Likewise.
19701 * libio/obprintf.c: Likewise.
19702 * libio/oldfileops.c: Likewise.
19703 * libio/oldiofclose.c: Likewise.
19704 * libio/oldiofdopen.c: Likewise.
19705 * libio/oldiofopen.c: Likewise.
19706 * libio/oldiopopen.c: Likewise.
19707 * libio/wfiledoalloc.c: Likewise.
19708 * libio/wgenops.c: Likewise.
19709 * locale/programs/xmalloc.c: Likewise.
19710 * misc/syslog.c: Likewise.
19711 * stdio-common/xbug.c: Likewise.
19712 * string/memchr.c: Likewise.
19713 * string/memcmp.c: Likewise.
19714 * string/memrchr.c: Likewise.
19715 * string/rawmemchr.c: Likewise.
19716 * sysdeps/posix/getcwd.c: Likewise.
19717 * time/strftime_l.c: Likewise.
19719 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19721 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19722 * config.make.in (config-cflags-sse2avx): Define.
19723 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19726 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19728 * scripts/config.guess: Update from upstream config git repository.
19729 * scripts/config.sub: Likewise.
19731 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19733 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19735 (R_TILEPRO_*, R_TILEGX_*): New macros.
19737 * scripts/firstversions.awk: Fix bug in version range handling.
19739 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19741 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19743 * include/sys/epoll.h: New file.
19744 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19747 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19749 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19750 Avoid unnecessary __WORDSIZE == 64 test.
19751 (fmaxf): Use VEX format if possible.
19756 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19757 * math/math_private.h: Remove libc_fegetround* and
19759 * sysdeps/i386/configure.in: Check for -msse2avx.
19760 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19761 also if SSE2AVX is defined.
19762 Remove libc_fegetround* and libc_fesetround*.
19763 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19764 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19767 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19768 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19773 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19775 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19777 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19779 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19781 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19784 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19786 * Makeconfig (libm): Define.
19787 * elf/Makefile: Add rules to build and run tst-relsort1.
19788 * elf/tst-relsort1.c: New file.
19789 * elf/tst-relsort1mod1.c: New file.
19790 * elf/tst-relsort1mod2.c: New file.
19792 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19794 * math/s_ldexp.c: Remove __STDC__ conditionals.
19795 * math/s_ldexpf.c: Likewise.
19796 * math/s_ldexpl.c: Likewise.
19797 * math/s_nextafter.c: Likewise.
19798 * math/s_nexttowardf.c: Likewise.
19799 * math/s_significand.c: Likewise.
19800 * math/s_significandf.c: Likewise.
19801 * math/s_significandl.c: Likewise.
19802 * math/w_jnl.c: Likewise.
19803 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19804 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19805 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19806 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19807 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19809 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19810 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19813 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19814 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19815 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19819 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19820 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19822 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19823 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19824 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19825 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19827 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19828 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19829 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19831 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19832 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19833 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19834 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19835 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19836 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19837 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19838 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19839 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19840 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19841 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19842 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19843 * sysdeps/ieee754/k_standard.c: Likewise.
19844 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19845 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19846 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19847 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19848 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19852 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19853 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19868 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19869 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19874 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19875 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19876 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19877 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19879 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19880 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19881 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19882 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19883 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19884 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19885 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19888 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19889 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19890 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19891 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19892 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19893 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19894 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19896 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19897 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19898 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19901 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19905 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19909 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19910 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19911 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19913 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19914 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19917 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19918 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19919 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19923 * sysdeps/ieee754/s_matherr.c: Likewise.
19924 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19929 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19931 * crypt/md5.h: Remove __STDC__ conditionals.
19932 * libio/libioP.h: Likewise.
19933 * locale/programs/config.h: Likewise.
19934 * sysdeps/generic/sysdep.h: Likewise.
19935 * sysdeps/i386/asm-syntax.h: Likewise.
19936 * sysdeps/s390/asm-syntax.h: Likewise.
19937 * sysdeps/unix/sysdep.h: Likewise.
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19941 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19943 * libio/libio.h: Remove __STDC__ conditionals.
19944 * malloc/obstack.h: Likewise.
19945 * math/complex.h: Likewise.
19946 * math/math.h: Likewise.
19947 * sysdeps/generic/_G_config.h: Likewise.
19948 * sysdeps/gnu/_G_config.h: Likewise.
19949 * sysdeps/mach/hurd/_G_config.h: Likewise.
19950 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19951 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19952 * sysdeps/sparc/bits/mathdef.h: Likewise.
19954 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19957 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19958 Clean up HAS_* macros.
19959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19960 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19962 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19964 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19965 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19966 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19967 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19968 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19970 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19972 * elf/tst-unique3.cc (gets): Remove declaration.
19973 * elf/tst-unique3lib.cc (gets): Likewise.
19974 * elf/tst-unique3lib2.cc (gets): Likewise.
19975 * elf/tst-unique4.cc (gets): Likewise.
19977 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19979 * include/stdio.h: Add C++ protection. Add gets declarations and
19981 * debug/tst-chk1.c: Don't declare gets here.
19982 * stdio-common/tst-gets.c: Likewise.
19984 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19986 * posix/glob: Remove directory.
19988 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19990 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19992 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19994 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19995 of the non-standard EPFNOSUPPORT.
19997 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19999 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20000 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20001 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20003 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20005 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20007 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20009 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20011 * nscd/grpcache.c (cache_addgr): Likewise.
20012 * nscd/hstcache.c (cache_addhst): Likewise.
20013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20014 * nscd/pwdcache.c (cache_addpw): Likewise.
20015 * nscd/servicescache.c (cache_addserv): Likewise.
20017 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20019 * malloc/malloc.c: Various cleanups.
20020 * malloc/hooks.c: Likewise.
20022 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20023 * stdlib/bug-fmtmsg1.c: New file.
20025 * stdlib/fmtmsg.c (init): Add missing unlock.
20026 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20028 2012-01-12 Marek Polacek <polacek@redhat.com>
20030 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20033 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20035 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20036 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20037 macro to ensure uniqueness of label name.
20038 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20039 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20041 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20045 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20046 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20048 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20050 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20052 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20054 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20055 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20056 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20058 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20060 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20061 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20062 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20065 * math/bits/math-finite.h: Add ldexp support.
20067 2012-01-10 Marek Polacek <polacek@redhat.com>
20069 * locale/programs/localedef.h (show_archive_content): Add noreturn
20072 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20074 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20076 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20078 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20080 * io/Makefile (headers): Add bits/poll2.h.
20082 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20085 typo #include statement.
20087 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20089 * include/sys/cdefs.h: Define __attribute_alloc_size.
20090 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20091 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20092 * elf/pldd.c: Likewise.
20093 * iconv/iconv_charmap.c: Likewise.
20094 * iconv/iconvconfig.c: Likewise.
20095 * iconv/strtab.c: Likewise.
20096 * locale/programs/locale.c: Likewise.
20097 * locale/programs/localedef.h: Likewise.
20098 * locale/programs/simple-hash.c: Likewise.
20099 * nscd/nscd.h: Likewise.
20100 * nss/makedb.c: Likewise.
20101 * sysdeps/generic/ldconfig.h: Likewise.
20102 * locale/programs/localedef.c: Remove xmalloc prototype.
20103 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20105 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20107 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20110 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20112 * math/Makefile (tests): Add tst-CMPLX.
20113 * math/tst-CMPLX.c: New file.
20115 * math/complex.h (CMPLXL): Fix typo.
20117 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20118 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20120 * debug/tst-chk1.c: Add poll and ppoll tests.
20121 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20122 * include/sys/poll.h: Add hidden proto for ppoll.
20123 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20124 * sysdeps/mach/hurd/ppoll.c: Likewise.
20125 * io/ppoll.c: Likewise.
20126 * debug/poll_chk.c: New file.
20127 * debug/ppoll_chk.c: New file.
20128 * include/bits/poll2.h: New file.
20129 * io/bits/poll2.h: New file.
20132 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20134 * configure.in: static is always set to yes. Remove.
20135 * config.make.in: Don't set build-static.
20136 * Makeconfig: Remove use of build-static.
20137 * dlfcn/Makefile: Likewise.
20138 * elf/Makefile: Likewise.
20139 * math/Makefile: Likewise.
20140 * misc/Makefile: Likewise.
20141 * nptl/Makefile: Likewise.
20142 * sysdeps/mach/hurd/Makefile: Likewise.
20144 * configure.in: PWD_P is not used anymore.
20145 * config.make.in: Remove PWD_P entry.
20147 * configure.in: Remove last remnants of RANLIB.
20148 No need to check for signed size_t anymore.
20149 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20151 Remove __builtin_expect test because we require at least gcc 3.4.
20152 * aclocal.m4: Likewise.
20154 * wcsmbs/mbrtoc16.c: Implement using towc function.
20155 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20156 * wcsmbs/wcsmbsload.c: Likewise.
20157 * iconv/gconv_simple.c: Likewise.
20158 * iconv/gconv_int.h: Likewise.
20159 * iconv/gconv_builtin.h: Likewise.
20160 * iconv/iconv_prog.c: Remove CHAR16 handling.
20162 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20164 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20166 * configure.in: Remove --with-elf and --enable-bounded options.
20167 Dont set base_machine for ia64. More non-ELF conditions removed.
20168 Remove testing and setting of leading underscore information.
20169 * config.make.in (build-bounded): Set to no.
20170 * config.h.in: Remove NO_UNDERSCORES entry.
20171 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20173 * csu/start.c: Remove !NO_UNDERSCORE code.
20174 * locale/localeinfo.h: Likewise.
20175 * sysdeps/generic/machine-gmon.h: Likewise.
20176 * sysdeps/generic/sysdep.h: Likewise.
20177 * sysdeps/i386/sysdep.h: Likewise.
20178 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20179 * sysdeps/mach/sysdep.h: Likewise.
20180 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20182 * sysdeps/sh/sysdep.h: Likewise.
20183 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20184 * sysdeps/unix/i386/sysdep.S: Likewise.
20185 * sysdeps/unix/sparc/start.c: Likewise.
20186 * sysdeps/unix/sparc/sysdep.S: Likewise.
20187 * sysdeps/unix/sparc/sysdep.h: Likewise.
20188 * sysdeps/unix/start.c: Likewise.
20189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20190 * sysdeps/x86_64/sysdep.h: Likewise.
20192 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20195 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20197 * argp/argp-fmtstream.h: Use const instead __const.
20198 * argp/argp.h: Likewise.
20199 * assert/assert.h: Likewise.
20200 * bits/fenv.h: Likewise.
20201 * bits/sched.h: Likewise.
20202 * bits/sigset.h: Likewise.
20203 * bits/sigthread.h: Likewise.
20204 * catgets/nl_types.h: Likewise.
20205 * conform/data/pthread.h-data: Likewise.
20206 * crypt/crypt-private.h: Likewise.
20207 * crypt/crypt.h: Likewise.
20208 * crypt/crypt_util.c: Likewise.
20209 * ctype/ctype.h: Likewise.
20210 * debug/execinfo.h: Likewise.
20211 * debug/mbsnrtowcs_chk.c: Likewise.
20212 * debug/mbsrtowcs_chk.c: Likewise.
20213 * debug/wcsnrtombs_chk.c: Likewise.
20214 * debug/wcsrtombs_chk.c: Likewise.
20215 * debug/wcstombs_chk.c: Likewise.
20216 * dirent/dirent.h: Likewise.
20217 * dlfcn/dlfcn.h: Likewise.
20218 * elf/neededtest4.c: Likewise.
20219 * grp/grp.h: Likewise.
20220 * gshadow/gshadow.h: Likewise.
20221 * iconv/gconv.h: Likewise.
20222 * iconv/gconv_int.h: Likewise.
20223 * iconv/gconv_simple.c: Likewise.
20224 * iconv/iconv.h: Likewise.
20225 * iconv/loop.c: Likewise.
20226 * iconv/skeleton.c: Likewise.
20227 * include/aio.h: Likewise.
20228 * include/aliases.h: Likewise.
20229 * include/argz.h: Likewise.
20230 * include/arpa/inet.h: Likewise.
20231 * include/assert.h: Likewise.
20232 * include/dirent.h: Likewise.
20233 * include/dlfcn.h: Likewise.
20234 * include/execinfo.h: Likewise.
20235 * include/fcntl.h: Likewise.
20236 * include/fenv.h: Likewise.
20237 * include/glob.h: Likewise.
20238 * include/grp.h: Likewise.
20239 * include/libintl.h: Likewise.
20240 * include/mntent.h: Likewise.
20241 * include/netdb.h: Likewise.
20242 * include/pwd.h: Likewise.
20243 * include/rpc/netdb.h: Likewise.
20244 * include/sched.h: Likewise.
20245 * include/search.h: Likewise.
20246 * include/shadow.h: Likewise.
20247 * include/signal.h: Likewise.
20248 * include/stdio.h: Likewise.
20249 * include/stdlib.h: Likewise.
20250 * include/string.h: Likewise.
20251 * include/sys/socket.h: Likewise.
20252 * include/sys/stat.h: Likewise.
20253 * include/sys/statfs.h: Likewise.
20254 * include/sys/statvfs.h: Likewise.
20255 * include/sys/syslog.h: Likewise.
20256 * include/sys/time.h: Likewise.
20257 * include/sys/uio.h: Likewise.
20258 * include/time.h: Likewise.
20259 * include/unistd.h: Likewise.
20260 * include/utmp.h: Likewise.
20261 * include/wchar.h: Likewise.
20262 * include/wctype.h: Likewise.
20263 * inet/aliases.h: Likewise.
20264 * inet/arpa/inet.h: Likewise.
20265 * inet/netinet/ether.h: Likewise.
20266 * inet/netinet/in.h: Likewise.
20267 * intl/libintl.h: Likewise.
20268 * io/bits/fcntl2.h: Likewise.
20269 * io/fcntl.h: Likewise.
20270 * io/ftw.h: Likewise.
20271 * io/sys/poll.h: Likewise.
20272 * io/sys/stat.h: Likewise.
20273 * io/sys/statfs.h: Likewise.
20274 * io/sys/statvfs.h: Likewise.
20275 * io/utime.h: Likewise.
20276 * libio/bits/stdio.h: Likewise.
20277 * libio/bits/stdio2.h: Likewise.
20278 * libio/libio.h: Likewise.
20279 * libio/libioP.h: Likewise.
20280 * libio/stdio.h: Likewise.
20281 * locale/lc-ctype.c: Likewise.
20282 * locale/locale.h: Likewise.
20283 * login/utmp.h: Likewise.
20284 * malloc/arena.c: Likewise.
20285 * malloc/malloc.c: Likewise.
20286 * malloc/malloc.h: Likewise.
20287 * malloc/mcheck.c: Likewise.
20288 * malloc/mtrace.c: Likewise.
20289 * math/bits/mathcalls.h: Likewise.
20290 * math/fenv.h: Likewise.
20291 * math/math_private.h: Likewise.
20292 * misc/bits/error.h: Likewise.
20293 * misc/bits/syslog.h: Likewise.
20294 * misc/err.h: Likewise.
20295 * misc/error.h: Likewise.
20296 * misc/fstab.h: Likewise.
20297 * misc/mntent.h: Likewise.
20298 * misc/regexp.h: Likewise.
20299 * misc/search.h: Likewise.
20300 * misc/sgtty.h: Likewise.
20301 * misc/sys/mman.h: Likewise.
20302 * misc/sys/syslog.h: Likewise.
20303 * misc/sys/uio.h: Likewise.
20304 * misc/sys/xattr.h: Likewise.
20305 * misc/ttyent.h: Likewise.
20306 * nis/rpcsvc/ypclnt.h: Likewise.
20307 * nss/nss.h: Likewise.
20308 * posix/bits/unistd.h: Likewise.
20309 * posix/fnmatch.h: Likewise.
20310 * posix/glob.h: Likewise.
20311 * posix/sched.h: Likewise.
20312 * posix/spawn.h: Likewise.
20313 * posix/sys/wait.h: Likewise.
20314 * posix/unistd.h: Likewise.
20315 * posix/wordexp.h: Likewise.
20316 * pwd/pwd.h: Likewise.
20317 * resolv/netdb.h: Likewise.
20318 * resource/sys/resource.h: Likewise.
20319 * rt/aio.h: Likewise.
20320 * rt/bits/mqueue2.h: Likewise.
20321 * rt/mqueue.h: Likewise.
20322 * shadow/shadow.h: Likewise.
20323 * signal/signal.h: Likewise.
20324 * socket/send.c: Likewise.
20325 * socket/sendto.c: Likewise.
20326 * socket/sys/socket.h: Likewise.
20327 * stdio-common/printf.h: Likewise.
20328 * stdlib/bits/stdlib.h: Likewise.
20329 * stdlib/fmtmsg.h: Likewise.
20330 * stdlib/monetary.h: Likewise.
20331 * stdlib/stdlib.h: Likewise.
20332 * stdlib/ucontext.h: Likewise.
20333 * streams/stropts.h: Likewise.
20334 * string/argz.h: Likewise.
20335 * string/bits/string2.h: Likewise.
20336 * string/string.h: Likewise.
20337 * string/strings.h: Likewise.
20338 * sunrpc/rpc/auth.h: Likewise.
20339 * sunrpc/rpc/auth_des.h: Likewise.
20340 * sunrpc/rpc/clnt.h: Likewise.
20341 * sunrpc/rpc/netdb.h: Likewise.
20342 * sunrpc/rpc/pmap_clnt.h: Likewise.
20343 * sunrpc/rpc/xdr.h: Likewise.
20344 * sysdeps/generic/inttypes.h: Likewise.
20345 * sysdeps/generic/net/if.h: Likewise.
20346 * sysdeps/generic/sys/swap.h: Likewise.
20347 * sysdeps/gnu/net/if.h: Likewise.
20348 * sysdeps/gnu/utmpx.h: Likewise.
20349 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20350 * sysdeps/i386/i486/bits/string.h: Likewise.
20351 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20352 * sysdeps/s390/bits/string.h: Likewise.
20353 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20354 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20355 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20356 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20357 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20358 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20359 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20360 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20361 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20362 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20363 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20364 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20365 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20366 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20367 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20368 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20369 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20371 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20373 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20374 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20375 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20376 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20377 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20378 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20379 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20380 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20381 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20383 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20384 * sysvipc/sys/ipc.h: Likewise.
20385 * sysvipc/sys/msg.h: Likewise.
20386 * sysvipc/sys/sem.h: Likewise.
20387 * sysvipc/sys/shm.h: Likewise.
20388 * termios/termios.h: Likewise.
20389 * time/sys/time.h: Likewise.
20390 * time/time.h: Likewise.
20391 * wcsmbs/bits/wchar2.h: Likewise.
20392 * wcsmbs/uchar.h: Likewise.
20393 * wcsmbs/wchar.h: Likewise.
20394 * wctype/wctype.h: Likewise.
20397 * Makeconfig: Remove all but ELF support including AIX support.
20398 * Makerules: Likewise.
20399 * config.h.in: Likewise.
20400 * config.make.in: Likewise.
20401 * configure: Likewise.
20402 * configure.in: Likewise.
20403 * csu/Makefile: Likewise.
20404 * csu/version.c: Likewise.
20405 * debug/Makefile: Likewise.
20406 * dlfcn/Makefile: Likewise.
20407 * elf/Makefile: Likewise.
20408 * extra-lib.mk: Likewise.
20409 * iconv/Makefile: Likewise.
20410 * include/libc-symbols.h: Likewise.
20411 * include/shlib-compat.h: Likewise.
20412 * resolv/Makefile: Likewise.
20413 * resolv/res_libc.c: Likewise.
20414 * rt/Makefile: Likewise.
20415 * sysdeps/i386/asm-syntax.h: Likewise.
20416 * sysdeps/i386/sysdep.h: Likewise.
20417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20418 * sysdeps/mach/sysdep.h: Likewise.
20419 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20420 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20421 * sysdeps/s390/asm-syntax.h: Likewise.
20422 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20424 * sysdeps/sh/sysdep.h: Likewise.
20425 * sysdeps/unix/sparc/sysdep.h: Likewise.
20426 * sysdeps/wordsize-32/divdi3.c: Likewise.
20427 * sysdeps/x86_64/sysdep.h: Likewise.
20429 * argp/Versions: Remove _argp_unlock_xxx.
20432 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20433 * abilist/libBrokenLocale.abilist: Likewise.
20434 * abilist/libanl.abilist: Likewise.
20435 * abilist/libc.abilist: Likewise.
20436 * abilist/libcrypt.abilist: Likewise.
20437 * abilist/libdl.abilist: Likewise.
20438 * abilist/libm.abilist: Likewise.
20439 * abilist/libnsl.abilist: Likewise.
20440 * abilist/libpthread.abilist: Likewise.
20441 * abilist/libresolv.abilist: Likewise.
20442 * abilist/librt.abilist: Likewise.
20443 * abilist/libthread_db.abilist: Likewise.
20444 * abilist/libutil.abilist: Likewise.
20445 * abilist/libnss_db.abilist: New file.
20447 * scripts/abilist.awk: Add support for indirect functions.
20449 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20451 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20453 * shlib-versions: Remove entries for ports architectures.
20455 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20457 * elf/stackguard-macros.h: Remove support for IA-64.
20458 * elf/tst-auditmod1.c: Likewise.
20459 * sysdeps/generic/ldsodefs.h: Likewise.
20461 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20462 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20466 * configure.in: Remove --enable-omitfp support.
20468 * config.make.in: Likewise.
20469 * Makeconfig: Likewise.
20470 * manual/install.texi: Likewise.
20472 In case anyone cares, the IA-64 architecture could move to ports.
20473 * sysdeps/ia64/*: Removed.
20474 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20475 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20478 * configure.in: Remove entries for unsupported architectures.
20481 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20482 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20484 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20485 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20486 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20487 fall back to using wcrtomb.
20488 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20489 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20491 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20492 * wcsmbs/tst-c16c32-1.c: New file.
20494 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20497 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20499 * elf/tst-unique3.cc: Add explicit declaration of gets.
20500 * elf/tst-unique3lib.cc: Likewise.
20501 * elf/tst-unique3lib2.cc: Likewise.
20502 * elf/tst-unique4.cc: Likewise.
20504 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20506 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20509 * assert/assert.h (static_assert): Don't define for C++.
20510 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20511 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20513 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20515 * iconv/loop.c (single loop): Fix assertion in storing of
20518 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20520 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20522 * posix/getconf.c: Update copyright year.
20523 * nss/getent.c: Likewise.
20524 * nss/makedb.c: Likewise.
20525 * iconv/iconvconfig.c: Likewise.
20526 * iconv/iconv_prog.c: Likewise.
20527 * elf/ldconfig.c: Likewise.
20528 * elf/pldd.c: Likewise.
20529 * elf/sotruss.ksh: Likewise.
20530 * catgets/gencat.c: Likewise.
20531 * csu/version.c: Likewise.
20532 * elf/ldd.bash.in: Likewise.
20533 * elf/sprof.c (print_version): Likewise.
20534 * locale/programs/locale.c: Likewise.
20535 * locale/programs/localedef.c: Likewise.
20536 * login/programs/pt_chown.c: Likewise.
20537 * nscd/nscd.c (print_version): Likewise.
20538 * debug/xtrace.sh: Likewise.
20539 * malloc/memusage.sh: Likewise.
20540 * malloc/mtrace.pl: Likewise.
20541 * debug/catchsegv.sh: Likewise.
20543 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20545 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20548 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20551 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20552 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20554 * iconv/gconv_int.h: Likewise.
20555 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20556 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20557 from libc for GLIBC_2.16.
20558 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20559 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20560 * wcsmbs/uchar.h: Really define mbstate_t.
20561 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20562 * wcsmbs/c16rtomb.c: New file.
20563 * wcsmbs/mbrtoc16.c: New file.
20564 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20565 for C/POSIX locale.
20566 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20567 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20569 * wcsmbs/wchar.h: Add missing __restrict.
20571 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20574 * time/Makefile (routines): Add timespec_get.
20575 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20576 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20577 timespec for ISO C11.
20578 * time/timespec_get.c: New file.
20579 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20580 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20583 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20584 * stdlib/stdlib.h: Declare aligned_alloc.
20585 * Versions.def: Add GLIBC_2.16 for libc.
20586 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20589 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20592 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20596 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20599 * assert/assert.h (static_assert): Define.
20601 * version.h: Update for 2.16 development version.
20604 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20607 * version.h (RELEASE): Bump for 2.15 release.
20608 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20610 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20611 Patch by Marek Polacek <mpolacek@redhat.com>.
20613 * bits/byteswap.h: Protect long long constants with __extension__.
20614 * sysdeps/i386/bits/byteswap.h: Likewise.
20615 * sysdeps/ia64/bits/byteswap.h: Likewise.
20616 * sysdeps/s390/bits/byteswap.h: Likewise.
20617 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20619 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20623 destination buffer.
20624 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20626 2011-12-23 Marek Polacek <polacek@redhat.com>
20628 * elf/dl-addr.c (determine_info): Add inline keyword.
20629 * elf/tst-auditmod4b.c (check_avx): Likewise.
20630 * elf/tst-auditmod6b.c (check_avx): Likewise.
20631 * elf/tst-auditmod6c.c (check_avx): Likewise.
20632 * elf/tst-auditmod7b.c (check_avx): Likewise.
20634 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20636 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20639 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20642 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20643 processing for last bytes.
20645 2011-08-06 Bruno Haible <bruno@clisp.org>
20648 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20649 U+0385, not to U+1FEE.
20652 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20653 entry for U+00A5 U+0301.
20655 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20658 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20659 buffer for the output is too small.
20661 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20665 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20666 SSE flags if possible.
20668 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20671 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20672 processing for last bytes.
20674 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20676 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20677 (syscall-list-default-options, syscall-list-default-condition)
20678 (syscall-list-includes): Define.
20679 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20680 list of ABIs and options and #if conditions for each ABI. Do not
20681 handle common syscalls between ABIs specially.
20682 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20684 (syscall-list-variants, syscall-list-32bit-options)
20685 (syscall-list-32bit-condition, syscall-list-64bit-options)
20686 (syscall-list-64bit-condition): Define.
20687 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20688 (syscall-list-variants, syscall-list-32bit-options)
20689 (syscall-list-32bit-condition, syscall-list-64bit-options)
20690 (syscall-list-64bit-condition): Define.
20691 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20693 (syscall-list-variants, syscall-list-32bit-options)
20694 (syscall-list-32bit-condition, syscall-list-64bit-options)
20695 (syscall-list-64bit-condition): Define.
20696 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20698 (syscall-list-variants, syscall-list-32bit-options)
20699 (syscall-list-32bit-condition, syscall-list-64bit-options)
20700 (syscall-list-64bit-condition): Define.
20702 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20704 * locale/iso-639.def: Add brx entry.
20707 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20708 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20710 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20711 __feraiseexcept_renamed.
20713 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20716 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20717 EPOLLET with unsigned values.
20718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20719 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20721 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20722 to large cancellation.
20723 * math/s_cacoshf.c: Likewise.
20724 * math/s_cacoshl.c: Likewise.
20726 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20730 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20731 * math/s_cacoshf.c: Likewise.
20732 * math/s_cacoshl.c: Likewise.
20734 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20737 * iconv/gconv.h: Define __GCONV_SWAP.
20738 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20739 * iconvdata/utf-16.c: Likewise.
20740 * iconvdata/utf-32.c: Likewise.
20742 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20745 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20746 numerator after shifting it by one limb.
20748 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20750 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20751 under [__USE_EXTERN_INLINES].
20753 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20756 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20758 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20760 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20761 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20763 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20764 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20765 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20766 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20767 for strncasecmp/strncasecmp_l compilation.
20768 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20769 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20771 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20774 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20777 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20780 * time/tzfile.c (__tzfile_read): Check values from file header.
20782 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20784 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20785 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20786 * powerpc/powerpc32/dl-start.S: Likewise.
20787 * powerpc/powerpc32/elf/start.S: Likewise.
20788 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20789 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20790 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20791 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20792 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20793 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20794 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20795 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20796 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20797 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20798 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20799 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20800 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20801 * powerpc/powerpc32/memset.S: Likewise.
20802 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20803 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20804 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20805 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20806 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20807 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20808 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20809 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20810 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20811 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20812 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20813 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20814 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20816 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20818 * math/libm-test.inc: Added more nearbyint tests.
20819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20820 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20824 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20826 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20829 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20831 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20832 Add wcscpy-ssse3 wcscpy-c.
20833 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20834 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20835 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20836 * sysdeps/x86_64/wcschr.S: New file.
20837 * sysdeps/x86_64/wcsrchr.S: New file.
20838 * string/test-strcmp.c: Remove checking of wcscmp function for
20840 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20841 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20842 wcsrchr-sse2 wcsrchr-c.
20843 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20844 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20845 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20846 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20847 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20848 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20849 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20850 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20851 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20852 * wcsmbc/wcschr.c (WCSCHR): New macro.
20854 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20856 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20857 * wcsmbs/test-wcsrchr.c: New file.
20858 * string/test-strrchr.c: Add wcsrchr support.
20860 * wcsmbs/test-wcscpy.c: New file.
20861 * string/test-strcpy.c: Add wcscpy support.
20864 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20866 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20869 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20872 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20874 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20876 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20877 Minor optimizations.
20879 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20880 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20881 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20883 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20885 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20886 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20887 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20888 for gcc to avoid warnings.
20889 * inet/Makefile (tests): Add tst-checks.
20890 * inet/tst-checks.c: New file.
20892 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20895 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20898 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20899 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20901 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20903 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20905 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20908 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20910 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20912 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20913 conditional on GCC version.
20914 (__arch_compare_and_exchange_val_8_acq)
20915 (__arch_compare_and_exchange_val_16_acq)
20916 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20917 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20918 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20920 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20922 * sysdeps/sh/backtrace.c: New file.
20924 2011-12-02 Andreas Schwab <schwab@redhat.com>
20926 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20929 2011-12-01 Andreas Schwab <schwab@redhat.com>
20931 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20932 falling back to utime.
20934 2011-11-30 Andreas Schwab <schwab@redhat.com>
20936 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20937 expectations for float.
20939 2011-11-29 Andreas Schwab <schwab@redhat.com>
20941 * locale/weight.h (findidx): Add parameter len.
20942 * locale/weightwc.h (findidx): Likewise.
20943 * posix/fnmatch_loop.c (FCT): Adjust caller.
20944 * posix/regcomp.c (build_equiv_class): Likewise.
20945 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20946 * posix/regexec.c (check_node_accept_bytes): Likewise.
20947 * string/strcoll_l.c (STRCOLL): Likewise.
20948 * string/strxfrm_l.c (STRXFRM): Likewise.
20950 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20952 * Makefile.in: Remove CVSOPT handling.
20953 * configure.in: Remove use of AC_REVISION.
20954 * iconvdata/Makefile (distribute): No need to filter out CVS.
20955 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20958 2011-11-16 Andreas Schwab <schwab@redhat.com>
20960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20961 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20962 [USE_AS_STRNCASECMP_L]: Likewise.
20963 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20964 NO_TLS_DIRECT_SEG_REFS.
20965 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20966 Fix argument offsets for non-PIC.
20967 [USE_AS_STRNCASECMP_L]: Likewise.
20968 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20969 NO_TLS_DIRECT_SEG_REFS.
20971 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20973 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20975 * locale/loadlocale.c (_nl_load_locale): Likewise.
20977 2011-11-15 Andreas Schwab <schwab@redhat.com>
20979 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20980 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20981 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20982 (SYSCALL_GETTIME): Set errno on error.
20984 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20985 count references to noai6ai_cached.
20987 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20989 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20991 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20992 FD_CLOEXEC for /proc/self/maps.
20994 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20995 FD_CLOEXEC for /proc/meminfo.
20997 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21000 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21001 FD_CLOEXEC for given file.
21003 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21005 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21006 FD_CLOEXEC for /etc/hosts.
21007 (_gethtent): Likewise.
21009 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21011 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21012 cancellation and set FD_CLOEXEC for /etc/netgroup.
21014 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21015 reading /etc/publickey.
21017 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21018 allow cancellation when reading /etc/group.
21020 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21022 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21024 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21025 when using data file.
21027 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21029 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21030 (write_nis_obj): Use "c" and "e" in fopen.
21032 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21034 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21036 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21038 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21040 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21043 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21045 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21047 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21049 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21050 file parsing and set FD_CLOEXEC.
21052 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21054 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21056 2011-11-14 Andreas Schwab <schwab@redhat.com>
21058 * malloc/arena.c (arena_get2): Don't call reused_arena when
21059 _int_new_arena failed.
21061 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21063 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21064 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21065 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21066 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21067 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21069 to compile strcasecmp and strncasecmp.
21070 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21071 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21075 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21077 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21078 locale-defines.sym to gen-as-const-headers.
21079 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21080 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21082 to compile strcasecmp and strncasecmp.
21083 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21084 strcasecmp_l and strncasecmp_l.
21085 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21086 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21087 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21088 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21089 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21090 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21091 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21092 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21093 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21094 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21095 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21097 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21099 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21100 result of SYSDEP_GETTIME_CPU to retval.
21101 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21102 parameter list to macro. Remove trailing semicolon. Adjust users.
21104 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21107 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21109 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21111 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21112 from unused variable.
21114 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21116 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21119 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21122 * sunrpc/rpc_prot.c (rejected): Fix case value.
21124 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21125 unsigned long long int to avoid warnings in shift.
21127 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21129 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21132 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21133 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21134 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21136 * nis/nis_table.c (nis_list): Use variable of correct type for
21137 result of __follow_path call.
21139 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21141 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21142 of math functions ceil, trunc, floor, round, and sqrt, when
21143 avaliable on the platform.
21144 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21146 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21147 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21148 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21150 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21152 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21153 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21155 2011-11-11 Roland McGrath <roland@hack.frob.com>
21157 * include/unistd.h: Fix __readlink return type.
21158 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21160 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21162 * stdlib/ucontext.h: Undo last change for makecontext.
21164 2011-11-11 Andreas Schwab <schwab@redhat.com>
21166 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21168 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21169 * setjmp/setjmp.h: Mark functions as non-leaf.
21170 * setjmp/bits/setjmp2.h: Likewise.
21171 * stdlib/ucontext.h: Likewise.
21173 2011-11-10 Andreas Schwab <schwab@redhat.com>
21175 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21176 (reused_arena): Don't check arena limit.
21177 (arena_get2): Atomically check arena limit.
21179 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21181 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21182 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21187 2011-11-07 Andreas Schwab <schwab@redhat.com>
21189 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21190 handler when locking.
21192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21193 Fix size of allocated buffer.
21195 2011-11-04 Andreas Schwab <schwab@redhat.com>
21198 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21199 declarations for long double functions.
21200 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21202 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21204 2011-11-03 Andreas Schwab <schwab@redhat.com>
21206 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21209 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21212 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21214 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21216 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21218 * include/alloca.h (stackinfo_alloca_round): Define.
21219 (extend_alloca): Use it.
21220 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21221 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21224 * scripts/check-local-headers.sh: Ignore libaudit.h.
21226 * nscd/Makefile (extra-objs): Make recursively expanded.
21228 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21230 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21233 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21234 * posix/tst-rfc3484-2.c: Likewise.
21235 * posix/tst-rfc3484-3.c: Likewise.
21237 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21239 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21241 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21242 process_vm_writev from libc using GLIBC_2.15 version.
21244 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21246 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21248 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21251 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21254 * nss/getent.c (initgroups_keys): Show error message in case no group
21257 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21258 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21259 __bump_nl_timestamp.
21260 * nscd/connections (nscd_init): When host database is served open
21261 netlink socket and request notification about configuration changes.
21262 (main_loop_poll): Track netlink file descriptor and bump timestamp
21263 in case data becomes available.
21264 (main_loop_epoll): Likewise.
21265 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21266 (database_pers_head): Add extra_data fileds.
21267 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21268 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21269 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21272 in6ai data, call __free_in6ai.
21273 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21274 Add -DHAVE_NETLINK.
21275 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21276 interface information. Reuse previous data if netlink timestamp
21278 (__bump_nl_timestamp): New function.
21279 (__free_in6ai): New function.
21281 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21283 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21284 close_not_cancel_no_status here.
21285 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21287 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21290 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21293 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21294 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21295 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21297 2011-07-03 Andreas Jaeger <aj@suse.de>
21300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21301 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21302 * math/libm-test.inc (sin_test): Add test case.
21304 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21307 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21308 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21310 * elf/chroot_canon.c (chroot_canon): Cleanups.
21312 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21315 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21316 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21318 * string/test-strchr.c: Make usable for strchrnul testing.
21319 * string/test-strchrnul.c: New file.
21320 * string/Makefile (strop-tests): Add strchrnul.
21322 * po/it.po: Update from translation team.
21323 * po/es.po: Likewise.
21325 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21327 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21328 the three constants needed as parameters. Drop the others.
21329 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21330 __m128i_strloadu_tolower.
21331 Create and initialize variable zero and use it in all the places
21332 where _mm_setzero_si128 was used.
21334 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21335 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21336 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21337 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21339 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21340 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21341 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21342 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21343 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21344 __mpranred, __mptan.
21345 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21346 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21347 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21348 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21349 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21350 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21351 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21352 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21353 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21355 2011-10-28 Andreas Schwab <schwab@redhat.com>
21357 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21358 redefine if SHARED.
21359 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21362 wide char related routines to wcsmbs subdir.
21364 2011-10-27 Andreas Schwab <schwab@redhat.com>
21367 * misc/sys/cdefs.h (__THROWNL): Define.
21368 * posix/unistd.h: Use __THREADNL instead of __THREAD
21369 for memory synchronization functions.
21371 2011-10-26 Roland McGrath <roland@hack.frob.com>
21374 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21376 * manual/stdio.texi (Obstack Streams): Node removed.
21378 2011-10-26 Andreas Schwab <schwab@redhat.com>
21380 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21381 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21384 * math/math_private.h (math_force_eval): Allow non-addressable
21386 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21388 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21390 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21391 file is not needed.
21393 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21395 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21396 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21397 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21398 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21399 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21400 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21402 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21403 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21404 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21405 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21406 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21407 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21408 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21409 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21410 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21411 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21412 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21413 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21415 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21416 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21417 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21418 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21419 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21420 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21422 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21423 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21426 place. Use VEX encoding when compiling for AVX.
21428 2011-10-25 Andreas Schwab <schwab@redhat.com>
21430 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21431 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21433 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21435 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21437 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21438 useless if() expression.
21439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21440 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21441 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21450 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21451 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21452 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21453 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21454 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21455 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21456 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21457 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21459 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21461 2011-10-25 Andreas Schwab <schwab@redhat.com>
21463 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21467 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21469 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21470 .text section. Avoid duplicate constants.
21471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21473 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21479 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21480 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21481 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21482 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21483 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21484 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21485 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21487 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21488 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21489 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21491 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21492 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21493 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21494 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21495 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21496 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21497 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21498 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21500 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21501 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21502 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21504 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21505 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21506 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21507 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21509 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21510 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21512 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21513 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21514 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21517 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21519 * sysdeps/x86_64/dla.h: Move to ...
21520 * sysdeps/x86_64/fpu/dla.h: ...here.
21521 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21522 situations. Use __builtin_fma only for gcc 4.6 and up.
21524 * config.make.in: Add have-mfma4 entry.
21525 * configure.in: Substitute libc_cv_cc_fma4.
21526 * math/Makefile (dbl-only-routines): Add sincostab.
21527 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21528 Use __sincostab not sincos.
21529 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21536 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21537 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21538 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21539 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21541 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21542 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21544 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21545 define aliases when function name is a macro.
21546 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21547 sysdeps/ieee754/dbl-64/sincos.tbl.
21548 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21549 fma4-enabled routines.
21550 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21551 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21552 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21553 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21554 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21555 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21557 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21559 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21560 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21561 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21562 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21563 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21564 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21565 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21566 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21567 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21568 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21569 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21570 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21571 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21573 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21574 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21575 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21576 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21577 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21578 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21579 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21581 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21592 2011-10-24 Andreas Schwab <schwab@redhat.com>
21594 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21596 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21600 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21604 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21605 Remove unused variable magic_bits.
21606 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21608 * string/strnlen.c: Define and use STRNLEN macro.
21609 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21610 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21611 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21612 * wcsmbs/wcslen.c: Define and use WCSLEN.
21613 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21614 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21615 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21616 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21617 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21618 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21619 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21621 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21624 strnlen-sse2-no-bsf.
21625 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21627 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21628 Add strnlen support.
21629 (USE_AS_STRNLEN): New macro.
21630 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21631 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21632 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21633 * sysdeps/x86_64/wcslen.S: New file.
21635 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21637 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21638 XMM-moves are used for copying on small sizes.
21640 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21642 * wcsmbs/Makefile (strop-tests): Add wcschr.
21643 * wcsmbs/test-wcschr.c: New file.
21644 * string/test-strchr.c: Update.
21645 Add wcschr support.
21648 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21650 * wcsmbs/Makefile (strop-tests): Add wcslen.
21651 * wcsmbs/test-wcslen.c: New file.
21652 * string/test-strlen.c: Update.
21653 Add wcslen support.
21656 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21658 * po/it.po: Update from translation team.
21660 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21662 * sysdeps/x86_64/wcscmp.S: Update.
21663 Fix wrong comparison semantics.
21664 wcscmp shall use signed comparison not unsigned.
21665 Don't use substraction to avoid overflow bug.
21666 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21667 * wcsmbc/wcscmp.c: Likewise.
21668 * string/test-strcmp.c: Likewise.
21669 Add new tests to check cases with negative values.
21671 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21673 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21674 * sysdeps/x86_64/dla.h: ...here. New file.
21675 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21685 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21688 __ynl_finite aliases.
21690 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21694 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21696 [DLA_FMA] (EMULV): Use DLA_FMA.
21697 [DLA_FMA] (MUL12): Use EMULV.
21698 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21699 that are not needed.
21700 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21708 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21710 * math/s_nan.c: Undef __nan.
21711 * math/s_nanf.c: Undef __nanf.
21712 * math/s_nanl.c: Undef __nanl.
21713 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21716 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21718 * math/s_catan.c: Add branch predictions.
21719 * math/s_catanf.c: Likewise.
21720 * math/s_catanh.c: Likewise.
21721 * math/s_catanhf.c: Likewise.
21722 * math/s_catanhl.c: Likewise.
21723 * math/s_catanl.c: Likewise.
21724 * math/s_cexp.c: Likewise.
21725 * math/s_cexpf.c: Likewise.
21726 * math/s_cexpl.c: Likewise.
21727 * math/s_clog.c: Likewise.
21728 * math/s_clog10.c: Likewise.
21729 * math/s_clog10f.c: Likewise.
21730 * math/s_clog10l.c: Likewise.
21731 * math/s_clogf.c: Likewise.
21732 * math/s_clogl.c: Likewise.
21733 * math/s_csqrt.c: Likewise.
21734 * math/s_csqrtf.c: Likewise.
21735 * math/s_csqrtl.c: Likewise.
21736 * math/s_ctanf.c: Likewise.
21737 * math/s_ctanh.c: Likewise.
21738 * math/s_ctanhf.c: Likewise.
21739 * math/s_ctanhl.c: Likewise.
21740 * math/s_ctanl.c: Likewise.
21742 * math/math_private.h: Define __nan, __nanf, __nanl.
21743 * math/s_cacosh.c: Include <math_private.h>.
21744 * math/s_cacoshl.c: Likewise.
21745 * math/s_casinh.c: Likewise.
21746 * math/s_casinhf.c: Likewise.
21747 * math/s_casinhl.c: Likewise.
21748 * math/s_ccos.c: Rely entire on ccosh.
21749 * math/s_ccosf.c: Rely entire on ccoshf.
21750 * math/s_ccosl.c: Rely entirely on ccoshl.
21751 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21752 Remove tests for FE_INVALID.
21753 * math/s_ccoshf.c: Likewise.
21754 * math/s_ccoshl.c: Likewise.
21755 * math/s_csin.c: Likewise.
21756 * math/s_csinf.c: Likewise.
21757 * math/s_csinh.c Likewise.
21758 * math/s_csinhf.c: Likewise.
21759 * math/s_csinhl.c: Likewise.
21760 * math/s_csinl.c: Likewise.
21761 * math/s_ctan.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21763 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21764 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21766 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21769 compilation problems.
21771 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21774 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21776 * sysdeps/i386/configure.in: Test for -mfma4 option.
21777 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21778 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21779 COMMON_CPUID_INDEX_80000001.
21780 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21781 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21782 use it if FMA3 is not supported.
21783 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21785 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21786 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21788 2011-10-20 Andreas Schwab <schwab@redhat.com>
21791 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21792 it would create a cycle with a link time dependency.
21794 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21796 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21798 * string/Makefile (strop-tests): Add rawmemchr.
21799 * string/test-rawmemchr.c: New file.
21801 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21802 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21803 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21804 when compiling str{,n}casecmp and when AVX is available. Hook up
21805 new optimized code in initializers.
21807 2011-10-19 Andreas Schwab <schwab@redhat.com>
21809 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21810 __feraiseexcept instead of feraiseexcept.
21812 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21814 * math/math_private.h: Define defaults for libc_fetestexcept and
21816 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21817 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21818 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21819 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21820 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21821 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21822 libc_fetestexcept and libc_feupdateenv.
21824 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21825 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21826 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21827 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21828 libc_feholdexcept_setround.
21830 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21831 Add s_nearbyint-c and s_nearbyintf-c.
21832 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21833 nearbyintf inlines.
21834 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21835 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21836 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21837 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21839 * math/math_private.h: Define defaults for libc_fegetround,
21840 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21841 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21842 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21844 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21845 standard functions.
21846 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21847 Remove comments and hacks for old compiler versions.
21848 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21849 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21850 libc_feholdexceptl.
21852 2011-10-18 Andreas Schwab <schwab@redhat.com>
21854 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21855 (__feraiseexcept_renamed): Add __NTH.
21856 (feraiseexcept): Add __NTH. Rename local variables to fix
21857 namespace violations.
21859 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21863 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21865 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21866 recently added interfaces.
21867 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21869 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21870 about macro parameter expansion.
21872 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21873 __NO_MATH_INLINES is defined. Cleanups.
21875 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21876 and __floorf is target has SSE4.1.
21877 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21878 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21879 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21880 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21882 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21884 (floorf): Likewise.
21886 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21888 2011-10-17 Andreas Schwab <schwab@redhat.com>
21890 * misc/sys/cdefs.h: Fix last change.
21892 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21895 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21897 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21899 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21901 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21905 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21907 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21908 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21909 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21910 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21911 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21912 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21913 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21914 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21915 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21916 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21917 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21918 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21919 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21920 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21922 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21923 ceil, ceilf, floor, floorf.
21925 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21926 Perform IRELATIVE relocations last.
21928 * elf/do-rel.h: Add another parameter nrelative, replacing the
21929 local variable with the same name. Change name of the function
21930 to end in Rel or Rela (uppercase).
21931 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21932 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21933 elf_dynamic_do_##reloc function.
21935 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21937 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21938 is sufficient, at least on modern CPUs.
21940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21942 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21943 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21945 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21947 * math/bits/math-finite.h: Add entries for exp.
21948 * math/e_expl.c: Add __*_finite alias.
21949 * sysdeps/i386/fpu/e_exp.S: Likewise.
21950 * sysdeps/i386/fpu/e_expf.S: Likewise.
21951 * sysdeps/i386/fpu/e_expl.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21953 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21957 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21958 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21960 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21961 is sufficient, at least on modern CPUs.
21963 * ctype/ctype-info.c (__ctype_init): Define.
21964 * include/ctype.h (__ctype_init): Declare.
21965 (__ctype_b_loc): The variable is always initialized.
21966 (__ctype_toupper_loc): Likewise.
21967 (__ctype_tolower_loc): Likewise.
21968 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21969 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21971 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21973 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21975 * configure.in: Also look in $cxxmachine/include for C++ system
21978 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21980 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21981 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21982 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21983 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21984 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21985 (USE_AS_WMEMCMP): New macro.
21987 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21988 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21989 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21990 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21992 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21993 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21994 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21995 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21996 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21997 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21998 (USE_AS_WMEMCMP): New macro.
21999 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22000 * sysdeps/string/test-memcmp.c: Update.
22001 Fix simple_wmemcmp.
22003 * wcsmbs/wmemcmp.c: Update.
22004 (WMEMCMP): New macro.
22007 2011-10-12 Andreas Jaeger <aj@suse.de>
22010 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22012 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22014 * libio/iofwide.c (do_length): Avoid warning.
22016 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22018 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22020 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22022 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22023 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22024 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22025 * sysdeps/i386/i686/fpu/e_log.S: New file.
22026 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22027 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22029 * ctype/ctype.h: Add support for inlined isXXX functions when
22030 compiling C++ code.
22032 2011-10-14 Andreas Schwab <schwab@redhat.com>
22034 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22036 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22038 2011-10-13 Roland McGrath <roland@hack.frob.com>
22041 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22043 2011-10-13 Andreas Schwab <schwab@redhat.com>
22045 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22046 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22049 * sysdeps/x86_64/memrchr.S: Check for zero size.
22051 * string/stratcliff.c: Add memrchr tests.
22053 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22056 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22057 rawmemchr-sse2 rawmemchr-sse2-bsf.
22058 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22059 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22060 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22061 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22062 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22063 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22064 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22065 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22066 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22067 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22068 * string/memrchr.c (MEMRCHR): New macro.
22070 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22072 Add integration with gcc's -ffinite-math-only and optimize wrapper
22074 * Versions.def: Define GLIBC_2.15 version for libm.
22075 * math/Makefile (headers): Add bits/math-finite.h.
22076 * math/bits/math-finite.h: New file.
22077 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22078 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22079 * math/e_acoshl.c: Add __*_finite alias.
22080 * math/e_acosl.c: Likewise.
22081 * math/e_asinl.c: Likewise.
22082 * math/e_atan2l.c: Likewise.
22083 * math/e_atanhl.c: Likewise.
22084 * math/e_coshl.c: Likewise.
22085 * math/e_exp10.c: Likewise.
22086 * math/e_exp10f.c: Likewise.
22087 * math/e_exp10l.c: Likewise.
22088 * math/e_exp2l.c: Likewise.
22089 * math/e_fmodl.c: Likewise.
22090 * math/e_gammal_r.c: Likewise.
22091 * math/e_hypotl.c: Likewise.
22092 * math/e_j0l.c: Likewise.
22093 * math/e_j1l.c: Likewise.
22094 * math/e_jnl.c: Likewise.
22095 * math/e_lgammal_r.c: Likewise.
22096 * math/e_log10l.c: Likewise.
22097 * math/e_log2l.c: Likewise.
22098 * math/e_logl.c: Likewise.
22099 * math/e_powl.c: Likewise.
22100 * math/e_sinhl.c: Likewise.
22101 * math/e_sqrtl.c: Likewise.
22102 * math/e_scalb.c: Completely rewritten and optimized.
22103 * math/e_scalbf.c: Likewise.
22104 * math/e_scalbl.c: Likewise.
22105 * math/w_acos.c: Likewise.
22106 * math/w_acosf.c: Likewise.
22107 * math/w_acosl.c: Likewise.
22108 * math/w_acosh.c: Likewise.
22109 * math/w_acoshf.c: Likewise.
22110 * math/w_acoshl.c: Likewise.
22111 * math/w_asin.c: Likewise.
22112 * math/w_asinf.c: Likewise.
22113 * math/w_asinl.c: Likewise.
22114 * math/w_atan2.c: Likewise.
22115 * math/w_atan2f.c: Likewise.
22116 * math/w_atan2l.c: Likewise.
22117 * math/w_atanh.c: Likewise.
22118 * math/w_atanhf.c: Likewise.
22119 * math/w_atanhl.c: Likewise.
22120 * math/w_exp10.c: Likewise.
22121 * math/w_exp10f.c: Likewise.
22122 * math/w_exp10l.c: Likewise.
22123 * math/w_fmod.c: Likewise.
22124 * math/w_fmodf.c: Likewise.
22125 * math/w_fmodl.c: Likewise.
22126 * math/w_j0.c: Likewise.
22127 * math/w_j0f.c: Likewise.
22128 * math/w_j0l.c: Likewise.
22129 * math/w_j1.c: Likewise.
22130 * math/w_j1f.c: Likewise.
22131 * math/w_j1l.c: Likewise.
22132 * math/w_jn.c: Likewise.
22133 * math/w_jnf.c: Likewise.
22134 * math/w_log.c: Likewise.
22135 * math/w_logf.c: Likewise.
22136 * math/w_logl.c: Likewise.
22137 * math/w_log10.c: Likewise.
22138 * math/w_log10f.c: Likewise.
22139 * math/w_log10l.c: Likewise.
22140 * math/w_log2.c: Likewise.
22141 * math/w_log2f.c: Likewise.
22142 * math/w_log2l.c: Likewise.
22143 * math/w_pow.c: Likewise.
22144 * math/w_powf.c: Likewise.
22145 * math/w_powl.c: Likewise.
22146 * math/w_remainder.c: Likewise.
22147 * math/w_remainderf.c: Likewise.
22148 * math/w_remainderl.c: Likewise.
22149 * math/w_scalb.c: Likewise.
22150 * math/w_scalbf.c: Likewise.
22151 * math/w_scalbl.c: Likewise.
22152 * math/w_sqrt.c: Likewise.
22153 * math/w_sqrtf.c: Likewise.
22154 * math/w_sqrtl.c: Likewise.
22155 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22156 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22158 * math/math_private.h: Declare __kernel_standard_f.
22159 * math/w_cosh.c: Remove cruft and optimize a bit.
22160 * math/w_coshf.c: Likewise.
22161 * math/w_coshl.c: Likewise.
22162 * math/w_exp2.c: Likewise.
22163 * math/w_exp2f.c: Likewise.
22164 * math/w_exp2l.c: Likewise.
22165 * math/w_hypot.c: Likewise.
22166 * math/w_hypotf.c: Likewise.
22167 * math/w_hypotl.c: Likewise.
22168 * math/w_lgamma.c: Likewise.
22169 * math/w_lgamma_r.c: Likewise.
22170 * math/w_lgammaf.c: Likewise.
22171 * math/w_lgammaf_r.c: Likewise.
22172 * math/w_lgammal.c: Likewise.
22173 * math/w_lgammal_r.c: Likewise.
22174 * math/w_sinh.c: Likewise.
22175 * math/w_sinhf.c: Likewise.
22176 * math/w_sinhl.c: Likewise.
22177 * math/w_tgamma.c: Likewise.
22178 * math/w_tgammaf.c: Likewise.
22179 * math/w_tgammal.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22182 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22183 Minor optimizations. Pretty printing. Remove cruft.
22184 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22185 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22187 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22188 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22189 * sysdeps/i386/fpu/e_asin.S: Likewise.
22190 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22191 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22192 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22193 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22194 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22195 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22196 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22197 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22198 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22199 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22200 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22201 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22202 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22203 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22204 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22205 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22206 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22207 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22208 * sysdeps/i386/fpu/e_log.S: Likewise.
22209 * sysdeps/i386/fpu/e_log10.S: Likewise.
22210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22211 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22212 * sysdeps/i386/fpu/e_log2.S: Likewise.
22213 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22214 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22215 * sysdeps/i386/fpu/e_logf.S: Likewise.
22216 * sysdeps/i386/fpu/e_logl.S: Likewise.
22217 * sysdeps/i386/fpu/e_pow.S: Likewise.
22218 * sysdeps/i386/fpu/e_powf.S: Likewise.
22219 * sysdeps/i386/fpu/e_powl.S: Likewise.
22220 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22221 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22222 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22223 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22224 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22225 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22226 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22227 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22228 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22250 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22253 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22254 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22255 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22256 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22257 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22258 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22259 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22260 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22261 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22262 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22263 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22264 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22265 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22266 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22267 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22268 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22269 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22270 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22275 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22279 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22281 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22309 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22312 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22314 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22315 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22317 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22318 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22320 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22321 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22322 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22323 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22324 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22325 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22326 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22327 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22328 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22329 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22330 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22331 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22332 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22333 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22334 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22335 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22337 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22338 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22339 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22340 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22341 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22342 (__isnanf): Likewise.
22343 (__isinf_ns): Likewise.
22344 (__isinf_nsf): Likewise.
22345 (__finite): Likewise.
22346 (__finitef): Likewise.
22347 (__ieee754_sqrt): Define as macro.
22348 (__ieee754_sqrtf): Define as macro.
22349 (__ieee754_sqrtl): Define as macro.
22350 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22352 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22353 __FINITE_MATH_ONLY__ consistent.
22354 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22356 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22358 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22361 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22363 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22365 * po/ja.po: Update from translation team.
22367 2011-10-08 Roland McGrath <roland@hack.frob.com>
22369 * locale/programs/locarchive.c (prepare_address_space): New function.
22370 (create_archive, enlarge_archive, open_archive): Use it.
22372 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22373 inside [SHARED], where it is used.
22375 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22377 * nss/getent.c (netgroup_keys): Remove unused variable.
22378 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22380 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22382 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22383 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22385 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22386 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22387 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22388 * math/Makefile (libm-calls): Add s_isinf_ns.
22389 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22390 * math/multc3.c: Likewise.
22391 * math/s_casin.c: Likewise.
22392 * math/s_casinf.c: Likewise.
22393 * math/s_casinl.c: Likewise.
22394 * math/s_ccos.c: Likewise.
22395 * math/s_ccosf.c: Likewise.
22396 * math/s_ccosl.c: Likewise.
22397 * math/s_ctan.c: Likewise.
22398 * math/s_ctanf.c: Likewise.
22399 * math/s_ctanh.c: Likewise.
22400 * math/s_ctanhf.c: Likewise.
22401 * math/s_ctanhl.c: Likewise.
22402 * math/s_ctanl.c: Likewise.
22403 * math/w_fmod.c: Likewise.
22404 * math/w_fmodf.c: Likewise.
22405 * math/w_fmodl.c: Likewise.
22406 * math/w_remainder.c: Likewise.
22407 * math/w_remainderf.c: Likewise.
22408 * math/w_remainderl.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22410 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22411 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22413 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22414 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22415 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22416 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22418 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22420 * stdio-common/printf_fphex.c: Likewise.
22421 * stdio-common/printf_size.c: Likewise.
22423 * math/e_exp10.c: Include math_private.h using <...> not "...".
22424 * math/e_exp10f.c: Likewise.
22425 * math/e_exp10l.c: Likewise.
22426 * math/e_exp2l.c: Likewise.
22427 * math/e_j0l.c: Likewise.
22428 * math/e_j1l.c: Likewise.
22429 * math/e_jnl.c: Likewise.
22430 * math/e_lgammal_r.c: Likewise.
22431 * math/e_rem_pio2l.c: Likewise.
22432 * math/e_scalb.c: Likewise.
22433 * math/e_scalbf.c: Likewise.
22434 * math/e_scalbl.c: Likewise.
22435 * math/k_cosl.c: Likewise.
22436 * math/k_sinl.c: Likewise.
22437 * math/k_tanl.c: Likewise.
22438 * math/s_cacoshf.c: Likewise.
22439 * math/s_catan.c: Likewise.
22440 * math/s_catanf.c: Likewise.
22441 * math/s_catanh.c: Likewise.
22442 * math/s_catanhf.c: Likewise.
22443 * math/s_catanhl.c: Likewise.
22444 * math/s_catanl.c: Likewise.
22445 * math/s_ccosh.c: Likewise.
22446 * math/s_ccoshf.c: Likewise.
22447 * math/s_ccoshl.c: Likewise.
22448 * math/s_cexp.c: Likewise.
22449 * math/s_cexpf.c: Likewise.
22450 * math/s_cexpl.c: Likewise.
22451 * math/s_clog.c: Likewise.
22452 * math/s_clog10.c: Likewise.
22453 * math/s_clog10f.c: Likewise.
22454 * math/s_clog10l.c: Likewise.
22455 * math/s_clogf.c: Likewise.
22456 * math/s_clogl.c: Likewise.
22457 * math/s_csin.c: Likewise.
22458 * math/s_csinf.c: Likewise.
22459 * math/s_csinh.c: Likewise.
22460 * math/s_csinhf.c: Likewise.
22461 * math/s_csinhl.c: Likewise.
22462 * math/s_csinl.c: Likewise.
22463 * math/s_csqrt.c: Likewise.
22464 * math/s_csqrtf.c: Likewise.
22465 * math/s_csqrtl.c: Likewise.
22466 * math/s_ctan.c: Likewise.
22467 * math/s_ctanf.c: Likewise.
22468 * math/s_ctanh.c: Likewise.
22469 * math/s_ctanhf.c: Likewise.
22470 * math/s_ctanhl.c: Likewise.
22471 * math/s_ctanl.c: Likewise.
22472 * math/s_ldexp.c: Likewise.
22473 * math/s_ldexpf.c: Likewise.
22474 * math/s_ldexpl.c: Likewise.
22475 * math/s_significand.c: Likewise.
22476 * math/s_significandf.c: Likewise.
22477 * math/s_significandl.c: Likewise.
22478 * math/w_acos.c: Likewise.
22479 * math/w_acosf.c: Likewise.
22480 * math/w_acosh.c: Likewise.
22481 * math/w_acoshf.c: Likewise.
22482 * math/w_acoshl.c: Likewise.
22483 * math/w_acosl.c: Likewise.
22484 * math/w_asin.c: Likewise.
22485 * math/w_asinf.c: Likewise.
22486 * math/w_asinl.c: Likewise.
22487 * math/w_atan2.c: Likewise.
22488 * math/w_atan2f.c: Likewise.
22489 * math/w_atan2l.c: Likewise.
22490 * math/w_atanh.c: Likewise.
22491 * math/w_atanhf.c: Likewise.
22492 * math/w_atanhl.c: Likewise.
22493 * math/w_cosh.c: Likewise.
22494 * math/w_coshf.c: Likewise.
22495 * math/w_coshl.c: Likewise.
22496 * math/w_dremf.c: Likewise.
22497 * math/w_exp10.c: Likewise.
22498 * math/w_exp10f.c: Likewise.
22499 * math/w_exp10l.c: Likewise.
22500 * math/w_exp2.c: Likewise.
22501 * math/w_exp2f.c: Likewise.
22502 * math/w_fmod.c: Likewise.
22503 * math/w_fmodf.c: Likewise.
22504 * math/w_fmodl.c: Likewise.
22505 * math/w_hypot.c: Likewise.
22506 * math/w_hypotf.c: Likewise.
22507 * math/w_hypotl.c: Likewise.
22508 * math/w_j0.c: Likewise.
22509 * math/w_j0f.c: Likewise.
22510 * math/w_j0l.c: Likewise.
22511 * math/w_j1.c: Likewise.
22512 * math/w_j1f.c: Likewise.
22513 * math/w_j1l.c: Likewise.
22514 * math/w_jn.c: Likewise.
22515 * math/w_jnf.c: Likewise.
22516 * math/w_jnl.c: Likewise.
22517 * math/w_lgamma.c: Likewise.
22518 * math/w_lgamma_r.c: Likewise.
22519 * math/w_lgammaf.c: Likewise.
22520 * math/w_lgammaf_r.c: Likewise.
22521 * math/w_lgammal.c: Likewise.
22522 * math/w_lgammal_r.c: Likewise.
22523 * math/w_log.c: Likewise.
22524 * math/w_log10.c: Likewise.
22525 * math/w_log10f.c: Likewise.
22526 * math/w_log10l.c: Likewise.
22527 * math/w_log2.c: Likewise.
22528 * math/w_log2f.c: Likewise.
22529 * math/w_log2l.c: Likewise.
22530 * math/w_logf.c: Likewise.
22531 * math/w_logl.c: Likewise.
22532 * math/w_pow.c: Likewise.
22533 * math/w_powf.c: Likewise.
22534 * math/w_powl.c: Likewise.
22535 * math/w_remainder.c: Likewise.
22536 * math/w_remainderf.c: Likewise.
22537 * math/w_remainderl.c: Likewise.
22538 * math/w_scalb.c: Likewise.
22539 * math/w_scalbf.c: Likewise.
22540 * math/w_scalbl.c: Likewise.
22541 * math/w_sinh.c: Likewise.
22542 * math/w_sinhf.c: Likewise.
22543 * math/w_sinhl.c: Likewise.
22544 * math/w_sqrt.c: Likewise.
22545 * math/w_sqrtf.c: Likewise.
22546 * math/w_sqrtl.c: Likewise.
22547 * math/w_tgamma.c: Likewise.
22548 * math/w_tgammaf.c: Likewise.
22549 * math/w_tgammal.c: Likewise.
22551 * po/ja.po: Update from translation team.
22553 2011-09-29 Andreas Jaeger <aj@suse.de>
22556 * sunrpc/netname.c (netname2host): Fix logic.
22560 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22562 * math/w_remainder.c (__remainder): Likewise.
22563 * math/w_remainderf.c (__remainderf): Likewise.
22564 * math/libm-test.inc (remainder_test): Add test cases.
22566 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22568 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22571 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22573 * string/test-memcmp.c: Avoid unncessary #defines.
22574 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22576 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22578 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22579 Use new sse2 version for core i3 - i7 as it's faster
22580 than sse42 version.
22581 (bit_Prefer_PMINUB_for_stringop): New.
22582 * sysdeps/x86_64/rawmemchr.S: Update.
22583 Replace with faster SSE2 version.
22584 * sysdeps/x86_64/memrchr.S: New file.
22585 * sysdeps/x86_64/memchr.S: Update.
22586 Replace with faster SSE2 version.
22588 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22590 * elf/dl-load.c (lose): Add cast to avoid warning.
22592 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22594 * po/ca.po: Update from translation team.
22596 * inet/getnetgrent_r.c: Hook up nscd.
22597 * nscd/Makefile (routines): Add nscd_netgroup.
22598 (nscd-modules): Add netgroupcache.
22599 (CFLAGS-netgroupcache.c): Define.
22600 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22601 (cache_search): Add const to second parameter.
22602 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22604 (dbs): Add netgrdb entry.
22605 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22606 (verify_persistent_db): Handle netgrdb.
22607 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22608 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22610 (netgroup_response_header): Define.
22611 (innetgroup_response_header): Define.
22612 (datahead): Add netgroup_response_header and innetgroup_response_header
22614 * nscd/nscd.conf: Add entries for netgroup cache.
22615 * nscd/nscd.h (dbtype): Add netgrdb.
22616 (_PATH_NSCD_NETGROUP_DB): Define.
22617 (netgroup_iov_disabled): Declare.
22618 (xmalloc, xcalloc, xrealloc): Move declarations here.
22619 (cache_search): Adjust prototype.
22620 Add netgroup-related prototypes.
22621 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22622 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22623 (__nscd_innetgr): Declare.
22624 * nscd/selinux.c (perms): Use access_vector_t as element type and
22625 add netgroup-related initializers.
22626 * nscd/netgroupcache.c: New file.
22627 * nscd/nscd_netgroup.c: New file.
22628 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22629 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22630 For four parameters use innetgr.
22631 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22632 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22633 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22634 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22636 * nscd/connections.c (register_traced_file): Don't register file
22637 for disabled databases.
22639 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22641 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22643 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22644 from tree and freeing node.
22646 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22648 * nss/nsswitch.c (__nss_database_lookup): Handle
22649 nss_parse_service_list out of memory case.
22651 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22653 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22654 out of memory case.
22656 2011-10-04 Andreas Schwab <schwab@redhat.com>
22658 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22659 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22661 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22662 elf_machine_rela, elf_machine_lazy_rel.
22663 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22664 (ELF_DYNAMIC_DO_REL): Likewise.
22665 (ELF_DYNAMIC_DO_RELA): Likewise.
22666 (ELF_DYNAMIC_RELOCATE): Likewise.
22667 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22668 to ELF_DYNAMIC_DO_REL.
22669 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22670 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22671 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22674 skip_ifunc, don't call ifunc function if non-zero.
22675 (elf_machine_rela): Likewise.
22676 (elf_machine_lazy_rel): Likewise.
22677 (elf_machine_lazy_rela): Likewise.
22678 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22679 (elf_machine_lazy_rel): Likewise.
22680 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22682 (elf_machine_lazy_rel): Likewise.
22683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22685 (elf_machine_lazy_rel): Likewise.
22686 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22687 (elf_machine_lazy_rel): Likewise.
22688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22689 (elf_machine_lazy_rel): Likewise.
22690 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22691 (elf_machine_lazy_rel): Likewise.
22692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22693 (elf_machine_lazy_rel): Likewise.
22694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22695 (elf_machine_lazy_rel): Likewise.
22696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22697 (elf_machine_lazy_rel): Likewise.
22699 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22701 * nss/nss_files/files-init.c (_nss_files_init): Use static
22702 initialization for all the *_traced_file variables.
22704 2011-09-28 Andreas Schwab <schwab@redhat.com>
22706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22708 2011-09-27 Roland McGrath <roland@hack.frob.com>
22711 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22713 2011-09-27 Andreas Schwab <schwab@redhat.com>
22715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22716 Reread the line before reparsing it.
22718 2011-09-26 Andreas Schwab <schwab@redhat.com>
22720 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22722 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22723 Maxim Kuvyrkov <maxim@codesourcery.com>
22724 Joseph Myers <joseph@codesourcery.com>
22726 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22727 if needed for __stack_chk_guard.
22729 2011-09-19 Roland McGrath <roland@hack.frob.com>
22731 * sysdeps/posix/spawni.c (script_execute): Always define it.
22732 It will be optimized away if unused.
22733 (maybe_script_execute): New function.
22734 (__spawni): Call it.
22736 * Makerules: Don't include tls.make.
22737 (config-tls): Always set to thread.
22738 * tls.make.c: File removed.
22740 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22742 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22743 * config.make.in (CPPFLAGS-config): New substituted variable.
22745 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22747 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22750 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22751 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22753 2011-09-15 Roland McGrath <roland@hack.frob.com>
22755 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22756 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22758 (CALL_FAIL): Likewise.
22759 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22760 (CALL_FAIL): Macro removed.
22761 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22763 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22765 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22766 for __FINITE_MATH_ONLY__ == 1.
22768 2011-09-15 Andreas Schwab <schwab@redhat.com>
22770 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22771 __ieee754_sqrt instead of sqrt.
22772 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22773 __ieee754_sqrtf instead of sqrtf.
22774 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22775 __floorf instead of floorf.
22776 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22777 __floorf, __truncf instead of floorf, truncf.
22779 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22781 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22783 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22784 __extern_always_inline.
22785 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22788 2011-09-14 Andreas Schwab <schwab@redhat.com>
22790 * elf/rtld.c (dl_main): Also relocate in dependency order when
22791 doing symbol dependency testing.
22793 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22796 Always define `refsym'.
22798 2011-09-13 Andreas Schwab <schwab@redhat.com>
22800 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22801 (__FD_ELT): Renamed from __FDELT.
22802 * misc/bits/select2.h (__FD_ELT): Likewise.
22803 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22804 __FD_MASK instead of __FDELT, __FDMASK.
22805 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22807 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22810 * elf/Makefile (gen-ldd): Fix pattern.
22812 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22813 (init_tls): Likewise.
22815 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22817 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22819 2011-09-12 Andreas Schwab <schwab@redhat.com>
22821 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22822 `struct cmsghdr *' instead of `void *'.
22823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22826 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22828 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22830 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22831 ldd_rewrite_script.
22833 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22835 * configure.in: Remove --with-tls option.
22836 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22837 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22838 out in case it is missing.
22839 * sysdeps/ia64/elf/configure.in: Likewise.
22840 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22841 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22842 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22843 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22844 * sysdeps/sh/elf/configure.in: Likewise.
22845 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22846 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22847 * sysdeps/x86_64/elf/configure.in: Likewise.
22848 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22849 * sysdeps/mach/hurd/tls.h: Likewise.
22852 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22855 * configure.in: Fix use of AC_INIT.
22857 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22859 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22861 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22863 * malloc/hooks.c: Likewise.
22866 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22867 variables statically.
22868 (narenas): Initialize.
22869 (list_lock): Initialize.
22870 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22871 initializtion of main_arena and list_lock. Small cleanups.
22872 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22873 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22874 Add initializers to main_arena and mp_.
22875 (malloc_state): Remove pagesize member. Change all users to use
22878 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22879 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22880 is always initialized.
22882 * malloc/malloc.c: Removed unused configurations and dead code.
22883 * malloc/arena.c: Likewise.
22884 * malloc/hooks.c: Likewise.
22885 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22887 * include/tls.h: Removed. USE___THREAD must always be defined.
22888 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22889 * elf/dl-libc.c: Likewise.
22890 * elf/dl-tsd.c: Likewise.
22891 * include/errno.h: Likewise.
22892 * include/netdb.h: Likewise.
22893 * include/resolv.h: Likewise.
22894 * inet/herrno-loc.c: Likewise.
22895 * inet/herrno.c: Likewise.
22896 * malloc/arena.c: Likewise.
22897 * malloc/hooks.c: Likewise.
22898 * malloc/malloc.c: Likewise.
22899 * resolv/res-state.c: Likewise.
22900 * resolv/res_libc.c: Likewise.
22901 * sysdeps/i386/dl-machine.h: Likewise.
22902 * sysdeps/ia64/dl-machine.h: Likewise.
22903 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22904 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22905 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22906 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22907 * sysdeps/sh/dl-machine.h: Likewise.
22908 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22909 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22910 * sysdeps/unix/i386/sysdep.S: Likewise.
22911 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22912 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22915 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22917 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22921 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22922 * sysdeps/x86_64/dl-machine.h: Likewise.
22923 * tls.make.c: Likewise.
22925 * configure.in: Remove --with-__thread option. Make tests for
22926 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22927 tls_model attribute fail if no support is available. Remove
22929 * Makeconfig: Adjust for dropped configure option. All features are
22931 * Makerules: Likewise.
22932 * Versions.def: Likewise.
22933 * argp/argp-fmtstream.c: Likewise.
22934 * argp/argp-fmtstream.h: Likewise.
22935 * argp/argp-help.c: Likewise.
22936 * assert/assert.c: Likewise.
22937 * config.h.in: Likewise.
22938 * config.make.in: Likewise.
22939 * configure: Likewise.
22940 * configure.in: Likewise.
22941 * csu/Versions: Likewise.
22942 * csu/init.c: Likewise.
22943 * elf/tst-audit2.c: Likewise.
22944 * elf/tst-tls10.c: Likewise.
22945 * elf/tst-tls10.h: Likewise.
22946 * elf/tst-tls11.c: Likewise.
22947 * elf/tst-tls12.c: Likewise.
22948 * elf/tst-tls14.c: Likewise.
22949 * elf/tst-tlsmod11.c: Likewise.
22950 * elf/tst-tlsmod12.c: Likewise.
22951 * elf/tst-tlsmod13.c: Likewise.
22952 * elf/tst-tlsmod13a.c: Likewise.
22953 * elf/tst-tlsmod14a.c: Likewise.
22954 * elf/tst-tlsmod15b.c: Likewise.
22955 * elf/tst-tlsmod16a.c: Likewise.
22956 * elf/tst-tlsmod16b.c: Likewise.
22957 * elf/tst-tlsmod7.c: Likewise.
22958 * elf/tst-tlsmod8.c: Likewise.
22959 * elf/tst-tlsmod9.c: Likewise.
22960 * gmon/gmon.c: Likewise.
22961 * grp/fgetgrent_r.c: Likewise.
22962 * grp/putgrent.c: Likewise.
22963 * hurd/fopenport.c: Likewise.
22964 * include/libc-symbols.h: Likewise.
22965 * include/tls.h: Likewise.
22966 * intl/gettextP.h: Likewise.
22967 * intl/loadinfo.h: Likewise.
22968 * locale/global-locale.c: Likewise.
22969 * locale/localeinfo.h: Likewise.
22970 * mach/devstream.c: Likewise.
22971 * malloc/arena.c: Likewise.
22972 * malloc/set-freeres.c: Likewise.
22973 * misc/err.c: Likewise.
22974 * misc/getttyent.c: Likewise.
22975 * misc/mntent_r.c: Likewise.
22976 * posix/getopt.c: Likewise.
22977 * posix/wordexp.c: Likewise.
22978 * pwd/fgetpwent_r.c: Likewise.
22979 * resolv/Versions: Likewise.
22980 * resolv/res_hconf.c: Likewise.
22981 * shadow/fgetspent_r.c: Likewise.
22982 * shadow/putspent.c: Likewise.
22983 * stdio-common/printf_fphex.c: Likewise.
22984 * stdio-common/tmpfile.c: Likewise.
22985 * stdlib/abort.c: Likewise.
22986 * stdlib/fmtmsg.c: Likewise.
22987 * sunrpc/auth_unix.c: Likewise.
22988 * sunrpc/clnt_perr.c: Likewise.
22989 * sunrpc/clnt_tcp.c: Likewise.
22990 * sunrpc/clnt_udp.c: Likewise.
22991 * sunrpc/clnt_unix.c: Likewise.
22992 * sunrpc/openchild.c: Likewise.
22993 * sunrpc/svc_simple.c: Likewise.
22994 * sunrpc/svc_tcp.c: Likewise.
22995 * sunrpc/svc_udp.c: Likewise.
22996 * sunrpc/svc_unix.c: Likewise.
22997 * sunrpc/xdr.c: Likewise.
22998 * sunrpc/xdr_array.c: Likewise.
22999 * sunrpc/xdr_rec.c: Likewise.
23000 * sunrpc/xdr_ref.c: Likewise.
23001 * sunrpc/xdr_stdio.c: Likewise.
23003 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23005 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23007 2011-07-03 Andreas Jaeger <aj@suse.de>
23009 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23010 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23011 regenerate with gen-libm-tests.pl.
23013 2010-05-12 Petr Baudis <pasky@suse.cz>
23016 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23017 around j0() zero points by switching to j1().
23018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23023 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23025 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23027 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23030 Patch in part by Pavel Roskin <proski@gnu.org>.
23033 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23035 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23036 Free memory block if necessary.
23039 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23040 be NULL. Don't lock in this case.
23042 2011-09-09 Roland McGrath <roland@hack.frob.com>
23044 * elf/elf.h (ELFOSABI_GNU): New macro.
23045 (ELFOSABI_LINUX): Define to that.
23047 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23049 * string/strncat.c (strncat): Undef the symbol in case it has been
23050 defined in bits/string.h.
23052 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23054 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23056 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23059 2011-08-17 Andreas Jaeger <aj@suse.de>
23061 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23063 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23064 Ian Lance Taylor <iant@google.com>
23066 * math/libm-test.inc (lround_test): New testcase.
23067 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23069 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23071 * Makefile: Remove support for automatic cvs check-ins.
23072 * Makerules: Likewise.
23073 * config.make.in: Likewise.
23074 * configure.in: Likewise.
23075 * intl/Makefile: Likewise.
23076 * locale/Makefile: Likewise.
23077 * po/Makefile: Likewise.
23078 * posix/Makefile: Likewise.
23079 * sysdeps/gnu/Makefile: Likewise.
23080 * sysdeps/mach/hurd/Makefile: Likewise.
23081 * sysdeps/sparc/sparc32/Makefile: Likewise.
23084 * posix/Makefile (bug-regex32-ENV): Define.
23085 Patch by John Stanley <jpsinthemix@verizon.net>.
23087 * misc/Makefile (headers): Add bits/select2.h.
23088 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23089 * misc/bits/select2.h: New file.
23090 * include/bits/select2.h: New file.
23091 * debug/Makefile (routines): Add fdelt_chk.
23092 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23093 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23095 * debug/fdelt_chk.c: New file.
23097 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23098 * wcsmbs/test-wmemcmp.c: Likewise.
23099 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23100 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23102 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23104 * string/Makefile (strop-tests): Add memcmp.
23105 * string/test-wmemcmp.c: New file.
23106 * string/test-memcmp.c: Add wmemcmp support.
23108 2011-09-08 Roland McGrath <roland@hack.frob.com>
23111 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23114 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23115 garbage value in a __mach_port_mod_refs call in the cases of the
23116 task-self and thread-self ports.
23118 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23120 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23122 2011-09-08 Andreas Schwab <schwab@redhat.com>
23124 * elf/dl-load.c (lose): Check for non-null L.
23126 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23128 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23130 * elf/dl-libc.c (dlerror_run): Pass back error code from
23134 * elf/dl-load.c (lose): Free l_origin if it is valid.
23136 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23138 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23139 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23140 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23141 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23142 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23143 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23145 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23147 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23148 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23149 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23150 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23151 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23152 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23153 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23154 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23155 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23156 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23158 2011-08-15 Alan Modra <amodra@gmail.com>
23161 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23162 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23163 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23164 ppc_mcount to static-only-routines.
23165 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23167 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23168 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23170 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23172 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23173 for finite and infinity parameters.
23175 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23178 and add nop instructions for throughput optimization.
23179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23181 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23183 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23184 aligned copy for power7 with vector-scalar instructions.
23185 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23187 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23192 2011-09-07 Andreas Schwab <schwab@redhat.com>
23195 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23198 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23200 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23201 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23202 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23203 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23206 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23208 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23209 Forgot to demangle the pointer.
23211 * sysdeps/i386/sysdep.h: Define atom_text_section.
23212 * sysdeps/x86_64/sysdep.h: Likewise.
23213 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23214 section with atom_text_section.
23215 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23217 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23219 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23221 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23222 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23223 already be defined. Change to take two parameters and don't assign
23224 result to variable. Adjust all users.
23225 Define INTERNAL_GETTIME if not already defined.
23226 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23229 HAVE_CLOCK_GETTIME_VSYSCALL.
23230 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23232 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23233 gettimeofday vsyscall, just use time.
23235 2011-09-06 Andreas Schwab <schwab@redhat.com>
23237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23240 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23242 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23246 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23247 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23248 syscall if possible.
23250 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23252 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23253 e_ident. Don't pass to find_mapsXX.
23254 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23256 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23259 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23260 * sysdeps/x86_64/multiarch/strchr.S: Update.
23261 Check bit_slow_BSF bit.
23262 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23263 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23264 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23266 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23269 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23271 (tryshell): Define.
23272 (__spawni): Change last parameter to be flag. Test
23273 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23274 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23275 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23276 * posix/spawni.c: Likewise.
23277 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23278 * posix/spawnp.c: Likewise. Change normal version to use
23279 SPAWN_XFLAGS_USE_PATH.
23280 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23281 SPAWN_XFLAGS_TRY_SHELL.
23284 * posix/glob.h: Remove gcc 1.x support.
23287 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23289 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23292 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23294 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23295 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23296 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23297 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23298 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23299 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23301 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23303 * sysdeps/x86_64/wcscmp.S: New file.
23305 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23306 wcscmp-c wcscmp-sse2
23307 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23308 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23309 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23310 * wcsmbs/wcscmp.c: Allow renaming.
23312 2011-09-05 David S. Miller <davem@davemloft.net>
23314 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23315 stack slot, rather than the struct return pointer slot.
23316 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23317 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23319 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23321 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23323 * po/ja.po: Update from translation team.
23326 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23327 kernel in 64-bit binaries.
23329 2011-09-01 David S. Miller <davem@davemloft.net>
23331 * elf/elf.h (HWCAP_SPARC_*): Move to..
23332 * sysdeps/sparc/sysdep.h: this new file and add new values.
23333 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23334 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23335 _DL_HWCAP_COUNT to 24.
23336 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23338 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23339 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23340 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23342 instead of magic constants.
23343 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23345 2011-08-31 David S. Miller <davem@davemloft.net>
23347 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23349 Reimplement to do errno handling inline.
23350 (SYSCALL_ERROR_HANDLER): New macro.
23351 (__SYSCALL_STRING): Do not do errno handling in asm.
23352 (__CLONE_SYSCALL_STRING): Delete.
23353 (__INTERNAL_SYSCALL_STRING): Delete.
23354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23355 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23356 (PSEUDO): Reimplement to do errno handling inline.
23357 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23358 (SYSCALL_ERROR_HANDLER): New macro.
23359 (__SYSCALL_STRING): Do not do errno handling in asm.
23360 (__CLONE_SYSCALL_STRING): Delete.
23361 (__INTERNAL_SYSCALL_STRING): Delete.
23362 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23363 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23365 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23366 (inline_syscall*): Add 'err' argument.
23367 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23368 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23369 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23370 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23372 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23373 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23375 2011-08-30 Andreas Schwab <schwab@redhat.com>
23377 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23379 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23381 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23384 2011-08-24 David S. Miller <davem@davemloft.net>
23386 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23388 2011-08-24 Andreas Schwab <schwab@redhat.com>
23390 * elf/Makefile: Add rules to build and run unload8 test.
23391 * elf/unload8.c: New file.
23392 * elf/unload8mod1.c: New file.
23393 * elf/unload8mod1x.c: New file.
23394 * elf/unload8mod2.c: New file.
23395 * elf/unload8mod3.c: New file.
23397 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23400 2011-08-23 David S. Miller <davem@davemloft.net>
23402 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23403 subtract stack bias.
23404 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23405 %sp not %fp in calculations.
23406 (_JMPBUF_UNWINDS_ADJ): Likewise.
23408 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23409 (aio_suspend): Call it to force an exception region around the
23410 AIO_MISC_WAIT() invocation.
23412 2011-08-23 Andreas Schwab <schwab@redhat.com>
23414 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23417 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23419 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23421 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23422 and <dl-machine.h>.
23423 (Elf64_FuncDesc): Remove.
23425 2011-08-22 David S. Miller <davem@davemloft.net>
23427 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23428 sigaltstack check, add missing cfi directives.
23429 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23430 missing cfi directives, and sigaltstack handling.
23432 2011-08-16 Andreas Schwab <schwab@redhat.com>
23435 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23436 object is seen twice.
23437 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23439 * elf/Makefile (distribute): Add tst-initorder2.c.
23440 (tests): Add tst-initorder2.
23441 (modules-names): Add tst-initorder2a tst-initorder2b
23442 tst-initorder2c tst-initorder2d. Add rules to build them.
23443 ($(objpfx)tst-initorder2.out): New rule.
23444 * elf/tst-initorder2.c: New file.
23445 * elf/tst-initorder2.exp: New file.
23447 2011-08-22 Andreas Schwab <schwab@redhat.com>
23449 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23451 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23452 dependencies back to end of function.
23454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23455 $(elfobjdir)/ld.so.
23457 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23460 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23462 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23463 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23464 of __vdso_gettimeofday.
23465 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23466 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23468 (_libc_vdso_platform_setup): Remove initialization of
23469 __vdso_gettimeofday and __vdso_time.
23471 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23473 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23474 and fgetc_unlocked.
23475 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23478 * elf/dl-open.c (add_to_global): Report additions to the global scope
23479 for LD_DEBUG=scopes.
23480 (dl_open_worker): Also print scope of newly loaded dependencies.
23481 (_dl_show_scope): Indicate if there is no scope.
23484 * stdio-common/Makefile (tests): Add bug24.
23485 * stdio-common/bug24.c: New file.
23487 2011-08-19 Andreas Jaeger <aj@suse.de>
23490 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23491 non-existant file when using close-on-exec mode.
23493 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23496 the very first instruction.
23498 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23499 the CFI state in the end.
23500 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23501 inclusion of dl-trampoline.h.
23502 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23504 2011-08-19 Andreas Schwab <schwab@redhat.com>
23506 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23507 expectations for long double.
23509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23510 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23512 2011-08-14 David S. Miller <davem@davemloft.net>
23514 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23515 artificual limit depends upon the system page size.
23517 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23519 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23520 * resolv/Makefile: Define CFLAGS-libresolv.
23522 2011-08-17 Andreas Schwab <schwab@redhat.com>
23524 * nss/makedb.c (compute_tables): Make variables used in nested
23527 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23529 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23530 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23531 if buffer was too small.
23533 * elf/pldd.c (main): Attach to all threads in the process.
23534 Rewrite /proc handling to use *at functions.
23536 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23538 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23539 specifies first scope to show.
23540 (dl_open_worker): Update callers. Move printing scope of new
23541 object to before the relocation.
23542 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23543 * sysdeps/generic/ldsodefs.h: Update declaration.
23545 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23546 string for the scope number.
23548 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23550 * nscd/servicescache.c (cache_addserv): Make sure written is always
23553 2011-08-14 Roland McGrath <roland@hack.frob.com>
23555 * sysdeps/i386/i486/bits/atomic.h
23556 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23557 statement expression, so as to suppress "set but not used" warning.
23558 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23560 * string/strncat.c (STRNCAT): Use prototype definition.
23562 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23563 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23565 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23566 (localedef-modules): Add localedef.
23567 (locale-modules): Add locale.
23569 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23570 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23571 to avoid a warning.
23573 2011-08-14 David S. Miller <davem@davemloft.net>
23575 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23576 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23578 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23580 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23581 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23582 * elf/rtld.c (dl_main): Set l_name of vDSO.
23583 Call _dl_show_scope when DL_DEBUG_SCOPES.
23584 (process_dl_debug): Recognize scopes flag and also set it for all.
23585 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23586 Declare _dl_show_scope.
23588 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23589 (do_dlopen): Pass caller_dlopen to dl_open.
23590 (__libc_dlopen_mode): Initialize caller_dlopen.
23592 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23593 of libc. Make tolower call locale-independent. Optimize a bit by
23594 using isdigit instead of isalnum.
23595 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23597 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23599 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23600 was a dependency or dynamically loaded.
23602 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23604 * intl/l10nflist.c: Allow architecture-specific pop function.
23605 * sysdeps/x86_64/l10nflist.c: New file.
23607 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23610 2011-08-10 Andreas Schwab <schwab@redhat.com>
23612 * include/dirent.h: Add libc_hidden_proto for scandirat and
23613 scandirat64. Don't declare __scandirat64.
23614 * dirent/scandirat.c: Add libc_hidden_def.
23615 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23616 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23618 2011-08-10 David S. Miller <davem@davemloft.net>
23620 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23623 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23624 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23626 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23628 * Versions.def [libc]: Add GLIBC_2.15.
23629 * dirent/Makefile (routines): Add scandirat and scandirat64.
23630 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23632 * dirent/dirent.h: Declare scandirat and scandirat64.
23633 * dirent/scandirat.c: New file.
23634 * dirent/scandirat64.c: New file.
23635 * sysdeps/wordsize-64/scandirat.c: New file.
23636 * sysdeps/wordsize-64/scandirat64.c: New file.
23637 * dirent/opendir.c: Define opendirat.
23638 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23640 * dirent/scandir64.c: Adjust for scandir.c change.
23641 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23642 __scandirat64, and __scandir_cancel_handler.
23643 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23644 additional parameter and use openat instead of open (outside of ld.so).
23645 Add new __opendir as wrapper around __opendirat.
23646 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23647 here without requiring old scandirat implementation.
23649 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23651 * dirent/scandir.c (cancel_handler): Renamed to
23652 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23653 defined. Adjust users.
23654 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23655 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23657 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23659 * string/test-string.h (IMPL): Use __STRING to expand name and then
23662 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23665 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23667 * string/Makefile: Update.
23668 (strop-tests): Append strncat.
23669 * string/test-wcscmp.c: New file.
23670 New comprehensive test for wcscmp.
23671 * string/test-strcmp.c: Update.
23672 (WIDE): New define.
23674 2011-07-22 Andreas Schwab <schwab@redhat.com>
23676 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23679 2011-07-26 Andreas Schwab <schwab@redhat.com>
23681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23682 encoding to ACE if AI_IDN.
23684 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23686 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23687 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23689 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23691 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23692 Fix overflow bug in strncat.
23693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23695 * string/test-strncat.c: Update.
23696 Add new tests for checking overflow bugs.
23698 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23701 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23702 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23703 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23704 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23705 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23706 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23707 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23708 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23710 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23711 (USE_AS_STRCAT): Define.
23712 Add strcat and strncat support.
23713 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23715 2011-07-25 Andreas Schwab <schwab@redhat.com>
23717 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23718 __n bigger than INT_MAX+1.
23719 (__strncmp_g): Likewise.
23721 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23723 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23724 * libio/stido.h: Likewise.
23726 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23731 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23733 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23734 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23738 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23743 (_dl_x86_64_save_sse): Likewise.
23745 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23749 (_dl_x86_64_save_sse): Likewise.
23751 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23753 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23755 2011-07-21 Andreas Schwab <schwab@redhat.com>
23757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23759 (_dl_x86_64_save_sse): Use correct AVX check.
23761 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23763 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23764 bug in strncpy/strncat.
23765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23767 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23769 * string/tester.c (test_strcat): Add tests for different alignments
23770 of source and destination.
23771 (test_strncat): Likewise.
23773 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23776 * posix/glob.c (glob): Check passed in values before using them in
23777 expressions to avoid some overflows.
23778 (glob_in_dir): Likewise.
23781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23782 check for AVX enablement so that we don't crash with old kernels and
23784 * elf/tst-audit4.c: Add same checks here.
23785 * elf/tst-audit6.c: Likewise.
23787 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23789 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23791 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23793 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23795 * po/cs.po: Update from translation team.
23796 * po/bg.po: Likewise.
23798 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23800 * misc/sys/cdefs.h: Add support for const attribute.
23801 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23802 to gnu_dev_{major,minor,makedev} functions.
23804 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23806 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23808 2011-07-20 Andreas Schwab <schwab@redhat.com>
23810 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23813 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23816 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23817 register in order to avoid conflicts with the soft frame pointer
23818 being held in r11 when necessary.
23819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23820 (INTERNAL_VSYSCALL_NCS): Likewise.
23822 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23824 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23825 * elf/dl-fini.c (_dl_fini): Adjust caller.
23826 * elf/dl-close.c (_dl_close_worker): Likewise.
23827 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23829 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23831 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23832 "aux_cache->nlibs < 0".
23834 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23835 in the reload-count case.
23837 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23840 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23841 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23842 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23843 * sysdeps/x86_64/multiarch/strcat.S: New file.
23844 * sysdeps/x86_64/multiarch/strncat.S: New file.
23845 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23846 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23847 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23848 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23849 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23850 (USE_AS_STRCAT): Define.
23851 Add strcat and strncat support.
23852 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23853 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23854 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23855 * string/strncat.c: Update.
23856 (USE_AS_STRNCAT): Define.
23857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23858 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23860 * sysdeps/x86_64/multiarch/init-arch.h
23861 (bit_Prefer_PMINUB_for_stringop): New.
23862 (index_Prefer_PMINUB_for_stringop): Likewise.
23863 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23864 bit_Prefer_PMINUB_for_stringop.
23866 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23868 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23870 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23871 of casting of buffer.
23872 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23873 buffer32 and buffer64.
23874 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23875 writes instead of casting of buffer.
23876 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23878 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23881 2011-07-19 Andreas Schwab <schwab@redhat.com>
23883 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23885 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23887 * nscd/nscd.c (termination_handler): Don't do anything for a database
23888 if it has not yet been initialized.
23890 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23892 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23894 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23896 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23898 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23900 * po/nl.po: Update from translation team.
23901 * po/sv.po: Likewise.
23903 2011-07-16 Roland McGrath <roland@hack.frob.com>
23905 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23906 now disallowed by GCC.
23908 * configure.in (use-default-link): Default to yes if a test -shared
23909 link meets our qualifications.
23910 * configure: Regenerated.
23912 * config.make.in (output-format): New variable.
23913 * configure.in: Check for ld --print-output-format support.
23914 * configure: Regenerated.
23915 * Makerules ($(common-objpfx)format.lds)
23916 [$(output-format) != unknown]: Just use $(output-format),
23917 instead of the linker-script munging.
23919 2011-07-14 Roland McGrath <roland@hack.frob.com>
23921 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23922 of $(common-objpfx)shlib.lds.
23923 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23925 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23926 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23928 * configure.in (-z relro check): Adjust test code to add a large
23929 writable data section after it.
23930 * configure: Regenerated.
23932 2011-07-11 Roland McGrath <roland@hack.frob.com>
23934 * configure.in (-z relro check): Fix test code to make the variable
23936 * configure: Regenerated.
23938 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23940 * nscd/nscd.h (struct traced_file): Define.
23941 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23942 elements. Add traced_files.
23943 (inotify_fd): Declare.
23944 (register_traced_file): Declare.
23945 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23946 (inotify_fd): Export.
23947 (resolv_conf_descr): Remove.
23948 (nscd_init): Move inotify descriptor creation to main.
23949 Don't register files for notification here.
23950 (register_traced_file): New function.
23951 (invalidate_cache): Don't use reset_res to determine whether to call
23952 res_init, go through the list of registered files.
23953 (main_loop_poll): The inotify descriptors are now stored in the
23954 structures for the traced files.
23955 (main_loop_epoll): Likewise
23956 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23957 to __nss_disable_nscd.
23958 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23959 for a database anymore. Check the records for all the registered
23961 * nss/Makefile (libnss_files-routines): Add files-init.
23962 (libnss_db-routines): Add db-init.
23963 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23964 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23965 * nss/nss_db/db-init.c: New file.
23966 * nss/nss_files/files-init.c: New file.
23967 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23968 __nss_lookup_function.
23969 (__nss_lookup_function): Call nss_load_library.
23970 (nss_load_all_libraries): New function.
23971 (__nss_disable_nscd): Take parameter with callback function for files
23972 to register. Set is_nscd. Load all the DSOs for the NSS modules
23973 used for the cached services.
23974 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23975 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23976 options for features to all the files in nscd.
23978 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23980 2011-07-10 Roland McGrath <roland@hack.frob.com>
23982 * csu/elf-init.c (__libc_csu_init): Comment typo.
23984 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23986 * po/pl.po: Update from translation team.
23987 * po/ja.po: Likewise.
23988 * po/ru.po: Likewise.
23989 * po/ko.po: Likewise.
23990 * po/fr.po: Likewise.
23992 2011-07-09 Roland McGrath <roland@hack.frob.com>
23994 * configure.in (.ctors/.dtors header and trailer check):
23995 Use an empirical test on a built program.
23996 * configure: Regenerated.
23998 * configure.in (-z relro check): Use an empirical test on a built DSO.
23999 Detect, but do not require, on ia64.
24000 * configure: Regenerated.
24002 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24003 Update tests that use readelf to use $READELF instead.
24004 * configure: Regenerated.
24006 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24008 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24009 if the result is not used.
24011 2011-07-05 Andreas Jaeger <aj@suse.de>
24014 * stdlib/tst-strtod.c: Add testcase.
24016 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24018 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24019 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24020 The latter has a higher limit. Take additional parameter to pass to
24022 (__pathconf): Pass file to __statfs_link_max.
24023 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24025 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24029 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24030 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24032 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24033 (__statfs_filesize_max): Likewise.
24034 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24036 2011-07-05 Andreas Jaeger <aj@suse.de>
24038 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24040 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24042 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24044 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24047 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24049 * Makefile (strop-tests): Add strncat.
24050 * string/test-strncat.c: New file.
24052 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24054 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24056 2011-06-21 Andreas Jaeger <aj@suse.de>
24058 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24059 Copy rule from iconvdata/Makefile.
24061 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24064 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24065 but no long options are defined, just return 'W'.
24067 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24070 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24072 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24074 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24076 (innetgr): Likewise.
24078 2011-07-05 Roland McGrath <roland@hack.frob.com>
24080 * config.make.in (install_root): Default to $(DESTDIR).
24082 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24084 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24086 2011-07-02 Roland McGrath <roland@hack.frob.com>
24088 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24090 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24091 containing directory rather than embedding absolute directory names.
24093 * scripts/check-local-headers.sh: Rewritten using awk.
24094 Match by word, not by line. Print error messages for matches.
24095 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24097 * Makerules [shlib-lds-flags empty]:
24098 ($(common-objpfx)libc_pic.opts): New target.
24099 ($(common-objpfx)libc_pic.os.clean): New target.
24100 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24102 * config.make.in (OBJCOPY): New variable.
24103 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24104 * configure: Regenerated.
24106 * config.make.in (use-default-link): New variable.
24107 * configure.in (use_default_link): Grok --with-default-link to set it.
24108 * configure: Regenerated.
24109 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24110 (shlib-lds, shlib-lds-flags): Define to empty.
24112 * Makerules (shlib-lds): New variable.
24113 (shlib-lds-flags): New variable.
24114 (build-shlib, build-moduile, build-module-asneeded): Use it.
24115 ($(common-objpfx)libc.so): Use $(shlib-lds).
24116 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24117 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24119 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24120 DT_FLAGS/DT_FLAGS_1 with zero flags.
24122 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24123 linker script munging.
24125 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24127 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24129 * crypt/sha512.c (sha512_process_block): Perform total addition using
24130 128-bit if possible.
24131 (__sha512_finish_ctx): Likewise.
24132 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24134 * crypt/sha256.c (SWAP64): Define.
24135 (sha256_process_block): Perform total addition using 64-bit if
24137 (__sha256_finish_ctx): Likewise.
24139 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24141 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24143 * nscd/hstcache.c (cache_addhst): Likewise.
24144 * nscd/grpcache.c (cache_addgr): Likewise.
24145 * nscd/aicache.c (addhstaiX): Likewise
24146 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24148 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24150 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24151 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24152 * nscd/hstcache.c (cache_addhst): Likewise.
24153 * nscd/grpcache.c (cache_addgr): Likewise.
24154 * nscd/aicache.c (addhstaiX): Likewise
24156 2011-07-01 Andreas Schwab <schwab@redhat.com>
24158 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24159 domain only when needed.
24161 2011-06-30 Andreas Schwab <schwab@redhat.com>
24163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24164 is always restored.
24166 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24168 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24169 are re-adding the entry.
24170 * nscd/servicescache.c (cache_addserv): Likewise.
24172 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24174 * sysdeps/generic/dl-irel.h: fix protection against multiple
24176 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24178 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24181 * malloc/memusage.sh: Fix quoting in message.
24182 * debug/xtrace.sh: Likewise.
24184 * configure.in: Remove support for --experimental-malloc option, make
24186 * config.make.in: Likewise.
24187 * malloc/Makefile: Likewise.
24189 2011-06-27 Andreas Schwab <schwab@redhat.com>
24191 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24192 two-byte characters.
24194 2011-06-27 Roland McGrath <roland@hack.frob.com>
24196 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24197 AC_CACHE_CHECK invocation.
24198 * configure: Regenerated.
24200 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24202 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24205 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24206 bit from old_res_options.
24208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24210 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24211 value type for setfct.
24213 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24216 __gettimeofday instead of gettimeofday.
24218 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24220 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24222 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24224 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24229 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24232 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24233 strcpy-sse2-unaligned strncpy-sse2-unaligned
24234 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24235 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24236 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24237 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24238 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24239 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24241 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24242 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24243 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24244 (STRCPY): Support SSE2 and SSSE3 versions.
24246 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24249 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24250 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24251 kernels which artificially limit size of requests.
24253 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24256 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24257 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24258 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24259 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24260 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24261 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24262 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24263 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24265 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24266 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24267 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24268 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24269 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24271 Enable unaligned load optimization for Intel Core i3, i5 and i7
24273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24275 (index_Fast_Unaligned_Load): Define.
24276 (HAS_FAST_UNALIGNED_LOAD): Define.
24278 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24280 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24282 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24286 until it is clear that the information is realy needed.
24287 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24289 2011-06-22 Andreas Schwab <schwab@redhat.com>
24291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24293 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24295 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24296 /sys/devices/system/cpu/online if it is usable.
24298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24299 reading the information from the /proc filesystem to once a second.
24301 2011-06-21 Andreas Jaeger <aj@suse.de>
24303 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24304 NULL after inclusion of kernel headers.
24306 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24308 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24309 calls to internal_setent.
24312 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24313 addresses using gethostbyname4_r ignore IPv4 addresses.
24315 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24316 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24318 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24320 2011-06-20 David S. Miller <davem@davemloft.net>
24322 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24324 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24326 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24327 (elf_irel): Use it.
24328 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24329 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24330 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24331 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24332 * sysdeps/x86_64/dl-irel.h: Likewise.
24334 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24335 * elf/dl-sym.c: Likewise.
24337 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24339 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24340 need to dereference resplen2.
24342 2011-06-14 Andreas Schwab <schwab@redhat.com>
24344 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24346 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24348 * Makeconfig: Define vardbdir and inst_vardbdir.
24349 * nss/Makefile: Add rules to install db-Makefile.
24351 * nss/nss_db/db-XXX.c: Cleanup.
24353 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24354 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24356 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24357 * nss/makedb.c: Implement -g option to specify that value strings
24358 are generated and should not be added to table iterated over for
24360 * nss/nss_db/db-initgroups.c: New file.
24362 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24365 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24366 (internal_getgrouplist): Adjust to name change.
24367 Update use_initgroups_entry if this is not the first call.
24368 * nss/databases.def: Add initgroups entry.
24370 * nss/makedb.c (compute_tables): Check result of multiple hash table
24371 sizes to minimize maximum chain length.
24373 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24375 * Versions.def: Add entry for libnss_db.
24376 * shlib-versions: Likewise.
24377 * nss/Makefile: Add rules to build libnss_db.
24378 * nss/Versions: Add libnss_db information. Organize libnss_files
24380 * nss/db-Makefile: Add gshadow support. Change rules for the new
24381 makedb progra. Some minor improvements to generate smaller files.
24382 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24384 * nss/makedb.c: ...here.
24385 Improve database format to be smaller and require less memory at
24387 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24389 * nss/nss_db/db-netgrp.c: Likewise.
24390 * nss/nss_db/db-open.c: Likewise.
24391 * nss/nss_files/flies-XXX.x: Adjust comments.
24392 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24393 * nss/nss_files/files-grp.c: Likewise.
24394 * nss/nss_files/files-hosts.c: Likewise.
24395 * nss/nss_files/files-network.c: Likewise.
24396 * nss/nss_files/files-proto.c: Likewise.
24397 * nss/nss_files/files-pwd.c: Likewise.
24398 * nss/nss_files/files-rpc.c: Likewise.
24399 * nss/nss_files/files-service.c: Likewise.
24400 * nss/nss_files/files-sgrp.c: Likewise.
24401 * nss/nss_files/files-spwd.c: Likewise.
24402 * nss/nss_db/db-alias.c: Removed.
24403 * nss/nss_db/dummy-db.h: Removed.
24405 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24407 * nss/makedb.c: Rewritten to not use database library.
24408 * nss/Makefile: Update to build new makedb program.
24410 2011-06-14 Andreas Jaeger <aj@suse.de>
24412 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24413 memset declaration.
24415 2011-06-10 Andreas Schwab <schwab@redhat.com>
24417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24420 2011-06-10 Roland McGrath <roland@hack.frob.com>
24422 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24423 * elf/Makefile ($(objpfx)ld.so): Likewise.
24425 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24426 Don't list ld.so twice in dependencies.
24428 * posix/bug-regex31.c: Include <stdlib.h>.
24430 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24432 * nis/nss_compat/compat-spwd.c
24433 (getspent_next_nss_netgr): Remove unused variable.
24434 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24436 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24437 nonmembers" output to use the right array.
24439 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24441 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24443 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24444 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24445 * catgets/gencat.c (read_input_file): Likewise.
24446 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24448 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24449 variable definition inside #if's controlling its use.
24451 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24453 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24455 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24457 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24460 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24462 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24463 * configure: Regenerated.
24465 * Makerules: Revert last change.
24466 * elf/Makefile: Likewise.
24468 2011-06-09 Roland McGrath <roland@hack.frob.com>
24470 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24471 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24472 (reloc-link): Likewise.
24474 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24476 * elf/Makefile: Add rules to build pldd.
24477 * elf/pldd.c: New file.
24478 * elf/pldd-xx.c: New file.
24480 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24482 * version.h: Update for 2.15 development version.
24484 2011-06-07 David S. Miller <davem@davemloft.net>
24486 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24488 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24489 elf_machine_lazy_rel): Likewise.
24490 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24492 elf_machine_lazy_rel): Likewise.
24493 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24494 dl_hwcap via passed in argument.
24495 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24498 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24500 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24502 2011-06-06 Roland McGrath <roland@hack.frob.com>
24505 * manual/fdl-1.1.texi: New file, verbatim from:
24506 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24507 * manual/lgpl-2.1.texi: New file, verbatim from:
24508 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24509 * manual/Makefile (licenses): New variable, list those new file names.
24511 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24513 * manual/fdl.texi: File removed.
24514 * manual/lesser.texi: File removed.
24515 * manual/libc.texinfo (Copying, Documentation License):
24516 Use new @include file names, put @appendix directive before @include.
24518 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24521 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24522 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24523 (mq_open): Add __NTH.
24525 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24528 Assume Intel Core i3/i5/i7 processor if AVX is available.
24530 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24535 2011-05-31 Andreas Schwab <schwab@redhat.com>
24537 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24538 memory. Use alloca_account. Fix memory leak when retrying.
24540 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24542 * version.h (RELEASE): Bump for 2.14 release.
24543 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24545 * config.make.in (RANLIB): Remove entry.
24547 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24549 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24550 (libc.pot): Work around missing support for .ksh extension in xgettext.
24553 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24554 if both request failed.
24555 (send_dg): In case of server errors clear resplen or *resplen2.
24558 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24559 when there are multiple maps.
24560 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24561 (_dl_fini): Remove test here.
24563 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24565 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24568 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24569 bit from old_res_options.
24570 (gaih_inet): Likewise.
24573 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24576 * resolv/res_init.c (res_setoptions): Make the code more compact.
24579 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24583 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24585 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24588 * malloc/malloc.h: Declare malloc hook variables as volatile.
24590 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24594 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24595 raise in the comment.
24596 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24597 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24598 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24600 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24603 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24604 grow the buffers more if it already has to be sufficient.
24605 (build_wcs_upper_buffer): Likewise.
24606 * posix/regexec.c (check_matching): Likewise.
24607 (clean_state_log_if_needed): Likewise.
24608 (extend_buffers): Don't enlarge buffers beyond size of the input
24610 Patches mostly by Emil Wojak <emil@wojak.eu>.
24611 * posix/bug-regex32.c: New file.
24612 * posix/Makefile (tests): Add bug-regex32.
24614 * locale/findlocale.c (_nl_find_locale): Return right away if
24615 _nl_explode_name failed.
24616 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24618 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24620 * debug/xtrace.sh: Unify messages.
24621 * malloc/memusage.sh: Likewise.
24624 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24625 time symbol from vDSO. Substitute with vsyscall if not available.
24626 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24629 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24630 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24631 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24632 Add sendmmsg and internal_sendmmsg.
24633 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24634 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24635 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24637 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24638 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24641 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24644 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24645 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24651 * iconvdata/Makefile (tests): Add bug-iconv9.
24652 * iconvdata/bug-iconv9.c: New file.
24654 2011-05-27 Andreas Schwab <schwab@redhat.com>
24657 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24659 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24662 (struct user_regs_struct): Change intcs field back to cs.
24664 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24666 * po/ja.po: Update from translation team.
24668 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24671 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24674 2011-05-20 Andreas Schwab <schwab@redhat.com>
24676 * stdlib/longlong.h: Update from GCC.
24678 2011-05-23 Andreas Schwab <schwab@redhat.com>
24680 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24682 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24683 Add parameter name.
24684 (__sysconf): Pass it down.
24686 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24689 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24691 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24692 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24693 add in in __libc_use_alloca calls. Adjust callers.
24694 (glob): Use malloc in some situations.
24696 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24697 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24700 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24702 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24703 and CLOCK_BOOTTIME_ALARM.
24706 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24709 * string/_strerror.c (__strerror_r): Print negative errors as signed
24713 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24714 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24715 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24717 * configure.in: Fix typo in redirection and correct removal of test
24718 files in two cases.
24721 * locale/setlocale.c (new_composite_name): Fix test to check for
24722 identical name of all categories.
24725 * libio/filedoalloc.c (local_isatty): New function.
24726 (_IO_file_doallocate): Use local_isatty.
24727 * stdio-common/perror.c (perror): In case a new stream is used
24728 forward the stream error.
24729 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24732 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24737 * include/alloca.h (extend_alloca_account): Define.
24740 * posix/regex.h: Fix comments with documentation of user-accessible
24741 fields after compilation and describe correct free'ing of pattern
24742 after re_compile_pattern.
24743 Patch by Reuben Thomas <rrt@sc3d.org>.
24745 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24747 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24748 and -mno-altivec to prevent the compiler from using Altivec and/or
24749 VSX instructions when the corresponding registers are not available.
24751 2011-05-19 Andreas Schwab <schwab@redhat.com>
24753 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24755 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24757 * libio/freopen.c (freopen): Use __dup2, not dup2.
24758 * libio/freopen64.c (freopen64): Likewise.
24760 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24763 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24764 * math/Makefile (tests): Add test-powl.
24765 (CFLAGS-test-powl.c): Define.
24766 * math/test-powl.c: New file.
24768 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24770 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24772 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24775 * iconvdata/gb18030.c: Update to GB18020-2005.
24777 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24779 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24780 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24781 Patch by Aharon Robbins <arnold@skeeve.com>.
24784 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24788 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24789 through underflows.
24792 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24793 point to strings before performing equality test for error_one_per_line
24797 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24801 (struct user_fpregs_struct): Avoid __uint*_t types.
24804 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24805 symbol info. Use it instead of calling _dl_addr locally.
24806 (lock_and_info): New function.
24807 (tr_freehook): Call lock_and_info and pass symbol info as additional
24808 parameter to tr_where.
24809 (tr_mallochook): Likewise.
24810 (tr_reallochook): Likewise.
24811 (tr_memalignhook): Likewise.
24813 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24814 used and couldn't be at all thread-safe.
24816 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24818 * libio/freopen.c (freopen): Don't close old file descriptor
24819 before the new one is opened. Instead dup the new file descriptor
24820 to the old one after the new stream is created.
24821 * libio/freopen64.c (freopen64): Likewise.
24822 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24823 * libio/fileops.c (_IO_new_file_close_it): Handle new
24824 _IO_FLAGS2_NOCLOSE flag.
24825 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24826 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24827 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24828 _IO_FLAGS2_NOCLOSE flag.
24829 * include/unistd.h: Add hidden_proto for dup3.
24830 Define __have_dup3.
24831 * io/dup3.c: Define hidden symbol.
24832 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24835 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24836 when an incomplete long option is used.
24837 * posix/tst-getopt_long1.c: New file.
24838 * posix/Makefile (tests): Add tst-getopt_long1.
24841 * scripts/config.guess: Update from autoconf-2.68.
24842 * scripts/config.sub: Likewise.
24845 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24847 (has_cpuclock): ...this. New function.
24848 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24849 macro here based on has_cpuclock code.
24852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24853 First byte (not low byte) is now always NUL.
24854 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24856 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24857 Use non-cancelable interfaces.
24860 * locale/iso-639.def: Add entry for Sorani.
24863 * include/stdlib.h: Move include protection to the right place.
24864 Define abort_msg_s. Declare __abort_msg with it.
24865 * stdlib/abort.c (__abort_msg): Adjust type.
24866 * assert/assert.c (__assert_fail_base): New function. Majority
24867 of code from __assert_fail. Allocate memory for __abort_msg with
24869 (__assert_fail): Now call __assert_fail_base.
24870 * assert/assert-perr.c: Remove bulk of implementation. Use
24871 __assert_fail_base.
24872 * include/assert.hL Declare __assert_fail_base.
24873 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24875 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24877 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24881 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24882 until all modules are registered in the DTV.
24883 * elf/Makefile: Add rules to build and run tst-tls19.
24884 * elf/tst-tls19.c: New file.
24885 * elf/tst-tls19mod1.c: New file.
24886 * elf/tst-tls19mod2.c: New file.
24887 * elf/tst-tls19mod3.c: New file.
24888 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24891 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24895 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24896 two-byte sequence errors.
24897 * iconvdata/Makefile (tests): Add bug-iconv8.
24898 * iconvdata/bug-iconv8.c: New file.
24901 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24904 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24907 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24908 (dummy_getcfa): New function.
24909 (init): Get _Unwind_GetCFA address, use dummy if not found.
24910 (backtrace_helper): In recursion check, also check whether CFA changes.
24911 (__backtrace): Completely initialize arg.
24913 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24914 storing incomplete byte sequence in state object. Avoid testing for
24915 guaranteed too small input if we know there is enough data available.
24917 2011-05-11 Andreas Schwab <schwab@redhat.com>
24919 * Makeconfig (+link-pie): Indent.
24920 * Rules (binaries-pie): Define if $(have-fpie) and
24922 (binaries-shared): Also filter out $(binaries-pie).
24923 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24924 * nscd/Makefile (others-pie): Add nscd.
24925 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24926 ($(objpfx)nscd): Remove command override.
24927 * login/Makefile (others-pie): Add pt_chown.
24928 ($(objpfx)pt_chown): Remove command override.
24929 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24930 remove command overrides.
24932 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24934 * libio/tst_putwc.c: Fix error messages.
24937 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24938 currently writing and seek to current position when not.
24939 * libio/Makefile (tests): Add bug-fclose1.
24940 * libio/bug-fclose1.c: New file.
24942 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24945 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24946 don't set DF_1_NODELETE here.
24947 (do_lookup_x): When entering new entry test for copy relocation
24948 and if necessary set DF_1_NODELETE flag.
24949 * elf/tst-unique4.cc: New file.
24950 * elf/tst-unique4.h: New file.
24951 * elf/tst-unique4lib.cc: New file.
24952 * elf/Makefile: Add rules to build and run tst-unique4.
24953 Patch by Piotr Bury <pbury@goahead.com>.
24955 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24958 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24961 * misc/mntent_r.c (addmntent): Flush the stream after the output
24964 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24965 (is_trusted_path_normalize): Skip initial colon. Append slash
24966 to empty buffer. Duplicate is_trusted_path code but allow
24967 constructed patch to be prefix.
24968 (is_dst): Allow $ORIGIN followed by /.
24969 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24970 Correct testing of result of is_trusted_path_normalize
24971 (decompose_rpath): Fix warning.
24973 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24976 * grp/initgroups.c (internal_getgrouplist): When we found the service
24977 list through the initgroups entry in nsswitch.conf do not always
24978 continue on a successful lookup. Don't always use the
24979 __nss_group_database value if it is set.
24980 * nss/nsswitch.conf (initgroups): Change action for successful db
24981 lookup to continue for compatibility.
24983 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24986 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24988 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24990 * iconvdata/tst-tables.sh: Likewise.
24991 * iconvdata/cp770.c: New file.
24992 * iconvdata/cp771.c: New file.
24993 * iconvdata/cp772.c: New file.
24994 * iconvdata/cp773.c: New file.
24995 * iconvdata/cp774.c: New file.
24996 * iconvdata/testdata/CP770: New file.
24997 * iconvdata/testdata/CP770..UTF8: New file.
24998 * iconvdata/testdata/CP771: New file.
24999 * iconvdata/testdata/CP771..UTF8: New file.
25000 * iconvdata/testdata/CP772: New file.
25001 * iconvdata/testdata/CP772..UTF8: New file.
25002 * iconvdata/testdata/CP773: New file.
25003 * iconvdata/testdata/CP773..UTF8: New file.
25004 * iconvdata/testdata/CP774: New file.
25005 * iconvdata/testdata/CP774..UTF8: New file.
25007 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25009 * iconvdata/gen-8bit-gap.sh: Likewise.
25010 * iconvdata/gen-8bit.sh: Likewise.
25012 * locale/iso-639.def: Add ary entry.
25015 * locale/C-translit.h.in: Add U20A1 transliteration.
25018 * locale/iso-639.def: Add wae entry.
25019 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25022 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25026 * locale/C-translit.h.in: Add entry for U20B9.
25027 Patch by pravin.d.s@gmail.com.
25029 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25032 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25033 ENAMETOOLONG use generic getcwd.
25034 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25035 in rtld. Use *stat64.
25036 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25037 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25038 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25039 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25040 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25041 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25042 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25043 __fstatat64 macros.
25044 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25045 * dirent/rewinddir.c: Add libc_hidden_def.
25046 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25047 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25049 * include/dirent.h (__alloc_dir): Add flags parameter.
25050 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25051 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25053 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25054 from fdopendir if O_CLOEXEC is already set.
25056 2011-03-15 Alan Modra <amodra@gmail.com>
25058 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25059 l_tls_firstbyte_offset non-zero. Save padding offset in
25060 l_tls_firstbyte_offset for later use.
25061 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25062 freeing static tls block.
25064 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25066 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25067 where #ifdef was intended. The intent is to prevent ARG_MAX from
25068 being defined by the kernel headers.
25070 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25073 * resolv/resolv.h: Define RES_NOTLDQUERY.
25074 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25075 no-tld-query and set RES_NOTLDQUERY.
25076 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25077 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25078 modern BIND to search name as TLD unless forbidden.
25080 2011-05-07 Petr Baudis <pasky@suse.cz>
25081 Ulrich Drepper <drepper@gmail.com>
25084 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25085 (is_trusted_path): ...to here.
25086 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25087 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25088 using is_trusted_path_normalize() in setuid scripts.
25090 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25092 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25093 __BEGIN/__END_DECLS.
25095 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25098 NSS_STATUS_NOTFOUND if no record was found.
25100 2011-05-05 Andreas Schwab <schwab@redhat.com>
25102 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25103 (headers-not-in-tirpc): Remove rpc/netdb.h
25104 * resolv/netdb.h: Revert last change.
25106 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25108 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25109 circular dependency between libgcc.a and libc.a.
25111 2011-05-05 Andreas Schwab <schwab@redhat.com>
25113 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25114 * nis/Makefile: Don't install rpcsvc/*.
25115 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25116 instead of <rpc/types.h>.
25117 (MAXHOSTNAMELEN): Define.
25119 2011-05-03 Andreas Schwab <schwab@redhat.com>
25121 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25123 2011-04-28 Maciej Babinski <mbabinski@google.com>
25126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25127 gethostbyname4_r when IPv6 results are possible.
25129 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25132 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25133 _PC_PIPE_BUF handling.
25135 2011-04-30 Bruno Haible <bruno@clisp.org>
25138 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25139 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25141 * inet/getnameinfo.c (getnameinfo): Likewise.
25143 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25145 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25146 to groups setting in database lookup.
25147 * nss/nsswitch.conf: Add initgroups entry.
25149 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25152 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25154 Patch by Eric Blake <eblake@redhat.com>.
25156 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25158 * sunrpc/Makefile (need-export-routines): Add svc_run.
25159 (routines): Remove svc_run.
25160 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25161 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25162 * sunrpc/svc_run.c (svc_run): Likewise.
25163 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25165 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25167 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25168 problem in reallocation in last patch.
25170 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25172 * sunrpc/Makefile: Move inclusion of Rules.
25174 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25176 * nss/nss_files/files-initgroups.c: New file.
25177 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25178 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25179 _nss_files_initgroups_dyn.
25181 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25183 * elf/elf.h (R_ARM_IRELATIVE): Define.
25185 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25187 * po/ru.po: Update from translation team.
25189 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25191 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25194 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25197 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25198 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25199 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25200 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25201 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25203 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25205 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25207 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25209 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25211 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25214 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25216 * stdlib/bug-getcontext.c: New file.
25217 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25219 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25221 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25222 instructions into .machine "z9-109".
25223 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25224 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25226 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25228 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25229 between environment variables and auxiliary vector.
25231 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25233 * Makefile: Add rules to build linkobj/libc.so.
25234 * include/libc-symbols.h: Define libc_hidden_nolink.
25235 * include/rpc/auth.h: Mark functions which are to be hidden.
25236 * include/rpc/auth_des.h: Likewise.
25237 * include/rpc/auth_unix.h: Likewise.
25238 * include/rpc/clnt.h: Likewise.
25239 * include/rpc/des_crypt.h: Likewise.
25240 * include/rpc/key_prot.h: Likewise.
25241 * include/rpc/pmap_clnt.h: Likewise.
25242 * include/rpc/pmap_prot.h: Likewise.
25243 * include/rpc/pmap_rmt.h: Likewise.
25244 * include/rpc/rpc_msg.h: Likewise.
25245 * include/rpc/svc.h: Likewise.
25246 * include/rpc/svc_auth.h: Likewise.
25247 * include/rpc/xdr.h: Likewise.
25248 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25249 * nss/Makefile: Likewise.
25250 * sunrpc/Makefile: Don't install headers. Build library with normal
25251 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25252 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25253 for the compat linking library. Remove use of INTDEF/INTUSE.
25254 * sunrpc/auth_none.c: Likewise.
25255 * sunrpc/auth_unix.c: Likewise.
25256 * sunrpc/authdes_prot.c: Likewise.
25257 * sunrpc/authuxprot.c: Likewise.
25258 * sunrpc/clnt_gen.c: Likewise.
25259 * sunrpc/clnt_perr.c: Likewise.
25260 * sunrpc/clnt_raw.c: Likewise.
25261 * sunrpc/clnt_simp.c: Likewise.
25262 * sunrpc/clnt_tcp.c: Likewise.
25263 * sunrpc/clnt_udp.c: Likewise.
25264 * sunrpc/clnt_unix.c: Likewise.
25265 * sunrpc/des_crypt.c: Likewise.
25266 * sunrpc/des_soft.c: Likewise.
25267 * sunrpc/get_myaddr.c: Likewise.
25268 * sunrpc/key_call.c: Likewise.
25269 * sunrpc/key_prot.c: Likewise.
25270 * sunrpc/netname.c: Likewise.
25271 * sunrpc/pm_getmaps.c: Likewise.
25272 * sunrpc/pm_getport.c: Likewise.
25273 * sunrpc/pmap_clnt.c: Likewise.
25274 * sunrpc/pmap_prot.c: Likewise.
25275 * sunrpc/pmap_prot2.c: Likewise.
25276 * sunrpc/pmap_rmt.c: Likewise.
25277 * sunrpc/publickey.c: Likewise.
25278 * sunrpc/rpc_cmsg.c: Likewise.
25279 * sunrpc/rpc_common.c: Likewise.
25280 * sunrpc/rpc_dtable.c: Likewise.
25281 * sunrpc/rpc_prot.c: Likewise.
25282 * sunrpc/rpc_thread.c: Likewise.
25283 * sunrpc/rtime.c: Likewise.
25284 * sunrpc/svc.c: Likewise.
25285 * sunrpc/svc_auth.c: Likewise.
25286 * sunrpc/svc_authux.c: Likewise.
25287 * sunrpc/svc_raw.c: Likewise.
25288 * sunrpc/svc_run.c: Likewise.
25289 * sunrpc/svc_simple.c: Likewise.
25290 * sunrpc/svc_tcp.c: Likewise.
25291 * sunrpc/svc_udp.c: Likewise.
25292 * sunrpc/svc_unix.c: Likewise.
25293 * sunrpc/svcauth_des.c: Likewise.
25294 * sunrpc/xcrypt.c: Likewise.
25295 * sunrpc/xdr.c: Likewise.
25296 * sunrpc/xdr_array.c: Likewise.
25297 * sunrpc/xdr_float.c: Likewise.
25298 * sunrpc/xdr_intXX_t.c: Likewise.
25299 * sunrpc/xdr_mem.c: Likewise.
25300 * sunrpc/xdr_rec.c: Likewise.
25301 * sunrpc/xdr_ref.c: Likewise.
25302 * sunrpc/xdr_sizeof.c: Likewise.
25303 * sunrpc/xdr_stdio.c: Likewise.
25305 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25308 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25309 * sysdeps/ia64/dl-tls.h: Likewise.
25310 * sysdeps/powerpc/dl-tls.h: Likewise.
25311 * sysdeps/s390/dl-tls.h: Likewise.
25312 * sysdeps/sh/dl-tls.h: Likewise.
25313 * sysdeps/sparc/dl-tls.h: Likewise.
25314 * sysdeps/x86_64/dl-tls.h: Likewise.
25315 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25317 2011-03-14 Andreas Schwab <schwab@redhat.com>
25319 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25320 rpath element also skip the following colon.
25321 (expand_dynamic_string_token): Add is_path parameter and pass
25322 down to DL_DST_REQUIRED and _dl_dst_substitute.
25323 (decompose_rpath): Call expand_dynamic_string_token with
25324 non-zero is_path. Ignore empty rpaths.
25325 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25328 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25333 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25336 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25337 Patch by Filipe David Manana <fdmanana@apache.org>.
25339 2011-04-07 Andreas Schwab <schwab@redhat.com>
25341 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25342 Maintain aligned stack.
25343 (CHECK_RSP): Remove unused macro.
25345 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25347 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25348 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25350 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25352 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25354 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25356 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25359 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25360 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25361 * sysdeps/x86_64/memmove.c: New file.
25362 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25363 (memcpy): Renamed to ...
25364 (__new_memcpy): This.
25365 (memcpy): Provide GLIBC_2_14 memcpy.
25366 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25367 (memcpy): Provide GLIBC_2_2_5 memcpy.
25369 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25372 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25374 2011-03-30 Andreas Schwab <schwab@redhat.com>
25376 * misc/syncfs.c: New file.
25377 * misc/Makefile (routines): Add syncfs.
25378 * posix/unistd.h: Declare syncfs.
25379 * sysdeps/unix/syscalls.list: Add syncfs.
25381 2011-04-01 Andreas Schwab <schwab@redhat.com>
25383 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25385 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25386 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25388 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25390 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25393 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25396 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25397 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25403 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25404 sync_file_range.c with -fexceptions.
25405 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25406 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25407 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25408 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25409 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25410 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25412 sync_file_range as cancellation point
25413 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25414 now a wrapper around __call_sync_file_range with cancellation handling.
25415 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25416 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25417 function name to __call_sync_file_range.
25418 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25419 Add call_sync_file_range.
25421 2011-04-01 Andreas Schwab <schwab@redhat.com>
25423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25426 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25428 * iconv/iconv.h: Fix typo in comment.
25429 * io/fcntl.h: Likewise.
25430 * libio/stdio.h: Likewise.
25431 * posix/spawn.h: Likewise.
25432 * posix/unistd.h: Likewise.
25433 * stdlib/stdlib.h: Likewise.
25434 * time/time.h: Likewise.
25435 * wcsmbs/wchar.h: Likewise.
25437 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25438 open_by_handle): Add.
25439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25440 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25441 Augment a few comments.
25442 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25444 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25447 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25450 * io/fcntl.h (AT_EMPTY_PATH): Define.
25452 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25454 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25455 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25456 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25458 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25459 * Versions.def: Add GLIBC_2.14.
25460 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25463 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25465 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25467 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25469 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25472 * string/test-strncmp.c (do_page_test): New function.
25473 (check2): Likewise.
25474 (test_main): Call check2.
25475 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25477 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25480 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25481 Handle cache information in CPU leaf 4.
25482 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25484 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25487 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25488 character representation.
25489 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25491 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25493 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25494 END(__isnan) to END(__isnanf) to match function entry point/label
25495 EALIGN(__isnanf,...).
25497 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25499 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25501 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25504 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25505 copy from the symbol referenced in the relocation to initialize the
25507 Patch by Piotr Bury <pbury@goahead.com>.
25508 * elf/Makefile: Add rules to build and tst-unique3.
25509 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25510 * elf/tst-unique3.cc: New file.
25511 * elf/tst-unique3.h: New file.
25512 * elf/tst-unique3lib.cc: New file.
25513 * elf/tst-unique3lib2.cc: New file.
25515 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25517 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25519 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25520 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25523 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25525 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25526 to-be-loaded object along a path to loader is ld.so.
25528 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25529 Ulrich Drepper <drepper@gmail.com>
25531 * sysdeps/x86_64/memset.S: After aligning destination, code
25532 branches to different locations depending on the value of
25533 misalignment, when multiarch is enabled. Fix this.
25535 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25537 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25538 Set _x86_64_preferred_memory_instruction for AMD processsors.
25539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25540 Set bit_Prefer_SSE_for_memop for AMD processors.
25542 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25544 * libio/fmemopen.c (fmemopen): Optimize a bit.
25546 2011-03-03 Andreas Schwab <schwab@redhat.com>
25548 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25550 2011-03-03 Roland McGrath <roland@redhat.com>
25552 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25554 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25556 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25557 __bzero_ultra1 instead of __memset_ultra1.
25559 2011-02-23 Andreas Schwab <schwab@redhat.com>
25560 Ulrich Drepper <drepper@gmail.com>
25563 * include/link.h (struct link_map): Add l_orig_initfini.
25564 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25565 returning unsuccessfully.
25566 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25567 close of a file loaded at startup, restore the original l_initfini
25569 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25570 list, store the pointer.
25571 * elf/Makefile ($(objpfx)noload-mem): New rule.
25572 (noload-ENV): Define.
25573 (tests): Add $(objpfx)noload-mem.
25574 * elf/noload.c: Include <memcheck.h>.
25575 (main): Call mtrace. Close all opened handles.
25577 2011-02-17 Andreas Schwab <schwab@redhat.com>
25580 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25581 dependencies are missing.
25583 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25585 Fix __if_freereq crash: Unlike the generic version which uses free,
25587 * sysdeps/mach/hurd/ifreq.h: New file.
25589 2011-01-27 Petr Baudis <pasky@suse.cz>
25590 Ulrich Drepper <drepper@gmail.com>
25593 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25594 to extend_alloca().
25595 * stdio-common/bug23.c: New file.
25596 * stdio-common/Makefile (tests): Add bug23.
25598 2010-09-28 Andreas Schwab <schwab@redhat.com>
25599 Ulrich Drepper <drepper@gmail.com>
25602 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25603 before performing relro protection. At old place add assertion
25604 to make sure nothing changed.
25606 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25607 Glauber de Oliveira Costa <glommer@gmail.com>
25609 * elf/elf.h: Add new ARM TLS relocs.
25611 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25614 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25616 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25618 * sysdeps/wordsize-64/tst-writev.c: New file.
25620 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25622 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25623 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25624 insns in _dl_start to prevent a TOC reference before relocs are
25627 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25630 * Makeconfig: Remove RANLIB definition.
25631 * Makerules: Don't use RANLIB.
25632 * aclocal.m4: Remove ranlib test.
25633 * configure.in: No need to check for ranlib.
25634 * elf/rtld-Rules: Don't use RANLIB.
25636 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25638 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25640 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25641 inclusion protection macro.
25643 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25644 SIGRTMIN and SIGRTMAX and print information in that case only when
25645 SIGRTMIN is defined.
25647 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25649 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25650 arginfo fn returning -1.
25652 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25653 and thousands string is zero terminated.
25655 2011-02-03 Andreas Schwab <schwab@redhat.com>
25657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25658 sysdeps/unix/sysv/linux/bits/socket.h.
25660 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25662 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25663 (__CPU_COUNT): Remove old macros.
25664 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25665 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25666 (__CPU_ALLOC, __CPU_FREE): Add macros.
25667 (__sched_cpualloc, __sched_cpufree): Add declarations.
25669 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25671 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25672 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25673 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25674 (readdhstai): Return value of addhstaiX call.
25675 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25676 (addgrbyX): Return value returned by cache_addgr.
25677 (readdgrbyname): Return value returned by addgrbyX.
25678 (readdgrbygid): Likewise.
25679 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25680 (addpwbyX): Return value returned by cache_addpw.
25681 (readdpwbyname): Return value returned by addhstbyX.
25682 (readdpwbyuid): Likewise.
25683 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25684 (addservbyX): Return value returned by cache_addserv.
25685 (readdservbyname): Return value returned by addservbyX:
25686 (readdservbyport): Likewise.
25687 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25688 (addhstbyX): Return value returned by cache_addhst.
25689 (readdhstbyname): Return value returned by addhstbyX.
25690 (readdhstbyaddr): Likewise.
25691 (readdhstbynamev6): Likewise.
25692 (readdhstbyaddrv6): Likewise.
25693 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25694 (readdinitgroups): Return value returned by addinitgroupsX.
25695 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25696 (prune_cache): Keep track of timeout value of re-added entries.
25697 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25698 * nscd/nscd.h: Adjust prototypes of readd* functions.
25700 2011-02-04 Roland McGrath <roland@redhat.com>
25702 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25703 (nis_stats): Likewise.
25704 * nis/nis_modify.c (nis_modify): Likewise.
25705 * nis/nis_remove.c (nis_remove): Likewise.
25706 * nis/nis_add.c (nis_add): Likewise.
25708 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25710 * posix/fnmatch_loop.c: Add some consts.
25712 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25714 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25717 * config.make.in (config-cflags-novzeroupper): Define.
25718 * configure.in: Substitute libc_cv_cc_novzeroupper.
25719 * elf/Makefile (AVX-CFLAGS): Define.
25720 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25721 (CFLAGS-tst-auditmod4a.c): Likewise.
25722 (CFLAGS-tst-auditmod4b.c): Likewise.
25723 (CFLAGS-tst-auditmod6b.c): Likewise.
25724 (CFLAGS-tst-auditmod6c.c): Likewise.
25725 (CFLAGS-tst-auditmod7b.c): Likewise.
25726 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25728 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25730 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25731 function to the callback.
25732 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25734 2011-02-02 Andreas Schwab <schwab@redhat.com>
25736 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25739 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25742 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25744 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25746 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25749 * elf/Makefile: Add rules to build and run new test.
25750 * elf/tst-initorder.c: New file.
25751 * elf/tst-initorder.exp: New file.
25752 * elf/tst-initordera1.c: New file.
25753 * elf/tst-initordera2.c: New file.
25754 * elf/tst-initordera3.c: New file.
25755 * elf/tst-initordera4.c: New file.
25756 * elf/tst-initorderb1.c: New file.
25757 * elf/tst-initorderb2.c: New file.
25758 * elf/tst-order-a1.c: New file.
25759 * elf/tst-order-a2.c: New file.
25760 * elf/tst-order-a3.c: New file.
25761 * elf/tst-order-a4.c: New file.
25762 * elf/tst-order-b1.c: New file.
25763 * elf/tst-order-b2.c: New file.
25764 * elf/tst-order-main.c: New file.
25765 New test case by George Gensure <werkt0@gmail.com>.
25767 2010-10-01 Andreas Schwab <schwab@redhat.com>
25769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25770 decoding ACE if AI_CANONIDN.
25772 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25774 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25776 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25778 * version.h (RELEASE): Bump for 2.13 release.
25779 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25781 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25783 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25785 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25786 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25788 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25790 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25792 * posix/getconf.c: Update copyright year.
25793 * catgets/gencat.c: Likewise.
25794 * csu/version.c: Likewise.
25795 * debug/catchsegv.sh: Likewise.
25796 * debug/xtrace.sh: Likewise.
25797 * elf/ldconfig.c: Likewise.
25798 * elf/ldd.bash.in: Likewise.
25799 * elf/sprof.c (print_version): Likewise.
25800 * iconv/iconv_prog.c: Likewise.
25801 * iconv/iconvconfig.c: Likewise.
25802 * locale/programs/locale.c: Likewise.
25803 * locale/programs/localedef.c: Likewise.
25804 * malloc/memusage.sh: Likewise.
25805 * malloc/mtrace.pl: Likewise.
25806 * nscd/nscd.c (print_version): Likewise.
25807 * nss/getent.c: Likewise.
25809 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25810 PF_CAIF, and PF_ALG.
25811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25813 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25815 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25816 (modules-names): Use them.
25817 (ifunc-test-modules, ifunc-pie-tests): Define.
25818 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25819 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25820 (test-extras): Likewise.
25821 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25822 $(compile-command.c).
25823 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25824 (all-built-dso): Define.
25825 (check-textrel.out, check-execstack.out): Depend on it.
25827 * configure.in: Don't override --enable-multi-arch.
25829 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25832 * nscd/hstcache.c (tryagain): Define.
25833 (cache_addhst): Return tryagain not notfound for temporary errors.
25834 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25837 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25840 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25841 to make the syscall.
25842 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25845 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25846 and fall back to matching as normal character if the string ends before
25847 the matching ']' is found. This is what POSIX requires.
25848 * posix/testfnm.c: Adjust test result.
25849 * posix/globtest.sh: Adjust test result. Add new test.
25850 * posix/tst-fnmatch.input: Likewise.
25851 * posix/tst-fnmatch2.c: Add new test.
25853 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25855 * elf/Makefile (check-execstack): Revert last change. Depend on
25857 (check-execstack.h): New target.
25858 (generated): Add check-execstack.h.
25859 * elf/check-execstack.c: Include "check-execstack.h".
25860 (main): Revert last change.
25861 (handle_file): Return zero if GNU_STACK is absent and
25862 DEFAULT_STACK_PERMS doesn't include PF_X.
25864 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25866 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25867 in child fails because the descriptor is already closed.
25868 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25869 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25870 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25873 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25877 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25878 temporary buffer used to handle multi lookups locally.
25879 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25881 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25883 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25886 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25888 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25889 alignment for SSE2.
25891 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25894 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25895 characters. When rounding increased number of integer digits recompute
25897 * stdio-common/tst-grouping.c: New file.
25898 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25900 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25902 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25903 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25905 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25907 * bits/select.h: Likewise.
25909 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25911 * po/ja.po: Update from translation team.
25913 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25916 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25917 implementation just like for lxstat, fxstatat, et al.
25919 2010-12-27 Jim Meyering <meyering@redhat.com>
25922 * posix/regexec.c (build_trtable): Return failure indication upon
25923 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25925 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25928 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25929 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25930 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25931 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25934 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25937 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25938 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25940 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25942 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25943 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25944 script has SORT_BY_INIT_PRIORITY.
25945 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25946 NO_CTORS_DTORS_SECTIONS is defined.
25947 * elf/soinit.c: Likewise.
25948 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25949 NO_CTORS_DTORS_SECTIONS is defined.
25950 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25951 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25952 * sysdeps/sh/init-first.c: Likewise.
25953 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25955 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25957 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25958 always use the slow path.
25960 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25962 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25963 similar rule which adds the sysdep directories to the header search in
25964 order to pick up the correct platform stackinfo.h.
25965 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25966 perform test if it is, otherwise return successfully without testing.
25967 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25968 DEFAULT_STACK_PERMS define in stackinfo.h.
25969 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25970 defined in stackinfo.h.
25971 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25972 DEFAULT_STACK_PERMS defined in stackinfo.h.
25973 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25974 * sysdeps/ia64/stackinfo.h: Likewise.
25975 * sysdeps/s390/stackinfo.h: Likewise.
25976 * sysdeps/sh/stackinfo.h: Likewise.
25977 * sysdeps/sparc/stackinfo.h: Likewise.
25978 * sysdeps/x86_64/stackinfo.h: Likewise.
25979 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25980 PF_X for powerpc64. Retain PF_X for powerpc32.
25982 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25984 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25986 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25987 GETDENTS_64BIT_ALIGNED.
25989 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25991 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25993 2010-12-10 Andreas Schwab <schwab@redhat.com>
25995 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25998 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25999 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26001 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26002 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26004 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26007 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26010 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26012 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26014 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26016 * po/it.po: Update from translation team.
26018 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26023 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26025 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26027 2010-11-24 Andreas Schwab <schwab@redhat.com>
26029 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26031 (gaih_getanswer_slice): Likewise.
26033 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26037 2010-05-31 Petr Baudis <pasky@suse.cz>
26040 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26041 silently even in the chroot mode.
26043 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26045 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26046 last patch a bit. Pretty printing
26048 2010-05-31 Petr Baudis <pasky@suse.cz>
26051 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26052 initialization of skip_initgroups_dyn.
26054 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26056 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26057 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26059 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26061 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26063 2010-11-11 Andreas Schwab <schwab@redhat.com>
26065 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26066 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26067 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26068 ($(objpfx)tst-fnmatch-mem): New rule.
26069 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26070 * posix/tst-fnmatch.c (main): Call mtrace.
26072 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26075 Support Intel processor model 6 and model 0x2c.
26077 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26082 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26085 * string/test-strncasecmp.c (check_result): New function.
26086 (do_one_test): Use it.
26087 (check1): New function.
26088 (test_main): Use it.
26089 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26090 Support strcasecmp and strncasecmp.
26092 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26095 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26098 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26100 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26104 * sysdeps/x86_64/multiarch/bzero.S: New file.
26105 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26106 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26107 * sysdeps/x86_64/multiarch/memset.S: New file.
26108 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26110 Set bit_Prefer_SSE_for_memop for Intel processors.
26111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26113 (index_Prefer_SSE_for_memop): Define.
26114 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26116 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26118 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26119 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26121 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26124 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26125 (__x86_64_raw_data_cache_size_half): Likewise.
26126 (__x86_64_raw_shared_cache_size): Likewise.
26127 (__x86_64_raw_shared_cache_size_half): Likewise.
26129 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26130 (__x86_64_raw_data_cache_size_half): Likewise.
26131 (__x86_64_raw_shared_cache_size): Likewise.
26132 (__x86_64_raw_shared_cache_size_half): Likewise.
26133 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26134 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26135 and __x86_64_raw_shared_cache_size_half. Round
26136 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26137 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26138 to multiple of 256 bytes.
26140 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26143 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26144 of inacessible symlinks. Verify result of symlink before returning it.
26145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26146 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26148 2010-10-28 Erich Ritz <erichritz@gmail.com>
26150 * math/math.h (isinf): Fix typo in comment.
26152 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26154 * po/da.po: Update from translation team.
26156 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26158 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26159 is added to the list.
26161 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26162 Ulrich Drepper <drepper@gmail.com>
26164 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26165 the global list here. Move code to...
26166 (_dl_add_to_namespace_list): ...here. New function.
26167 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26168 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26169 * elf/dl-load.c (lose): Don't remove the element from the list.
26170 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26171 (_dl_map_object): Likewise.
26173 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26176 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26177 into all bytes of SSE register.
26178 Patch by Richard Li <richardpku@gmail.com>.
26180 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26183 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26186 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26188 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26189 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26190 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26191 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26196 2010-10-22 Andreas Schwab <schwab@redhat.com>
26198 * include/dlfcn.h (__RTLD_SECURE): Define.
26199 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26200 mode & __RTLD_SECURE instead.
26201 (open_path): Rename preloaded parameter to secure.
26202 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26203 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26204 * elf/dl-deps.c (openaux): Likewise.
26205 * elf/rtld.c (struct map_args): Remove is_preloaded.
26206 (map_doit): Don't use it.
26207 (dl_main): Likewise.
26208 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26209 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26211 2010-09-09 Andreas Schwab <schwab@redhat.com>
26213 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26214 (sysd-rules-targets): Remove duplicates.
26215 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26216 rtld-%.$o dependency.
26218 2010-10-18 Andreas Schwab <schwab@redhat.com>
26220 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26221 _dl_map_object do it.
26223 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26225 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26226 fast fma builtins, define the macros in the C99 standard.
26227 (FP_FAST_FMAF): Likewise.
26228 (FP_FAST_FMAL): Likewise.
26229 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26231 * bits/mathdef.h: Update copyright year.
26232 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26234 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26236 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26237 builtins, define the macros in the C99 standard.
26238 (FP_FAST_FMAF): Likewise.
26239 (FP_FAST_FMAL): Likewise.
26240 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26242 (FP_FAST_FMAF): Likewise.
26244 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26247 * math/libm-test.inc (fma_test): Some new testcases.
26248 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26249 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26250 y and infinite z. Do multiplication by C already in long double.
26251 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26253 y and infinite z. Do bitwise or of inexact bit into u.d.
26254 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26255 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26256 * sysdeps/i386/fpu/s_fma.S: Removed.
26257 * sysdeps/i386/fpu/s_fmal.S: Removed.
26259 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26262 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26264 computation is not scheduled after fetestexcept. Fix value
26265 of minimum denormal long double.
26267 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26270 * math/libm-test.inc (fma_test): Add some more tests.
26271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26274 2010-10-15 Andreas Schwab <schwab@redhat.com>
26276 * scripts/data/localplt-s390-linux-gnu.data: New file.
26277 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26279 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26282 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26283 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26285 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26287 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26289 if one of x and y is very large and the other is subnormal.
26290 * sysdeps/s390/fpu/s_fmaf.c: New file.
26291 * sysdeps/s390/fpu/s_fma.c: New file.
26292 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26293 * sysdeps/powerpc/fpu/s_fma.S: New file.
26294 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26295 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26296 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26298 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26301 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26303 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26304 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26305 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26306 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26307 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26308 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26311 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26314 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26315 * posix/bug-regex31.input: Add test case.
26317 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26319 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26320 * posix/bug-regex31.input: New file.
26323 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26324 (parse_sub_exp): Fix last change, use postorder.
26326 * posix/bug-regex31.c: New file.
26327 * posix/Makefile: Add rules to build and run bug-regex31.
26329 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26332 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26335 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26336 to have entries in sys_siglist.
26339 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26342 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26345 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26346 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26347 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26348 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26349 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26350 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26351 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26352 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26353 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26354 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26355 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26356 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26357 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26358 * math/ftestexcept.c (fetestexcept): Likewise.
26359 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26360 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26361 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26362 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26363 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26364 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26365 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26367 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26370 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26373 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26375 * string/bug-strstr1.c: New file.
26376 * string/Makefile: Add rules to build and run bug-strstr1.
26378 2010-10-05 Eric Blake <eblake@redhat.com>
26381 * string/str-two-way.h (two_way_long_needle): Always clear memory
26382 when skipping input due to the shift table.
26384 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26387 * malloc/mcheck.c: Handle large requests.
26390 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26391 for strncmp and strncasecmp.
26392 * string/stratcliff.c: Add tests for strcmp and strncmp.
26393 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26395 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26397 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26400 2010-09-30 Andreas Jaeger <aj@suse.de>
26402 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26403 (CGROUP_SUPER_MAGIC): Define.
26404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26405 Handle btrfs and cgroup file systems.
26406 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26409 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26411 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26412 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26414 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26417 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26418 trying to locate the ELF header.
26420 2010-09-27 Andreas Schwab <schwab@redhat.com>
26423 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26424 Mask out sign-bit copies when constructing f_fsid.
26426 2010-09-24 Petr Baudis <pasky@suse.cz>
26428 * debug/stack_chk_fail_local.c: Add missing licence exception.
26429 * debug/warning-nop.c: Likewise.
26431 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26433 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26434 implementing getdents64 using getdents syscall, set d_type if
26435 __ASSUME_GETDENTS32_D_TYPE.
26437 2010-09-16 Andreas Schwab <schwab@redhat.com>
26439 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26440 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26442 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26445 * posix/unistd.h: Undo change of feature selection for ftruncate from
26448 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26450 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26453 2010-09-20 Andreas Schwab <schwab@redhat.com>
26455 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26457 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26459 2010-09-14 Andreas Schwab <schwab@redhat.com>
26461 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26462 variables after CHECK_SP call.
26463 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26465 2010-09-13 Andreas Schwab <schwab@redhat.com>
26466 Ulrich Drepper <drepper@redhat.com>
26468 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26469 re-relocationg ld.so.
26470 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26471 _dl_init_paths call.
26472 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26475 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26477 * resolv/res_init.c (__res_vinit): Count the default server we added.
26479 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26480 Ulrich Drepper <drepper@redhat.com>
26483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26484 (____longjmp_chk): Use %ebx for saving value across system call.
26487 2010-09-06 Andreas Schwab <schwab@redhat.com>
26489 * manual/Makefile: Don't mix pattern rules with normal rules.
26491 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26493 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26495 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26496 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26497 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26498 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26502 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26505 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26506 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26508 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26510 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26511 * sysdeps/x86_64/addmul_1.S: Likewise.
26512 * sysdeps/x86_64/lshift.S: Likewise.
26513 * sysdeps/x86_64/mul_1.S: Likewise.
26514 * sysdeps/x86_64/rshift.S: Likewise.
26515 * sysdeps/x86_64/sub_n.S: Likewise.
26516 * sysdeps/x86_64/submul_1.S: Likewise.
26518 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26520 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26521 Define __sched_param instead of SCHED_* and sched_param when
26522 <bits/sched.h> is included with __need_schedparam defined.
26523 * bits/sched.h [__need_schedparam]
26524 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26525 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26526 (__defined_schedparam): Define to 1.
26527 (__sched_param): New structure, identical to sched_param.
26528 (__need_schedparam): Undefine.
26530 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26533 (epoll_create1): Declare.
26535 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26537 2010-08-31 Andreas Schwab <schwab@redhat.com>
26540 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26541 shifting retval into place.
26543 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26545 * nis/rpcsvc/nis.h: Update copyright notice.
26546 * nis/rpcsvc/nis.x: Likewise.
26547 * nis/rpcsvc/nis_callback.h: Likewise.
26548 * nis/rpcsvc/nis_callback.x: Likewise.
26549 * nis/rpcsvc/nis_object.x: Likewise.
26550 * nis/rpcsvc/nis_tags.h: Likewise.
26551 * nis/rpcsvc/yp.h: Likewise.
26552 * nis/rpcsvc/yp.x: Likewise.
26553 * nis/rpcsvc/ypupd.h: Likewise.
26554 * nis/yp_xdr.c: Likewise.
26555 * nis/ypupdate_xdr.c: Likewise.
26557 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26558 mainly the body of pmap_getport. Add parameters to specify timeouts.
26559 (pmap_getport): Use __libc_rpc_getport.
26560 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26561 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26562 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26564 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26569 2010-08-27 Roland McGrath <roland@redhat.com>
26571 * sysdeps/i386/i686/multiarch/Makefile
26572 (CFLAGS-varshift.c): New variable.
26574 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26576 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26577 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26579 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26581 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26583 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26585 * sysdeps/x86_64/strlen.S: Unroll the loop.
26586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26587 strlen-sse2 strlen-sse2-bsf.
26588 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26589 __strlen_no_bsf if bit_Slow_BSF is set.
26590 (__strlen_sse42): Removed.
26591 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26592 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26594 2010-08-25 Roland McGrath <roland@redhat.com>
26596 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26597 * sysdeps/x86_64/multiarch/varshift.c: New file.
26598 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26599 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26600 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26601 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26603 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26606 strlen-sse2 strlen-sse2-bsf.
26607 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26608 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26609 (__strlen_sse2): Removed.
26610 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26611 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26613 bit_Slow_BSF for Atom.
26614 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26615 (index_Slow_BSF): Define.
26616 (HAS_SLOW_BSF): Define.
26618 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26621 * resolv/res_init.c (__res_vinit): When no server address at all
26622 is given default to loopback.
26624 2010-08-24 Roland McGrath <roland@redhat.com>
26626 * configure.in: Remove config-name.h generation.
26627 * configure: Regenerated.
26628 * config-name.in: File removed.
26629 * scripts/config-uname.sh: New file.
26630 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26631 ($(objdir)config-name.h): New target.
26633 * sunrpc/rpc_parse.h: Avoid nested comment.
26635 2010-08-24 Richard Henderson <rth@redhat.com>
26636 Ulrich Drepper <drepper@redhat.com>
26637 H.J. Lu <hongjiu.lu@intel.com>
26639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26641 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26642 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26643 _mm_alignr_epi8 with _mm_loadu_si128.
26644 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26645 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26646 (__m128i_shift_right): Removed.
26647 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26648 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26649 * sysdeps/x86_64/multiarch/varshift.h: New file.
26650 * sysdeps/x86_64/multiarch/varshift.S: New file.
26652 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26654 * configure.in: Move assembler checks to before sysdep dir checking.
26656 2010-08-20 Petr Baudis <pasky@suse.cz>
26658 * LICENSES: Sync the sunrpc license.
26660 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26662 * sunrpc/auth_des.c: Update copyright notice once again.
26663 * sunrpc/auth_none.c: Likewise.
26664 * sunrpc/auth_unix.c: Likewise.
26665 * sunrpc/authdes_prot.c: Likewise.
26666 * sunrpc/authuxprot.c: Likewise.
26667 * sunrpc/bindrsvprt.c: Likewise.
26668 * sunrpc/clnt_gen.c: Likewise.
26669 * sunrpc/clnt_perr.c: Likewise.
26670 * sunrpc/clnt_raw.c: Likewise.
26671 * sunrpc/clnt_simp.c: Likewise.
26672 * sunrpc/clnt_tcp.c: Likewise.
26673 * sunrpc/clnt_udp.c: Likewise.
26674 * sunrpc/clnt_unix.c: Likewise.
26675 * sunrpc/des_crypt.c: Likewise.
26676 * sunrpc/des_soft.c: Likewise.
26677 * sunrpc/get_myaddr.c: Likewise.
26678 * sunrpc/getrpcport.c: Likewise.
26679 * sunrpc/key_call.c: Likewise.
26680 * sunrpc/key_prot.c: Likewise.
26681 * sunrpc/openchild.c: Likewise.
26682 * sunrpc/pm_getmaps.c: Likewise.
26683 * sunrpc/pm_getport.c: Likewise.
26684 * sunrpc/pmap_clnt.c: Likewise.
26685 * sunrpc/pmap_prot.c: Likewise.
26686 * sunrpc/pmap_prot2.c: Likewise.
26687 * sunrpc/pmap_rmt.c: Likewise.
26688 * sunrpc/rpc/auth.h: Likewise.
26689 * sunrpc/rpc/auth_unix.h: Likewise.
26690 * sunrpc/rpc/clnt.h: Likewise.
26691 * sunrpc/rpc/des_crypt.h: Likewise.
26692 * sunrpc/rpc/key_prot.h: Likewise.
26693 * sunrpc/rpc/netdb.h: Likewise.
26694 * sunrpc/rpc/pmap_clnt.h: Likewise.
26695 * sunrpc/rpc/pmap_prot.h: Likewise.
26696 * sunrpc/rpc/pmap_rmt.h: Likewise.
26697 * sunrpc/rpc/rpc.h: Likewise.
26698 * sunrpc/rpc/rpc_des.h: Likewise.
26699 * sunrpc/rpc/rpc_msg.h: Likewise.
26700 * sunrpc/rpc/svc.h: Likewise.
26701 * sunrpc/rpc/svc_auth.h: Likewise.
26702 * sunrpc/rpc/types.h: Likewise.
26703 * sunrpc/rpc/xdr.h: Likewise.
26704 * sunrpc/rpc_clntout.c: Likewise.
26705 * sunrpc/rpc_cmsg.c: Likewise.
26706 * sunrpc/rpc_common.c: Likewise.
26707 * sunrpc/rpc_cout.c: Likewise.
26708 * sunrpc/rpc_dtable.c: Likewise.
26709 * sunrpc/rpc_hout.c: Likewise.
26710 * sunrpc/rpc_main.c: Likewise.
26711 * sunrpc/rpc_parse.c: Likewise.
26712 * sunrpc/rpc_parse.h: Likewise.
26713 * sunrpc/rpc_prot.c: Likewise.
26714 * sunrpc/rpc_sample.c: Likewise.
26715 * sunrpc/rpc_scan.c: Likewise.
26716 * sunrpc/rpc_scan.h: Likewise.
26717 * sunrpc/rpc_svcout.c: Likewise.
26718 * sunrpc/rpc_tblout.c: Likewise.
26719 * sunrpc/rpc_util.c: Likewise.
26720 * sunrpc/rpc_util.h: Likewise.
26721 * sunrpc/rpcinfo.c: Likewise.
26722 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26723 * sunrpc/rpcsvc/key_prot.x: Likewise.
26724 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26725 * sunrpc/rpcsvc/mount.x: Likewise.
26726 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26727 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26728 * sunrpc/rpcsvc/rex.x: Likewise.
26729 * sunrpc/rpcsvc/rstat.x: Likewise.
26730 * sunrpc/rpcsvc/rusers.x: Likewise.
26731 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26732 * sunrpc/rpcsvc/spray.x: Likewise.
26733 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26734 * sunrpc/rtime.c: Likewise.
26735 * sunrpc/svc.c: Likewise.
26736 * sunrpc/svc_auth.c: Likewise.
26737 * sunrpc/svc_authux.c: Likewise.
26738 * sunrpc/svc_raw.c: Likewise.
26739 * sunrpc/svc_run.c: Likewise.
26740 * sunrpc/svc_simple.c: Likewise.
26741 * sunrpc/svc_tcp.c: Likewise.
26742 * sunrpc/svc_udp.c: Likewise.
26743 * sunrpc/svc_unix.c: Likewise.
26744 * sunrpc/svcauth_des.c: Likewise.
26745 * sunrpc/xcrypt.c: Likewise.
26746 * sunrpc/xdr.c: Likewise.
26747 * sunrpc/xdr_array.c: Likewise.
26748 * sunrpc/xdr_float.c: Likewise.
26749 * sunrpc/xdr_mem.c: Likewise.
26750 * sunrpc/xdr_rec.c: Likewise.
26751 * sunrpc/xdr_ref.c: Likewise.
26752 * sunrpc/xdr_sizeof.c: Likewise.
26753 * sunrpc/xdr_stdio.c: Likewise.
26755 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26758 2010-08-19 Andreas Schwab <schwab@redhat.com>
26760 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26762 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26764 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26766 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26767 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26768 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26769 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26770 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26771 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26772 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26773 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26774 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26775 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26776 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26777 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26779 2010-07-26 Anton Blanchard <anton@samba.org>
26781 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26782 * malloc/arena.c (heap_trim): Likewise.
26784 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26786 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26789 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26791 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26793 * sysdeps/i386/elf/Makefile: New file.
26795 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26797 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26798 from fanotify_init.
26799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26800 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26802 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26804 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26806 * sysdeps/multiarch/strcmp.S: Likewise.
26808 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26810 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26811 strncase_l-nonascii.
26812 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26813 Add strncase_l-ssse3.
26814 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26815 * sysdeps/x86_64/strcmp.S: Likewise.
26816 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26817 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26818 * sysdeps/x86_64/strncase.S: New file.
26819 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26820 * sysdeps/x86_64/strncase_l.S: New file.
26821 * string/Makefile (strop-tests): Add strncasecmp.
26822 * string/test-strncasecmp.c: New file.
26824 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26827 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26828 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26830 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26832 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26834 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26836 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26840 2010-05-01 Alan Modra <amodra@gmail.com>
26842 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26843 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26844 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26845 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26846 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26847 tidying. Don't tail-call __sigjmp_save for static lib.
26848 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26850 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26851 (CALL_MCOUNT): Add eh info, and nop after bl.
26852 (TAIL_CALL_SYSCALL_ERROR): New macro.
26853 (PSEUDO_RET): Use it.
26854 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26855 Correct save location of integer regs and cr.
26856 (_dl_profile_resolve): Correct cr save location. Delete nops
26857 after bl when SHARED. Reduce cfi size a little by better
26858 placement of cfi directives.
26859 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26860 make a stack frame. Instead use parm save area as a temp.
26861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26862 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26864 Don't make a stack frame for parent, use parm save area.
26865 Increase child stack frame to 112 bytes. Don't save unused reg,
26866 and adjust reg usage. Set up cfi on error recovery and
26867 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26869 (__makecontext): Add dummy nop after jump to exit.
26870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26871 Use correct parm save area and cr save, reduce stack frame.
26872 Correct cfi for possible PSEUDO_RET frame setup.
26873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26874 Branch to local label emitted by PSEUDO_RET rather than
26877 2010-08-12 Andreas Schwab <schwab@redhat.com>
26880 * locale/programs/locale.c (print_assignment): New function.
26881 (show_locale_vars): Use it.
26883 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26885 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26887 (struct statfs64): Likewise.
26888 (_STATFS_F_FLAGS): Define.
26889 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26890 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26891 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26892 (ST_VALID): Define locally.
26893 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26894 __statvfs_getflags, use the provided value.
26895 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26896 __ASSUME_STATFS_F_FLAGS.
26898 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26900 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26901 Add sys/fanotify.h.
26902 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26903 fanotify_mask for GLIBC_2.13.
26904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26905 fanotify_init and fanotify_mark.
26906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26907 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26909 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26911 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26912 prlimit64 for GLIBC_2.13.
26913 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26915 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26918 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26919 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26920 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26923 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26926 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26927 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26929 * nss/Makefile: Add rules to build and run tst-nss-test1.
26930 * shlib-versions: Add entry for libnss_test1.
26931 * nss/nss_test1.c: New file.
26932 * nss/tst-nss-test1.c: New file.
26934 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26935 (__nss_configure_lookup): Set appropriate entry in
26936 __nss_configure_lookup to true.
26937 * nss/nsswitch.h: Define enum with indeces of databases in
26938 databases and __nss_database_custom arrays. Declare
26939 __nss_database_custom.
26940 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26941 to avoid using nscd when custom rules are installed.
26942 * nss/getXXbyYY_r.c: Likewise.
26943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26945 * nss/nss_files/files-parse.c: Whitespace fixes.
26947 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26950 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26951 * posix/fnmatch_loop.c: Likewise.
26953 2010-07-17 Andi Kleen <ak@linux.intel.com>
26955 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26956 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26957 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26958 * Versions.def [GLIBC_2.13]: Add.
26960 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26962 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26963 Also fail if tpwd after pwuid call is NULL.
26965 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26967 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26968 when converting to ms.
26970 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26972 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26973 EOPNOTSUPP errors with ENOTTY.
26974 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26975 EOPNOTSUPP errors with ENOTTY.
26977 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26979 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26980 Add strcasecmp_l-ssse3.
26981 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26983 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26984 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26985 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26987 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26989 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26991 * string/Makefile (strop-tests): Add strcasecmp.
26992 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26993 strcasecmp_l-nonascii.
26994 (gen-as-const-headers): Add locale-defines.sym.
26995 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26996 * sysdeps/x86_64/strcasecmp.S: New file.
26997 * sysdeps/x86_64/strcasecmp_l.S: New file.
26998 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26999 * sysdeps/x86_64/locale-defines.sym: New file.
27000 * string/test-strcasecmp.c: New file.
27002 * string/test-strcasestr.c: Test both ends of the range of characters.
27003 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27005 2010-07-29 Roland McGrath <roland@redhat.com>
27008 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27010 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27012 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27015 2010-07-27 Andreas Schwab <schwab@redhat.com>
27017 * manual/memory.texi (Malloc Tunable Parameters): Document
27020 2010-07-26 Roland McGrath <roland@redhat.com>
27023 * configure.in (-fgnu89-inline check): Set and substitute
27024 gnu89_inline, not libc_cv_gnu89_inline.
27025 * configure: Regenerated.
27026 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27028 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27030 * string/test-strnlen.c: New file.
27031 * string/Makefile (strop-tests): Add strnlen.
27032 * string/tester.c (test_strnlen): Add a few more test cases.
27033 * string/tst-strlen.c: Better error reporting.
27035 * sysdeps/x86_64/strnlen.S: New file.
27037 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27039 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27040 lower-latency instructions.
27042 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27044 * string/test-strcasestr.c: New file.
27045 * string/test-strstr.c: New file.
27046 * string/Makefile (strop-tests): Add strstr and strcasestr.
27047 * string/str-two-way.h: Don't undefine MAX.
27048 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27050 2010-07-21 Andreas Schwab <schwab@redhat.com>
27052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27053 strcasestr-nonascii.
27054 (CFLAGS-strcasestr-nonascii.c): Define.
27055 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27056 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27057 Remove unused attribute.
27059 2010-07-20 Roland McGrath <roland@redhat.com>
27061 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27062 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27063 ld.so.cache was broken. With it, there is no way to disable dsocaps
27064 like LD_HWCAP_MASK can disable hwcaps.
27066 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27068 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27070 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27072 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27073 call in strcasestr.
27074 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27075 __strcasestr_sse42_nonascii.
27076 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27077 strcasestr-nonascii.c.
27078 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27080 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27082 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27083 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27084 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27085 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27087 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27089 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27092 2010-07-06 Andreas Schwab <schwab@redhat.com>
27095 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27098 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27101 _PC_PIPE_BUF using F_GETPIPE_SZ.
27103 2010-07-05 Roland McGrath <roland@redhat.com>
27105 * manual/arith.texi (Rounding Functions): Fix rint description
27106 implicit in round description.
27108 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27110 * elf/Makefile: Fix linking for a few tests to make recent linker
27113 2010-06-30 Andreas Schwab <schwab@redhat.com>
27115 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27116 $(common-objpfx)libc_nonshared.a.
27118 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27120 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27121 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27122 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27123 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27124 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27125 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27126 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27127 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27142 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27143 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27144 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27145 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27146 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27147 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27148 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27149 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27150 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27151 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27152 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27153 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27169 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27171 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27172 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27173 * string/memmove.c (memmove): Renamed to ...
27174 (MEMMOVE): ...this. Default to memmove.
27175 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27176 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27179 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27180 mempcpy-ssse3-back memmove-ssse3-back.
27181 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27183 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27184 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27185 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27186 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27187 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27188 * sysdeps/x86_64/multiarch/memmove.c: New file.
27189 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27190 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27191 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27192 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27194 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27196 (index_Fast_Copy_Backward): Define.
27197 (HAS_ARCH_FEATURE): Define.
27198 (HAS_FAST_REP_STRING): Define.
27199 (HAS_FAST_COPY_BACKWARD): Define.
27201 2010-06-21 Andreas Schwab <schwab@redhat.com>
27203 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27204 Restore proper fallback handling.
27206 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27209 * posix/group_member.c (__group_member): Correct checking loop.
27211 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27212 OOM in getpwuid_r correctly. Return error number when the caller
27213 should return, otherwise -1.
27214 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27215 call returning > 0 value.
27216 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27218 2010-06-07 Andreas Schwab <schwab@redhat.com>
27220 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27221 libc_nonshared.a from targets in modules-names.
27223 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27225 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27228 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27230 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27231 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27232 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27233 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27235 2010-06-02 Andreas Schwab <schwab@redhat.com>
27237 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27239 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27241 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27250 2010-06-14 Roland McGrath <roland@redhat.com>
27252 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27254 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27256 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27257 __REDIRECT followed by __THROW.
27258 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27259 * posix/getopt.h (getopt): Likewise.
27261 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27263 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27264 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27265 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27267 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27268 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27270 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27272 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27274 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27278 Properly check family and model.
27280 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27282 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27284 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27286 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27288 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27290 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27293 2010-05-19 Andreas Schwab <schwab@redhat.com>
27295 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27298 2010-05-21 Andreas Schwab <schwab@redhat.com>
27300 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27301 and internal_recvmmsg.
27302 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27303 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27304 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27305 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27307 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27308 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27309 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27311 2010-05-20 Andreas Schwab <schwab@redhat.com>
27313 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27315 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27317 POWER7 optimizations.
27318 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27319 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27321 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27323 * version.h: Update for 2.13 development version.
27325 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27327 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27328 exceptions. Return 0.
27330 2010-05-07 Roland McGrath <roland@redhat.com>
27332 * elf/ldconfig.c (main): Add a const.
27334 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27336 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27337 (args_options): Add no-idn option.
27338 (ahosts_keys_int): Add idn_flags to ai_flags.
27339 (parse_option): Handle 'i' option to clear idn_flags.
27341 * malloc/malloc.c (_int_free): Possible race in the most recently
27342 added check. Only act on the data if no current modification
27345 See ChangeLog.17 for earlier changes.